Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Forced to update the old system
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3 ... 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Mon Jan 15, 2024 1:27 am    Post subject: Forced to update the old system Reply with quote

Hi, ALL,
This is pretty weird situation. ;-)

I have a laptop with the touch screen and GNOME + Wayland.

Unfortunately the problem I'm facing is that on Wayland it is a known issue when there is an erratic mouse behavior/

Basically without me interacting mouse is ust starts moving by itself and clicking on various places.

Now it looks like I can't just switch to use plain old X11 and so I'm forced to rebuild the system with "-wayland" USE-flag.

So, I edited /etc/portage/make.conf and added this and then tried to run:

emerge -uDvaN world

This is my emerge --info right now:

Code:

WaylandGnome /home/igor/dbhandler_new/Debug # emerge --info
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-10.3.0, glibc-2.33-r1, 5.10.52-gentoo x86_64)
=================================================================
System uname: Linux-5.10.52-gentoo-x86_64-AMD_FX-9800P_RADEON_R7,_12_COMPUTE_CORES_4C+8G-with-glibc2.33
KiB Mem:     7670856 total,   1331212 free
KiB Swap:   16777212 total,  16772308 free
Timestamp of repository gentoo: Mon, 18 Jul 2022 14:00:01 +0000
Head commit of repository gentoo: 7ef5f2883ad66da791cf17248c4e7bb02b082972
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-misc/pax-utils:        1.3.2::gentoo
app-shells/bash:           5.1_p8::gentoo
dev-lang/perl:             5.34.0::gentoo
dev-lang/python:           3.9.6_p1::gentoo
dev-lang/rust:             1.53.0::gentoo
dev-util/cmake:            3.20.5::gentoo
dev-util/meson:            0.58.1::gentoo
sys-apps/baselayout:       2.7::gentoo
sys-apps/openrc:           0.42.1-r1::gentoo
sys-apps/sandbox:          2.24::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.35.2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           12.0.1::gentoo
sys-devel/gcc:             10.3.0-r2::gentoo
sys-devel/gcc-config:      2.4::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             12.0.1::gentoo
sys-devel/llvm:            12.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cli colord crypt dbus dri dts dvd dvdr eds elogind encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio readline sdl seccomp spell split-usr ssl startup-notification svg sysprof tiff tracker truetype udev udisks unicode upower usb vorbis vpx wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

WaylandGnome /home/igor/dbhandler_new/Debug #



However, I got a lot of errors that there is a requirement to set python_targets_python3_9 for all python packages.

So instead I tried to set it globally by adding:

Code:

*/* PYTHON_TARGETS: python3_9


but I got an error:

Code:

"/etc/portage/make.conf", line 26: Invalid token 'PYTHON_TARGETS' (not '=')


What is jhappenning? Why am I seeing this error?
I can probably add those USE flahs one by one, but I figured it would be easier to just add PYTHON_TARGETS.

Thank you for any pointers.
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


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

PostPosted: Mon Jan 15, 2024 3:31 am    Post subject: Re: Forced to update the old system Reply with quote

ONEEYEMAN wrote:
This is my emerge --info right now:

Code:
Timestamp of repository gentoo: Mon, 18 Jul 2022 14:00:01 +0000

Is there any particular reason you've not updated/sync'd your gentoo repo since 2022?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Mon Jan 15, 2024 5:12 am    Post subject: Reply with quote

Hii,

I'm a developer and I want to make sure my software works appropriately with old system.

Thank you.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1711
Location: Germany

PostPosted: Mon Jan 15, 2024 6:30 am    Post subject: Reply with quote

I suspect more complications down the road, since package versions changed and some sources are not available anymore. Or do you have all the packages and their soruces downloaded with the last portage sync?
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire


Last edited by Banana on Mon Jan 15, 2024 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9815
Location: almost Mile High in the USA

PostPosted: Mon Jan 15, 2024 11:38 am    Post subject: Re: Forced to update the old system Reply with quote

ONEEYEMAN wrote:
So instead I tried to set it globally by adding:

Code:

*/* PYTHON_TARGETS: python3_9


but I got an error:

Code:

"/etc/portage/make.conf", line 26: Invalid token 'PYTHON_TARGETS' (not '=')


