The fix for #790251 unconditionally tries to delete a test artifact that was present up to python 3.9, but apparently is no longer generated with python 3.10; the bug is that the build dies if "rm" fails, *even if* the artifact does not exist in the first place; proposal is to amend the fix to first check whether the artifact exists, and only then use "rm... || die". PYTHON_SINGLE_TARGET=python3_9 emerge -v1 =net-analyzer/fail2ban-0.11.2-r4::gentoo works fine, while PYTHON_SINGLE_TARGET=python3_10 emerge -v1 =net-analyzer/fail2ban-0.11.2-r4::gentoo fails; and python3_10 apparently became the new default in the last couple days. Reproducible: Always Steps to Reproduce: 1. attempt to emerge -v1 =net-analyzer/fail2ban-0.11.2-r4::gentoo with tests enabled and PYTHON_SINGLE_TARGET=python3_10 2. observe failure at the end of test phase due to "rm: cannot remove 'fail2ban.egg-info': No such file or directory" Actual Results: fails test phase (notable all actual tests pass, it's just our own cleanup attempts which fail) build output: [...] testLogTarget (fail2ban.tests.servertestcase.TransmitterLogging) ... 0.006s -- ok testLogTargetSYSLOG (fail2ban.tests.servertestcase.TransmitterLogging) ... 0.003s -- ok testSyslogSocket (fail2ban.tests.servertestcase.TransmitterLogging) ... 0.002s -- ok testSyslogSocketNOK (fail2ban.tests.servertestcase.TransmitterLogging) ... 0.003s -- ok ---------------------------------------------------------------------- Ran 491 tests in 41.413s OK (skipped=18) rm: cannot remove 'fail2ban.egg-info': No such file or directory * ERROR: net-analyzer/fail2ban-0.11.2-r4::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 3483: Called distutils-r1_src_test * environment, line 1667: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 737: Called distutils-r1_run_phase 'python_test' * environment, line 1590: Called python_test * environment, line 3450: Called die * The specific snippet of code: * rm -r fail2ban.egg-info || die * * If you need support, post the output of `emerge --info '=net-analyzer/fail2ban-0.11.2-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/fail2ban-0.11.2-r4::gentoo'`. * The complete build log is located at '/tmp/portage/portage/net-analyzer/fail2ban-0.11.2-r4/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/portage/net-analyzer/fail2ban-0.11.2-r4/temp/environment'. * Working directory: '/tmp/portage/portage/net-analyzer/fail2ban-0.11.2-r4/work/fail2ban-0.11.2' * S: '/tmp/portage/portage/net-analyzer/fail2ban-0.11.2-r4/work/fail2ban-0.11.2' Expected Results: passes test phase Portage 3.0.30 (python 3.8.13-final-0, default/linux/amd64/17.0, gcc-10.3.0, glibc-2.34-r13, 3.12.21-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.12.21-gentoo-r1-x86_64-Intel-R-_Atom-TM-_CPU_C2758_@_2.40GHz-with-glibc2.34 KiB Mem: 32924264 total, 18630548 free KiB Swap: 917500 total, 917500 free Timestamp of repository gentoo: Mon, 04 Jul 2022 23:30:01 +0000 Head commit of repository gentoo: 9e76cb192c37af695445ee2181d4967b248e683f sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 2.7.18_p15::gentoo, 3.8.13_p2::gentoo, 3.9.13::gentoo, 3.10.5::gentoo dev-lang/rust: 1.60.0::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 4.7.3-r1::gentoo, 10.3.0-r2::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 local-overlay location: /usr/portage/local/local-overlay masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=atom -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=atom -fomit-frame-pointer" DISTDIR="/usr/portage/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 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 test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_GB de ja" MAKEOPTS="-j8 -l10" 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="/tmp/portage" SHELL="/bin/bash" USE="a52 aac acl acpi amd64 bash-completion berkdb bzip2 bzlib cjk cli crypt cscope curl dga dhcp dri elogind encode exif fam flac fortran ftp fuse gdbm gif hddtemp iconv icq idn imap ipv6 jabber jpeg jpeg2k kpathsea lapack lcms libglvnd libtirpc libwww lm_sensors loop-aes luks1_default lzo mbox mime mmx mmxext mozilla msn multilib ncurses nls nocd nptl numpy offensive openmp pam pcre pdf pic png posix postgres python rdesktop readline recode samba sasl seccomp slang sockets socks5 sox spell split-usr sse sse2 ssl ssse3 test tiff unicode vhosts vim-syntax vnc xattr xml zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so 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" CURL_SSL="openssl" 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="multiboot efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" 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="postgres11" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_8 python3_9 python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="dummy" 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, 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 ================================================================= Package Settings ================================================================= net-analyzer/fail2ban-0.11.2-r4::gentoo was built with the following: USE="(-selinux) -systemd" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
Thanks. Please include the full build.log as an attachment.
Created attachment 790421 [details] build.log
Interestingly, fine for me w/ 3.10.
(In reply to Sam James from comment #3) > Interestingly, fine for me w/ 3.10. Curious; I suspected it could have something to do with the changes to python packaging / distribution environments, but if that's not the case.. any obvious differences in your build.log that I could follow up? I do set FEATURES=-test on some python packages (via packages.env), primarily test infrastructure packages where I really don't want to bother with dragging in all their test dependencies, but that shouldn't affect tests of other packages..
Created attachment 798415 [details] build.log (sam, working, devbox) Sorry for delay -- I'd meant to go re-run it and forgot. I've attached the log of 'ebuild fail2ban-0.11.2-r4.ebuild clean test install' in net-analyzer/fail2ban. This is from one of the Gentoo machines I use for archtesting. ---- # emerge --info !!! It seems /run is not mounted. Process management may malfunction. Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.3.0, glibc-2.34-r13, 5.10.52-gentoo-dist x86_64) ================================================================= System uname: Linux-5.10.52-gentoo-dist-x86_64-AMD_EPYC_7543_32-Core_Processor-with-glibc2.34 KiB Mem: 16392216 total, 9958140 free KiB Swap: 4194268 total, 4036804 free Timestamp of repository gentoo: Sun, 07 Aug 2022 04:32:07 +0000 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 ccache version 4.5.1 [disabled] app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.8.13_p2::gentoo, 3.9.13::gentoo, 3.10.5::gentoo dev-lang/rust-bin: 1.60.0::gentoo dev-util/ccache: 4.5.1::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.62.2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r2::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo sys-devel/gcc: 10.4.0::gentoo, 11.3.0::gentoo, 12.1.1_p20220625::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/llvm: 14.0.6-r2::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /bound/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches" 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 -march=native -fdiagnostics-color=always -frecord-gcc-switches" DISTDIR="/bound/distfiles" EMERGE_DEFAULT_OPTS="--complete-graph --with-bdeps=y --keep-going --deep" 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 -march=native -fdiagnostics-color=always -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox parallel-fetch parallel-install 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 -march=native -fdiagnostics-color=always -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9 -l9" 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 activities alsa amd64 asm bindist bluetooth branding bzip2 cairo caps cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr egl elogind encode exif filecaps flac fortran gdbm gif gles2 gmp gpm graphite gtk gui hardened iconv icu introspection ipv6 jit jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl objc ogg opengl openmp pam pango pcre pdf plasma png policykit polkit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xml xv xvid xwayland zlib" ABI_X86="32 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="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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="framebuffer" 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" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_6 python3_7 python3_8 python3_9" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, 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
Any update?
I'm afraid not. Even after transitioning to a much more reasonable kernel (5.15.75), which finally enabled me to get rid of the ancient gcc-4.7.3 slot and thus able to transition to the amd64/17.1 profile - basically pretty much latest greatest everything now - this particular issue with fail2ban persists. Note that this failure is just the result of a workaround for #790251 being implemented which dies hard if it fails to delete the test artifacts (egg-info) which (for reasons unknown) are not generated on my system with python:3.10 , and that python:3.10 made changes to package management (which egg-info files are a part of, in the old system). So even if we can't figure out why those files are not generated in my tests, wouldn't it just make sense to relax the workaround to attempt-to-delete,but-not-die-on-failure ? updated info looks like this: Portage 3.0.43 (python 3.9.16-final-0, default/linux/amd64/17.1, gcc-10, glibc-2.36-r5, 5.15.75-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.15.75-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_C2758_@_2.40GHz-with-glibc2.36 KiB Mem: 32861884 total, 28458636 free KiB Swap: 917500 total, 893180 free Timestamp of repository gentoo: Tue, 24 Jan 2023 00:30:01 +0000 Head commit of repository gentoo: e4e6cae511bcf14fd78a107d4c0481ed73271c3c sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 2.7.18_p16-r1::gentoo, 3.8.16::gentoo, 3.9.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo dev-lang/rust: 1.66.1::gentoo dev-util/cmake: 3.24.3::gentoo dev-util/meson: 0.64.1::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 10.4.1_p20221208::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 local-overlay location: /usr/portage/local/local-overlay masters: gentoo priority: 0 volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=atom -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=atom -fomit-frame-pointer" 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 test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en en_GB de ja" MAKEOPTS="-j8 -l10" 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="/tmp/portage" SHELL="/bin/bash" USE="a52 aac acl acpi amd64 bash-completion berkdb bzip2 bzlib cjk cli crypt cscope curl dga dhcp dri elogind encode exif fam flac fortran ftp fuse gdbm gif hddtemp iconv icq idn imap ipv6 jabber jpeg jpeg2k kpathsea lapack lcms libglvnd libtirpc libwww lm_sensors loop-aes luks1_default lzo mbox mime mmx mmxext mozilla msn multilib ncurses nls nocd nptl numpy offensive openmp pam pcre pdf pic png posix postgres python rdesktop readline recode samba sasl seccomp slang sockets socks5 sox spell split-usr sse sse2 ssl ssse3 test test-rust tiff unicode vhosts vim-syntax vnc xattr xml zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so 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" CURL_SSL="openssl" 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="multiboot efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" 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="postgres11" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_9 python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="dummy" 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 ================================================================= Package Settings ================================================================= net-analyzer/fail2ban-1.0.2-r1::gentoo was built with the following: USE="(-selinux) -systemd" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_11"
p.s. a possible reason for differences could be that I do not have FEATURES=test enabled on *all* python packages; specifically, I often disable it for test infrastructure packages because test-dependencies for {test-utilities for tests for other-test-utilities} cause considerable quantities of additional (non-operational) python dependencies. But that's pure speculation..
Yeah, I think you're right, we should be able to just relax the egg removal. Bizarre though.
Actually... now that I'm looking at the log once more, there actually is confirmation in the build.logs, see below. My make.conf has PYTHON_TARGETS="python3_9 python3_10" and python-exec.conf has them listed in the same order. >>> My uploaded build.log has: testSetupInstallDryRun (fail2ban.tests.misctestcase.SetupTest) ... skipped "Seems to be running with python distribution (3, 10, 5, 'final', 0) -- install can be tested only with system distribution (3, 9, 13, 'final', 0)" testSetupInstallRoot (fail2ban.tests.misctestcase.SetupTest) ... skipped "Seems to be running with python distribution (3, 10, 5, 'final', 0) -- install can be tested only with system distribution (3, 9, 13, 'final', 0)" >>> Your uploaded build.log has: testSetupInstallDryRun (fail2ban.tests.misctestcase.SetupTest) ... 0.995s -- ok testSetupInstallRoot (fail2ban.tests.misctestcase.SetupTest) ... /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( warning: build_py: byte-compiling is disabled, skipping. warning: install_lib: byte-compiling is disabled, skipping. /usr/lib/python3.10/site-packages/setuptools/command/egg_info.py:633: SetuptoolsDeprecationWarning: Custom 'build_py' does not implement 'get_data_files_without_manifest'. Please extend command classes from setuptools instead of distutils. warnings.warn( listing git files failed - pretending there aren't any 2.503s -- ok
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c84f4505e7c7c2aa4711bde88429952e6ff2d44 commit 7c84f4505e7c7c2aa4711bde88429952e6ff2d44 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-07-02 19:29:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-02 19:55:29 +0000 net-analyzer/fail2ban: ignore if bad .egg-info doesn't exist This doesn't seem to always be here, so just use -f to ignore it if it's absent. Closes: https://bugs.gentoo.org/856727 Signed-off-by: Sam James <sam@gentoo.org> net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 +- net-analyzer/fail2ban/fail2ban-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
net-analyzer/fail2ban-1.0.2-r2::gentoo (python3_11) passes tests now, thank you.