net-fs/samba-4.2.7-r1 fails to build. The build.log and emerge --info are below Reproducible: Always
Created attachment 422640 [details] emerge --info
Created attachment 422644 [details] build.log.gz
Observing the same bug. The build.log excerpt * --- /var/tmp/portage/net-fs/samba-4.2.7-r1/temp/.multilib_header_cksum 2016-01-12 14:45:34.539225709 +0300 * +++ /var/tmp/portage/net-fs/samba-4.2.7-r1/temp/.multilib_header_cksum.new 2016-01-12 14:46:18.700997742 +0300 * @@ -73,6 +73,7 @@ * 623288999 3226 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/gen_ndr/atsvc.h * 659449533 3325 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/lookup_sid.h * 1974258294 3392 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/util/string_wrappers.h * +2882851503 3412 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/smb_ldap.h * 2495500048 3565 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/util/memory.h * 317971214 35832 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/gen_ndr/ndr_drsuapi.h * 1664746549 3854 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/util/data_blob.h * @@ -95,6 +96,7 @@ * 4005531636 5450 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/share.h * 4092989607 55578 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/wbclient.h * 4190247177 5564 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/gen_ndr/ndr_epmapper.h * +3767767289 5566 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/smbldap.h * 3329509906 56105 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/gen_ndr/ndr_svcctl_c.h * 1259931838 5718 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/ldap_message.h * 3691046667 64322 /var/tmp/portage/net-fs/samba-4.2.7-r1/image/usr/include/samba-4.0/smb_raw_interfaces.h * ERROR: net-fs/samba-4.2.7-r1::gentoo failed (install phase): * Header checksum mismatch, aborting. matches the one posted above and seems to indicate problems with smbldap.h / smb_ldap.h
same here
Same error with version samba-4.3.3-r1. It is seem to be a multilib issue ?
(In reply to Cănărău Constantin from comment #5) > Same error with version samba-4.3.3-r1. > It is seem to be a multilib issue ? That's most likely. Would one of you mind attching the diff between two of the generated headers ?
(In reply to Rafał Mużyło from comment #6) > (In reply to Cănărău Constantin from comment #5) > > Same error with version samba-4.3.3-r1. > > It is seem to be a multilib issue ? > > That's most likely. > Would one of you mind attching the diff between two of the generated headers > ? This happens with USE=ldap. The non-native build is built with --without-ldap regardless and it doesn't contain the smbldap.h / smb_ldap.h headers at all. Would depending on multilib net-nds/openldap help here?
I have: [I] net-nds/openldap Available versions: [M]2.3.43-r3 [M]2.3.43-r4 2.4.38-r2 ~2.4.39 ~2.4.40 ~2.4.40-r2 ~2.4.40-r4 ~2.4.42 ~2.4.42-r1 ~2.4.43 {(+)berkdb crypt -cxx debug experimental gdbm gnutls icu iodbc ipv6 kerberos libressl minimal odbc overlays perl samba sasl selinux slp smbkrb5passwd ssl static-libs +syslog tcpd ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 2.4.38-r2(20:24:49 2015-05-28)(berkdb crypt cxx icu iodbc ipv6 kerberos odbc overlays perl samba sasl slp ssl syslog tcpd -debug -experimental -gnutls -minimal -selinux -smbkrb5passwd ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") Homepage: http://www.OpenLDAP.org/ Description: LDAP suite of application and development tools But nevertheless I get the header mismatch error.
(In reply to Tamas Jantvik from comment #8) Yes, the dependency would need to be used as well. Something like this seems to work here: --- a/samba-4.2.7-r1.ebuild +++ b/samba-4.2.7-r1.ebuild @@ -65,1 +65,1 @@ CDEPEND="${PYTHON_DEPS} - ldap? ( net-nds/openldap ) + ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) @@ -170,1 +170,1 @@ multilib_src_configure() { - --without-ldap + $(use_with ldap)
Same issue here.
Fixed in 4.2.7-r1 and 4.3.4 Thanks for the bug report and comments