Trying to upgrade samba, failing like this: [ 797/2795] Compiling auth/credentials/credentials_secrets.c cc1: out of memory allocating 18446462598732841005 bytes after a total of 1560576 bytes Waf: Leaving directory `/tmp/portage/net-fs/samba-4.2.11/work/samba-4.2.11-abi_x86_64.amd64/bin' Build failed: -> task failed (err #1): {task: cc credentials_secrets.c -> credentials_secrets_8.o} Makefile:8: recipe for target 'all' failed make: *** [all] Error 1 * ERROR: net-fs/samba-4.2.11::gentoo failed (compile phase): * emake failed * Reproducible: Always Steps to Reproduce: 1. emerge =net-fs/samba-4.2.11 2. compile fails 3. emerge =net-fs/samba-4.2.9 also fails, same error Actual Results: Build failed: -> task failed (err #1): {task: cc credentials_secrets.c -> credentials_secrets_8.o} Makefile:8: recipe for target 'all' failed Expected Results: =net-fs/samba-4.2.11 should compile without issues Tried both X86_ABI="64" and X86_ABI="32" selectively, no change in result. Also, the "allocating 18446462598732841005 bytes after a total of 1560576 bytes" bit looks odd.
Created attachment 436976 [details] output emerge --info '=net-fs/samba-4.2.11::gentoo'
Created attachment 436978 [details] output emerge -pqv '=net-fs/samba-4.2.11::gentoo'
Created attachment 436980 [details] output build.log for '=net-fs/samba-4.2.11::gentoo'
Created attachment 436982 [details] output emerge environment
Not that it makes much sense, but the compile issue is an out of memory error isn't it?
Whatever was wrong on my machine, it works now. Marking as RESOLVED OBSOLETE. Basically a repeated emerge -e @system seems to have fixed it, but I can't provide sufficient detail to know why. The anecdotal link is here https://forums.gentoo.org/viewtopic-t-1045916.html