Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744502 - net-fs/samba-4.13.0 USE="-snapper" without sys-apps/dbus - configure: vfs_snapper is enabled but prerequisite dbus-1 package not found. Use --with-shared-modules=!vfs_snapper to disable vfs_snapper support.
Summary: net-fs/samba-4.13.0 USE="-snapper" without sys-apps/dbus - configure: vfs_sna...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-24 11:53 UTC by Karl-Johan Karlsson
Modified: 2020-10-23 16:39 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,110.46 KB, text/plain)
2020-09-24 11:54 UTC, Karl-Johan Karlsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Johan Karlsson 2020-09-24 11:53:37 UTC
Bug #721320 introduced a USE flag to control Samba's dependency on dbus. However, with net-fs/samba-4.13.0, the configure fails on a server without dbus installed even though that USE flag is not set:

Checking for dbus                                                                               : not found 
vfs_snapper is enabled but prerequisite dbus-1 package not found. Use --with-shared-modules=!vfs_snapper to disable vfs_snapper support.

Earlier in the build log, it looks like "--with-shared-modules=!vfs_snapper" is indeed used, so this is probably an upstream regression in the build system.

Reproducible: Always




Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1/hardened, gcc-10.2.0, glibc-2.32-r1, 5.8.9-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.8.9-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.7
KiB Mem:    65743384 total,   5142268 free
KiB Swap:   33521660 total,  33515516 free
Timestamp of repository gentoo: Wed, 23 Sep 2020 21:30:01 +0000
Head commit of repository gentoo: 3353db751dea4c7a1795e75ec3b6f20b143cb66f
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          3.7.9::gentoo, 3.8.3::gentoo
dev-util/cmake:           3.17.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            10.2.0-r1::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --timeout=10 --ipv6
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/ossec/etc /var/ossec/etc/"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/ossec/etc/shared/"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --quiet-build=y --backtrack=30 --verbose-conflicts --usepkg --binpkg-respect-use=y --binpkg-changed-deps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mdfnet.se/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=10 --ipv6"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 bzip2 crypt hardened iconv idn ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre pie readline seccomp split-usr ssl ssp unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US en-GB sv" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

net-fs/samba-4.12.6::gentoo was built with the following:
USE="acl -addc -addns -ads -ceph -client -cluster -cups -debug (-dmapi) (-fam) -gpg -iprint -json -ldap pam -profiling-data -python -quota (-selinux) -snapper -syslog (-system-heimdal) system-mitkrb5 -systemd (-test) -winbind -zeroconf" ABI_X86="-32 (64) (-x32)" PYTHON_SINGLE_TARGET="-python3_6 python3_7 -python3_8"
FEATURES="multilib-strict sandbox userpriv unmerge-orphans strict news sfperms fixlafiles parallel-fetch binpkg-dostrip unknown-features-warn pid-sandbox xattr compressdebug network-sandbox config-protect-if-modified qa-unresolved-soname-deps assume-digests ebuild-locks merge-sync usersync binpkg-docompress distlocks preserve-libs protect-owned binpkg-logs userfetch buildpkg usersandbox ipc-sandbox unmerge-logs"
Comment 1 Karl-Johan Karlsson 2020-09-24 11:54:45 UTC
Created attachment 662278 [details]
build.log
Comment 2 Klemen Mihevc 2020-09-24 14:13:34 UTC
have same error
Comment 3 drzony 2020-09-28 11:58:09 UTC
This is caused by:

multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} )

Which overrides module list set by:
$(multilib_native_usex snapper '' '--with-shared-modules=!vfs_snapper')
Comment 4 Yuriy Dmitriev 2020-10-05 16:07:38 UTC
Same error.
.
.
.

PERFCOUNT_SHARED: 
RPC_STATIC: rpc_mdssvc_module
RPC_SHARED: 
Checking for dbus                                                                               : not found 
vfs_snapper is enabled but prerequisite dbus-1 package not found. Use --with-shared-modules=!vfs_snapper to disable vfs_sna
pper support.
(complete log in /var/tmp/portage/net-fs/samba-4.13.0/work/samba-4.13.0-abi_x86_64.amd64/bin/config.log)
.
.
.
.


USE flags is:


samba ~ # equery uses samba
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for net-fs/samba-4.13.0:
 U I
 + + acl                            : Add support for Access Control Lists
 - - addc                           : Enable Active Directory Domain Controller support
 - - addns                          : Enable AD DNS integration
 - - ads                            : Enable Active Directory support
 - - ceph                           : Enable support for Ceph distributed filesystem via sys-cluster/ceph
 + - client                         : Enables the client part
 - - cluster                        : Enable support for clustering
 - - cups                           : Add support for CUPS (Common Unix Printing System)
 - - debug                          : Enable extra debug codepaths, like asserts and extra output. If you want to get
                                      meaningful backtraces see
                                      https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - gpg                            : Use app-crypt/gpgme for AD DC
 - - iprint                         : Enabling iPrint technology by Novell
 - - json                           : Enable json audit support through dev-libs/jansson
 - - ldap                           : Add LDAP support (Lightweight Directory Access Protocol)
 + + pam                            : Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily
                                      flip
 - - profiling-data                 : Enables support for collecting profiling data
 - - python                         : Add optional support/bindings for the Python language
 - - python_single_target_python3_6 : Build for Python 3.6 only
 + + python_single_target_python3_7 : Build for Python 3.7 only
 - - python_single_target_python3_8 : Build for Python 3.8 only
 - - quota                          : Enables support for user quotas
 - - snapper                        : Enable vfs_snapper module (requires sys-apps/dbus)
 - - syslog                         : Enable support for syslog
 + - system-mitkrb5                 : Use app-crypt/mit-krb5 instead of app-crypt/heimdal.
 - - systemd                        : Enable use of systemd-specific libraries and features like socket activation or
                                      session tracking
 - - winbind                        : Enables support for the winbind auth daemon
 - - zeroconf                       : Support for DNS Service Discovery (DNS-SD)
samba ~ #
Comment 5 Xavier Miller (RETIRED) gentoo-dev 2020-10-22 08:43:05 UTC
Hi!,

Same problem with net-fs/samba-4.13.0-r1
Comment 6 Larry the Git Cow gentoo-dev 2020-10-23 12:46:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f35bcada58b26f127b3a45d45f5bf2f2afad369

commit 6f35bcada58b26f127b3a45d45f5bf2f2afad369
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-10-23 12:46:23 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-10-23 12:46:48 +0000

    net-fs/samba: Attempt to fix build with USE="-snapper"
    
    Bug: https://bugs.gentoo.org/744502
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-fs/samba/samba-4.13.0-r1.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-23 12:47:28 UTC
Please test and report back if the above change fixes the issue.
Comment 8 Yuriy Dmitriev 2020-10-23 14:09:04 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #7)
> Please test and report back if the above change fixes the issue.

Thank alot) working)))))
Comment 9 Karl-Johan Karlsson 2020-10-23 14:21:41 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #7)
> Please test and report back if the above change fixes the issue.

It does, thanks!
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-23 16:39:12 UTC
Thanks a lot for your feedback.