Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-lang/perl causes slot conflicts when updating
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sat Aug 17, 2024 7:27 pm    Post subject: dev-lang/perl causes slot conflicts when updating Reply with quote

when trying to update "system, install cucumber, and finally just update perl, all causes a nasty slot conflict that i am unsure on how to resolve

here's the verbose list from trying to update perl

Code:


[ebuild     U  ] dev-lang/perl-5.38.2-r6 [5.38.2-r3]
[ebuild     U  ] dev-lang/perl-5.40.0 [5.38.2-r3]

!!! 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.40.0:0/5.40::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -doc -minimal" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)" pulled in by
    =dev-lang/perl-5.40* required by (virtual/perl-ExtUtils-MakeMaker-7.700.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                                 
    =dev-lang/perl-5.40* required by (virtual/perl-ExtUtils-Install-2.220.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                               
    =dev-lang/perl-5.40* required by (virtual/perl-JSON-PP-4.160.0-r2-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                       
    =dev-lang/perl-5.40* required by (virtual/perl-CPAN-2.360.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                   
    =dev-lang/perl-5.40* required by (virtual/perl-CPAN-Meta-YAML-0.18.0-r10-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                             
    =dev-lang/perl-5.40* required by (virtual/perl-Carp-1.540.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                   
    =dev-lang/perl-5.40* required by (virtual/perl-Text-ParseWords-3.310.0-r3-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                               
    =dev-lang/perl-5.40* required by (virtual/perl-Perl-OSType-1.10.0-r8-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                         
    =dev-lang/perl-5.40* required by (virtual/perl-ExtUtils-ParseXS-3.510.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                               
    =dev-lang/perl-5.40* required by (virtual/perl-Math-Complex-1.620.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                           
    =dev-lang/perl-5.40* required by (virtual/perl-Unicode-Collate-1.310.0-r2-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                               
    =dev-lang/perl-5.40* required by (virtual/perl-CPAN-Meta-2.150.10-r8-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                         
    =dev-lang/perl-5.40* required by (virtual/perl-Scalar-List-Utils-1.630.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                                 
    =dev-lang/perl-5.40* required by (virtual/perl-Parse-CPAN-Meta-2.150.10-r8-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                               

  (dev-lang/perl-5.38.2-r6:0/5.38::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -doc -minimal" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)" pulled in by
    dev-lang/perl:0/5.38= required by (dev-perl/Unicode-LineBreak-2019.1.0-3:0/0::gentoo, installed) USE="" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                               
    dev-lang/perl:0/5.38= required by (dev-perl/Locale-gettext-1.70.0-r1-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                     
    =dev-lang/perl-5.38* required by (virtual/perl-version-0.992.900-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                         
    dev-lang/perl:0/5.38= required by (dev-perl/MIME-Charset-1.13.1-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" L10N="-ja -zh" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (perl-core/File-Temp-0.231.100-3:0/0::gentoo, installed) USE="" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                         
    dev-lang/perl:0/5.38= required by (virtual/perl-Exporter-5.770.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (virtual/perl-Data-Dumper-2.188.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (virtual/perl-Module-Metadata-1.0.37-r3-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                           
    dev-lang/perl:0/5.38= required by (virtual/perl-podlators-5.10.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                 
    dev-lang/perl:0/5.38= required by (virtual/perl-Text-ParseWords-3.310.0-r3-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                           
    dev-lang/perl:0/5.38= required by (virtual/perl-CPAN-Meta-2.150.10-r8-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                       
    dev-lang/perl:0/5.38= required by (virtual/perl-ExtUtils-CBuilder-0.280.238-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                             
    dev-lang/perl:0/5.38= required by (virtual/perl-CPAN-Meta-YAML-0.18.0-r10-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                           
    =dev-lang/perl-5.38* required by (virtual/perl-Exporter-5.770.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                       
    dev-lang/perl:0/5.38= required by (virtual/perl-Scalar-List-Utils-1.630.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                             
    dev-lang/perl:0/5.38= required by (dev-perl/TermReadKey-2.380.0-r1-3:0/0::gentoo, installed) USE="-examples -test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                                                 
    dev-lang/perl:0/5.38= required by (virtual/perl-ExtUtils-ParseXS-3.510.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                             
    dev-lang/perl:0/5.38= required by (dev-perl/ExtUtils-CChecker-0.110.0-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                       
    =dev-lang/perl-5.38* required by (virtual/perl-Module-Metadata-1.0.37-r3-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                             
    dev-lang/perl:0/5.38= required by (virtual/perl-Test-Harness-3.440.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                         
    =dev-lang/perl-5.38* required by (virtual/perl-Data-Dumper-2.188.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                       
    dev-lang/perl:0/5.38= required by (virtual/perl-Getopt-Long-2.540.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                     
    =dev-lang/perl-5.38* required by (virtual/perl-podlators-5.10.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (perl-core/Math-BigInt-1.999.842-3:0/0::gentoo, installed) USE="-examples -test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                                                 
    =dev-lang/perl-5.38* required by (virtual/perl-ExtUtils-CBuilder-0.280.238-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                               
    =dev-lang/perl-5.38* required by (virtual/perl-Test-Harness-3.440.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                           
    dev-lang/perl:0/5.38= required by (virtual/perl-File-Temp-0.231.100-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                       
    =dev-lang/perl-5.38* required by (virtual/perl-Getopt-Long-2.540.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                       
    dev-lang/perl:0/5.38= required by (virtual/perl-Encode-3.190.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                               
    =dev-lang/perl-5.38* required by (virtual/perl-Encode-3.190.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                   
    dev-lang/perl:0/5.38= required by (virtual/perl-File-Spec-3.880.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                   
    dev-lang/perl:0/5.38= required by (virtual/perl-CPAN-2.360.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                 
    dev-lang/perl:0/5.38= required by (dev-perl/XS-Parse-Keyword-0.380.0-r1-2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                         
    dev-lang/perl:0/5.38= required by (virtual/perl-Perl-OSType-1.10.0-r8-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                       
    dev-lang/perl:0/5.38= required by (dev-perl/Syntax-Keyword-Try-0.290.0-r1-2:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                           
    dev-lang/perl:0/5.38= required by (virtual/perl-JSON-PP-4.160.0-r2-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                   
    dev-lang/perl:0/5.38= required by (virtual/perl-Math-Complex-1.620.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                         
    dev-lang/perl:0/5.38= required by (dev-perl/YAML-Tiny-1.740.0-3:0/0::gentoo, installed) USE="-minimal -test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                                           
    =dev-lang/perl-5.38* required by (virtual/perl-File-Spec-3.880.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (virtual/perl-Parse-CPAN-Meta-2.150.10-r8-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                             
    dev-lang/perl:0/5.38= required by (dev-perl/Pod-Parser-1.660.0-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                               
    dev-lang/perl:0/5.38= required by (virtual/perl-Unicode-Collate-1.310.0-r2-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                           
    dev-lang/perl:0/5.38= required by (virtual/perl-ExtUtils-Manifest-1.730.0-r2-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                             
    dev-lang/perl:0/5.38= required by (dev-perl/Text-WrapI18N-0.60.0-r2-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (dev-perl/SGMLSpm-1.1-r2-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                           
    dev-lang/perl:0/5.38= required by (virtual/perl-Math-BigRat-0.262.400-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                       
    dev-lang/perl:0/5.38= required by (dev-perl/Module-Build-0.423.400-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                   
    dev-lang/perl:0/5.38= required by (virtual/perl-bignum-0.660.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                               
    dev-lang/perl:0/5.38= required by (virtual/perl-Math-BigInt-FastCalc-0.501.300-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                               
    dev-lang/perl:0/5.38= required by (virtual/perl-version-0.992.900-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (app-text/po4a-0.69-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                       
    dev-lang/perl:0/5.38= required by (virtual/perl-ExtUtils-MakeMaker-7.700.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                               
    dev-lang/perl:0/5.38= required by (virtual/perl-ExtUtils-Install-2.220.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                             
    =dev-lang/perl-5.38* required by (virtual/perl-ExtUtils-Manifest-1.730.0-r2-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                                 
    dev-lang/perl:0/5.38= required by (virtual/perl-Carp-1.540.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                 
    dev-lang/perl:0/5.38= required by (dev-perl/Text-CharWidth-0.40.0-r2-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (virtual/perl-Math-BigInt-1.999.842-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                       
    =dev-lang/perl-5.38* required by (virtual/perl-Math-BigInt-FastCalc-0.501.300-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                                   
    =dev-lang/perl-5.38* required by (virtual/perl-bignum-0.660.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                   
    =dev-lang/perl-5.38* required by (virtual/perl-Math-BigRat-0.262.400-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"


any ideas on how to resolve are appreciated (i've tried backtracking to 50, it didn't help)
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1020
Location: Somewhere in Denmark

PostPosted: Sat Aug 17, 2024 7:55 pm    Post subject: Reply with quote

Are you mixing stable and unstable? (I see dev-lang/perl-5.40.0 which is not marked stable, but also see app-text/po4a-0.69 which is the latest stable)

That can be hard-ish to maintain.
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sat Aug 17, 2024 8:02 pm    Post subject: Reply with quote

freke wrote:
Are you mixing stable and unstable? (I see dev-lang/perl-5.40.0 which is not marked stable, but also see app-text/po4a-0.69 which is the latest stable)

That can be hard-ish to maintain.


mostly unstable. i've only marked clang, llvm, clang-runtime, clang-toolchain-symlinks , and libcxx as stable.

if this is bad, then i'll change that, but it shouldn't matter at the moment.

this system isn't fully installed yet, it's currently in the state of just unpacked stage 3, and ran a sync.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22392

PostPosted: Sat Aug 17, 2024 9:17 pm    Post subject: Reply with quote

Are you trying to update perl or trying to update world, and perl happens to be part of world? You should show the full command you used, so that we can check that. The output looks like you are trying to change only perl, and thus causing a subslot conflict because you are not rebuilding things which depend on perl:0/5.38.
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sat Aug 17, 2024 9:24 pm    Post subject: Reply with quote

i've tried:
Code:

emerge --ask --oneshot @system
USE="-test" emerge --ask --oneshot cucumber (to attempt to resolve a conflict with the above)
emerge --ask --oneshot perl
USE="-test -webp" emerge --ask --oneshot @system


all three come back to the same slot conflict error.

the posted trace is from the perl only one, but all of them have the same issue.

here's the one from the last one (package list omitted for brevity):
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.38.2-r3-1:0/5.38::gentoo, installed) USE="gdbm -berkdb -doc -minimal" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)" pulled in by
    =dev-lang/perl-5.38* required by (virtual/perl-File-Spec-3.880.0-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                     
    dev-lang/perl:0/5.38= required by (virtual/perl-Test-Harness-3.440.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                         
    (and 58 more with the same problems)

  (dev-lang/perl-5.40.0:0/5.40::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -doc -minimal" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)" pulled in by
    =dev-lang/perl-5.40* required by (virtual/perl-CPAN-2.360.0-r1-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                   
    (and 26 more with the same problem)



I am not above backing up /etc/portage/*, wiping the whole thing, and starting from stage3 again, if that's what it takes
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22392

PostPosted: Sat Aug 17, 2024 9:56 pm    Post subject: Reply with quote

What happens if you update @world? Updating @system is unusual, and often not what you want.
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sat Aug 17, 2024 9:58 pm    Post subject: Reply with quote

exact same thing. just tried it and perl is still conflicting
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22392

PostPosted: Sat Aug 17, 2024 11:17 pm    Post subject: Reply with quote

Are those virtuals not reachable from world? Does emerge --ask --depclean offer to remove them?
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 382
Location: Naarm/Melbourne, Australia

PostPosted: Sat Aug 17, 2024 11:41 pm    Post subject: Reply with quote

Is this one of those situations where one needs to use app-admin/perl-cleaner:
Quote:
perl-cleaner -- Find & rebuild packages and Perl header files broken due to a perl upgrade

as described by the wiki's text about upgrading Perl?
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sun Aug 18, 2024 12:20 pm    Post subject: Reply with quote

Hu wrote:
Are those virtuals not reachable from world? Does emerge --ask --depclean offer to remove them?


this doesn't run, as it's complaining about requiring a world update.

flexibeast wrote:
Is this one of those situations where one needs to use app-admin/perl-cleaner:
Quote:
perl-cleaner -- Find & rebuild packages and Perl header files broken due to a perl upgrade

as described by the wiki's text about upgrading Perl?


from the wiki:
Code:

root #emerge -uDNav --backtrack=100 --autounmask-keep-masks=y @world
root #perl-cleaner --all


neither of these work. the former complains about either the perl conflict or a failure to merge cucumber, which itself complains about perl, and the latter results in this:

Code:

 * Removing perl-core packages from world file
 *    emerge --deselect  perl-core/File-Temp perl-core/Math-BigInt
>>> No matching atoms found in "world" favorites file...
 * Updating installed Perl virtuals
 *    emerge -u1  virtual/perl-bignum virtual/perl-Carp virtual/perl-CPAN virtual/perl-CPAN-Meta virtual/perl-CPAN-Meta-YAML virtual/perl-Data-Dumper virtual/perl-Encode virtual/perl-Exporter virtual/perl-ExtUtils-CBuilder virtual/perl-ExtUtils-Install virtual/perl-ExtUtils-MakeMaker virtual/perl-ExtUtils-Manifest virtual/perl-ExtUtils-ParseXS virtual/perl-File-Spec virtual/perl-File-Temp virtual/perl-Getopt-Long virtual/perl-JSON-PP virtual/perl-Math-BigInt virtual/perl-Math-BigInt-FastCalc virtual/perl-Math-BigRat virtual/perl-Math-Complex virtual/perl-Module-Metadata virtual/perl-Parse-CPAN-Meta virtual/perl-Perl-OSType virtual/perl-podlators virtual/perl-Scalar-List-Utils virtual/perl-Test-Harness virtual/perl-Text-ParseWords virtual/perl-Unicode-Collate virtual/perl-version

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 78.92 s (backtrack: 20/20).

[ebuild     U  ] dev-lang/perl-5.40.0 [5.38.2-r3]
[ebuild     U  ] virtual/perl-Data-Dumper-2.189.0 [2.188.0]
[ebuild     U  ] virtual/perl-Test-Harness-3.480.0 [3.440.0-r1]
[ebuild     U  ] virtual/perl-Encode-3.210.0-r1 [3.190.0]
[ebuild     U  ] virtual/perl-ExtUtils-CBuilder-0.280.240 [0.280.238]
[ebuild     U  ] virtual/perl-File-Spec-3.900.0 [3.880.0]
[ebuild     U  ] virtual/perl-Exporter-5.780.0 [5.770.0-r1]
[ebuild     U  ] virtual/perl-ExtUtils-Manifest-1.750.0 [1.730.0-r2]
[ebuild     U  ] virtual/perl-Getopt-Long-2.570.0-r1 [2.540.0]
[ebuild     U  ] virtual/perl-Module-Metadata-1.0.38 [1.0.37-r3]
[ebuild     U  ] virtual/perl-podlators-5.10.200_rc [5.10.0]
[ebuild     U  ] virtual/perl-version-0.993.0 [0.992.900-r1]
[ebuild     U  ] virtual/perl-Math-BigInt-2.3.2 [1.999.842]
[uninstall     ] perl-core/Math-BigInt-1.999.842
[blocks b      ] <perl-core/Math-BigInt-2.3.2 ("<perl-core/Math-BigInt-2.3.2" is soft blocking virtual/perl-Math-BigInt-2.3.2)
[ebuild     U  ] virtual/perl-bignum-0.670.0 [0.660.0]
[ebuild     U  ] virtual/perl-Math-BigInt-FastCalc-0.501.800 [0.501.300]
[ebuild     U  ] virtual/perl-Math-BigRat-2.3.2 [0.262.400]

!!! 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.38.2-r3-1:0/5.38::gentoo, installed) USE="gdbm -berkdb -doc -minimal" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)" pulled in by
    dev-lang/perl:0/5.38= required by (app-text/po4a-0.69-3:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                       
    (and 29 more with the same problem)

  (dev-lang/perl-5.40.0:0/5.40::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -doc -minimal" ABI_X86="(64)" PERL_FEATURES="(-debug) -ithreads (-quadmath)" pulled in by
    =dev-lang/perl-5.40* required by (virtual/perl-CPAN-Meta-YAML-0.18.0-r10-1:0/0::gentoo, installed) USE="" ABI_X86="(64)"
    ^              ^^^^^                                                                                                                                                                             
    (and 28 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


 * Locating packages for an update
 * Locating ebuilds linked against libperl
!!! SELinux module not found. Please verify that it was installed.
 * No package needs to be reinstalled.


trying with --reallyall seems to just try to do an @world update or something close to it. it hits the same issues, anyway...
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22392

PostPosted: Sun Aug 18, 2024 2:20 pm    Post subject: Reply with quote

This seems weird. I could believe these kinds of problems on an old system that has not been maintained, but you said this is a new and not yet finished system. I still think the issue is that you have packages that have a subslot-dependency on old perl and are not reachable from a deep world upgrade, so emerge -avuUD @world does not plan to upgrade them, and since it does not upgrade them, you get a conflict. Forcing emerge to include those in the update by naming them explicitly will probably work: emerge -avuUD1 --autounmask-keep-masks=y @world app-text/po4a (and 29 more with the same problem). They all need to be done in one command, so that Portage has permission to rebuild all of them.
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sun Aug 18, 2024 3:02 pm    Post subject: Reply with quote

Hu wrote:
This seems weird. I could believe these kinds of problems on an old system that has not been maintained, but you said this is a new and not yet finished system. I still think the issue is that you have packages that have a subslot-dependency on old perl and are not reachable from a deep world upgrade, so emerge -avuUD @world does not plan to upgrade them, and since it does not upgrade them, you get a conflict. Forcing emerge to include those in the update by naming them explicitly will probably work: emerge -avuUD1 --autounmask-keep-masks=y @world app-text/po4a (and 29 more with the same problem). They all need to be done in one command, so that Portage has permission to rebuild all of them.


well that worked, (in that it allows emerge to run),
but i'm now getting a failure to compile from libffi (cannot run C compiled programs)

i think that something more serious is wrong, so i'll ask this:

would it be more practical to try and fix this, or just wipe the partitions clean and start from scratch.

i'm really not that far into the installation process, so it isn't like i'll be loosing much.

thoughts?
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1020
Location: Somewhere in Denmark

PostPosted: Sun Aug 18, 2024 3:05 pm    Post subject: Reply with quote

Show emerge --info ?

Are you also setting up/running SELinux (one of your outputs mentioned SELinux)
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sun Aug 18, 2024 3:10 pm    Post subject: Reply with quote

here's emerge --info:

Code:

emerge --info
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/llvm, gcc-13, glibc-2.39-r6, 6.6.35-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.35-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-6800K_CPU_@_3.40GHz-with-glibc2.39
KiB Mem:    32773816 total,  14222160 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Sat, 17 Aug 2024 18:30:00 +0000
Head commit of repository gentoo: 427d7d08f7866c9f5d81f337849a8b712d3e942a
sh bash 5.2_p26-r6
ld LLD 17.0.6 (compatible with GNU linkers)
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.12.3-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_llvm

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
ADDR2LINE="llvm-addr2line"
AR="llvm-ar"
AS="clang -c"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-mtune=native -march=native -O2 -pipe -flto -fvisibility=hidden -ftrivial-auto-var-init=zero -fomit-frame-pointer -ftrapv -mretpoline -fpie -fPIC -fwrapv -fstack-clash-protection -Wl,-z,separate-code -fsanitize=cfi -fsanitize=safe-stack -Wno-error=implicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CPP="clang-cpp"
CXX="clang++"
CXXFLAGS="-mtune=native -march=native -O2 -pipe -flto -fvisibility=hidden -ftrivial-auto-var-init=zero -fomit-frame-pointer -ftrapv -mretpoline -fpie -fPIC -fwrapv -fstack-clash-protection -Wl,-z,separate-code -fsanitize=cfi -fsanitize=safe-stack -Wno-error=implicit-function-declaration"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --ask"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-mtune=native -march=native -O2 -pipe -flto -fvisibility=hidden -ftrivial-auto-var-init=zero -fomit-frame-pointer -ftrapv -mretpoline -fpie -fPIC -fwrapv -fstack-clash-protection -Wl,-z,separate-code -fsanitize=cfi -fsanitize=safe-stack -Wno-error=implicit-function-declaration"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict strict-keepdir stricter suidctl test unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mtune=native -march=native -O2 -pipe -flto -fvisibility=hidden -ftrivial-auto-var-init=zero -fomit-frame-pointer -ftrapv -mretpoline -fpie -fPIC -fwrapv -fstack-clash-protection -Wl,-z,separate-code -fsanitize=cfi -fsanitize=safe-stack -Wno-error=implicit-function-declaration"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/     https://mirror.dogado.de/gentoo     https://ftp.agdsn.de/gentoo     https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/     https://ftp.gwdg.de/pub/linux/gentoo/     https://ftp.uni-hannover.de/gentoo/     https://mirror.netcologne.de/gentoo/     https://mirror.netzwerge.de/gentoo/     https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     https://ftp.halifax.rwth-aachen.de/gentoo/     https://ftp.tu-ilmenau.de/mirror/gentoo/     https://ftp.fau.de/gentoo     https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     https://ftp.uni-stuttgart.de/gentoo-distfiles/     https://ftp.lysator.liu.se/gentoo/     https://mirrors.tnonline.net/gentoo/gentoo-distfiles/     https://mirror.init7.net/gentoo/"
LANG="C.UTF8"
LD="ld.lld"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j12 -l14"
NM="llvm-nm"
OBJCOPY="llvm-objcopy"
OBJDUMP="llvm-objdump"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
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"
RANLIB="llvm-ranlib"
READELF="llvm-readelf"
SHELL="/bin/bash"
STRINGS="llvm-strings"
STRIP="llvm-strip"
USE="X a52 aac acl acpi activities alsa amd64 audit branding bzip2 cairo caps cdda cdr cet clang crypt cuda cups dbus declarative dri dts dvd dvdr elogind encode exif flac fortify gdbm gif gpg gpm gui hardened iconv icu ipv6 jemalloc joystick jpeg kde kf6compat kwallet lcms libnotify libtirpc llvm llvm-libunwind lto lvm mad man mng mp3 mp4 mpeg multilib ncurses networkmanager nls nvidia ogg opengl openmp pam pango pcre pdf peer_perms pic pie pipewire plasma png policykit ppds qml qt5 readline rsync-verify screencast sdl seccomp selinux semantic-desktop sound spell ssl ssp startup-notification svg test test-rust tiff truetype ubac udev udisks unicode upower usb vdpau verify-sig vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xtpax xv xvid xvmc zlib zsh-completions zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput joystick evdev" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="BPF NVPTX X86 AVR" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ARFLAGS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND,


also, i want to set up SElinux, but it isn't currently enforcing anything (still in the chroot stage)
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22392

PostPosted: Sun Aug 18, 2024 4:04 pm    Post subject: Reply with quote

You are welcome to wipe and restart, but there is no reason to believe you will not make the same as-yet-unidentified mistakes again. Generally, we discourage people from wiping and restarting.

You did not previously mention that this system is LLVM-based, nor did your first post mention SELinux. When you choose unusual system options, you should mention them, so that prospective helpers know this system is unusual.

I see numerous non-default CFLAGS enabled. Where did you get these?

For your libffi problem, I suggest you follow the instructions that Portage printed when it failed.
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sun Aug 18, 2024 4:21 pm    Post subject: Reply with quote

Hu wrote:


You did not previously mention that this system is LLVM-based, nor did your first post mention SELinux. When you choose unusual system options, you should mention them, so that prospective helpers know this system is unusual.


sorry. i'll do that next time

Hu wrote:

I see numerous non-default CFLAGS enabled. Where did you get these?


mostly following along to this

Hu wrote:

For your libffi problem, I suggest you follow the instructions that Portage printed when it failed.


portage just mentioned a configure error, but i didn't want to get too deep into that here, since this thread was about perl initially (i don't know what the forum's policy on deviating froim initial pos is, but i'm trying not to do that too much.)
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22392

PostPosted: Sun Aug 18, 2024 5:13 pm    Post subject: Reply with quote

We do try to keep on subject, though an argument could be made that since you need to update the system before you can fix your perl problem, that libffi could go here. I suggest opening a new thread about your libffi problem, and posting here a link to that thread. Once that thread is resolved, we can return to perl.
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 163
Location: 11.435765792823453, 143.05926743686274

PostPosted: Sun Aug 18, 2024 5:47 pm    Post subject: Reply with quote

new thread about libffi issue: https://forums.gentoo.org/viewtopic-p-8837101.html#8837101
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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