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 when using reproducible build method #34

Open
Edu4rdSHL opened this issue Apr 26, 2021 · 0 comments
Open

Build fails when using reproducible build method #34

Edu4rdSHL opened this issue Apr 26, 2021 · 0 comments

Comments

@Edu4rdSHL
Copy link

Hello, thank you for the work.

When you try to use a reproducble build process, the package fails.

Steps to reproduce:

1. go mod init go.mod
2. go mod tidy
3. go mod download
4. go build -o gosint -v -ldflags="-s -w" cmd/gosint/main.go

Then wait for:

└──╼ $ make gosint_build
go build -o gosint -v -ldflags="-s -w" cmd/gosint/main.go
package command-line-arguments
	cmd/gosint/main.go:7:2: use of internal package github.com/Nhoya/gOSINT/internal/axfr not allowed
package command-line-arguments
	cmd/gosint/main.go:8:2: use of internal package github.com/Nhoya/gOSINT/internal/git not allowed
package command-line-arguments
	cmd/gosint/main.go:9:2: use of internal package github.com/Nhoya/gOSINT/internal/hibp not allowed
package command-line-arguments
	cmd/gosint/main.go:10:2: use of internal package github.com/Nhoya/gOSINT/internal/pgp not allowed
package command-line-arguments
	cmd/gosint/main.go:11:2: use of internal package github.com/Nhoya/gOSINT/internal/pni not allowed
package command-line-arguments
	cmd/gosint/main.go:12:2: use of internal package github.com/Nhoya/gOSINT/internal/reversewhois not allowed
package command-line-arguments
	cmd/gosint/main.go:13:2: use of internal package github.com/Nhoya/gOSINT/internal/shodan not allowed
package command-line-arguments
	cmd/gosint/main.go:14:2: use of internal package github.com/Nhoya/gOSINT/internal/telegram not allowed
package command-line-arguments
	cmd/gosint/main.go:15:2: use of internal package github.com/Nhoya/gOSINT/internal/utils not allowed
make: *** [Makefile:14: gosint_build] Error 1

The change was introduced in https://golang.org/doc/go1.4#internalpackages, would be good if you change the repo name and update the dependencies pointing to the new directory name.

Thank you.

Regards,
Ed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant