Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pyside6 -- freecad dependeny fails to compile
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: 120

PostPosted: Mon Oct 28, 2024 3:08 pm    Post subject: pyside6 -- freecad dependeny fails to compile Reply with quote

Fail to compile pyside6 package message below. Any insights from this? If additional info is needed, I could post the log and other items. Let me know.
I think, from the messages, that the problem is within pyside6 package itself and other info will provide no relevant info.

Code:

>>> Failed to emerge dev-python/pyside6-6.7.3, Log file:

>>>  '/var/tmp/portage/dev-python/pyside6-6.7.3/temp/build.log'

 * Messages for package dev-python/pyside6-6.7.3:

 * ERROR: dev-python/pyside6-6.7.3::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3458:  Called python_foreach_impl 'pyside6_configure'
 *   environment, line 3066:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'pyside6_configure'
 *   environment, line 2613:  Called _multibuild_run '_python_multibuild_wrapper' 'pyside6_configure'
 *   environment, line 2611:  Called _python_multibuild_wrapper 'pyside6_configure'
 *   environment, line  811:  Called pyside6_configure
 *   environment, line 3456:  Called cmake_src_configure
 *   environment, line 1558:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=dev-python/pyside6-6.7.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pyside6-6.7.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pyside6-6.7.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyside6-6.7.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6_build-python3_11'
 * S: '/var/tmp/portage/dev-python/pyside6-6.7.3/work/pyside-setup-everywhere-src-6.7.3/sources/pyside6'
(base) tom@gentooVM ~ $
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 730
Location: Winnipeg, Canada

PostPosted: Mon Oct 28, 2024 5:22 pm    Post subject: Reply with quote

Can you share the build log?

surely there's some clue to consider :)

the file was mentioned as

Code:
/var/tmp/portage/dev-python/pyside6-6.7.3/temp/build.log

_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 207

PostPosted: Tue Oct 29, 2024 1:35 am    Post subject: Re: pyside6 -- freecad dependeny fails to compile Reply with quote

tckosvic wrote:
Fail to compile pyside6 package message below. Any insights from this? If additional info is needed, I could post the log and other items. Let me know.
I think, from the messages, that the problem is within pyside6 package itself and other info will provide no relevant info.


Interesting that you say this!

tckosvic wrote:

Code:

 * If you need support, post the output of `emerge --info '=dev-python/pyside6-6.7.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pyside6-6.7.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pyside6-6.7.3/temp/build.log'.


You have provided NONE of this information.

I don't understand your "the problem is within pyside6 package itself and other info will provide no relevant info". The message is telling you to post info about the pyside6 package, nobody is asking for "other" info about Firefox or KDE or anything of the sort -- we just want the info it told you to provide about pyside6, which you have not done.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 120

PostPosted: Tue Oct 29, 2024 3:24 am    Post subject: Reply with quote

"sudo emerge -av pyside6" fails at compile of module 1101 of 1124. The build log is 18k lines. (250k) Too big to post, I think.

Additional info:

Code:

gentooVM ~ # emerge --info
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r5, 6.11.5-gentoo x86_64)
=================================================================
System uname: Linux-6.11.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-5820K_CPU_@_3.30GHz-with-glibc2.40
KiB Mem:     8147412 total,   6546224 free
KiB Swap:    6537212 total,   6537212 free
Timestamp of repository gentoo: Mon, 28 Oct 2024 13:10:00 +0000
Head commit of repository gentoo: a0994847954dbf35b3933d1ecb2332d1684602e7
Timestamp of repository guru: Mon, 28 Oct 2024 02:48:24 +0000
Head commit of repository guru: f574cf792ea4c84bffabf5b3218ffce92c9a539d

Timestamp of repository haskell: Thu, 17 Oct 2024 05:33:27 +0000
Head commit of repository haskell: c33ea05f7004d6de509cda3ae084645c5d7a0cda

Timestamp of repository science: Mon, 28 Oct 2024 01:03:22 +0000
Head commit of repository science: fb178c2a0efcd6e192b6441ac638ae6060fa9593

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust-bin:         1.82.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.55.1::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_p20240921::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            15.0.7-r7::gentoo, 18.1.8-r4::gentoo, 19.1.2::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::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-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

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 base 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 java 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 wayland 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 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="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_11" RUBY_TARGETS="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 ~ #

Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 207

PostPosted: Tue Oct 29, 2024 3:26 am    Post subject: Reply with quote

tckosvic wrote:
"sudo emerge -av pyside6" fails at compile of module 1101 of 1124. The build log is 18k lines. (250k) Too big to post, I think.


Upload it to a pastebin site.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 120

PostPosted: Wed Oct 30, 2024 3:01 pm    Post subject: Reply with quote

I can't ask anyone to look through 18k lines of text.

I will withdraw this query. Perhaps it will get cleared in normal course of events.

thanks, tom kosvic
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 399
Location: Nijmegen

PostPosted: Wed Oct 30, 2024 3:08 pm    Post subject: Reply with quote

tckosvic wrote:
I can't ask anyone to look through 18k lines of text.


Yes you can, it's what we do all the time.

"cmake failed" is not the real error, some job that cmake was running failed and we need to know which job and why.

Pyside is messy, so you should not expect this to resolve by itself. One common reason pyside fails is because there is a mismatch between the compiler and/or the compiler options between pyside and shiboken. So something to try is rebuilding shiboken. But without the log I cannot say more.
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 207

PostPosted: Wed Oct 30, 2024 3:15 pm    Post subject: Reply with quote

tckosvic wrote:
I can't ask anyone to look through 18k lines of text.

I will withdraw this query. Perhaps it will get cleared in normal course of events.


I routinely look through far, far longer pastebins than a mere tiny 18k lines worth, in order to debug the problems users report.

It is exceedingly easy to grep for specific bug keywords or manually inspect only the last couple hundred lines -- you just need to have a lot of familiarity with debugging user problems, know how to recognize and analyze compiler errors, make/ninja error statuses, etc. It is domain-specific knowledge, that's why users ask experts for help, but the experts absolutely do know how to find the real issue in *seconds*.

The reason we ask for the full 18k lines of text is because long experience has proven that when people try to shorten the text in order to be "helpful" they accidentally remove the 5 lines that were actually needed and which we could have found immediately, if only they were actually there to be found...

... and instead we end up spending multiple *days* arguing back and forth about the correct way to report a bug.

In summary, please stop overthinking this. We ask for certain information for a reason. It's because the best way to ensure a FAST response is to provide ALL the information that you have available, so that we are able to look at the information *we* know matters.
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