Created attachment 873046 [details] emerge --info =mail-mta/proton-mail-bridge-3.3.2-r1::gentoo ... packagefile runtime=/var/tmp/portage/mail-mta/proton-mail-bridge-3.3.2-r1/temp/go-build616932333/b010/_pkg_.a EOF /usr/lib/go/pkg/tool/linux_amd64/compile -o $WORK/b268/_pkg_.a -trimpath "$WORK/b268=>" -p github.com/ProtonMail/proton-bridge/v3/pkg/tar -lang=go1.20 -complete -installsuffix shared -buildid _TFyloy2sZuHXwWKnaCt/_TFyloy2sZuHXwWKnaCt -goversion go1.21.1 -c=4 -shared -nolocalimports -importcfg $WORK/b268/importcfg -pack ./pkg/tar/tar.go /usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b268/_pkg_.a # internal cp $WORK/b268/_pkg_.a /var/tmp/portage/mail-mta/proton-mail-bridge-3.3.2-r1/temp/go-build/1d/1dbf2aaef75de5dcb058cb9afef1bd22ca5010d315eb2e1b795678c9f80bc2ec-d # internal make: *** [Makefile:114: build-launcher] Error 1 * ERROR: mail-mta/proton-mail-bridge-3.3.2-r1::gentoo failed (compile phase): * emake failed
Created attachment 873047 [details] emerge -pqv =mail-mta/proton-mail-bridge-3.3.2-r1::gentoo
Please include the full build.log.
Created attachment 873049 [details] build.log
Created attachment 873050 [details] environment
Might be: ```` cd /var/tmp/portage/mail-mta/proton-mail-bridge-3.3.2-r1/work/go-mod/github.com/cloudflare/circl@v1.3.3/math/fp25519 /usr/lib/go/pkg/tool/linux_amd64/asm -p github.com/cloudflare/circl/math/fp25519 -trimpath "$WORK/b112=>" -I $WORK/b112/ -I /usr/lib/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -shared -D GOAMD64_v1 -gensymabis -o $WORK/b112/symabis ./fp_amd64.s # crypto/internal/nistec /usr/lib/go/src/crypto/internal/nistec/p256_ordinv.go:14:6: p256OrdMul redeclared in this block /usr/lib/go/src/crypto/internal/nistec/p256_asm_ordinv.go:14:6: other declaration of p256OrdMul /usr/lib/go/src/crypto/internal/nistec/p256_ordinv.go:19:6: p256OrdSqr redeclared in this block /usr/lib/go/src/crypto/internal/nistec/p256_asm_ordinv.go:19:6: other declaration of p256OrdSqr /usr/lib/go/src/crypto/internal/nistec/p256_ordinv.go:21:6: P256OrdInverse redeclared in this block /usr/lib/go/src/crypto/internal/nistec/p256_asm_ordinv.go:21:6: other declaration of P256OrdInverse ```
And so what am I supposed to do? No idea
People will post an update to a bug if and when there is one.
What version of dev-lang/go have you got on your system?
dev-lang/go-1.21.1::gentoo
Tried with dev-lang/go-1.21.3, same outcome
How about 3.5.4, then?
Apparently same problem, should I open a new bug with log files? ... packagefile path/filepath=/var/tmp/portage/mail-mta/proton-mail-bridge-3.5.4/temp/go-build1624510142/b180/_pkg_.a packagefile runtime=/var/tmp/portage/mail-mta/proton-mail-bridge-3.5.4/temp/go-build1624510142/b010/_pkg_.a EOF /usr/lib/go/pkg/tool/linux_amd64/compile -o $WORK/b273/_pkg_.a -trimpath "$WORK/b273=>" -p github.com/ProtonMail/proton-bridge/v3/pkg/tar -lang=go1.20 -complete -installsuffix shared -buildid x4JNSAVveR7kQW94sOa-/x4JNSAVveR7kQW94sOa- -goversion go1.21.3 -c=4 -shared -nolocalimports -importcfg $WORK/b273/importcfg -pack ./pkg/tar/tar.go /usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b273/_pkg_.a # internal cp $WORK/b273/_pkg_.a /var/tmp/portage/mail-mta/proton-mail-bridge-3.5.4/temp/go-build/02/02815e2f430286c732501d7a911223a38f04d21e3abd47ccca015151c99e7a6d-d # internal make: *** [Makefile:114: build-launcher] Error 1 * ERROR: mail-mta/proton-mail-bridge-3.5.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-mta/proton-mail-bridge-3.5.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-mta/proton-mail-bridge-3.5.4::gentoo'`. * The complete build log is located at '/var/tmp/portage/mail-mta/proton-mail-bridge-3.5.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-mta/proton-mail-bridge-3.5.4/temp/environment'. * Working directory: '/var/tmp/portage/mail-mta/proton-mail-bridge-3.5.4/work/proton-bridge-3.5.4' * S: '/var/tmp/portage/mail-mta/proton-mail-bridge-3.5.4/work/proton-bridge-3.5.4' >>> Failed to emerge mail-mta/proton-mail-bridge-3.5.4, Log file:
OK, I am beginning to run out of ideas. For me both 3.3.2 and 3.5.4 build fine with these versions of dev-lang/go, and I have tried it on three different Gentoo installations. Let's try one more thing - could you try again with MAKEOPTS="-j1" and post the build log you get then? No need for a separate bug if the error you see with 3.5.4 is the same.
Created attachment 873489 [details] proton-bridge-3.5.4-build.log
Changed MAKEOPTS="-j1" same result, added last build.log
Created attachment 873493 [details] make.conf