View previous topic :: View next topic |
Author |
Message |
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 202
|
Posted: Sat Oct 30, 2021 10:25 pm Post subject: Portage woes on Pi4 |
|
|
I'm using the image from https://github.com/GenPi64/gentoo-on-rpi-64bit.
The system is a disaster. Initially, it lets portage work, but as it complies boost, the 90th package, it freezes. When I reboot and restart portage, it complains with a gazillion errors.
If I could stop the freezing, I might get it to compile everything without complaint. Otherwise, I need to somehow get portage past the blockers.
Here’s the portage output
Code: |
[blocks B ] sys-libs/glibc[crypt(+)] ("sys-libs/glibc[crypt(+)]" is soft blocking sys-libs/libxcrypt-4.4.26)
Total: 307 packages (263 upgrades, 1 downgrade, 36 new, 7 in new slots, 1 uninstall), Size of downloads: 35,735 KiB
Conflict: 4 blocks (1 unsatisfied)
!!! 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-r5:0/5.34::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -debug -doc -ithreads -minimal" pulled in by
=dev-lang/perl-5.34* required by (virtual/perl-ExtUtils-Install-2.200.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Exporter-5.760.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Test-Harness-3.430.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-XSLoader-0.300.0-r4:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-IO-Compress-2.102.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Digest-SHA-6.20.0-r2:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-IO-Socket-IP-0.410.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-JSON-PP-4.60.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-CPAN-Meta-YAML-0.18.0-r7:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-MIME-Base64-3.160.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-parent-0.238.0-r1:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-ExtUtils-CBuilder-0.280.236:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-IO-1.460.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Compress-Raw-Bzip2-2.101.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-ExtUtils-ParseXS-3.430.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Compress-Raw-Zlib-2.101.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-File-Path-2.180.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-ExtUtils-Manifest-1.730.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Parse-CPAN-Meta-2.150.10-r5:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-File-Spec-3.800.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Module-Metadata-1.0.37-r1:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Getopt-Long-2.520.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Digest-MD5-2.580.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-podlators-4.140.0-r2:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-version-0.992.800:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-CPAN-Meta-2.150.10-r5:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Perl-OSType-1.10.0-r5:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-libnet-3.130.0:0/0::gentoo, ebuild scheduled for merge) USE="ssl"
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Data-Dumper-2.179.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Carp-1.520.0-r1:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-ExtUtils-MakeMaker-7.620.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Text-ParseWords-3.300.0-r8:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-Time-Local-1.300.0:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
=dev-lang/perl-5.34* required by (virtual/perl-CPAN-Meta-Requirements-2.140.0-r7:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^^^^^
(dev-lang/perl-5.32.1-1:0/5.32::gentoo, installed) USE="berkdb gdbm -debug -doc -ithreads -minimal" pulled in by
dev-lang/perl:0/5.32= required by (dev-perl/Pod-Parser-1.630.0-r1-1:0/0::gentoo, installed) USE="-test"
^^^^^^^^
dev-lang/perl:0/5.32= required by (dev-perl/Unicode-LineBreak-2019.1.0-2:0/0::gentoo, installed) USE=""
^^^^^^^^
dev-lang/perl:0/5.32= required by (dev-perl/Locale-gettext-1.70.0-2:0/0::gentoo, installed) USE=""
^^^^^^^^
dev-lang/perl:0/5.32= required by (dev-perl/Error-0.170.290-1:0/0::gentoo, installed) USE="-test"
^^^^^^^^
dev-lang/perl:0/5.32= required by (dev-perl/Mozilla-CA-20999999-1:0/0::gentoo, installed) USE=""
^^^^^^^^
dev-lang/perl:0/5.32= required by (app-text/po4a-0.64-1:0/0::gentoo, installed) USE="-test"
^^^^^^^^
dev-lang/perl:0/5.32= required by (dev-perl/MIME-Charset-1.12.2-2:0/0::gentoo, installed) USE="" L10N="-ja -zh"
^^^^^^^^
dev-lang/perl:0/5.32= required by (dev-perl/Authen-SASL-2.160.0-r2-2:0/0::gentoo, installed) USE="-kerberos -test"
^^^^^^^^
x11-base/xorg-server:0
(x11-base/xorg-server-1.20.13-r1:0/1.20.13::gentoo, ebuild scheduled for merge) USE="elogind ipv6 suid udev xorg xvfb -debug -dmx -doc -kdrive -minimal (-selinux) -systemd -test -unwind -xcsecurity -xephyr -xnest" pulled in by
(no parents that aren't satisfied by other packages in this slot)
(x11-base/xorg-server-1.20.10-r3-1:0/1.20.10::gentoo, installed) USE="elogind ipv6 suid udev xorg xvfb -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -systemd -test -unwind -wayland -xcsecurity -xephyr -xnest" pulled in by
x11-base/xorg-server:0/1.20.10= required by (x11-drivers/xf86-input-evdev-2.10.6-1:0/0::gentoo, installed) USE=""
^^^^^^^^^^^
virtual/libcrypt:0
(virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) USE="-static-libs" pulled in by
=virtual/libcrypt-2 required by (dev-lang/python-3.8.12_p1:3.8/3.8::gentoo, ebuild scheduled for merge) USE="bluetooth gdbm ncurses readline sqlite ssl xml -build -examples (-hardened) -test -tk -verify-sig -wininst"
^ ^
=virtual/libcrypt-2 required by (dev-lang/python-3.9.7_p1:3.9/3.9::gentoo, ebuild scheduled for merge) USE="bluetooth gdbm ncurses readline sqlite ssl xml -build -examples (-hardened) -test -tk -verify-sig -wininst"
^ ^
=virtual/libcrypt-2 required by (sys-auth/passwdqc-2.0.2-r1:0/0::gentoo, ebuild scheduled for merge) USE=""
^ ^
=virtual/libcrypt-2 required by (app-admin/sudo-1.9.8_p2:0/0::gentoo, ebuild scheduled for merge) USE="nls pam secure-path sendmail ssl -gcrypt -ldap -offensive -sasl (-selinux) -skey -sssd"
^ ^
=virtual/libcrypt-2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-libs/pam-1.5.2:0/0::gentoo, ebuild scheduled for merge) USE="filecaps (split-usr) (-audit) -berkdb -debug -nis (-selinux)"
^ ^
=virtual/libcrypt-2 required by (x11-apps/xdm-1.1.12-r1:0/0::gentoo, ebuild scheduled for merge) USE="ipv6 pam truetype -systemd -xinerama -xpm"
^ ^
=virtual/libcrypt-2 required by (sys-apps/util-linux-2.37.2-r1:0/0::gentoo, ebuild scheduled for merge) USE="cramfs hardlink logger ncurses nls pam readline (split-usr) static-libs suid udev (unicode) (-audit) -build -caps -cryptsetup -fdformat -kill -magic -python (-selinux) -slang -su -systemd -test -tty-helpers" PYTHON_TARGETS="python3_8 python3_9"
^ ^
=virtual/libcrypt-2 required by (net-dialup/ppp-2.4.9-r5:0/2.4.9::gentoo, ebuild scheduled for merge) USE="eap-tls ipv6 pam -activefilter -atm -dhcp -gtk -radius -systemd"
^ ^
=virtual/libcrypt-2 required by (sys-fs/eudev-3.2.10-r1:0/0::gentoo, ebuild scheduled for merge) USE="hwdb introspection kmod -rule-generator (-selinux) -static-libs -test"
^ ^
=virtual/libcrypt-2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (net-fs/samba-4.15.1:0/0::gentoo, ebuild scheduled for merge) USE="acl client cups pam regedit system-mitkrb5 zeroconf (-addc) (-ads) (-ceph) (-cluster) -debug (-dmapi) (-fam) -glusterfs -gpg -iprint -json -ldap -profiling-data (-python) -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -winbind" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
^ ^
=virtual/libcrypt-2 required by (app-misc/screen-4.8.0-r3:0/0::gentoo, ebuild scheduled for merge) USE="pam -debug -multiuser -nethack (-selinux)"
^ ^
=virtual/libcrypt-2 required by (sys-apps/systemd-tmpfiles-249.2:0/0::gentoo, ebuild scheduled for merge) USE="(-selinux) -test"
^ ^
=virtual/libcrypt-2 required by (net-mail/mailutils-3.13:0/0::gentoo, ebuild scheduled for merge) USE="clients gdbm ipv6 nls pam (split-usr) ssl tcpd threads -berkdb -bidi -emacs -guile -kerberos -kyotocabinet -ldap -mysql -postgres -python -sasl -servers -static-libs -tokyocabinet" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
^ ^
=virtual/libcrypt-2 required by (sys-apps/shadow-4.9-r3:0/0::gentoo, ebuild scheduled for merge) USE="acl nls pam (split-usr) su xattr (-audit) -bcrypt -cracklib (-selinux) -skey"
^ ^
=virtual/libcrypt-2 required by (net-misc/openssh-8.8_p1-r2:0/0::gentoo, ebuild scheduled for merge) USE="X bindist pam pie scp ssl -X509 (-audit) (-debug) -hpn -kerberos -ldns -libedit -livecd -sctp -security-key (-selinux) -static -test -xmss"
^ ^
(virtual/libcrypt-1-r1-1:0/1::gentoo, installed) USE="static-libs" pulled in by
=virtual/libcrypt-1-r1 required by (dev-lang/perl-5.32.1-1:0/5.32::gentoo, installed) USE="berkdb gdbm -debug -doc -ithreads -minimal"
^ ^^^^
virtual/libcrypt:0/1= required by (dev-lang/perl-5.32.1-1:0/5.32::gentoo, installed) USE="berkdb gdbm -debug -doc -ithreads -minimal"
^^^^^
sys-libs/glibc:2.2
(sys-libs/glibc-2.33-r7-1:2.2/2.2::gentoo, installed) USE="multiarch ssp (static-libs) (-audit) -caps (-cet) -compile-locales (-crypt) -custom-cflags -doc -gd -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemd -systemtap -test (-vanilla)" pulled in by
sys-libs/glibc[-crypt(+)] required by (sys-libs/libxcrypt-4.4.26:0/1::gentoo, ebuild scheduled for merge) USE="(compat) (split-usr) (system) -static-libs -test"
(sys-libs/glibc-2.33-r1:2.2/2.2::gentoo, ebuild scheduled for merge) USE="(crypt) multiarch ssp (static-libs) (-audit) -caps (-cet) -compile-locales -custom-cflags -doc -gd -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemtap -test (-vanilla)" pulled in by
sys-libs/glibc[crypt(+),static-libs(+)?] required by (virtual/libcrypt-1-r1-1:0/1::gentoo, installed) USE="static-libs"
(dev-lang/perl-5.32.1-1:0/5.32::gentoo, installed): ebuild is masked or unavailable
(sys-libs/libxcrypt-4.4.26:0/1::gentoo, ebuild scheduled for merge) pulled in by
sys-libs/libxcrypt[system(-),static-libs(-)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (sys-libs/libxcrypt[system(-)]) required by (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) USE="-static-libs"
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Sun Oct 31, 2021 10:32 am Post subject: |
|
|
mauricev,
The perl fix is usually Code: | emerge perl-cleaner -1av
perl-cleaner --all |
Which Pi4 do you have?
How is it powered?
How is it cooled?
Please post your
boost is huge. I suspect that you have pushed the build into swapping, so its got very slow but not actually locked up. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 202
|
|
Back to top |
|
|
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 202
|
Posted: Sun Oct 31, 2021 6:25 pm Post subject: |
|
|
perl cleaner fails with this
https://pastebin.com/98pnAEUP
It seems that toolchain is too outdated and some perl packages want the old perl and some want the new perl, which seems odd. |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1290 Location: Richmond Hill, Canada
|
Posted: Sun Oct 31, 2021 6:44 pm Post subject: |
|
|
When I first start GenPi64 I got similar problems. first thing got my attention is ~arm64 So I turn it off first by add following in /etc/portage/make.conf Code: | ACCEPT_KEYWORDS=-~arm64 | That reduce lots of problem.
You may want to reduce your parallel make to no more than 2. Code: | MAKEOPTS="-j4 -l4.1"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=4.1" |
And add Code: | VIDEO_CARDS="vc4 v3d" | will help later for using desktop. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Sun Oct 31, 2021 7:06 pm Post subject: |
|
|
mauricev,
Code: | MAKEOPTS="-j16 -l16" |
Allow 2G RAM per thread for big packages like boost.
You could need 32G RAM with that -j16. Most of the time -j4 will work but expect to set a lower MAKEOPTS= on a per package basis for some things.
Portage can do that.
Swap can help but it can't be used all the time and its very slow.
Not all build system respect the -l option, so it can still go off the rails.
Perl packages should only ever be pulled in as dependencies of other things, so should never appear in your world file.
virtual/perl-* is OK as perl-cleaner can deal with those.
If you have any other perl entries in world. --deselect them.
They have been added by the omission of --oneshot when you have been resolving issues.
Keep an eye on the output of Code: | cat /sys/class/thermal/thermal_zone0/temp |
That's the SoC temprature in milliCelcius.
Code: | $ cat /sys/class/thermal/thermal_zone0/temp
43816 | That means 43.816 Deg C.
Anything over about 75.000 is too hot. I'll leave it for you to research where thermal throttling starts. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 202
|
Posted: Sun Oct 31, 2021 11:58 pm Post subject: |
|
|
Quote: | Perl packages should only ever be pulled in as dependencies of other things, so should never appear in your world file.
virtual/perl-* is OK as perl-cleaner can deal with those.
If you have any other perl entries in world. --deselect them.
They have been added by the omission of --oneshot when you have been resolving issues. |
I don’t have any perl entries in my world other than perl-cleaner.
Quote: | ACCEPT_KEYWORDS=-~arm64 |
That added a new conflict:
Code: | !!! All ebuilds that could satisfy ">=dev-python/PyQt-builder-1.10[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-python/PyQt-builder-1.12.1::gentoo (masked by: ~arm64 keyword)
- dev-python/PyQt-builder-1.10.3::gentoo (masked by: ~arm64 keyword) |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Mon Nov 01, 2021 9:01 am Post subject: |
|
|
mauricev,
There is no downgrade path from ~arch to arch. You have to wait for everything else to catch up.
To make things worse, there are a few packages, like glibc, that cannot be downgraded.
Portage won't let you but if you do it anyway, you will need a binary glibc to fix the damage.
Revert that change.
You didn't post your emerge command ol the entire output. That would have helped.
Install wgetpaste if you don't have it.
Run Code: | wgetpaste -c "emerge -uDNpv @world --backtrack=250" |
Eventually, it will return a URL. Post the URL.
There will be no output until then. Thats why its --pretend and not --ask. You will never see the --ask prompt.
It may be an hour or more. --backtrack=250 means try really hard to find a dependency graph resolution.
If you feel lucky run Code: | emerge -uDNav @world --backtrack=250 | but be prepared to post the command and entire output to a pastebin.
Of course, you just press 'y' if there is a dependency graph resolution. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 202
|
Posted: Wed Nov 03, 2021 4:43 am Post subject: |
|
|
http://dpaste.com/3U9XNXJS3
The command
Code: | emerge -uDNav @world --backtrack=250 |
asked me to make a couple of use flag changes and it's begun to compile! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Wed Nov 03, 2021 5:19 pm Post subject: |
|
|
mauricev,
There you go then. :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|