Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails for aix/ppc64 target #267

Open
jtroy opened this issue Nov 19, 2024 · 1 comment
Open

Build fails for aix/ppc64 target #267

jtroy opened this issue Nov 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jtroy
Copy link

jtroy commented Nov 19, 2024

Overview of the Issue

packer-plugin-sdk fails to build for the aix/ppc64 compiler target.

Reproduction Steps

$ GOOS=aix GOARCH=ppc64 go build ./...
# github.com/hashicorp/packer-plugin-sdk/pathing
pathing/config_file.go:41:9: undefined: configDir
pathing/config_file.go:88:28: undefined: defaultConfigFile
# github.com/bgentry/speakeasy
../../../go/pkg/mod/github.com/bgentry/speakeasy@v0.1.0/speakeasy.go:23:18: undefined: getPassword
# github.com/hashicorp/go-sockaddr
../../../go/pkg/mod/github.com/hashicorp/go-sockaddr@v1.0.2/route_info.go:14:10: undefined: routeInfo
../../../go/pkg/mod/github.com/hashicorp/go-sockaddr@v1.0.2/ifaddrs.go:116:13: undefined: NewRouteInfo
../../../go/pkg/mod/github.com/hashicorp/go-sockaddr@v1.0.2/ifaddrs.go:276:13: undefined: NewRouteInfo

Packer Plugin SDK version

Encountered on v0.3.2, but still fails on the main branch.

Operating system and Environment details

go 1.23.1 on AIX 7.3, but reproducible via cross-compilation on Linux

@jtroy jtroy added the bug Something isn't working label Nov 19, 2024
@jtroy
Copy link
Author

jtroy commented Nov 19, 2024

I've opened a PR with proposed fixes: #263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant