Failed to emerge app-admin/mongo-tools-3.0.1 ERROR: app-admin/mongo-tools-3.0.1::gentoo failed (install phase): * dobin failed dobin: bin/* does not exist Reproducible: Always
Created attachment 399608 [details] emerge.info
Please attach the full build log.
Created attachment 399626 [details] build.log
It does not build the tools: Building bsondump... # github.com/spacemonkeygo/openssl vendor/src/github.com/spacemonkeygo/openssl/ctx.go:546: constant 2147486719 overflows Options Please attach your versions of: - dev-libs/openssl - dev-lang/go Along with the use flags. Can you please try building mongo-tools without SSL?
dev-libs/openssl-1.0.2a dev-lang/go-1.4.2 Without SSL use flag - build fine.
Please post the output of: emerge -pvq dev-libs/openssl
[ebuild R ] dev-libs/openssl-1.0.2a USE="asm tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -static-libs {-test} -vanilla" CPU_FLAGS_X86="sse2"
I can confirm this problem. I've the same setup on amd64 and it works just fine, on a virtual machine with i686 it fails the same way. There is a open ticket about this: https://github.com/mongodb/mongo-tools/issues/13
Can you please try mongo-tools from my overlay? https://github.com/hydrapolic/gentoo/tree/master/app-admin/mongo-tools --- vendor/src/github.com/spacemonkeygo/openssl/ctx.go.orig 2015-03-09 23:14:45.000000000 +0100 +++ vendor/src/github.com/spacemonkeygo/openssl/ctx.go 2015-03-26 13:41:39.730177906 +0100 @@ -533,7 +533,7 @@ return nil } -type Options int +type Options int64 const ( // NoCompression is only valid if you are using OpenSSL 1.0.1 or newer
Yes, mongo-tools-3.0.1-r1 from your overlay - build fine.
Thanks mates, it's been fixed on tree. + 28 Mar 2015; Ultrabug <ultrabug@gentoo.org> mongo-tools-3.0.1.ebuild: + fix #544346 thx to Alexey Sychev and Tomas Mozes +