I'm in the process of upgrading a 1 year old box (Python 3.8 -> 3.10). As expected, lots of slots conflicts. I've uninstalled stuff in order to solve conflicts and let portage move on. In this process, something happened with python-exec. Now some python-related packages (cairo, orc, etc.) fail to merge with the error below.
Code: Select all
Dependency resolution took 5.96 s.
[ebuild N ] x11-libs/cairo-1.17.8::gentoo USE="X glib (-aqua) (-debug) -gtk-doc -test" ABI_X86="32 (64) (-x32)" 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-libs/cairo-1.17.8::gentoo
* cairo-1.17.8.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking cairo-1.17.8.tar.bz2 to /var/tmp/portage/x11-libs/cairo-1.17.8/work
>>> Source unpacked in /var/tmp/portage/x11-libs/cairo-1.17.8/work
>>> Preparing source in /var/tmp/portage/x11-libs/cairo-1.17.8/work/cairo-1.17.8 ...
* Applying cairo-respect-fontconfig.patch ... [ ok ]
* Applying 1.17.8-tee-Fix-cairo-wrapper-functions.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/cairo-1.17.8/work/cairo-1.17.8 ...
* abi_x86_32.x86: running multilib-minimal_abi_src_configure
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson setup --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/x11-libs/cairo-1.17.8/temp/meson.i686-pc-linux-gnu.x86.ini -Db_pch=false -Dwerror=false --buildtype plain -Ddwrite=disabled -Dfontconfig=enabled -Dfreetype=enabled -Dpng=enabled -Dquartz=disabled -Dtee=enabled -Dxcb=enabled -Dxlib=enabled -Dxlib-xcb=disabled -Dxml=disabled -Dzlib=enabled -Dtests=disabled -Dgtk2-utils=disabled -Dglib=enabled -Dspectre=disabled -Dsymbol-lookup=disabled -Dgtk_doc=false /var/tmp/portage/x11-libs/cairo-1.17.8/work/cairo-1.17.8 /var/tmp/portage/x11-libs/cairo-1.17.8/work/cairo-1.17.8-abi_x86_32.x86
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/mesonbuild/mesonmain.py", line 194, in run
return options.run_func(options)
File "/usr/lib/python3.10/site-packages/mesonbuild/msetup.py", line 310, in run
app.generate()
File "/usr/lib/python3.10/site-packages/mesonbuild/msetup.py", line 182, in generate
env = environment.Environment(self.source_dir, self.build_dir, self.options)
File "/usr/lib/python3.10/site-packages/mesonbuild/environment.py", line 506, in __init__
config = coredata.parse_machine_files(self.coredata.config_files)
File "/usr/lib/python3.10/site-packages/mesonbuild/coredata.py", line 987, in parse_machine_files
parser = MachineFileParser(filenames)
File "/usr/lib/python3.10/site-packages/mesonbuild/coredata.py", line 942, in __init__
self.sections[s] = self._parse_section(s)
File "/usr/lib/python3.10/site-packages/mesonbuild/coredata.py", line 954, in _parse_section
res = self._evaluate_statement(ast.lines[0])
IndexError: list index out of range
ERROR: Unhandled python exception
This is a Meson bug and should be reported!
* ERROR: x11-libs/cairo-1.17.8::gentoo failed (configure
* ERROR: x11-libs/cairo-1.17.8::gentoo failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 2756: Called meson-multilib_src_configure
* environment, line 1655: Called multilib-minimal_src_configure
* environment, line 1865: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 2115: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 1820: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 1818: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 582: Called multilib-minimal_abi_src_configure
* environment, line 1859: Called multilib_src_configure
* environment, line 2340: Called meson_src_configure
* environment, line 1758: Called die
* The specific snippet of code:
* "${mesonargs[@]}" ) || die
*
* If you need support, post the output of `emerge --info '=x11-libs/cairo-1.17.8::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/cairo-1.17.8::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/cairo-1.17.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.17.8/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/cairo-1.17.8/work/cairo-1.17.8-abi_x86_32.x86'
* S: '/var/tmp/portage/x11-libs/cairo-1.17.8/work/cairo-1.17.8'
>>> Failed to emerge x11-libs/cairo-1.17.8, Log file:
>>> '/var/tmp/portage/x11-libs/cairo-1.17.8/temp/build.log'
* Messages for package x11-libs/cairo-1.17.8:
* ERROR: x11-libs/cairo-1.17.8::gentoo failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 2756: Called meson-multilib_src_configure
* environment, line 1655: Called multilib-minimal_src_configure
* environment, line 1865: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 2115: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 1820: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 1818: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 582: Called multilib-minimal_abi_src_configure
* environment, line 1859: Called multilib_src_configure
* environment, line 2340: Called meson_src_configure
* environment, line 1758: Called die
* The specific snippet of code:
* "${mesonargs[@]}" ) || die
*
* If you need support, post the output of `emerge --info '=x11-libs/cairo-1.17.8::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-libs/cairo-1.17.8::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-libs/cairo-1.17.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.17.8/temp/environment'.
* Working directory: '/var/tmp/portage/x11-libs/cairo-1.17.8/work/cairo-1.17.8-abi_x86_32.x86'
* S: '/var/tmp/portage/x11-libs/cairo-1.17.8/work/cairo-1.17.8'
Useful system information:
Code: Select all
System uname: Linux-5.15.16-gentoo-x86_64-Intel-R-_Core-TM-_i5-8400_CPU_@_2.80GHz-with-glibc2.36
KiB Mem: 16332892 total, 2255356 free
KiB Swap: 4095996 total, 3656444 free
Timestamp of repository gentoo: Mon, 01 May 2023 19:30:01 +0000
Head commit of repository gentoo: cc64eeefe7b81ab437b86fdb5dd72ebc3177d339
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r2::gentoo
dev-lang/perl: 5.36.0-r2::gentoo
dev-lang/python: 3.9.16_p3-r1::gentoo, 3.10.10_p3::gentoo
dev-lang/rust: 1.66.1::gentoo
dev-util/cmake: 3.25.3::gentoo
dev-util/meson: 1.0.1::gentoo
sys-apps/baselayout: 2.13-r1::gentoo
sys-apps/openrc: 0.46::gentoo
sys-apps/sandbox: 2.29::gentoo
sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake: 1.15.1-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils: 2.37_p1::gentoo, 2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 13.0.0::gentoo, 15.0.7-r1::gentoo
sys-devel/gcc: 11.2.0::gentoo, 12.2.1_p20230428-r1::gentoo
sys-devel/gcc-config: 2.10::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/lld: 15.0.7::gentoo
sys-devel/llvm: 15.0.7::gentoo
sys-devel/make: 4.4.1::gentoo
sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.36-r7::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-joInstalled sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://rsync.gtlib.gatech.edu/gentoo rsync://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en pt-BR"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gtk3 gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff tk truetype udev udisks unicode upower usb vorbis vpx wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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="keyboard mouse wacom evdev" KERNEL="linux" L10N="pt-BR" 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_9 python3_10" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LFLAGS, LIBTOOL, 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
bs: 1
Code: Select all
piranha /home/gfaccin # emerge -pqv =x11-libs/cairo-1.17.8::gentoo
[ebuild N ] x11-libs/cairo-1.17.8 USE="X glib (-aqua) (-debug) -gtk-doc -test" ABI_X86="32 (64) (-x32)"
piranha /home/gfaccin #
Code: Select all
piranha /home/gfaccin # python --version
Python 3.10.10
Code: Select all
piranha /home/gfaccin # cd /usr/lib/python
python/ python3.10/ python3.9/ python-exec/
piranha /home/gfaccin # cd /usr/lib/python-exec/
piranha /usr/lib/python-exec # ls
python3.10 python3.9 python-exec2
piranha /usr/lib/python-exec # pwd
/usr/lib/python-exec
piranha /usr/lib/python-exec # ls -la
total 56
drwxr-xr-x 4 root root 4096 May 2 00:21 .
drwxr-xr-x 41 root root 36864 May 2 17:22 ..
drwxr-xr-x 2 root root 4096 May 2 16:50 python3.10
drwxr-xr-x 2 root root 4096 May 2 01:04 python3.9
-rwxr-xr-x 1 root root 2899 May 2 00:21 python-exec2
piranha /usr/lib/python-exec # ./python-exec2
./python-exec2: python-exec2 is a wrapper, it must not be run directly.
Thank you!



