Discussion:
[gentoo-user] gobject-introspection-1.62.0 invalid eapi version
(too old to reply)
Pascal Schorde
2020-05-20 16:20:02 UTC
Permalink
Hi List,
first time posting to this list as non-native english speaker. Please
excuse any typos.

While emerging @world I get the following error:

* Package: dev-libs/gobject-introspection-1.62.0
* Repository: gentoo
* Maintainer: ***@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux
python_single_target_python3_7 userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Using python3.7 to build
Unpacking source...
Unpacking gobject-introspection-1.62.0.tar.xz to
/var/tmp/portage/dev-libs/gobject-introspection-1.62.0/work
Source unpacked in
/var/tmp/portage/dev-libs/gobject-introspection-1.62.0/work
Preparing source in
/var/tmp/portage/dev-libs/gobject-introspection-1.62.0/work/gobject-introspection-1.62.0
...
Source prepared.
Configuring source in
/var/tmp/portage/dev-libs/gobject-introspection-1.62.0/work/gobject-introspection-1.62.0
...
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.6/meson", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
* ERROR: dev-libs/gobject-introspection-1.62.0::gentoo failed (configure
phase):
* __eapi7_ver_compare: invalid version:
*
* Call stack:
* ebuild.sh, line 125: Called src_configure
* environment, line 2431: Called meson_src_configure
* environment, line 1623: Called ver_test '' '-lt' '0.54'
* environment, line 3164: Called __eapi7_ver_compare '' '0.54'
* environment, line 337: Called die
* The specific snippet of code:
* [[ ${va} =~ ${re} ]] || die "${FUNCNAME}: invalid version: ${va}";
*
* If you need support, post the output of `emerge --info
'=dev-libs/gobject-introspection-1.62.0::gentoo'`,
* the complete build log and the output of `emerge -pqv
'=dev-libs/gobject-introspection-1.62.0::gentoo'`.
* The complete build log is located at
'/var/tmp/portage/dev-libs/gobject-introspection-1.62.0/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-libs/gobject-introspection-1.62.0/temp/environment'.
* Working directory:
'/var/tmp/portage/dev-libs/gobject-introspection-1.62.0/work/gobject-introspection-1.62.0'
* S:
'/var/tmp/portage/dev-libs/gobject-introspection-1.62.0/work/gobject-introspection-1.62.0'

Here is the output from
emerge --info '=dev-libs/gobject-introspection-1.62.0::gentoo'

https://pastebin.com/utSSCc1r

Any idea what this error means or how to fix this?
Please ask for more infos.

