[1150/1175] cd /var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13/PySide6/QtCore && /usr/bin/cmake -E env LD_LIBRARY_PATH=/var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13/libpyside:/var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13/libpysideqml:/usr/lib64 /var/tmp/portage/dev-python/pyside6-6.7.2/temp/python3.13/bin/python3 /var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6/PySide6/QtCore/../support/generate_pyi.py QtCore --sys-path /var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13 /usr/lib/python3.13/site-packages/shiboken6/.. FAILED: PySide6/QtCore/CMakeFiles/QtCore_pyi /var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13/PySide6/QtCore/CMakeFiles/QtCore_pyi cd /var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13/PySide6/QtCore && /usr/bin/cmake -E env LD_LIBRARY_PATH=/var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13/libpyside:/var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13/libpysideqml:/usr/lib64 /var/tmp/portage/dev-python/pyside6-6.7.2/temp/python3.13/bin/python3 /var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6/PySide6/QtCore/../support/generate_pyi.py QtCore --sys-path /var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13 /usr/lib/python3.13/site-packages/shiboken6/.. python3.13: Objects/typeobject.c:1003: type_modified_unlocked: Assertion `(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0' failed. Subprocess aborted ninja: build stopped: subcommand failed. * ERROR: dev-python/pyside6-6.7.2::gentoo failed (compile phase): * ninja -v -j1 -l1 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3465: Called python_foreach_impl 'cmake_src_compile' * environment, line 3083: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'cmake_src_compile' * environment, line 2630: Called _multibuild_run '_python_multibuild_wrapper' 'cmake_src_compile' * environment, line 2628: Called _python_multibuild_wrapper 'cmake_src_compile' * environment, line 827: Called cmake_src_compile * environment, line 1411: Called cmake_build * environment, line 1378: Called eninja * environment, line 1860: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * * If you need support, post the output of `emerge --info '=dev-python/pyside6-6.7.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyside6-6.7.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pyside6-6.7.2:20240907-172715.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pyside6-6.7.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyside6-6.7.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6_build-python3_13' * S: '/var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6' >>> Failed to emerge dev-python/pyside6-6.7.2, Log file: > emerge --info Portage 3.0.65 (python 3.13.0-candidate-2, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.40, 6.10.7-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-6.10.7-gentoo-x86_64-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.40 KiB Mem: 65778112 total, 9535444 free KiB Swap: 65808380 total, 62927988 free Timestamp of repository gentoo: Sat, 07 Sep 2024 15:18:59 +0000 Head commit of repository gentoo: 3f6326ee57f3f4f35c465a27e7109d2875c13f15 Timestamp of repository guru: Sat, 07 Sep 2024 13:51:00 +0000 Head commit of repository guru: 88d882f195f68f3f9255407187e61a15bcb542f1 Timestamp of repository sam_c: Thu, 05 Sep 2024 12:28:56 +0000 Head commit of repository sam_c: d0d70ec4c81f06c55f27f3dba9fcc9dce20437c3 sh bash 5.2_p32-r1 ld GNU ld (Gentoo 2.42 p6) 2.42.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.10.2 [enabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p32-r1::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo, 1.17-r1::gentoo dev-build/cmake: 3.30.3::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.5.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 2.7.18_p16-r2::gentoo, 3.11.10::gentoo, 3.12.6::gentoo, 3.13.0_rc2::gentoo dev-lang/rust: 1.80.1::gentoo dev-util/ccache: 4.10.2::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, 2.43-r1::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 17.0.6::gentoo, 18.1.8::gentoo sys-devel/gcc: 14.2.1_p20240817::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo, 18.1.8::gentoo sys-devel/llvm: 17.0.6-r2::gentoo, 18.1.8-r4::gentoo sys-kernel/linux-headers: 6.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.40::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo volatile: False sam_c location: /var/db/repos/sam_c sync-type: git sync-uri: https://github.com/gentoo-mirror/sam_c.git masters: gentoo volatile: False Installed sets: @openwrt-prerequisites, @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -fomit-frame-pointer -pipe -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind" 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.3/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -fomit-frame-pointer -pipe -frecord-gcc-switches" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going --autounmask=n --verbose-conflicts --with-bdeps=y" 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 -march=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -fomit-frame-pointer -pipe -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy ccache clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait metadata-transfer multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict stricter suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -fomit-frame-pointer -pipe -frecord-gcc-switches" GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/" INSTALL_MASK="/lib/systemd/*/*.service /usr/lib/systemd/*/*.service" LANG="fr_FR.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="fr fr_FR en en_US" MAKEOPTS="-j17 -l17" 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 accessibility acl acpi activities agent alsa amd64 apache2 aptx audiofile bash-completion bidi bluetooth boost bzip2 cairo calendar caps captury ccache cdaudio cdda cddb cdinstall cdio cdr cet cgi chromium cpudetection crypt css cups cvs cxx d dbus declarative dga discover doc dri dts dv dvb dvd dvdr elogind encode exif fam fbcon ffmpeg fftw flac fontconfig fortran gd gdbm gif gimp git gles2 gmp gnutls go goom gphoto2 gpm graphviz gsl gstreamer gtk gui handbook iconv icu imagemagick imap imlib ipv6 java jemalloc jpeg jpeg2k kde kerberos keyring kf6compat kwallet lapack lcms libass libnotify libtirpc libwww lm-sensors lto lua lzo mad matroska mikmod mng modplug mp3 mp3tunes mp4 mpeg mpi mplayer mtp multilib musepack musicbrainz mysql mysqli ncurses networkmanager nis nls nsplugin ogg openal opengl openmp openssl opus orc pam pango pcre pdf perl pipewire plasma png policykit ppds pulseaudio python qml qt5 qt6 quicktime rar readline remote romio rtmp samba sasl scanner screencast sdl seccomp semantic-desktop slang sound speex spell sqlite ssl startup-notification subversion svg szip tcl test-rust theora threads tidy tiff tk truetype udev udisks unicode upnp upower usb v4l vaapi videos vim-syntax vnc vorbis vulkan wayland widgets wmf wxwidgets x264 xattr xcb xcomposite xface xft xinerama xml xosd xpm xscreensaver xv xvid zeroconf zip zlib" 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 auth_digest authn_dbd dbd ident imagemap lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat proxy proxy_ajp proxy_balancer proxy_connect proxy_http slotmem_shm" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB en-US fr fr-FR" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_13" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeonsi v4l" 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, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
This bug has been quite annoying. equery d -D dev-python/pyside6 returns nothing, but doing a world update (to upgrade to the latest KDE) dragged the package in every time. The only workaround was to remove "python3_13" altogether from PYTHON_TARGETS in make.conf.
(In reply to Mike Benson from comment #1) > The only workaround was to remove "python3_13" altogether from > PYTHON_TARGETS in make.conf. The issue is specific to only python 3.13? (does the python 3.12 version compile properly?) What version of python 3.13 do you have installed, and with what USE flags?
(In reply to Andrew Nowa Ammerlaan from comment #2) > (In reply to Mike Benson from comment #1) > > The only workaround was to remove "python3_13" altogether from > > PYTHON_TARGETS in make.conf. > > The issue is specific to only python 3.13? (does the python 3.12 version > compile properly?) > > What version of python 3.13 do you have installed, and with what USE flags? # emerge python:3.13 -pvq [ebuild R ] dev-lang/python-3.13.0_rc2 USE="bluetooth debug ensurepip examples gdbm (gil) ncurses readline sqlite ssl tk -build (-jit) -libedit -pgo -test -valgrind -verify-sig" LLVM_SLOT="18"
(In reply to Andrew Nowa Ammerlaan from comment #2) > (In reply to Mike Benson from comment #1) > > The only workaround was to remove "python3_13" altogether from > > PYTHON_TARGETS in make.conf. > > The issue is specific to only python 3.13? (does the python 3.12 version > compile properly?) > > What version of python 3.13 do you have installed, and with what USE flags? disabling python 3.13 on dev-python/pyside6 allows it to build
My experience was the same as Leonid's - pyside6 builds fine with 3.11 and 3.12, but consistently fails with 3.13. eix dev-lang/python reports (reformatted): Installed versions: 3.11.10(3.11)^t{xpak}(20:40:10 10/09/24) (ensurepip gdbm ncurses readline sqlite ssl tk -bluetooth -build -debug -examples -libedit -pgo -test -valgrind -verify-sig) 3.12.6(3.12)^t{xpak}(20:38:17 10/09/24) (ensurepip gdbm ncurses readline sqlite ssl tk -bluetooth -build -debug -examples -libedit -pgo -test -valgrind -verify-sig) 3.13.0_rc2(3.13)^t{xpak}(20:42:29 10/09/24) (debug ensurepip gdbm gil ncurses readline sqlite ssl tk -bluetooth -build -examples -jit -libedit -pgo -test -valgrind -verify-sig LLVM_SLOT="18")
The reason I had to disable the python3_13 target in make.conf was that if I removed the target from pyside6 in package.use, I could get pyside6 to build, but other packages (PyQt, kahjongg, for example) started failing, because pyside6 was not available in the python 3.13 environment.
I cannot reproduce with: [ebuild R ] dev-lang/python-3.13.0_rc2:3.13::gentoo USE="ensurepip gdbm (gil) ncurses readline sqlite ssl verify-sig -bluetooth -build -debug -examples (-jit) -libedit -pgo -test -tk -valgrind" LLVM_SLOT="18" 0 KiB Could you please try rebuilding shiboken6? Usually when pyside is broken somehow, the actual issue is in shiboken.
You will need USE=debug on older python to reproduce
Created attachment 903115 [details] build.log.xz
(In reply to Andrew Nowa Ammerlaan from comment #7) > I cannot reproduce with: > > [ebuild R ] dev-lang/python-3.13.0_rc2:3.13::gentoo USE="ensurepip > gdbm (gil) ncurses readline sqlite ssl verify-sig -bluetooth -build -debug > -examples (-jit) -libedit -pgo -test -tk -valgrind" LLVM_SLOT="18" 0 KiB > > Could you please try rebuilding shiboken6? Usually when pyside is broken > somehow, the actual issue is in shiboken. rebuilding shiboken6 didn't helped
(In reply to Sam James from comment #8) > You will need USE=debug on older python to reproduce Can confirm I'm using USE=debug (Not set by me though... i..E its not in my make.conf or packages.use) > emerge python:3.13 -pvq [ebuild R ] dev-lang/python-3.13.0_rc2 USE="debug ensurepip gdbm (gil) ncurses readline sqlite ssl tk -bluetooth -build -examples (-jit) -libedit -pgo -test -valgrind -verify-sig" LLVM_SLOT="18" (In reply to Leonid Kopylov from comment #10) > rebuilding shiboken6 didn't helped Can also confirm re emerging shiboken6 does not solve the issue
We enable it for non-default target, pre-release pythons (like 3.13) to help catch problems like this.
Got around this by */* PYTHON_TARGET: -* python3_12 emerge -auvNDt world emerge -ca --> removed shiboken6 pyside6 and falkon */* PYTHON_TARGET: -* python3_12 python3_13 emerge -auvNDt world So pyside6 was pulled in (in 2020) by Falkon which was pulled in by kdecore-meta (although khelpcenter was installed since 2008 and is an alternative to falkon for kdecore-meta...)
The solution (for now) is to build python:3.13 with the debug USE flag *disabled*. I don't have another solution at the moment. I just pushed 6.7.3 though, so you can also give that a try to see if it works better with python:3.13[debug].
6.7.3 fails for me too.
`USE=-debug emerge -1 python:3.13 && emerge -1 pyside6` works fine with 6.7.3
pyside6 (6.7.3) + dev-lang/python:3.13 (3.13.0_rc2_p2) without the "debug" use flag = no more compilation failure on my side.