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

Fixed broken build for netbsd #12138

Merged
merged 1 commit into from
Feb 21, 2017
Merged

Conversation

murphybytes
Copy link
Contributor

Netbsd fails because inode isn't defined, see below. The fix is to add build tag for netbsd for the inode.go file as it's skipped for netbsd builds.
$:terraform jam [netbsd_build] $ XC_OS=netbsd XC_ARCH=amd64 make bin
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/22 00:24:15 Generated command/internal_plugin_list.go
==> Removing old directory...
==> Building...
Number of parallel builds: 7

--> netbsd/amd64: github.com/hashicorp/terraform

1 errors occurred:
--> netbsd/amd64 error: exit status 2
Stderr: # github.com/hashicorp/terraform/config/module
config/module/copy_dir.go:93: undefined: inode
config/module/copy_dir.go:101: undefined: inode

==> Packaging...

==> Results:

@mitchellh
Copy link
Contributor

NetBSD isn't an official target for the project and we don't test against it but if this makes it work it seems harmless enough to the rest of the codebase. Thanks!

@mitchellh mitchellh merged commit 4559d96 into hashicorp:master Feb 21, 2017
@murphybytes murphybytes deleted the netbsd_build branch February 23, 2017 09:35
@ghost
Copy link

ghost commented Apr 16, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants