Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578508

Summary: Stable net-fs/samba-4.2.9 depends on unstable tdb, tevent, and ntdb
Product: Gentoo Linux Reporter: cyshei
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED INVALID    
Severity: normal CC: john.einar
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description cyshei 2016-03-29 12:28:18 UTC
After samba-4.2.9 became marked stable, it still depends on the following unstable packages:

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sys-libs/ldb-1.1.26::gentoo
# required by net-fs/samba-4.2.9::gentoo
# required by @selected
# required by @world (argument)
>=sys-libs/tdb-1.3.8 python
# required by sys-libs/ldb-1.1.26::gentoo
# required by net-fs/samba-4.2.9::gentoo
# required by @selected
# required by @world (argument)
>=sys-libs/tevent-0.9.28 python
# required by net-fs/samba-4.2.9::gentoo
# required by @selected
# required by @world (argument)
>=sys-libs/ntdb-1.0-r1 python
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-03-29 12:38:47 UTC
All packages that are mentioned in this bug have been marked stab le. Please re-sync your portage tree and try again.
Comment 2 John Einar Reitan 2016-03-29 14:34:38 UTC
ntdb-1.0-r1.ebuild has

DEPEND="!!<net-fs/samba-4.1.7
        ${RDEPEND}
        ${PYTHON_DEPS}
        app-text/docbook-xml-dtd:4.2"

So fails to build with net-fs/samba-4.2.9:

[ebuild     U  ] net-fs/samba-4.2.9::gentoo [3.6.25::gentoo] USE="acl client ldap pam system-mitkrb5%* winbind -addc% -addns -ads* -aio* -avahi -cluster -cups -dmapi -fam -gnutls% -iprint% -quota (-selinux) -syslog -systemd% {-test%} (-caps%*) (-debug%) (-doc%) (-examples%) (-ldb%) (-netapi%*) (-readline%*) (-server%*) (-smbclient%*) (-smbsharemodes%) (-swat%)" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7%*" 20,270 KiB
[blocks B      ] <net-fs/samba-4.1.7 ("<net-fs/samba-4.1.7" is hard blocking sys-libs/ntdb-1.0-r1)

Total: 42 packages (4 upgrades, 38 new), Size of downloads: 31,048 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-libs/ntdb-1.0-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-libs/ntdb-1.0[python,python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-libs/ntdb-1.0[python,python_targets_python2_7(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+),abi_x86_64(-)]) required by (net-fs/samba-4.2.9:0/0::gentoo, ebuild scheduled for merge)
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-03-29 14:39:00 UTC
(In reply to John Einar Reitan from comment #2)
> ntdb-1.0-r1.ebuild has
> 
> DEPEND="!!<net-fs/samba-4.1.7
>         ${RDEPEND}
>         ${PYTHON_DEPS}
>         app-text/docbook-xml-dtd:4.2"
> 
> So fails to build with net-fs/samba-4.2.9:
> 
> [ebuild     U  ] net-fs/samba-4.2.9::gentoo [3.6.25::gentoo] USE="acl client
> ldap pam system-mitkrb5%* winbind -addc% -addns -ads* -aio* -avahi -cluster
> -cups -dmapi -fam -gnutls% -iprint% -quota (-selinux) -syslog -systemd%
> {-test%} (-caps%*) (-debug%) (-doc%) (-examples%) (-ldb%) (-netapi%*)
> (-readline%*) (-server%*) (-smbclient%*) (-smbsharemodes%) (-swat%)"
> ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7%*" 20,270 KiB
> [blocks B      ] <net-fs/samba-4.1.7 ("<net-fs/samba-4.1.7" is hard blocking
> sys-libs/ntdb-1.0-r1)
> 
> Total: 42 packages (4 upgrades, 38 new), Size of downloads: 31,048 KiB
> Conflict: 1 block (1 unsatisfied)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (sys-libs/ntdb-1.0-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by
>    
> >=sys-libs/ntdb-1.0[python,python_targets_python2_7(-)?,-
> python_single_target_jython2_7(-),-python_single_target_pypy(-),-
> python_single_target_pypy3(-),-python_single_target_python3_3(-),-
> python_single_target_python3_4(-),-python_single_target_python3_5(-),
> python_single_target_python2_7(+),abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-
> )?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,
> abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
> (>=sys-libs/ntdb-1.0[python,python_targets_python2_7(-),-
> python_single_target_jython2_7(-),-python_single_target_pypy(-),-
> python_single_target_pypy3(-),-python_single_target_python3_3(-),-
> python_single_target_python3_4(-),-python_single_target_python3_5(-),
> python_single_target_python2_7(+),abi_x86_64(-)]) required by
> (net-fs/samba-4.2.9:0/0::gentoo, ebuild scheduled for merge)

Uninstall your old samba installation and the error will magically disappear.
Comment 4 cyshei 2016-03-29 14:57:45 UTC
I figured out that it was actually complaining that I needed the "python" USE flag enabled for those packages, not that they were too old.  Chalk that one up to the early morning upgrade attempt, and sorry for the noise.