Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914919

Summary: dev-python/pyside6-6.5.2-r1 failed to emerge
Product: Gentoo Linux Reporter: Leonid Kopylov <leonchik1976>
Component: Current packagesAssignee: Nowa Ammerlaan <andrewammerlaan>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, waebbl-gentoo
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/qtproject/pyside-pyside-setup/commit/4a3fe49a0976f19ca03c869caded8cde8ac60315
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
build.log

Description Leonid Kopylov 2023-09-29 15:23:22 UTC
# emerge -pqv '=dev-python/pyside6-6.5.2-r1::gentoo'
[ebuild  N    ] dev-python/pyside6-6.5.2-r1  USE="concurrent dbus designer gui multimedia network opengl printsupport qml sql svg testlib widgets xml -charts -gles2-only -help -network-auth -positioning -quick -quick3d -serialport -test -webchannel -webengine -websockets" PYTHON_TARGETS="python3_11 -python3_10"

# emerge --info '=dev-python/pyside6-6.5.2-r1::gentoo'
Portage 3.0.51 (python 3.12.0-candidate-3, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.38-r4, 6.5.5-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.5.5-gentoo-amd64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700-with-glibc2.38
KiB Mem:   131649248 total, 123906972 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 29 Sep 2023 09:30:01 +0000
Head commit of repository gentoo: b364192b17056341b236626447614b62a6ce7e2b
Timestamp of repository guru: Fri, 29 Sep 2023 11:46:28 +0000
Head commit of repository guru: 28eda38c4e149b7a71d4ce24432a28cc6cf37618

sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.5::gentoo, 3.12.0_rc3::gentoo
dev-lang/rust:             1.72.0::gentoo
dev-lang/rust-bin:         1.72.0::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.6-r1::gentoo
dev-util/meson:            1.2.1-r2::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.4::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.1::gentoo
sys-devel/gcc:             12.3.1_p20230825::gentoo, 13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.5::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://server01.kopylovs.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome microsoft-edge Microsoft-vscode NVIDIA-CUDA NVIDIA-SDK OPERA-2018 PUEL-11 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/zookeeper-bin/conf /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/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/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="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/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="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
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 alsa amd64 audit bash-completion berkdb bidi bluetooth branding brotli btrfs bzip2 cairo cdda cdr cgi cli colord crypt cryptsetup cuda cups curl dbus designer device-mapper doc dri drm dts dvd dvdr eds emacs encode evdev evo examples exif experimental flac fortran fuse gamepad gdbm gif git gmp gnome gnome-keyring gnome-online-accounts gnutls go gpg gpm gstreamer gtk gtk-doc gui heif hscolour html http ibus iconv icu idn introspection iodbc ios ipv6 jack java jemalloc joystick jpeg json kde kerberos keyring lcms ldap libnotify libtirpc lm-sensors lua lvm lz4 lzma lzo mad man mbedtls mng mongodb mp3 mp4 mpeg mpi multilib multimedia mysql nas nautilus ncurses netlink network networkmanager nfs nls nptl nss nvenc odbc offensive ogg opencl opengl openmp openssl pam pango pcap pcre pdf perl pkcs11 plasma plugins png policykit postgres ppds pulseaudio python qml qt5 qt6 readline redis samba sasl screencast sdl seccomp semantic-desktop snmp sound source speech spell sqlite ssl startup-notification svg symlink sysprof systemd tcl telemetry test-rust threads tiff tk tools tpm tracker truetype udev udisks unicode unwind upnp upower usb utils v4l vala vdpau vim-syntax vnc vorbis vulkan wayland webengine webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid yaml zeroconf zip zlib zsh-completion zstd" ABI_X86="64 32" 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 stage 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 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="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia fbdev vesa" 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, LD, 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
Comment 1 Leonid Kopylov 2023-09-29 15:23:34 UTC
Created attachment 871772 [details]
build.log
Comment 2 Nowa Ammerlaan gentoo-dev 2023-10-03 14:19:46 UTC
When pyside fails to compile, step 1 is to recompile shiboken while ensuring that the exact same toolchain is used for shiboken as is going to be used for pyside.

Could you give this a try?
Comment 3 Leonid Kopylov 2023-10-03 14:24:09 UTC
Created attachment 872102 [details]
build.log
Comment 4 Leonid Kopylov 2023-10-03 14:24:30 UTC
it didn't helped, attached new build.log
Comment 5 Nowa Ammerlaan gentoo-dev 2023-10-03 14:49:40 UTC
Confirmed in https://github.com/gentoo/gentoo/pull/33167#issuecomment-1745130833
Comment 6 Nowa Ammerlaan gentoo-dev 2023-10-03 14:53:01 UTC
I notice in the log that you are using qtbase-6.5.3, I suspect this is the problem. Version mismatches sometimes (but not always) cause problems like this. Could you retry with dev-qt/qt*-6.5.2:6?

Unfortunately we don't have a 6.5.3 release for shiboken/pyside yet.
Comment 7 Leonid Kopylov 2023-10-03 14:56:46 UTC
(In reply to Andrew Ammerlaan from comment #6)
> I notice in the log that you are using qtbase-6.5.3, I suspect this is the
> problem. Version mismatches sometimes (but not always) cause problems like
> this. Could you retry with dev-qt/qt*-6.5.2:6?
> 
> Unfortunately we don't have a 6.5.3 release for shiboken/pyside yet.

too many packages to downgrade, so i will wait for proper solution
Comment 8 Larry the Git Cow gentoo-dev 2023-10-03 15:27:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a5cf864bc9a9d02dc48a161d9648f3b394168d

commit 23a5cf864bc9a9d02dc48a161d9648f3b394168d
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-10-03 15:24:51 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-10-03 15:26:58 +0000

    dev-python/shiboken6: further pin down dev-qt/* deps
    
    Closes: https://bugs.gentoo.org/914919
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../shiboken6/{shiboken6-6.5.2.ebuild => shiboken6-6.5.2-r1.ebuild}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dd94af4bf4738356ea96c58ac8b2f7c4e0d408f

commit 7dd94af4bf4738356ea96c58ac8b2f7c4e0d408f
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-10-03 15:25:46 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-10-03 15:26:59 +0000

    dev-python/pyside6: further pin down dev-qt/* deps
    
    Bug: https://bugs.gentoo.org/914919
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/pyside6/{pyside6-6.5.2-r1.ebuild => pyside6-6.5.2-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 9 Ionen Wolkens gentoo-dev 2023-10-03 16:07:12 UTC
Haven't tried, but looking at the build log it may just need 
https://github.com/qtproject/pyside-pyside-setup/commit/4a3fe49a0976f19ca03c869caded8cde8ac60315
Comment 10 Ionen Wolkens gentoo-dev 2023-10-03 16:10:19 UTC
(In reply to Ionen Wolkens from comment #9)
> Haven't tried, but looking at the build log it may just need 
> https://github.com/qtproject/pyside-pyside-setup/commit/
> 4a3fe49a0976f19ca03c869caded8cde8ac60315
Alternatively guess there's also the option to do a snapshot of the 6.5.3 branch if it's going to drag.
Comment 11 Leonid Kopylov 2023-10-03 16:40:32 UTC
(In reply to Ionen Wolkens from comment #9)
> Haven't tried, but looking at the build log it may just need 
> https://github.com/qtproject/pyside-pyside-setup/commit/
> 4a3fe49a0976f19ca03c869caded8cde8ac60315

yes! this allows package to build successfully, without downgrading anything
Comment 12 Leonid Kopylov 2023-10-03 16:48:03 UTC
# emerge dev-python/pyside6 -pvq
[ebuild   R   ] dev-python/pyside6-6.5.2-r1

installed
Comment 13 Nowa Ammerlaan gentoo-dev 2023-10-03 17:19:39 UTC
(In reply to Leonid Kopylov from comment #11)
> (In reply to Ionen Wolkens from comment #9)
> > Haven't tried, but looking at the build log it may just need 
> > https://github.com/qtproject/pyside-pyside-setup/commit/
> > 4a3fe49a0976f19ca03c869caded8cde8ac60315
> 
> yes! this allows package to build successfully, without downgrading anything

That's great! However, since this is not the first time pyside/shiboken break on a minor qt release I'd prefer to just ensure everything is in sync and keep the dependency pinned. This is also what the dev-qt/qt* packages do internally.