Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge error on first install: perl and libseccomp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 886

PostPosted: Wed Aug 25, 2021 12:49 pm    Post subject: emerge error on first install: perl and libseccomp Reply with quote

Hi,

On a freshly-installed Gentoo system an emerge world gives me the following error messages:

Code:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/perl:0

  (dev-lang/perl-5.34.0:0/5.34::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -debug -doc -ithreads -minimal" ABI_X86="(64)" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-lang/perl-5.32.1:0/5.32::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -debug -doc -ithreads -minimal" ABI_X86="(64)" pulled in by
    dev-lang/perl:0/5.32= required by (dev-perl/Locale-gettext-1.70.0-2:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                             



!!! The ebuild selected to satisfy "sys-libs/libseccomp[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements.
- sys-libs/libseccomp-2.5.1::gentoo USE="python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 -python3_8"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( static-libs )

  The above constraints are a subset of the following complete expression:
    python? ( static-libs any-of ( python_targets_python3_8 python_targets_python3_9 ) )

(dependency required by "sys-apps/file-5.40-r3::gentoo" [ebuild])
(dependency required by "@system" [set])
(dependency required by "@world" [argument])


Do I need to rebuild perl?

EDIT: the stage3 is new but the live media is not that recent.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Wed Aug 25, 2021 12:55 pm    Post subject: Reply with quote

Code:
  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( static-libs )

If you want python use flag to sys-libs/libseccomp package you should enable also static-libs use flag. By default python use flag isn't enabled.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 886

PostPosted: Wed Aug 25, 2021 1:12 pm    Post subject: Reply with quote

fedeliallalinea wrote:

If you want python use flag to sys-libs/libseccomp package you should enable also static-libs use flag. By default python use flag isn't enabled.


Is this new behavior because I've never seen this installation quirk before.
It's not like I explicitly emerge libseccomp. I don't even know what it's for, but these messages appear when running "emerge world".

I've always set for years the USE variable in make.conf as:
"ads apache2 cluster kerberos freetds odbc openrc ldap logrotate jbig python radius samba unicode winbind xattr -X -gtk"

I probably need to review that... I'm not even sure now I actually need "python" defined in make.conf's USE variable.

I'd rather not add "static-libs" to just sys-libs/libseccomp, but on the other hand I'm not sure it's a good idea to add "static-libs" to USE in make.conf.

What do you suggest?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30954
Location: here

PostPosted: Wed Aug 25, 2021 1:50 pm    Post subject: Reply with quote

Usually python use flag, not to be confused with PYTHON_TARGETS, enable python bindigns.
If you want python use flag set globally but not for a specific package, or vice versa, you can use /etc/portage/package.use.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum