Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675694 - >=net-fs/samba-4.10.0_rc1 - ERROR: Target 'gnutls' in directory .../work/samba-4.10.0rc1-abi_x86_64.amd64/lib/mscat re-defined as SYSLIB - was DISABLED
Summary: >=net-fs/samba-4.10.0_rc1 - ERROR: Target 'gnutls' in directory .../work/samb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-17 16:25 UTC by Helmut Jarausch
Modified: 2019-04-09 06:05 UTC (History)
3 users (show)

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


Attachments
emerge --info (samba_info.xz,7.49 KB, application/x-xz)
2019-01-17 16:25 UTC, Helmut Jarausch
Details
build log xz-compressed (samba-4.10.0_rc1.build.xz,11.62 KB, application/x-xz)
2019-01-17 16:37 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2019-01-17 16:25:23 UTC
Created attachment 561708 [details]
emerge --info

During build I get

ERROR: Target 'gnutls' in directory /var/tmp/portage/net-fs/samba-4.10.0_rc1/work/samba-4.10.0rc1-abi_x86_64.amd64/lib/mscat re-defined as SYSLIB - was DISABLED
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-17 16:29:19 UTC
Please attach the entire build log to this bug report.
Comment 2 Helmut Jarausch 2019-01-17 16:37:47 UTC
Created attachment 561710 [details]
build log  xz-compressed
Comment 3 kfm 2019-01-27 14:49:10 UTC
Just to add that a very similar error occurs where:-

* net-libs/gnutls is not installed
* net-fs/samba is being installed with USE="-gnutls" in effect, and no other flags that would result in net-libs/gnutls being required

The build error is then as follows:-

ERROR: Target 'gnutls' in directory /var/tmp/portage/net-fs/samba-4.10.0_rc1-r1/work/samba-4.10.0rc1-abi_x86_64.amd64/lib/mscat re-defined as EMPTY - was DISABLED
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-01-28 10:11:48 UTC
I'm still hoping this is a mistake in their release candidate. If it persists in the next release candidate I gonna file an upstream bug.
Comment 5 Kobboi 2019-03-20 10:10:17 UTC
Hitting this with 4.10.0
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-03-20 10:12:05 UTC
(In reply to Kobboi from comment #5)
> Hitting this with 4.10.0

Yeah, sorry. I lost track of this one and didn't report to upstream yet :-(
Comment 7 Mike Lothian 2019-03-20 10:15:59 UTC
Why has a 2 month old bug managed to hit portage?

If gnutls is now required, remove the use flag
Comment 8 Larry the Git Cow gentoo-dev 2019-03-20 10:17:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7485a4b9c59cd616690498b4af2b761662d57039

commit 7485a4b9c59cd616690498b4af2b761662d57039
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-03-20 10:16:08 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-03-20 10:17:33 +0000

    base/package.use.force: USE="-gnutls" is broken in >=samba-4.10.0_rc1
    
    Bug: https://bugs.gentoo.org/675694
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 profiles/base/package.use.force | 4 ++++
 1 file changed, 4 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2019-04-09 06:05:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f16a141fa007dd53ac460a57816de9d2240ae15

commit 8f16a141fa007dd53ac460a57816de9d2240ae15
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-04-09 05:57:19 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-04-09 06:05:37 +0000

    base/package.use.force: Removed net-fs/samba entry
    
    Closes: https://bugs.gentoo.org/675694
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 profiles/base/package.use.force | 4 ----
 1 file changed, 4 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit fa902078740e4df285dd222d95352b6cebeb7fc5
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-04-09 05:32:07 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-04-09 06:05:34 +0000

    net-fs/samba: Bump to versions 4.9.6 and 4.10.2
    
    apply patch to v4.10.2 fixing builds with USE="-gnutls"
    
    Bug: https://bugs.gentoo.org/675694
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-fs/samba/Manifest                              |   2 +
 .../samba-4.10.0-disable_gnutls_build_fix.patch    |  32 +++
 net-fs/samba/samba-4.10.2.ebuild                   | 307 +++++++++++++++++++++
 net-fs/samba/samba-4.9.6.ebuild                    | 305 ++++++++++++++++++++
 4 files changed, 646 insertions(+)