Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: dev-python/pyside6-6.7.2::gentoo failed -- ninja fail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Tue Sep 03, 2024 4:12 pm    Post subject: ERROR: dev-python/pyside6-6.7.2::gentoo failed -- ninja fail Reply with quote

Routine weekly update. After 20 hrs recompiling qtwebengine's 30000 compileable modules, I get
python/pyside problem as below:

Code:

* ERROR: dev-python/pyside6-6.7.2::gentoo failed (compile phase):
 *   ninja -v -j3 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3511:  Called python_foreach_impl 'cmake_src_compile'
 *   environment, line 3129:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'cmake_src_compile'
 *   environment, line 2672:  Called _multibuild_run '_python_multibuild_wrapper' 'cmake_src_compile'
 *   environment, line 2670:  Called _python_multibuild_wrapper 'cmake_src_compile'
 *   environment, line  869:  Called cmake_src_compile
 *   environment, line 1453:  Called cmake_build
 *   environment, line 1420:  Called eninja
 *   environment, line 1902:  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/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_11'
 * S: '/var/tmp/portage/dev-python/pyside6-6.7.2/work/pyside-setup-everywhere-src-6.7.2/sources/pyside6'
gentooVM ~ #


The emerge --info and build.log files are quite lengthy to post.

I am hoping someone will have knowledge of the ninja problem to avoid posting these files. If posting is necessary for diagnosis, I can post.
Any insights? thanks, tom kosvic
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9823
Location: almost Mile High in the USA

PostPosted: Tue Sep 03, 2024 4:52 pm    Post subject: Reply with quote

Sorry you will need to post build.log and/or at least emerge --info which is much shorter. The ninja error is just about useless as it's the top level command that failed, the lower level failures are more interesting to help debug (it's like a company manager saying his project is running behind. But how can we find out what the problem is and how to speed it along?)
Just like a manager stating that his project is falling behind to the press, it is unfortunate it's the loudest error that shows up at the end of emerge, but it's just about useless unless someone just so happened to run across the exact same problem -- which is quite quite rare...

emerge --info gives us more information about your machine as well as settings that you may have set.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Tue Sep 03, 2024 7:11 pm    Post subject: info for diagnosis Reply with quote

See items below:

Code:

gentooVM ~ # emerge --info '=dev-python/pyside6-6.7.2::gentoo'
Portage 3.0.65 (python 3.12.5-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40, 6.10.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.10.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-5820K_CPU_@_3.30GHz-with-glibc2.40
KiB Mem:     8147472 total,   5964988 free
KiB Swap:    6537212 total,   6252644 free
Timestamp of repository gentoo: Mon, 02 Sep 2024 15:30:00 +0000
Head commit of repository gentoo: 0528fe2fcb76f8a88934273c1497555be0ed6832
Timestamp of repository guru: Mon, 02 Sep 2024 13:35:59 +0000
Head commit of repository guru: 864c7753213056d64742bfe752c93771102618b4

Timestamp of repository haskell: Sun, 01 Sep 2024 18:18:49 +0000
Head commit of repository haskell: 68b766a110e6199ae2bb35cda211c9bc3ab7d96e

Timestamp of repository science: Sun, 01 Sep 2024 11:19:05 +0000
Head commit of repository science: ea612961b7de4530ceb7600db8f7ea6bb79df968

sh bash 5.2_p32-r1
ld GNU ld (Gentoo 2.43 p2) 2.43.1
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p32-r1::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.30.2::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:           3.10.14_p3::gentoo, 3.11.9_p2::gentoo, 3.12.5_p1::gentoo, 3.13.0_rc1_p3::gentoo
dev-lang/rust-bin:         1.80.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.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.8::gentoo
sys-devel/gcc:             14.2.1_p20240817::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            15.0.7-r6::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: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes

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

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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"
CXXFLAGS="-march=native -O2 -pipe"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.mit.edu/gentoo-distfiles/     https://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j3"
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 alsa amd64 bluetooth branding bzip2 cairo caps cdda cdr cet chromium concurrent crypt cups custom-modes cxx dbus dri dts dvd dvdr elogind encode exif flac fortran gdbm geos gif gles2 gpm gtk gtk3 gui hdf5 iconv icu ipv6 jack jpeg json jumbo-build kf6compat lcms libnotify libtirpc lua5-4 lzma mad mmx mng mp3 mp4 mpeg multilib ncurses network nls ogg opengl openmp opus pam pango pcre pcre32 pdf pkcs11 png policykit positioning ppds printsupport proprietary-codecs pulseaudio python qml qt5 qt6 quick readline script sdl seccomp sound spell split-usr sql ssl startup-notification svg test-rust testlib tiff tools truetype udev udisks unicode upower usb vorbis vtk vulkan webchannel webengine webp widevine widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib zstd" 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="mmx mmxext sse sse2" 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" 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_11" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="virtio" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, 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

gentooVM ~ #



Code:

gentooVM ~ # emerge -pqv '=dev-python/pyside6-6.7.2::gentoo'
][ebuild  N    ] dev-python/pyside6-6.7.2  USE="bluetooth concurrent dbus gui network opengl positioning printsupport qml quick sql svg testlib webchannel webengine widgets xml -3d -charts -designer -gles2-only -help -location -multimedia -network-auth -nfc -pdfium -quick3d -scxml -sensors -serialport -spatialaudio -speech -test -websockets" LLVM_SLOT="18 -15 -16 -17" PYTHON_TARGETS="python3_11 python3_12 -python3_10 -python3_13"

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

