Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936412 - dev-lang/python-3.13.0_beta4:3.13[libedit,pgo] fails to emerge
Summary: dev-lang/python-3.13.0_beta4:3.13[libedit,pgo] fails to emerge
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-21 02:11 UTC by Gary E. Miller
Modified: 2024-07-25 18:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (dev-lang:python-3.13.0_beta4:20240721-015328.log,260.17 KB, text/plain)
2024-07-21 02:13 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2024-07-21 02:11:47 UTC
Fails to emerge with USE=libedit

Reproducible: Always

Steps to Reproduce:
1. emerge -uDNa world
2.
3.
Actual Results:  
test_init (test.test_readline.TestReadline.test_init) ... ok
test_nonascii (test.test_readline.TestReadline.test_nonascii) ... skipped "the LC_CTYPE locale is 'C'"
test_set_complete_delims (test.test_readline.TestReadline.test_set_complete_delims) ... ok
test_write_read_limited_history (test.test_readline.TestReadline.test_write_read_limited_history) ... ERROR

======================================================================
ERROR: test_write_read_limited_history (test.test_readline.TestHistoryManipulation.test_write_read_limited_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.13.0_beta4/work/Python-3.13.0b4/Lib/test/test_readline.py", line 153, in test_write_read_limited_history
    readline.read_history_file(TESTFN)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
OSError: [Errno 22] Invalid argument

======================================================================
ERROR: test_write_read_limited_history (test.test_readline.TestReadline.test_write_read_limited_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.13.0_beta4/work/Python-3.13.0b4/Lib/test/test_readline.py", line 365, in test_write_read_limited_history
    readline.read_history_file(TESTFN)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
OSError: [Errno 22] Invalid argument

----------------------------------------------------------------------
Ran 12 tests in 0.249s

FAILED (errors=2, skipped=3)


Expected Results:  
Good emerge

I can build with either:

USE=-pgo

or

USE=-libedit
Comment 1 Gary E. Miller 2024-07-21 02:12:36 UTC
kong ~ # emerge -pqv '=dev-lang/python-3.13.0_beta4::gentoo'
[ebuild   R   ] dev-lang/python-3.13.0_beta4  USE="bluetooth debug ensurepip gdbm (gil) libedit* ncurses pgo readline sqlite ssl tk valgrind -build -examples (-jit) -test -verify-sig" LLVM_SLOT="18" 
kong ~ # emerge --info '=dev-lang/python-3.13.0_beta4::gentoo'
Portage 3.0.65 (python 3.12.4-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.39-r9, 6.10.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.10.0-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.39
KiB Mem:    16274392 total,   7047512 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sat, 20 Jul 2024 19:34:01 +0000
Head commit of repository gentoo: b194dcad85bf480731a16bd3c780dd96296d775b

Timestamp of repository brother-overlay: Mon, 08 Jul 2024 10:19:15 +0000
Head commit of repository brother-overlay: 181663c2a3e34a3fbac384c7173c3986ba5f7bb8

Timestamp of repository guru: Sat, 20 Jul 2024 12:19:05 +0000
Head commit of repository guru: ff105b54439d396224a39ef0de396ac670a82f89

sh bash 5.2_p26-r8
ld GNU ld (Gentoo 2.42 p6) 2.42.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.10.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r8::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.30.1::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.4_p2::gentoo, 3.13.0_beta4::gentoo
dev-lang/rust:             1.79.0::gentoo
dev-lang/rust-bin:         1.77.1::gentoo
dev-util/ccache:           4.10.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo, 14.1.1_p20240622::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6-r2::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /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="-mtune=znver2 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --backtrack=500"
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 binpkg-multi-instance buildpkg-live candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://gentoo.cs.utah.edu/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j6 -l9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded"
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/"
PYTHONPATH="/usr/local/lib/python3.12/site-packages/"
SHELL="/bin/bash"
USE="12bit 256-color X a52 aac aacplus aacs aalib acl acpi additions adns ads aes afterimage aio alsa amarok amazon amd64 ao aom apache2 appindicator applet ares aspell asyncdns attica audiofile auth autoipd avahi avx avx2 background bash-completion bcmath binfilter bl blake2 blink bluetooth bluray bogofilter bonjour bonobo bookmarks boost bootsplash branding bs2b bzip2 cacert cairo calf caps cdaudio cdda cdinstall cdp cdr celt cet cgi cgroup chromecast chroot clang cle266 command-args contentcache corba corefonts cpudetection crypt cscope css csv ctype cups curl curlwrappers cursors cxx daap dane dav1d dba dbm dbus dbx dcc dcraw declarative devfs26 device-mapper dirac disassembler discard-path discid divx dlz dmi dmx dnssec docbook dpms dri dri3 drm dtmf dts dv dvb dvbcsa dvben50221 dvd dvdr dvdread dvi dynagraph dynamicplugin ecc echo-cancel edl edp egl elogind encode equalizer escreen espeak ethereal etwin exif expat exscalibar extensions extra extramodules faac faad fading-colors faillog fame fat fdk fdp festival ffmpeg ffmpeg-mt ffmpegthumbnailer fftw fits flac flashrom flatfile fltk fma fma3 fmod fontconfig foomatic-db foomaticdb fpm fpx freetts ftp fuse g3dvl gadu gajim gallium gcj gconf gd gdal gdbm gdu gecko-mediaplayer geoip geometry geonames geotiff gif gimp gimpprint git glamor glew glib glitz glut gmath gmedia gml gmp gmplayer gnuplot gnustep gnutls go gpg gphoto2 gpm gps grammar graphviz grass gs gsettings gsl gsm gstreamer gtk gtk3 gtkhtml gtkspell gui guile h323 hardened harfbuzz hdf5 hdhomerun hdri highlight hostip howl howl-compat http http2 http3 httpd icecast iconv icq icu id3 idea ilbc imagemagick imap imlib imlib2 inkjar inode inotify insecure-savers int64 introspection ipmi ipsec iptv ipv6 iso14755 jabber jack jadetex java javascript jbig jce jingle john jpeg jpeg2k karma keybinder kf6compat kpathsea ladspa lame lastfm latex lcms libaom libass libcanberra libdrm libedit libextractor libinput libnotify librtmp libsamplerate libssh2 libtirpc libv4l2 libvisual lm-sensors lm_sensors lmdb logrotate lpr lto lua lv2 lxc lyrics lz4 lzma lzo mad manual map mapnik marble mariadb matroska mbox md5sum mda-lv2 mdadm mdnsresponder-compat menubar microdns midi mikmod milter mime mimencode mmap mmx mmxext mng mnogosearch mod modplug mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpg123 mplayer mpm-worker mtp multilib multimedia munin-apache munin-dhcp munin-irc munin-squid munin-surfboard musepack musicbrainz mysqli mythtv na_dd na_icons nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses ndiff net netlink network networking nfs nfsv4 nfsv41 nginx nls nodrm nominatim nping nsplugin nvme offensive ogg oggvorbis on-the-fly-crypt openal opencl openctl openexr opengl openh264 openmp openssh openssl opensslcrypt opus oscar osmesa otr pam pango parse-clocks passfile passwdqc passwordsave paste64 pcap pci pcmcia pcntl pcre pdf pdfimport perl pgo php pidgin pipewire pipewire-alsa pixbuf player plazes plotutils png pnm policykit pop3d popcnt portage portaudio posix postproc ppds print printsupport priority procmail proj pulseaudio pvr python pyzor qml qt5 qt6 rar raw razor rc5 rdesktop readline realmedia realtime recursor remix rle rnnoise romio rpc rpz rrdcgi rrdtool rss rtc rtf rtmp rtsp rubberband run-as-root rustfmt sasl scanner schroedinger screen scripts scrypt sdk sdl seccomp secure-delete sendmail sendto sensord serial server sftp sftplogging shape sharedext sharedmem shmvideo shorten silc sip sipim skins slp smi smime smp smtp sndfile snmp soap sockets sofia-sip softfax sound sox spamassassin speex spell spf spi spirv split-usr sqlite sqlite3 srtp sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 startup-notification static-modules stats stream subtitles subversion svg svgz swat swig syntax-check sysfs syslog system-libvpx system-llvm sysvipc szip t1lib taglib tagwriting tcl tcltk template test-rust tetex tga themes theora thesaurus threads threadsafe thumbnail thunar thunderbird tiff timidity tk tokenizer tokyocabinet toolame toolbar tools transcode trayicon tremor truetype twolame type1 udev udf udisks ugly unbound unicode unzip update_drivedb upnp upower ups urandom uriparser usb utils v4l v4l2 vaapi vala valgrind vdpau vdr vhosts video vim vim-syntax visualization vlm vmaf vnc vorbis vorbis-psy vpx vulkan vxml watchdog wav wavpack web webkit webkit2 webp webrtc wfs wg-quick widescreen wikipedia winbind wma wmf wmp wxwidgets wxwindows x264 x265 xattr xcb xcomposite xface xft xine xinerama xml xmlrpc xmltv xorg xosd xpm xrandr xrender xscreensaver xsettings xsl xslt xterm xulrunner xvfb xvid xvmc xz yaepg yahoo yahoo-geo zenmap zeroconf zimg zink zip zlib zrtp zstd zvbai zvbi" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 pc emu" INPUT_DEVICES="evdev roccat_savu libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="arm ppc ppc64 x86_64" QEMU_USER_TARGETS="arm ppc ppc64 x86_64" RUBY_TARGETS="ruby32 ruby33" SANE_BACKENDS="gphoto2 abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp umax1220u xerox_mfp" VIDEO_CARDS="amdgpu radeon radeonsi swrast" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

dev-lang/python-3.13.0_beta4::gentoo was built with the following:
USE="bluetooth debug ensurepip gdbm (gil) ncurses pgo readline sqlite ssl tk valgrind -build -examples (-jit) -libedit -test -verify-sig" ABI_X86="(64)" LLVM_SLOT="18"
CFLAGS="-mtune=znver2 -O2 -pipe -fwrapv"
CXXFLAGS="-mtune=znver2 -O2 -pipe -fwrapv"
Comment 2 Gary E. Miller 2024-07-21 02:13:04 UTC
Created attachment 898052 [details]
build log

build log