Hi, I'm new to packaging and to Go and I'm working on packaging the amazon-ssm-agent (https://github.com/aws/amazon-ssm-agent). Using version 1.2.290.0 on GitHub yields multiple vendor issues which seem to be caused by the package structure, but I could very likely be doing something wrong. I'm using the spec file provided in the codebase, https://github.com/aws/amazon-ssm-agent/blob/master/packaging/amazon-linux/a..., as an example to build the spec for SUSE. On "go build" an error is produced: imports github.com/aws/aws-sdk-go/vendor/github.com/go-ini/ini: use of vendored package not allowed To resolve this I removed the vendor directory from aws-sdk-go as both dependencies exist in the amazon-ssm-agent vendor directory. Is this the correct resolution for this issue? Now it produces another error: imports github.com/aws/aws-sdk-go/vendor/github.com/go-ini/ini: must be imported as github.com/go-ini/ini Searching the code base all imports for go-ini are imported as github.com/go-ini/ini so I'm confused what this error is hinting to. Does this mean go cannot find the dependency in the proper vendor directory (amazon-ssm-agent/vendor/...)? The final thing I noticed with this package is that vendor has an extra src directory which doesn't match the Go documentation. (amazon-ssm-agent/vendor/src/github.com rather than amazon-ssm-agent/vendor/github.com) I removed the src directory from the tree and attempted to re-build but it yields the same error. My thinking is that go looks for the dependencies at vendor/github.com/... and thus the extra directory prevents all dependencies from being resolved. Is this assumption correct or am I missing something here? Sorry for the extensive email I hope it makes some sense and thanks in advance for any help and/or knowledge you can share. Cheers! -- Sean Marlow Public Cloud Developer sean.marlow@suse.com -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org