Hi, on Jun 18th I had compiled samba 4.1.18 successfully, then a few days later after a system update, preserved-rebuild tried to rebuild samba and failed as it was now trying to link against libsystemd-daemon instead of libsystemd. After some digging I noticed that the patches are not being applied to the source tree before compile. I reverted the waf-utils.eclass to v1.22 and it is now patching as expected again waf-utils.eclass v1.23: >>> Unpacking source... >>> Unpacking samba-4.1.18.tar.gz to /var/tmp/portage/net-fs/samba-4.1.18/work >>> Source unpacked in /var/tmp/portage/net-fs/samba-4.1.18/work >>> Preparing source in /var/tmp/portage/net-fs/samba-4.1.18/work/samba-4.1.18 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-fs/samba-4.1.18/work/samba-4.1.18 ... (build will fail eventually when linking) waf-utils.eclass v1.22: >>> Unpacking source... >>> Unpacking samba-4.1.18.tar.gz to /var/tmp/portage/net-fs/samba-4.1.18/work >>> Source unpacked in /var/tmp/portage/net-fs/samba-4.1.18/work >>> Preparing source in /var/tmp/portage/net-fs/samba-4.1.18/work/samba-4.1.18 ... * Applying samba-4.1.14-named.conf.dlz.patch ... [ ok ] * Applying samba-4.0.19-automagic_aio_fix.patch ... [ ok ] * Applying samba-4.1.14-libsystemd.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-fs/samba-4.1.18/work/samba-4.1.18 ... (build now succeeds) Reproducible: Always
*** This bug has been marked as a duplicate of bug 553384 ***