Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640462 - =net-fs/samba-4.7.3: build failure
Summary: =net-fs/samba-4.7.3: build failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-10 06:17 UTC by Denis Descheneaux
Modified: 2020-01-07 22:10 UTC (History)
2 users (show)

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


Attachments
emerge --info (info.txt,28.03 KB, text/plain)
2017-12-10 06:18 UTC, Denis Descheneaux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Descheneaux 2017-12-10 06:17:41 UTC
Refuses to build tried also to force it with as minimal as can be still fails

USE="-*" ABI_X86="32 64" PYTHON_TARGETS="python2_7"  emerge -a1 net-fs/samba --nodeps

These are the packages that would be merged, in order:

[ebuild   R    ] net-fs/samba-4.7.3::gentoo  USE="(selinux) -acl* -addc -addns* -ads -ceph -client* -cluster -cups* -debug -dmapi -fam* -gnutls -gpg -iprint -ldap* -pam* -python* -quota -syslog* (-system-heimdal) -system-mitkrb5* -systemd* {-test} -winbind* -zeroconf" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]



[2742/2996] Linking default/source4/lib/messaging/libMESSAGING-samba4.so
07:04:14 runner x86_64-pc-linux-gnu-gcc -m32 default/source4/lib/messaging/messaging_4.o -o /var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86/bin/default/source4/lib/messaging/libMESSAGING-samba4.so -march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-z,relro,-z,now -lpthread -Wl,-no-undefined -Wl,--export-dynamic -fstack-protector -shared -Wl,--version-script=/var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86/bin/default/source4/lib/messaging/MESSAGING.vscript -Wl,-rpath,/usr/lib32 -Ldefault/source4/lib/messaging -Ldefault/libcli/registry -Ldefault/nsswitch -Ldefault/auth -Ldefault/libcli/ldap -Ldefault/libds/common -Ldefault/source4/libcli/ldap -Ldefault/lib/socket -Ldefault/nsswitch/libwbclient -Ldefault/lib/krb5_wrap -Ldefault/source4/auth/kerberos -Ldefault/lib/ldb-samba -Ldefault/source4/dsdb -Ldefault/lib/tdb_wrap -Ldefault/lib/dbwrap -Ldefault/lib -Ldefault/libcli/smb -Ldefault/source4/lib/socket -Ldefault/libcli/cldap -Ldefault/source4/lib/http -Ldefault/auth/gensec -Ldefault/source4/lib/events -Ldefault/libcli/auth -Ldefault/lib/param -Ldefault/libcli/util -Ldefault/auth/credentials -Ldefault/source4/libcli -Ldefault/source4/heimdal_build -Ldefault/libcli/nbt -Ldefault/lib/addns -Ldefault/libcli/security -Ldefault/librpc -Ldefault/source4/cluster -Ldefault/lib/replace -Ldefault/source3 -Ldefault/source4/librpc -Ldefault/lib/util -L/usr/local/lib -L/usr/lib32 -Wl,-Bdynamic -lsamba-util -lndr-samba4 -lmessages-util-samba4 -ltalloc-report-samba4 -ldcerpc -lreplace-samba4 -lcluster-samba4 -lserver-id-db-samba4 -lndr -ltime-basic-samba4 -lutil-setid-samba4 -lsamba-debug-samba4 -lgenrand-samba4 -lsocket-blocking-samba4 -lndr-samba-samba4 -lndr-standard -lndr-krb5pac -lndr-nbt -lsamba-security-samba4 -laddns-samba4 -lcli-nbt-samba4 -lroken-samba4 -lsmbclient-raw-samba4 -ltevent-util -lsamba-credentials -lsamba-errors -lsamba-hostconfig -lcliauth-samba4 -ldcerpc-binding -levents-samba4 -lgensec-samba4 -lhttp-samba4 -lcli-cldap-samba4 -lnetif-samba4 -lcli-smb-common-samba4 -ldcerpc-samba-samba4 -lsamba-sockets-samba4 -ldbwrap-samba4 -ltdb-wrap-samba4 -lutil-tdb-samba4 -lsys-rw-samba4 -lasn1util-samba4 -lgssapi-samba4 -lsamdb-common-samba4 -lcom_err-samba4 -lldbsamba-samba4 -lauthkrb5-samba4 -lkrb5samba-samba4 -lserver-role-samba4 -lwbclient -lsamba-modules-samba4 -lsamdb -linterfaces-samba4 -lmessages-dgm-samba4 -lCHARSET3-samba4 -liov-buf-samba4 -lsmbconf -lsamba-cluster-support-samba4 -lsamba3-util-samba4 -lcli-ldap-samba4 -lsmb-transport-samba4 -lkrb5-samba4 -lasn1-samba4 -lhcrypto-samba4 -lwind-samba4 -lflag-mapping-samba4 -lcli-ldap-common-samba4 -lcommon-auth-samba4 -lwinbind-client-samba4 -lmsghdr-samba4 -lsmbd-shim-samba4 -lutil-reg-samba4 -lheimbase-samba4 -lhx509-samba4 -lMESSAGING-SEND-samba4 -lutil -lresolv -lldb -ltalloc -lcap -lz -lrt -ldl -lattr -lcrypt -ltdb -lbsd -ltevent
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpthread.a when searching for -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib64/libcap.so.2 when searching for /lib64/libcap.so.2
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /lib64/libcap.so.2
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86/bin'
Build failed:  -> task failed (err #1): 
	{task: cc_link client_1.o,popt_common_5.o,smbreadline_1.o,popt_credentials_6.o,clilsa_2.o -> smbclient4}
 * ERROR: net-fs/samba-4.7.3::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 5408:  Called multilib-minimal_src_compile
 *   environment, line 3321:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3552:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3187:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3185:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  575:  Called multilib-minimal_abi_src_compile
 *   environment, line 3315:  Called multilib_src_compile
 *   environment, line 3764:  Called waf-utils_src_compile
 *   environment, line 6725:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed"
 * 
 * If you need support, post the output of `emerge --info '=net-fs/samba-4.7.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-fs/samba-4.7.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-fs/samba-4.7.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-4.7.3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3'

>>> Failed to emerge net-fs/samba-4.7.3, Log file:

>>>  '/var/tmp/portage/net-fs/samba-4.7.3/temp/build.log'

 * Messages for package net-fs/samba-4.7.3:

 * Package:    net-fs/samba-4.7.3
 * Repository: gentoo
 * Maintainer: samba@gentoo.org
 * USE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 selinux userland_GNU
 * FEATURES:   preserve-libs sandbox selinux sesandbox userpriv usersandbox
 * Applying samba-4.4.0-pam.patch ...
 * Applying samba-4.5.1-compile_et_fix.patch ...
 * Applying talloc-disable-python.patch ...
 * Applying samba-glibc-2.26-no_rpc.patch ...
 * Will copy sources from /var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3
 * abi_x86_32.x86: copying to /var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86
 * abi_x86_64.amd64: copying to /var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_64.amd64
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
 * ERROR: net-fs/samba-4.7.3::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 5408:  Called multilib-minimal_src_compile
 *   environment, line 3321:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3552:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3187:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3185:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  575:  Called multilib-minimal_abi_src_compile
 *   environment, line 3315:  Called multilib_src_compile
 *   environment, line 3764:  Called waf-utils_src_compile
 *   environment, line 6725:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed"
 * 


Reproducible: Always

Steps to Reproduce:
1.just trying to emerge it fails
2.
3.
Comment 1 Denis Descheneaux 2017-12-10 06:18:08 UTC
Created attachment 509172 [details]
emerge --info
Comment 2 Denis Descheneaux 2017-12-10 06:29:37 UTC
Re-Emerging the packages going with those mentioned libraries make no difference, ends up failing the exact same way

# emerge -a1 /usr/lib64/libpthread.a /usr/lib64/libpthread.so /lib64/libcap.so.2

These are the packages that would be merged, in order:

Calculating dependencies                            ... done!
[ebuild   R    ] sys-libs/glibc-2.26-r3:2.2::gentoo  USE="caps (multilib) (selinux) -audit -debug -gd -hardened -nscd -profile -suid -systemtap (-vanilla)" 0 KiB
[ebuild   R    ] sys-libs/libcap-2.25::gentoo  USE="pam static-libs" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
Comment 3 Denis Descheneaux 2017-12-10 11:06:51 UTC
eùerge -a1 samba

These are the packages that would be merged, in order:

Calculating dependencies... done!                        
[ebuild   R    ] net-fs/samba-4.7.3::gentoo  USE="acl addns client cups fam ldap pam python (selinux) syslog system-mitkrb5 systemd winbind -addc -ads -ceph -cluster -debug -dmapi -gnutls -gpg -iprint -quota (-system-heimdal) {-test} -zeroconf" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] yes


[2729/3008] Linking default/source4/librpc/libdcerpc-samba4.so
11:50:56 runner x86_64-pc-linux-gnu-gcc -m32 default/source4/librpc/dcerpc-samba4.empty_13.o default/librpc/gen_ndr/ndr_winbind_c_190.o -o /var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86/bin/default/source4/librpc/libdcerpc-samba4.so -march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -pipe -Wl,-O1 -Wl,--as-needed -fuse-ld=gold -Wl,-O1 -Wl,--as-needed -fuse-ld=gold -Wl,-z,relro,-z,now -lpthread -Wl,-no-undefined -Wl,--export-dynamic -fstack-protector -shared -Wl,--version-script=/var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86/bin/default/source4/librpc/dcerpc-samba4.vscript -Wl,-rpath,/usr/lib32 -Ldefault/source4/cluster -Ldefault/source4/lib/messaging -Ldefault/libcli/registry -Ldefault/nsswitch -Ldefault/auth -Ldefault/libcli/ldap -Ldefault/libds/common -Ldefault/source4/libcli/ldap -Ldefault/source3 -Ldefault/lib/socket -Ldefault/nsswitch/libwbclient -Ldefault/lib/krb5_wrap -Ldefault/source4/auth/kerberos -Ldefault/lib/dbwrap -Ldefault/lib/tdb_wrap -Ldefault/lib/ldb-samba -Ldefault/source4/dsdb -Ldefault/lib -Ldefault/libcli/smb -Ldefault/source4/lib/socket -Ldefault/libcli/cldap -Ldefault/source4/lib/http -Ldefault/auth/gensec -Ldefault/source4/lib/events -Ldefault/libcli/security -Ldefault/libcli/auth -Ldefault/lib/param -Ldefault/libcli/util -Ldefault/librpc -Ldefault/auth/credentials -Ldefault/lib/replace -Ldefault/lib/util -Ldefault/source4/libcli -Ldefault/source4/heimdal_build -Ldefault/libcli/nbt -Ldefault/lib/addns -Ldefault/source4/librpc -L/usr/local/lib -L/usr/lib32 -Wl,-Bdynamic -ldcerpc -lndr-samba4 -laddns-samba4 -lcli-nbt-samba4 -lroken-samba4 -lsmbclient-raw-samba4 -ltevent-util -lreplace-samba4 -lsamba-credentials -lndr-samba-samba4 -lsamba-errors -lsamba-hostconfig -lcliauth-samba4 -lsamba-security-samba4 -lndr-nbt -ldcerpc-binding -levents-samba4 -lgensec-samba4 -lsamba-util -lhttp-samba4 -lcli-cldap-samba4 -lnetif-samba4 -lcli-smb-common-samba4 -ldcerpc-samba-samba4 -lsamba-sockets-samba4 -lndr -lndr-standard -lndr-krb5pac -lgssapi-samba4 -lsamdb-common-samba4 -lcom_err-samba4 -lldbsamba-samba4 -ltdb-wrap-samba4 -ldbwrap-samba4 -lauthkrb5-samba4 -lutil-tdb-samba4 -lkrb5samba-samba4 -lasn1util-samba4 -lsamba-debug-samba4 -lserver-role-samba4 -lwbclient -lsamba-modules-samba4 -lsamdb -ltime-basic-samba4 -lutil-setid-samba4 -lgenrand-samba4 -lsocket-blocking-samba4 -linterfaces-samba4 -ltalloc-report-samba4 -lmessages-dgm-samba4 -lserver-id-db-samba4 -lCHARSET3-samba4 -liov-buf-samba4 -lsmbconf -lsamba-cluster-support-samba4 -lsys-rw-samba4 -lsamba3-util-samba4 -lmessages-util-samba4 -lcli-ldap-samba4 -lsmb-transport-samba4 -lkrb5-samba4 -lasn1-samba4 -lhcrypto-samba4 -lwind-samba4 -lflag-mapping-samba4 -lcli-ldap-common-samba4 -lcommon-auth-samba4 -lwinbind-client-samba4 -lmsghdr-samba4 -lsmbd-shim-samba4 -lutil-reg-samba4 -lheimbase-samba4 -lhx509-samba4 -lMESSAGING-SEND-samba4 -lcluster-samba4 -lbsd -lutil -lresolv -ltdb -lcrypt -lattr -ldl -lldb -ltalloc -lrt -lz -lldap -llber -lcap -ltevent
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libpthread.so while searching for pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libldap.so while searching for ldap
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/liblber.so while searching for lber
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/librt.so while searching for rt
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libldb.so while searching for ldb
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libtalloc.so while searching for talloc
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libdl.so while searching for dl
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libtdb.so while searching for tdb
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libpopt.so while searching for popt
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libresolv.so while searching for resolv
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libutil.so while searching for util
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libcrypt.so while searching for crypt
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libbsd.so while searching for bsd
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libtevent.so while searching for tevent
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: /lib64/libcap.so.2: incompatible target
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: /lib64/libz.so.1: incompatible target
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: /lib64/libattr.so.1: incompatible target
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: /lib64/libncurses.so.6: incompatible target
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: /lib64/libreadline.so.7: incompatible target
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: warning: skipping incompatible /usr/lib64/libc.so while searching for c
default/source4/client/client_1.o:client.c:function cmd_history: error: undefined reference to 'history_list'
default/libcli/smbreadline/smbreadline_1.o:smbreadline.c:function smb_readline_done: error: undefined reference to 'rl_done'
default/libcli/smbreadline/smbreadline_1.o:smbreadline.c:function smb_readline: error: undefined reference to 'rl_attempted_completion_function'
default/libcli/smbreadline/smbreadline_1.o:smbreadline.c:function smb_readline: error: undefined reference to 'rl_basic_word_break_characters'
default/libcli/smbreadline/smbreadline_1.o:smbreadline.c:function smb_readline: error: undefined reference to 'rl_event_hook'
default/libcli/smbreadline/smbreadline_1.o:smbreadline.c:function smb_readline: error: undefined reference to 'readline'
default/libcli/smbreadline/smbreadline_1.o:smbreadline.c:function smb_readline: error: undefined reference to 'add_history'
default/libcli/smbreadline/smbreadline_1.o:smbreadline.c:function smb_readline_get_line_buffer: error: undefined reference to 'rl_line_buffer'
default/libcli/smbreadline/smbreadline_1.o:smbreadline.c:function smb_readline_ca_char: error: undefined reference to 'rl_completion_append_character'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86/bin'
Build failed:  -> task failed (err #1): 
	{task: cc_link client_1.o,popt_common_5.o,smbreadline_1.o,popt_credentials_6.o,clilsa_2.o -> smbclient4}
 * ERROR: net-fs/samba-4.7.3::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 5408:  Called multilib-minimal_src_compile
 *   environment, line 3321:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3552:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3187:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3185:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  575:  Called multilib-minimal_abi_src_compile
 *   environment, line 3315:  Called multilib_src_compile
 *   environment, line 3764:  Called waf-utils_src_compile
 *   environment, line 6725:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed"
 * 
 * If you need support, post the output of `emerge --info '=net-fs/samba-4.7.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-fs/samba-4.7.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-fs/samba-4.7.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-4.7.3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3'

>>> Failed to emerge net-fs/samba-4.7.3, Log file:

>>>  '/var/tmp/portage/net-fs/samba-4.7.3/temp/build.log'

 * Messages for package net-fs/samba-4.7.3:

 * Package:    net-fs/samba-4.7.3
 * Repository: gentoo
 * Maintainer: samba@gentoo.org
 * USE:        abi_x86_32 abi_x86_64 acl addns amd64 client cups elibc_glibc fam kernel_linux ldap pam python python_targets_python2_7 selinux syslog systemd userland_GNU winbind
 * FEATURES:   preserve-libs sandbox selinux sesandbox userpriv usersandbox
 * Applying samba-4.4.0-pam.patch ...
 * Applying samba-4.5.1-compile_et_fix.patch ...
 * Applying talloc-disable-python.patch ...
 * Applying samba-glibc-2.26-no_rpc.patch ...
 * Will copy sources from /var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3
 * abi_x86_32.x86: copying to /var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_32.x86
 * abi_x86_64.amd64: copying to /var/tmp/portage/net-fs/samba-4.7.3/work/samba-4.7.3-abi_x86_64.amd64
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
 * ERROR: net-fs/samba-4.7.3::gentoo failed (compile phase):
 *   build failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 5408:  Called multilib-minimal_src_compile
 *   environment, line 3321:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3552:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3187:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 3185:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  575:  Called multilib-minimal_abi_src_compile
 *   environment, line 3315:  Called multilib_src_compile
 *   environment, line 3764:  Called waf-utils_src_compile
 *   environment, line 6725:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} || die "build failed"
 *