The */* notation seems like it should belong in package.use and not make.conf. For make.conf think you need to specify it as
PYTHON_TARGETS="python3_9"

So far it seems like it should still be able to be updated without resorting to old portage trees, but it can take a bit of finagling.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Wed Jan 17, 2024 3:29 pm    Post subject: Reply with quote

Hi,
Despite adding/fixing that line in make.conf I still see following:

]code]
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by media-gfx/inkscape-1.1.2-r1::gentoo[python_single_target_python3_10]
# required by @selected
# required by @world (argument)
>=dev-python/lxml-4.9.1 python_targets_python3_10
# required by media-gfx/inkscape-1.1.2-r1::gentoo[python_single_target_python3_10]
# required by @selected
# required by @world (argument)
>=media-gfx/scour-0.38.2 python_targets_python3_10
# required by media-gfx/inkscape-1.1.2-r1::gentoo[python_single_target_python3_10]
# required by @selected
# required by @world (argument)
>=dev-python/numpy-1.22.4 python_targets_python3_10
# required by dev-python/numpy-1.22.4::gentoo
# required by media-gfx/inkscape-1.1.2-r1::gentoo[python_single_target_python3_10]
# required by @selected
# required by @world (argument)
>=dev-python/cython-0.29.30 python_targets_python3_10
# required by dev-python/charset_normalizer-2.0.12::gentoo
# required by dev-python/requests-2.27.1-r2::gentoo
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/setuptools-62.6.0 python_targets_python3_10
# required by dev-python/urllib3-1.26.9-r1::gentoo
# required by dev-python/requests-2.27.1-r2::gentoo
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/gpep517-6-r1 python_targets_python3_10
# required by dev-python/urllib3-1.26.9-r1::gentoo
# required by dev-python/requests-2.27.1-r2::gentoo
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/wheel-0.37.1-r1 python_targets_python3_10
# required by media-gfx/scour-0.38.2::gentoo
# required by media-gfx/inkscape-1.1.2-r1::gentoo[python_single_target_python3_10]
# required by @selected
# required by @world (argument)
>=dev-python/six-1.16.0-r1 python_targets_python3_10
# required by dev-util/gtk-doc-1.33.2::gentoo[python_single_target_python3_10]
# required by net-libs/libgfbgraph-0.2.5::gentoo
# required by net-misc/gnome-online-miners-3.34.0-r2::gentoo
# required by media-gfx/gnome-photos-42.0::gentoo
# required by gnome-base/gnome-extra-apps-41.0::gentoo[tracker]
# required by gnome-base/gnome-40.0::gentoo[extras]
# required by @selected
# required by @world (argument)
>=dev-python/pygments-2.12.0-r1 python_targets_python3_10
# required by dev-util/itstool-2.0.7::gentoo[python_single_target_python3_10]
# required by dev-util/sysprof-3.44.0::gentoo
# required by dev-util/gnome-builder-42.1::gentoo[sysprof]
# required by @selected
# required by @world (argument)
>=dev-libs/libxml2-2.9.14-r1 python_targets_python3_10
# required by gnome-base/gnome-shell-42.2::gentoo[python_single_target_python3_10]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/pygobject-3.42.1 python_targets_python3_10
# required by media-sound/gnome-music-42.1::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-extra-apps-41.0::gentoo[tracker]
# required by gnome-base/gnome-40.0::gentoo[extras]
# required by @selected
# required by @world (argument)
>=dev-python/pycairo-1.21.0 python_targets_python3_10
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/requests-2.27.1-r2 python_targets_python3_10
# required by dev-python/requests-2.27.1-r2::gentoo
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
=dev-python/certifi-3021.3.16-r2 python_targets_python3_10
# required by dev-python/requests-2.27.1-r2::gentoo
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/charset_normalizer-2.0.12 python_targets_python3_10
# required by dev-python/requests-2.27.1-r2::gentoo
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/idna-3.3-r1 python_targets_python3_10
# required by dev-python/requests-2.27.1-r2::gentoo
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/urllib3-1.26.9-r1 python_targets_python3_10
# required by dev-python/urllib3-1.26.9-r1::gentoo
# required by dev-python/requests-2.27.1-r2::gentoo
# required by gnome-extra/chrome-gnome-shell-10-r5::gentoo[python_single_target_python3_10]
# required by gnome-base/gnome-shell-42.2::gentoo[browser-extension]
# required by x11-terms/gnome-terminal-3.44.1::gentoo[gnome-shell]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/PySocks-1.7.1-r2 python_targets_python3_10
# required by media-video/totem-42.0-r1::gentoo[python_single_target_python3_10,python]
# required by gnome-base/gnome-core-apps-41.3::gentoo
# required by gnome-base/gnome-40.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/dbus-python-1.2.18 python_targets_python3_10

Would you like to add these changes to your config files? [Yes/No]

[/code]

The command I used is:

[code]
emerge -uDavN --with-bdeps=y @world
[/code[

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9815
Location: almost Mile High in the USA

PostPosted: Wed Jan 17, 2024 3:43 pm    Post subject: Reply with quote

Are you planning on upgrading media-gfx/inkscape to one that's in portage?
You may need to also include python3_10 as a target if the old one is using 3.10 and the rest of the system wants to go to 3.11 (and 3.9).
TBH what was your initial error list prior to setting target 3.9, were there any packages on your system that can't be upgraded, say, due to unmasking specific versions in accept_keywords ?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3683
Location: Rasi, Finland

PostPosted: Wed Jan 17, 2024 7:03 pm    Post subject: Reply with quote

ONEEYEMAN wrote:
Hii,

I'm a developer and I want to make sure my software works appropriately with old system.

Thank you.
I'm going a bit OT here and I don't know your development workflow, but wouldn't it be easier to use virtual machines to test your software on old system? If that's overkill, then another possibility would be to use snapshots of your system and then chroot into "an older state" (kernel, however, is being the same, unless rebooted). Snapshot would require btrfs, zfs or lvm.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Thu Jan 18, 2024 12:23 am    Post subject: Reply with quote

Hi,
eccerr0r wrote:

Are you planning on upgrading media-gfx/inkscape to one that's in portage?
You may need to also include python3_10 as a target if the old one is using 3.10 and the rest of the system wants to go to 3.11 (and 3.9).
TBH what was your initial error list prior to setting target 3.9, were there any packages on your system that can't be upgraded, say, due to unmasking specific versions in accept_keywords ?


I might update the system completely with the switching....
Including InkScape ofc...

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9815
Location: almost Mile High in the USA

PostPosted: Thu Jan 18, 2024 12:47 am    Post subject: Reply with quote

okay, appears inkscape 1.2.2 is not ~, so it should pick up.
What I'm a bit confused is that gnome-44 should be stable now and you should be picking that up and not gnome-40.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Thu Jan 18, 2024 5:08 am    Post subject: Reply with quote

Hi,
So should I update all those packages USE flags or there s a way to put PYTHON_TARGETS globally?

Thank you.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1711
Location: Germany

PostPosted: Thu Jan 18, 2024 6:19 am    Post subject: Reply with quote

Set global things only if you really need to. There are options which let you place it for a package only
https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Thu Jan 18, 2024 7:29 am    Post subject: Reply with quote

Hi,
Ok,
I will just add them individually.

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Thu Jan 18, 2024 6:04 pm    Post subject: Reply with quote

Hi,
After fixing all USE flags for Python I now have following:

Code:

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

virtual/libcrypt:0

  (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) USE="-static-libs" ABI_X86="32 (64) (-x32)" pulled in by
    =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-apps/systemd-utils-250.7:0/0::gentoo, ebuild scheduled for merge) USE="acl kmod (split-usr) tmpfiles udev -boot (-selinux) -sysusers -test" ABI_X86="(64) -32 (-x32)"
    ^                                                                                                                              ^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
    virtual/libcrypt[abi_x86_32(-)?,abi_x86_64(-)?] required by (sys-libs/compiler-rt-sanitizers-14.0.4:14.0.4/14.0.4::gentoo, ebuild scheduled for merge) USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan orc profile safestack scudo tsan ubsan xray -debug (-shadowcallstack) -test" ABI_X86="32 (64)"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    (and 6 more with the same problems)

  (virtual/libcrypt-1-r1-1:0/1::gentoo, installed) USE="static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    virtual/libcrypt:0/1= required by (dev-scheme/guile-2.2.7-r1:12/2.2-1::gentoo, installed) USE="deprecated networking nls regex threads -debug -debug-malloc" ABI_X86="(64)"
                    ^^^^^                                                                                                                                                                                                                                                                                                                                                 

sys-libs/glibc:2.2

  (sys-libs/glibc-2.34-r13:2.2/2.2::gentoo, ebuild scheduled for merge) USE="clone3 multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd -headers-only -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemd -systemtap -test (-vanilla)" ABI_X86="(64)" pulled in by
    sys-libs/glibc[-crypt(+)] required by (sys-libs/libxcrypt-4.4.28-r1:0/1::gentoo, ebuild scheduled for merge) USE="(compat) (split-usr) (system) -static-libs -test" ABI_X86="32 (64) (-x32)"
                                                                                                                                                                                                                                                                                                                                                                         

  (sys-libs/glibc-2.33-r1:2.2/2.2::gentoo, installed) USE="(crypt) multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales (-custom-cflags) -doc -gd -headers-only -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemtap -test (-vanilla)" ABI_X86="(64)" pulled in by
    sys-libs/glibc[crypt(+),static-libs(+)?] required by (virtual/libcrypt-1-r1-1:0/1::gentoo, installed) USE="static-libs" ABI_X86="(64) -32 (-x32)"
                                                                                                                                                                                                                                                 

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.


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

  (sys-libs/libxcrypt-4.4.28-r1: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(-),abi_x86_32(-),abi_x86_64(-)]) required by (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) USE="-static-libs" ABI_X86="32 (64) (-x32)"


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages



IIUC, I can remove libcrypt and the new version will be pulled.

However I'm not so sure about glibc...

Thank you.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2380

PostPosted: Thu Jan 18, 2024 6:08 pm    Post subject: Reply with quote

ONEEYEMAN wrote:


IIUC, I can remove libcrypt and the new version will be pulled.

However I'm not so sure about glibc...

Thank you.


You should never remove glibc, unless you know exactly what you're doing. Wait for someone more experienced to respond.

Best Regards,
Georgi
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Thu Jan 18, 2024 7:11 pm    Post subject: Reply with quote

Hi,
Yes, thank you.

I think doing what is explained in https://www.gentoo.org/support/news-items/2021-10-18-libxcrypt-migration-stable.html, section "Build failures" will solve it.

Will wait for someone to confirm.

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9815
Location: almost Mile High in the USA

PostPosted: Thu Jan 18, 2024 8:37 pm    Post subject: Reply with quote

Yeah this looks like the dance we had to do a while ago (was it only 2 years ago?). I thought you should be able to just merge libxcrypt by itself first (remember oneshot) and then make all the software that uses crypt to link to libxcrypt instead of glibc's crypt. And once that is done, then you can merge glibc without crypt. But it's already a distant memory...

This can be troublesome with things no longer in portage. You seem to have the llvm-14 toolkit installed, which isn't in portage anymore but seems to want to rebuild. Can you depclean those first perhaps?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Thu Jan 18, 2024 10:56 pm    Post subject: Reply with quote

Hi,
So what is best here?
I think I can do those 2 commands and see if everything will be resolved.
Or is there a better resolution?

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9815
Location: almost Mile High in the USA

PostPosted: Thu Jan 18, 2024 11:28 pm    Post subject: Reply with quote

I think what's in the news is sound.

If you want to try to go out of order, my previous post, as far as I remember is the gist of what you need to do. However, you may need to install a newer version of python so that portage will run. Looks like portage-3.0.49-r2 requires at least python3.10, and python3.11 seems to be "stable" right now. Does merging python:3.11 work for you or does that give you dependency problems?

Oh and okay, now I see "Timestamp of repository gentoo: Mon, 18 Jul 2022 14:00:01 +0000" so you are using a 1.5 year old portage tree ... I don't have a copy of the ebuilds then and would have to checkout a copy at that snapshot to see what ebuilds and dependencies you're working with here so that's my concern trying to match up what you see and what I see (which is closer to HEAD) ... so two issues here - one you might not need new pythons, and two - hope the distfiles needed for your copy of portage is still available...

---

Actually know what, you can also try to do the workaround and not upgrade to virtual/libcrypt-2 by masking it, and seeing how far you get. Clean up the existing problems first and then come back to tackle the libcrypt-2 issue...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Fri Jan 19, 2024 7:19 pm    Post subject: Reply with quote

Hi,
I successfully re-emerged 2 pythons, but got n errors trying the second command with libcrypt/libxcrypt:

Code:

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

virtual/libcrypt:0

  (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) USE="-static-libs" ABI_X86="32 (64) (-x32)" pulled in by
    virtual/libcrypt (Argument)
    =virtual/libcrypt-2 required by (dev-scheme/guile-2.2.7-r1:12/2.2-1::gentoo, ebuild scheduled for merge) USE="deprecated networking nls regex threads -debug -debug-malloc" ABI_X86="(64)"
    ^                 ^                                                                                                                                                                                                                                                                                                                                                                                     
    (and 14 more with the same problems)

  (virtual/libcrypt-1-r1-1:0/1::gentoo, installed) USE="static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    =virtual/libcrypt-1-r1 required by (dev-lang/ruby-2.6.8:2.6/2.6::gentoo, installed) USE="gdbm ipv6 rdoc ssl -berkdb -debug -doc -examples -jemalloc -jit -rubytests -socks5 -static-libs -systemtap -tk -xemacs" ABI_X86="(64)"
    ^                 ^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
    virtual/libcrypt:0/1= required by (dev-lang/ruby-2.6.8:2.6/2.6::gentoo, installed) USE="gdbm ipv6 rdoc ssl -berkdb -debug -doc -examples -jemalloc -jit -rubytests -socks5 -static-libs -systemtap -tk -xemacs" ABI_X86="(64)"
                    ^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

sys-libs/glibc:2.2

  (sys-libs/glibc-2.34-r13:2.2/2.2::gentoo, ebuild scheduled for merge) USE="clone3 multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd -headers-only -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemd -systemtap -test (-vanilla)" ABI_X86="(64)" pulled in by
    sys-libs/glibc[-crypt(+)] required by (sys-libs/libxcrypt-4.4.28-r1:0/1::gentoo, ebuild scheduled for merge) USE="(compat) (split-usr) (system) -static-libs -test" ABI_X86="32 (64) (-x32)"
                                                                                                                                                                                                                                                                                                                                                                         

  (sys-libs/glibc-2.33-r1:2.2/2.2::gentoo, installed) USE="(crypt) multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales (-custom-cflags) -doc -gd -headers-only -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemtap -test (-vanilla)" ABI_X86="(64)" pulled in by
    sys-libs/glibc[crypt(+),static-libs(+)?] required by (virtual/libcrypt-1-r1-1:0/1::gentoo, installed) USE="static-libs" ABI_X86="(64) -32 (-x32)"
                                                                                                                                                                                                                                                 

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

!!! The slot conflict(s) shown above involve package(s) which may need to
!!! be rebuilt in order to solve the conflict(s). However, the following
!!! package(s) cannot be rebuilt for the reason(s) shown:

  (dev-lang/ruby-2.6.8:2.6/2.6::gentoo, installed): ebuild is masked or unavailable


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.


The following packages are causing rebuilds:

  (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (app-admin/sudo-1.9.10-r1:0/0::gentoo, ebuild scheduled for merge)
    (sys-libs/pam-1.5.1_p20210622-r1:0/0::gentoo, ebuild scheduled for merge)
    (net-misc/openssh-8.9_p1-r2:0/0::gentoo, ebuild scheduled for merge)
    (sys-apps/util-linux-2.37.4:0/0::gentoo, ebuild scheduled for merge)
    (dev-lang/perl-5.34.1-r3:0/5.34::gentoo, ebuild scheduled for merge)
    (sys-apps/shadow-4.11.1:0/4::gentoo, ebuild scheduled for merge)
    (sys-fs/eudev-3.2.11-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-scheme/guile-2.2.7-r1:12/2.2-1::gentoo, ebuild scheduled for merge)
    (net-dialup/ppp-2.4.9-r8:0/2.4.9::gentoo, ebuild scheduled for merge)
    (sys-auth/passwdqc-2.0.2-r1:0/0::gentoo, ebuild scheduled for merge)
    (sys-apps/accountsservice-22.08.8:0/0::gentoo, ebuild scheduled for merge)
    (dev-lang/python-3.9.13:3.9/3.9::gentoo, ebuild scheduled for merge)

!!! The following installed packages are masked:
- app-misc/tracker-2.3.5::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Matt Turner <mattst88@gentoo.org> (2022-06-21)
# Dead slot. No reverse dependencies.
# Removal on 2022-07-21. Bug #846617

- dev-lang/ruby-2.6.8::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Hans de Graaff <graaff@gentoo.org> (2022-07-16)
# No longer supported upstream. Use a newer ruby version instead.
# Masked for removal in 30 days.

- sys-devel/binutils-2.35.2::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
# (and others, updated later)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

- virtual/libcrypt-1-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/base/package.mask:
# Sam James <sam@gentoo.org> (2021-11-22)
# Mask the older libcrypt virtual (which accepted glibc[crypt]) to ease
# dependency resolution. In a fair number of cases, this has helped
# upgrades go through cleanly.
# Read the news item if you need help!
# (This mask is undone in musl profiles where the transition is not yet being
# made.)
# bug #699422.

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

WaylandGnome /home/igor # "--ke"--ke"--ke"--ke"--ke



Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9815
Location: almost Mile High in the USA

PostPosted: Sat Jan 20, 2024 10:45 pm    Post subject: Reply with quote

Do you still have that version of ruby-2.6.8 around (no longer in current version of portage...) It wants to rebuild it so that it can be linked with virtual/libcrypt-2 but can't because it was global masked. I'd say unmask it temporarily but you need to figure out what is pulling it in (gtk-webkit?) and why it's stuck at that version.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Sun Jan 21, 2024 12:47 am    Post subject: Reply with quote

Hi,
How do I check its presence?
It used to be stored inside /usr/portage/distfiles...

And about unmasking- put it inside /usr/portage/unmask, right?

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9815
Location: almost Mile High in the USA

PostPosted: Sun Jan 21, 2024 1:58 am    Post subject: Reply with quote

/etc/portage/package.unmask: =dev-lang/ruby-2.6.8 which should nullify the mask in your profile.

I don't know if you do or do not have all the files needed to re-merge everything, it's up to you if you finally get all these merge errors cleaned up and then when you fetch distfiles and they don't exist, you'll have to hunt for them...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Sun Jan 21, 2024 4:46 am    Post subject: Reply with quote

Hi,
So apparently I don't have the ebuild anymore:

Code:

WaylandGnome / # ls -la /var/db/repos/gentoo/dev-lang/ruby/
total 64
drwxr-xr-x   3 root root 4096 Jul 18  2022 .
drwxr-xr-x 115 root root 4096 Jul 18  2022 ..
drwxr-xr-x   6 root root 4096 Jul 18  2022 files
-rw-r--r--   1 root root 8013 Jun  1  2022 Manifest
-rw-r--r--   1 root root  524 Sep 11  2021 metadata.xml
-rw-r--r--   1 root root 7479 May  8  2022 ruby-2.6.10.ebuild
-rw-r--r--   1 root root 7913 May  8  2022 ruby-2.7.6.ebuild
-rw-r--r--   1 root root 7768 May  8  2022 ruby-3.0.4.ebuild
-rw-r--r--   1 root root 7716 Apr 23  2022 ruby-3.1.2.ebuild
-rw-r--r--   1 root root 7386 May  8  2022 ruby-3.1.2-r1.ebuild


I will try to track down the ebuild. Hopefully some where I can find it...

I think I can use the code from https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=756a07a8c920cdb235e68a41be8ea8fe57b37ff2.

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3650

PostPosted: Sun Jan 21, 2024 4:59 am    Post subject: Reply with quote

Hi,
I think the best bet right now is to update the Portage tree and emerge everything to update the system.

Will be safer option.

What do you think?

Thank you.
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
Goto page 1, 2, 3 ... 14, 15, 16  Next
Page 1 of 16

 
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