gentooVM ~ #


The build log is 2.5gig, the environment file is more than 8000 lines. I do not wish to corrupt the forum. If these are need, I must find a way to attach these as files.

thanks for your efforts. tom kosvic
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Tue Sep 03, 2024 7:29 pm    Post subject: Reply with quote

I noticed there are multiple versions of ninja. I installed the latest ninja version. I am re-emerging python/pyside. This will take a while as pyside has 1200 compile modules.

I bet problem is again related to python version change but will see where this gets to.

tom kosvic
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22619

PostPosted: Tue Sep 03, 2024 7:45 pm    Post subject: Reply with quote

The forum limits posts to ~64KB. You should install app-text/wgetpaste and use it to upload the large objects to a pastebin service, then tell us the URLs of those uploads.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 138

PostPosted: Tue Sep 03, 2024 10:10 pm    Post subject: Reply with quote

I tried unsucessfully to get python/pyside to compile with both available ninja versions to complete the emerge. Same errors for both.

I am giving up on this effort and moving forward to compile kernel 6.10.7 to finish my update..

Don't know what pyside even does.

No need to put any effort into this thread.

thanks all, tom kosvic
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9823
Location: almost Mile High in the USA

PostPosted: Tue Sep 03, 2024 10:40 pm    Post subject: Reply with quote

Well, back to the manager analogy, if a project is behind schedule, replacing the manger ... probably doesn't do much...

I don't know what pyside does either ... but trying to figure it out...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5094
Location: Bavaria

PostPosted: Tue Sep 03, 2024 11:41 pm    Post subject: Reply with quote

tckosvic,

do you really want/need to set the use-flag "python" globally ? Usually you want enable it only for specific packages in /etc/portage/package.use ...

... sometimes users think that it is so important that it has to be set everywhere, but that is a fallacy. I have not activated it anywhere and yet all important packages that absolutely need it have the “python” use-flag active. See these two queries from my system:
Code:
$ equery h python
 * Searching for USE flag python ...
[IP-] [  ] app-accessibility/speech-dispatcher-0.11.4-r2:0
[IP-] [  ] app-arch/brotli-1.1.0:0/1
[IP-] [  ] app-crypt/gpgme-1.23.2:1/11.6.15.2
[IP-] [  ] app-misc/pax-utils-1.3.7:0
[IP-] [  ] dev-libs/boost-1.85.0-r1:0/1.85.0.1
[IP-] [  ] dev-libs/imath-3.1.11-r1:3/29
[IP-] [  ] dev-libs/libbytesize-2.10:0
[IP-] [  ] dev-libs/libixion-0.19.0:0/0.18
[IP-] [  ] dev-libs/libnl-3.9.0:3
[IP-] [  ] dev-libs/liborcus-0.19.2:0/0.18
[IP-] [  ] dev-libs/libxml2-2.12.7:2
[IP-] [  ] dev-libs/libxslt-1.1.39:0
[IP-] [  ] media-gfx/fontforge-20230101-r2:0
[IP-] [  ] media-libs/alsa-lib-1.2.11:0
[IP-] [  ] media-libs/opencv-4.9.0-r1:0/4.9.0
[IP-] [  ] net-dns/unbound-1.19.3:0/8
[IP-] [  ] net-firewall/nftables-1.0.9:0/1
[IP-] [  ] net-mail/mailutils-3.17:0
[IP-] [  ] sys-apps/file-5.45-r4:0
[IP-] [  ] sys-apps/i2c-tools-4.3-r2:0
[IP-] [  ] sys-apps/usbutils-017:0
[IP-] [  ] sys-apps/util-linux-2.39.4-r1:0
[IP-] [  ] sys-libs/libapparmor-3.1.4-r2:0
[IP-] [  ] sys-libs/libcap-ng-0.8.5:0
[IP-] [  ] sys-libs/libnvme-1.9:0/1
[IP-] [  ] sys-libs/libseccomp-2.5.5-r1:0
[IP-] [  ] www-client/falkon-24.05.2-r1:0
 ~ $
 ~ $ eix -c  --installed-with-use python
[I] app-accessibility/speech-dispatcher (0.11.4-r2@01.09.2024): Speech synthesis interface
[I] dev-libs/libxml2 (2.12.7(2)@25.06.2024): XML C parser and toolkit
[I] media-gfx/fontforge (20230101-r2@12.06.2024): postscript font editor and converter
[I] media-libs/opencv (4.9.0-r1(0/4.9.0)@02.09.2024): A collection of algorithms and sample code for various computer vision problems
[I] net-firewall/nftables (1.0.9(0/1)@03.06.2024): Linux kernel firewall, NAT and packet mangling tools
[I] sys-apps/i2c-tools (4.3-r2@03.06.2024): I2C tools for bus probing, chip dumping, EEPROM decoding, and more
[I] sys-libs/libapparmor (3.1.4-r2@30.08.2024): Library to support AppArmor userspace utilities
7 Treffer

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum