As above >=samba-4.5 is missing explicitly stating '--without-lttng' or '--with-lttng' at configure time. To not explicitly state either way results in samba defaulting to enabling lttng debug support if dev-util/lttng-ust is present on the system. This might not be desirable, eg. in the instance that it breaks Chromium's namespace sandbox (see https://bugs.chromium.org/p/chromium/issues/detail?id=571277)
Also breaks 'make install' for media-video/vlc[samba] (see bug# 624068)
See also bug #622164
I just hit this too and it took quite a while to find out why.
tried to use EXTRA_ECONF="--without-lttng" but that does not seems to work for samba, bug or by design?
commit 6317e7c12e21da53904f0670ce1ffa9b8eecefd4 (HEAD -> master, origin/master, origin/HEAD) Author: Lars Wendler <polynomial-c@gentoo.org> Date: Wed Aug 23 10:56:09 2017 net-fs/samba: Fixed automagic on lttng (bug #622700). In samba-4.5.x lttng is now disabled. In >=samba-4.6 lttng can now be toggled by the "debug" USE flag. Package-Manager: Portage-2.3.8, Repoman-2.3.3
(In reply to Joakim Tjernlund from comment #4) > tried to use EXTRA_ECONF="--without-lttng" but that does not seems > to work for samba, bug or by design? AFAIK, EXTRA_ECONF only works for autotools-based build system. samba unfortunately uses WAF...
(In reply to Lars Wendler (Polynomial-C) from comment #6) > (In reply to Joakim Tjernlund from comment #4) > > tried to use EXTRA_ECONF="--without-lttng" but that does not seems > > to work for samba, bug or by design? > > AFAIK, EXTRA_ECONF only works for autotools-based build system. samba > unfortunately uses WAF... But samba accepts the same syntax so I thin WAF should pick up EXTRA_ECONF: CCFLAGS="-O2 -pipe" LINKFLAGS="-O2 -pipe -Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/net-fs/samba-4.6.7/work/samba-4.6.7/buildtools/bin/waf" --prefix=/usr --libdir=/usr/lib64 --enable-fhs --sysconfdir=/etc --localstatedir=/var --with-modulesdir=/usr/lib64/samba --with-piddir=/run/samba --bundled-libraries=NONE --builtin-libraries=NONE --disable-rpath --disable-rpath-install --nopyc --nopyo --with-acl-support --without-ad-dc --without-dnsupdate --with-ads --without-cluster-support --enable-cups --without-dmapi --with-fam --enable-gnutls --without-gpgme --disable-iprint --with-ldap --with-pam --with-pammodulesdir=/lib64/security --without-quotas --without-syslog --without-systemd --with-system-mitkrb5 --with-winbind --disable-avahi --with-shared-modules=idmap_ad configure