Comment 4 Denis Descheneaux 2017-12-24 04:18:48 UTC
does not build with GCC 6.4.0 as well, also renaming the ebuild to 4.7.4 to pull latest non master samba, fails exactly the same way for previous versions

this also happens with previous 4.7.1 and 4.6.12 and 4.6.11

This was built fine with same USES as now, before profile 13 to 17 upgrade with PIE

# genlop samba

Thu May 25 05:36:51 2017 >>> net-fs/samba-4.6.4
Wed Jun  7 18:14:02 2017 >>> net-fs/samba-4.6.5
Tue Jul 18 12:43:42 2017 >>> net-fs/samba-4.6.6
Mon Aug 28 01:50:45 2017 >>> net-fs/samba-4.6.7
Sun Sep 24 17:56:45 2017 >>> net-fs/samba-4.6.8
Mon Oct 30 18:05:47 2017 >>> net-fs/samba-4.7.0-r1
Tue Nov  7 02:36:48 2017 >>> net-fs/samba-4.7.1
Wed Nov 22 01:00:54 2017 >>> net-fs/samba-4.7.3

Anyone who can help figure out what is wrong here??
Comment 5 Denis Descheneaux 2017-12-27 15:19:35 UTC
Issue has been solved after undoing a change in locale settings requested by his highness the arrogant iamben in #gentoo

