Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585460 - net-fs/samba-4.2.11 fails to build
Summary: net-fs/samba-4.2.11 fails to build
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 12:48 UTC by Carsten Raddatz
Modified: 2016-06-23 09:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output emerge --info '=net-fs/samba-4.2.11::gentoo' (emerge-info_585460.log,6.28 KB, text/x-log)
2016-06-09 12:51 UTC, Carsten Raddatz
Details
output emerge -pqv '=net-fs/samba-4.2.11::gentoo' (emerge-pretend_585460.log,409 bytes, text/x-log)
2016-06-09 12:52 UTC, Carsten Raddatz
Details
output build.log for '=net-fs/samba-4.2.11::gentoo' (build-log_585460.log,281.43 KB, text/x-log)
2016-06-09 12:53 UTC, Carsten Raddatz
Details
output emerge environment (emerge-environment_585460.log,158.35 KB, text/x-log)
2016-06-09 12:55 UTC, Carsten Raddatz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Raddatz 2016-06-09 12:48:34 UTC
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.
Comment 1 Carsten Raddatz 2016-06-09 12:51:01 UTC
Created attachment 436976 [details]
output emerge --info '=net-fs/samba-4.2.11::gentoo'
Comment 2 Carsten Raddatz 2016-06-09 12:52:12 UTC
Created attachment 436978 [details]
output emerge -pqv '=net-fs/samba-4.2.11::gentoo'
Comment 3 Carsten Raddatz 2016-06-09 12:53:48 UTC
Created attachment 436980 [details]
output build.log for '=net-fs/samba-4.2.11::gentoo'
Comment 4 Carsten Raddatz 2016-06-09 12:55:34 UTC
Created attachment 436982 [details]
output emerge environment
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2016-06-19 21:58:38 UTC
Not that it makes much sense, but the compile issue is an out of memory error isn't it?
Comment 6 Carsten Raddatz 2016-06-23 09:06:37 UTC
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