Thank you very much
Pascal
Ashley Dixon
2020-05-20 17:40:01 UTC
Permalink
Post by Pascal Schorde
File "/usr/lib/python-exec/python3.6/meson", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
* ERROR: dev-libs/gobject-introspection-1.62.0::gentoo failed (configure
Have you installed dev-python/setuptools ? See [1] and [2] for further
information.
Post by Pascal Schorde
Here is the output from
emerge --info '=dev-libs/gobject-introspection-1.62.0::gentoo'
https://pastebin.com/utSSCc1r
Please attach logs to the e-mail, as opposed to providing external links. If the
files are large, compress them with gzip.

[1] https://github.com/pypa/setuptools/issues/581
[2] https://github.com/pypa/setuptools/issues/863
--
Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Pascal Schorde
2020-05-20 17:50:01 UTC
Permalink
setuptools is installed (version 44.1.0). Do i have to remove it?
Post by Ashley Dixon
Post by Pascal Schorde
File "/usr/lib/python-exec/python3.6/meson", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
* ERROR: dev-libs/gobject-introspection-1.62.0::gentoo failed (configure
Have you installed dev-python/setuptools ? See [1] and [2] for further
information.
Post by Pascal Schorde
Here is the output from
emerge --info '=dev-libs/gobject-introspection-1.62.0::gentoo'
https://pastebin.com/utSSCc1r
Please attach logs to the e-mail, as opposed to providing external links. If the
files are large, compress them with gzip.
[1] https://github.com/pypa/setuptools/issues/581
[2] https://github.com/pypa/setuptools/issues/863
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Ashley Dixon
2020-05-20 18:00:01 UTC
Permalink
Post by Pascal Schorde
setuptools is installed (version 44.1.0). Do i have to remove it?
No, don't remove it. Can you send the output of
`emerge --info dev-python/setuptools` ?
--
Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Pascal Schorde
2020-05-20 18:00:01 UTC
Permalink
Portage 2.3.99 (python 3.6.10-final-0,
default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.30-r8,
5.5.2-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.5.2-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-8250U_CPU_@
_1.60GHz-with-gentoo-2.6
KiB Mem: 8032876 total, 3957892 free
KiB Swap: 2097148 total, 1594620 free
Timestamp of repository gentoo: Wed, 20 May 2020 10:30:01 +0000
Head commit of repository gentoo: de9ddf0d8414328da4af833bbf46c9810084852f
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash: 5.0_p17::gentoo
dev-java/java-config: 2.2.0-r4::gentoo
dev-lang/perl: 5.30.1::gentoo
dev-lang/python: 2.7.18::gentoo, 3.6.10-r1::gentoo,
3.7.7-r2::gentoo, 3.8.2-r1::gentoo
dev-util/cmake: 3.16.5::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.42.1::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.16.1-r1::gentoo
sys-devel/binutils: 2.33.1-r1::gentoo
sys-devel/gcc: 9.3.0::gentoo
sys-devel/gcc-config: 2.2.1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.30-r8::gentoo
Repositories:

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

vscode-repo
location: /var/db/repos/vscode-repo
masters: gentoo

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gnat_2018"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
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"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr
python_targets_python3_7 python_targets_python2_7 multilib"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/*"
COLORFGBG="15;0"
COLORTERM="truecolor"
COMMON_FLAGS="-march=skylake -O2 -pipe"
CONFIG_PROTECT="/etc /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"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2
sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-march=skylake -O2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-JXeWfYvZcm,guid=895cfc7f5b313d426593f4595e98236a"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="/usr/share/xsessions/plasma"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose -j8"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT
PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-march=skylake -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
strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}"
"${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ;
port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ;
eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}}
\"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp
"${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ;
port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ;
exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP
\"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"
"${PORTAGE_SSH_OPTS}""
FFLAGS="-march=skylake -O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/
http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/"
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"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/9.2.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.33.1/info:/usr/share/info"
INPUT_DEVICES="libinput synaptics"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDE_FULL_SESSION="true"
KDE_SESSION_UID="1000"
KDE_SESSION_VERSION="5"
KERNEL="linux"
KONSOLE_DBUS_SERVICE=":1.30"
KONSOLE_DBUS_SESSION="/Sessions/7"
KONSOLE_DBUS_WINDOW="/Windows/5"
KONSOLE_VERSION="191203"
L10N="de"
LADSPA_PATH="/usr/lib64/ladspa"
LANG="de_DE.UTF-8"
LANGUAGE="de"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
LV2_PATH="/usr/lib64/lv2"
MAIL="/var/mail/p2sk"
MAKEOPTS="-j8"
MANPAGER="manpager"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/9.2.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.33.1/man:/etc/java-config-2/current-system-vm/man/:/usr/local/share/man:/usr/share/man:/usr/lib/llvm/9/share/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32
/usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32
/usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PAM_KWALLET5_LOGIN="/run/user/1000/kwallet5.socket"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PHP_TARGETS="php7-2"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux
hppa ia64 m68k m68k-mint mips ppc ppc-aix ppc-macos ppc64 ppc64-linux riscv
s390 sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris
x64-winnt x86 x86-cygwin x86-linux x86-macos x86-solaris x86-winnt"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.6"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="***@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign
--yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}"
"${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name
"summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/python3.6/site-packages"
PORTAGE_PYTHONPATH="/usr/lib64/python3.6/site-packages"
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_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima
security.selinux system.nfs4_acl user.apache_handler user.Beagle.*
user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres10 postgres11"
PROFILEHOME=""
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND
USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH
USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/home/p2sk/Downloads"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_7"
PYTHON_TARGETS="python2_7 python3_7"
QT_AUTO_SCREEN_SCALE_FACTOR="0"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}"
"${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ;
port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ;
exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP
\"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"
"${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/9/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby24 ruby25"
SESSION_MANAGER="local/fernetbranca:@
/tmp/.ICE-unix/8859,unix/fernetbranca:/tmp/.ICE-unix/8859"
SHELL="/bin/bash"
SHELL_SESSION_ID="b0b41689bacd4a649ce99ec62d48ca1e"
SHLVL="2"
SSH_ASKPASS="/usr/bin/ksshaskpass"
SYMLINK_LIB="no"
SYSROOT="/"
TERM="xterm-256color"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding
bzip2 cairo cdda cli crypt cups dbus declarative dri dts elogind emboss
encode exif flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg kde
kipi kwallet lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib
ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon
plasma pm-utils png policykit ppds qml qt5 readline samba sdl seccomp
semantic-desktop spell split-usr ssl startup-notification svg system-llvm
tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vorbis widgets
wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64"
ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2
sse3 sse4_1 sse4_2 ssse3" 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 synaptics" KERNEL="linux"
L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11"
PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7"
RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 ABI_X86 ADA_TARGET
ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS
COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC
ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES
KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LIRC_DEVICES LLVM_TARGETS
MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM
OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES
OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS
QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS
SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE
XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 CPU_FLAGS_ARM
CPU_FLAGS_PPC ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa
ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos riscv s390
sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris
x64-winnt x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc
HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD
OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="intel i965"
WINDOWID="12600170"
XAUTHORITY="/root/.xauthLsn7wY"
XCURSOR_THEME="breeze_cursors"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_CURRENT_DESKTOP="KDE"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_RUNTIME_DIR="/run/user/1000"
XDG_SEAT="seat0"
XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
XDG_SESSION_CLASS="user"
XDG_SESSION_DESKTOP="KDE"
XDG_SESSION_ID="1"
XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session1"
XDG_SESSION_TYPE="x11"
XDG_VTNR="7"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
dhcpmac delude chaos account"
_JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"