Because he could not be bothered to ask the person pasting the log for a translation of the error message, which i would gladly provide uppon request

Reverting

LC_MESSAGES=C

by temporary overriding it by using a utf8 value in all locale which seemingly some packages do not like at all

LC_ALL="fr_FR.utf8" which is my own utf8 locale

Emerging fine subsequently and changing LC_MESSAGE to a safer utf8 value instead

LC_MESSAGES=en_US.utf8
Comment 6 Christohper Harrington 2020-01-06 16:33:51 UTC
Looks "solved" to me, considering 4.7 is no longer in tree and comment 5.
Comment 7 Ben Kohler gentoo-dev 2020-01-07 22:10:15 UTC
(In reply to Denis Descheneaux from comment #5)
> Issue has been solved after undoing a change in locale settings requested by
> his highness the arrogant iamben in #gentoo
> 
> Because he could not be bothered to ask the person pasting the log for a
> translation of the error message, which i would gladly provide uppon request
> 
> Reverting
> 
> LC_MESSAGES=C
> 
> by temporary overriding it by using a utf8 value in all locale which
> seemingly some packages do not like at all
> 
> LC_ALL="fr_FR.utf8" which is my own utf8 locale
> 
> Emerging fine subsequently and changing LC_MESSAGE to a safer utf8 value
> instead
> 
> LC_MESSAGES=en_US.utf8

Glad I could help