=================================================================
Package Settings
=================================================================

dev-python/setuptools-44.1.0::gentoo was built with the following:
USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_7 (-pypy3)
-python3_6 (-python3_8)"
FEATURES="binpkg-logs qa-unresolved-soname-deps multilib-strict sfperms
fixlafiles preserve-libs unmerge-orphans userpriv usersandbox userfetch
ipc-sandbox distlocks merge-sync protect-owned xattr unmerge-logs
ebuild-locks assume-digests sandbox strict news usersync
unknown-features-warn binpkg-docompress network-sandbox pid-sandbox
parallel-fetch binpkg-dostrip config-protect-if-modified"
Post by Ashley Dixon
Post by Pascal Schorde
setuptools is installed (version 44.1.0). Do i have to remove it?
No, don't remove it. Can you send the output of
`emerge --info dev-python/setuptools` ?
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Ashley Dixon
2020-05-20 19:50:02 UTC
Permalink
Post by Pascal Schorde
=================================================================
Package Settings
=================================================================
USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_7 (-pypy3)
-python3_6 (-python3_8)"
FEATURES="binpkg-logs qa-unresolved-soname-deps multilib-strict sfperms
fixlafiles preserve-libs unmerge-orphans userpriv usersandbox userfetch
ipc-sandbox distlocks merge-sync protect-owned xattr unmerge-logs
ebuild-locks assume-digests sandbox strict news usersync
unknown-features-warn binpkg-docompress network-sandbox pid-sandbox
parallel-fetch binpkg-dostrip config-protect-if-modified"
Try building gobject-introspection with Python 3.7.
PYTHON_SINGLE_TARGET="python3_7" emerge -atv gobject-introspection

Gentoo is gradually attempting to switch over to 3.7 anyway. [1]

I am running everything on 3.7 and remain unable to replicate your situation
with setuptools 44.1.0.

[1] https://www.gentoo.org/support/news-items/2020-04-22-python3-7.html
--
Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Pascal Schorde
2020-05-20 20:30:01 UTC
Permalink
This works. Thanks. I actually added the PYTHON_SINGLE_TARGET with
python3_6 into my make.conf as described in the news you provided to
switch early. I think i misunderstood the usage of
PYTHON_SINGLE_TARGET and PYTHON_TARGET.

Cheers,
Pascal
Post by Ashley Dixon
Post by Pascal Schorde
=================================================================
Package Settings
=================================================================
USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_7 (-pypy3)
-python3_6 (-python3_8)"
FEATURES="binpkg-logs qa-unresolved-soname-deps multilib-strict sfperms
fixlafiles preserve-libs unmerge-orphans userpriv usersandbox userfetch
ipc-sandbox distlocks merge-sync protect-owned xattr unmerge-logs
ebuild-locks assume-digests sandbox strict news usersync
unknown-features-warn binpkg-docompress network-sandbox pid-sandbox
parallel-fetch binpkg-dostrip config-protect-if-modified"
Try building gobject-introspection with Python 3.7.
PYTHON_SINGLE_TARGET="python3_7" emerge -atv gobject-introspection
Gentoo is gradually attempting to switch over to 3.7 anyway. [1]
I am running everything on 3.7 and remain unable to replicate your situation
with setuptools 44.1.0.
[1] https://www.gentoo.org/support/news-items/2020-04-22-python3-7.html
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Ashley Dixon
2020-05-20 22:20:02 UTC
Permalink
Post by Pascal Schorde
This works. Thanks.
Cheers, great to hear it works.
Post by Pascal Schorde
I actually added the PYTHON_SINGLE_TARGET with python3_6 into my make.conf as
described in the news you provided to switch early. I think i misunderstood
the usage of PYTHON_SINGLE_TARGET and PYTHON_TARGET.
See [1] for a full explanation. Summarised, PYTHON_SINGLE_TARGET is used for
packages built to run on a single implementation of the Python language, whereas
PYTHON_TARGETS is used for specifying a number of implementation versions for
which a package should be built.

Your original problem with gobject-introspection appeared due to the fact that
you were attempting to build the package for Python 3.6, as shown in your
PasteBin submission: `PYTHON_SINGLE_TARGET="python3_6 -python3_7 (-python3_8)"`,
but setuptools was built with `PYTHON_TARGETS="python2_7 python3_7 (-pypy3)
-python3_6 (-python3_8)"`, ergo no support for 3.6 (the pkg_resources module is
part of setuptools).

The "invalid EAPI" message shown by emerge was rather misleading; the
Python-provided "traceback" showed the real source of the error.

Small addendum: I have never written any Python, and hope I never have to, but
it seems like there has been some debate amongst the community to separate
pkg_resources into its own package (included in the standard library), as
setuptools is rather large. See [2] for the original proposal, which was
ultimately rejected.

[1] https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS
[2] https://www.python.org/dev/peps/pep-0365/
--
Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
Loading...