Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] media-fgx/prusaslicer-2.7.4 is failing to build
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
hoegger
n00b
n00b


Joined: 06 Apr 2008
Posts: 39

PostPosted: Wed Apr 10, 2024 7:52 pm    Post subject: [SOLVED] media-fgx/prusaslicer-2.7.4 is failing to build Reply with quote

Since the last few @world updates, emerge of prusaslicer-2.7.4 and any previous version of prusaslicer is failing during configure phase.
Currently prusaslicer-2.7.3 is installed, which is not available in portage anymore.

It seems to be something opencascade related. Oddly, freecad is building fine with the opencascade version that is currently installed.

Any advice how to get around this would be much appeciated.


Build messages:
Code:

-- Configuring done (2.2s)
CMake Error at /usr/lib64/cmake/opencascade/OpenCASCADEFoundationClassesTargets.cmake:70 (set_target_properties):
  The link interface of target "TKernel" contains:

    Qt5::Widgets

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib64/cmake/opencascade/OpenCASCADEConfig.cmake:102 (include)
  src/occt_wrapper/CMakeLists.txt:22 (find_package)


CMake Error at /usr/lib64/cmake/opencascade/OpenCASCADEFoundationClassesTargets.cmake:78 (set_target_properties):
  The link interface of target "TKMath" contains:

    Qt5::Widgets

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib64/cmake/opencascade/OpenCASCADEConfig.cmake:102 (include)
  src/occt_wrapper/CMakeLists.txt:22 (find_package)


CMake Error at /usr/lib64/cmake/opencascade/OpenCASCADEModelingDataTargets.cmake:70 (set_target_properties):
  The link interface of target "TKG2d" contains:

    Qt5::Widgets

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib64/cmake/opencascade/OpenCASCADEConfig.cmake:102 (include)
  src/occt_wrapper/CMakeLists.txt:22 (find_package)


CMake Error at /usr/lib64/cmake/opencascade/OpenCASCADEModelingDataTargets.cmake:78 (set_target_properties):
  The link interface of target "TKG3d" contains:

    Qt5::Widgets

  but the target was not found.  Possible reasons include:

...
...
...

CMake Error at /usr/lib64/cmake/opencascade/OpenCASCADEDataExchangeTargets.cmake:142 (set_target_properties):
  The link interface of target "TKXDESTEP" contains:

    Qt5::Widgets

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib64/cmake/opencascade/OpenCASCADEConfig.cmake:102 (include)
  src/occt_wrapper/CMakeLists.txt:22 (find_package)


-- Generating done (0.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
 * ERROR: media-gfx/prusaslicer-2.7.4::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2212:  Called cmake_src_configure
 *   environment, line 1069:  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 '=media-gfx/prusaslicer-2.7.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/prusaslicer-2.7.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/work/PrusaSlicer-version_2.7.4_build'
 * S: '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/work/PrusaSlicer-version_2.7.4'

>>> Failed to emerge media-gfx/prusaslicer-2.7.4, Log file:

>>>  '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/temp/build.log'

 * Messages for package media-gfx/prusaslicer-2.7.4:

 * ERROR: media-gfx/prusaslicer-2.7.4::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2212:  Called cmake_src_configure
 *   environment, line 1069:  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 '=media-gfx/prusaslicer-2.7.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/prusaslicer-2.7.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/work/PrusaSlicer-version_2.7.4_build'
 * S: '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/work/PrusaSlicer-version_2.7.4'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (media-gfx/prusaslicer-2.7.4:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/media-gfx/prusaslicer-2.7.4/temp/build.log'
 *



sci-libs/opencascade-7.7.2:0/7.7::gentoo USE="X ffmpeg gui json opengl vtk -debug -doc -examples -freeimage -freetype -gles2-only -optimize -tbb -test -testprograms -tk"
sys-devel/gcc-13.2.1_p20240210
dev-build/cmake-3.29.1


Code:

gcc-config -l
 [1] arm-unknown-linux-gnueabi-9.3.0 *
 [2] arm-unknown-linux-gnueabi-12
 [3] arm-unknown-linux-gnueabi-13

 [4] avr-12 *
 [5] avr-13

 [6] x86_64-pc-linux-gnu-12 *
 [7] x86_64-pc-linux-gnu-13

forest /home/ws #  binutils-config -l
 [1] arm-unknown-linux-gnueabi-2.41 *

 [2] avr-2.41 *

 [3] x86_64-pc-linux-gnu-2.42 *

forest /home/ws # uname -a
Linux forest 6.8.2-gentoo #1 SMP PREEMPT_DYNAMIC Fri Mar 29 19:33:48 CET 2024 x86_64 Intel(R) Xeon(R) CPU E5-2696 v4 @ 2.20GHz GenuineIntel GNU/Linux

forest /home/ws #  neofetch
         -/oyddmdhs+:.                ws@forest
     -odNMMMMMMMMNNmhy+-`             ---------
   -yNMMMMMMMMMMMNNNmmdhy+-           OS: Gentoo Linux x86_64
 `omMMMMMMMMMMMMNmdmmmmddhhy/`        Host: MS-7A20 1.0
 omMMMMMMMMMMMNhhyyyohmdddhhhdo`      Kernel: 6.8.2-gentoo
.ydMMMMMMMMMMdhs++so/smdddhhhhdm+`    Uptime: 12 hours, 59 mins
 oyhdmNMMMMMMMNdyooydmddddhhhhyhNd.   Packages: 2130 (emerge)
  :oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh   Shell: bash 5.2.26
    .:+sydNMMMMMNNNmmmdddhhhhhhmMmy   Resolution: 3840x2160
       /mMMMMMMNNNmmmdddhhhhhmMNhs:   DE: Plasma 5.27.11
    `oNMMMMMMMNNNmmmddddhhdmMNhs+`    WM: KWin
  `sNMMMMMMMMNNNmmmdddddmNMmhs/.      Theme: Breeze Light [Plasma], Breeze [GTK2/3]
 /NMMMMMMMMNNNNmmmdddmNMNdso:`        Icons: breeze [Plasma], breeze [GTK2/3]
+MMMMMMMNNNNNmmmmdmNMNdso/-           Terminal: konsole
yMMNNNNNNNmmmmmNNMmhs+/-`             Terminal Font: Hack 12
/hMMNNNNNNNNMNdhs++/-`                CPU: Intel Xeon E5-2696 v4 (44) @ 3.700GHz
`/ohdmmddhys+++/:.`                   GPU: NVIDIA GeForce GTX 980 Ti
  `-//////:--.                        Memory: 3973MiB / 128705MiB



forest /home/ws #  emerge --info
Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-12, glibc-2.39-r2, 6.8.2-gentoo x86_64)
=================================================================
System uname: Linux-6.8.2-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2696_v4_@_2.20GHz-with-glibc2.39
KiB Mem:   131794520 total, 115748352 free
KiB Swap:    3710972 total,   3710972 free
Timestamp of repository gentoo: Wed, 10 Apr 2024 15:30:00 +0000
Head commit of repository gentoo: 81b10f25708e5d311d3e57f444c8e7d548293158
Timestamp of repository gentoo-zh: Wed, 10 Apr 2024 14:48:30 +0000
Head commit of repository gentoo-zh: 476d7e678d90ded0bb7498102062aad5c1f4c442

Timestamp of repository steam-overlay: Thu, 04 Apr 2024 01:22:27 +0000
Head commit of repository steam-overlay: aca6eb772e0d5474b6d44072998af0082f36d08a

sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.1::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.10.14_p1::gentoo, 3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 17.0.6::gentoo, 18.1.3::gentoo
sys-devel/gcc:             12.3.1_p20240209::gentoo, 13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.3::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 17.0.6::gentoo, 18.1.3::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

Lokal
    location: /usr/local/portage
    masters: gentoo
    volatile: True

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

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

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

crossdev
    location: /var/db/repos/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://ftp.tu-ilmenau.de/mirror/gentoo/releases/amd64/binpackages/23.0/x86-64

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/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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live 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="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/     http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/     rsync://mirror.eu.oneandone.net/gentoo/     https://mirror.dogado.de/gentoo     http://ftp.agdsn.de/gentoo     https://ftp.agdsn.de/gentoo     rsync://ftp.agdsn.de/gentoo     https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/     http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/     rsync://ftp.spline.inf.fu-berlin.de/gentoo-distfiles/     https://ftp.gwdg.de/pub/linux/gentoo/     http://ftp.gwdg.de/pub/linux/gentoo/     ftp://ftp.gwdg.de/pub/linux/gentoo/     rsync://ftp.gwdg.de/gentoo/     https://ftp.uni-hannover.de/gentoo/     http://ftp.uni-hannover.de/gentoo/     ftp://ftp.uni-hannover.de/gentoo/     ftp://mirror.netcologne.de/gentoo/     https://mirror.netcologne.de/gentoo/     http://mirror.netcologne.de/gentoo/     rsync://mirror.netcologne.de/gentoo/     https://mirror.netzwerge.de/gentoo/     http://mirror.netzwerge.de/gentoo/     rsync://mirror.netzwerge.de/gentoo     https://packages.hs-regensburg.de/gentoo-distfiles/     https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/     rsync://linux.rz.ruhr-uni-bochum.de/gentoo     https://ftp.halifax.rwth-aachen.de/gentoo/     http://ftp.halifax.rwth-aachen.de/gentoo/     ftp://ftp.halifax.rwth-aachen.de/gentoo/     rsync://ftp.halifax.rwth-aachen.de/gentoo/     https://ftp.tu-ilmenau.de/mirror/gentoo/     http://ftp.tu-ilmenau.de/mirror/gentoo/     rsync://ftp.tu-ilmenau.de/gentoo/     https://ftp.fau.de/gentoo     http://ftp.fau.de/gentoo     ftp://ftp.fau.de/gentoo     rsync://ftp.fau.de/gentoo     https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     rsync://ftp-stud.hs-esslingen.de/gentoo/     https://ftp.uni-stuttgart.de/gentoo-distfiles/     http://ftp.uni-stuttgart.de/gentoo-distfiles/     ftp://ftp.uni-stuttgart.de/gentoo-distfiles/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="de_DE de en"
MAKEOPTS="-j44 -l44"
PKGDIR="/usr/portage/packages"
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 activities aes alsa amd64 apache2 avx avx2 bcmath bluetooth branding bzip2 cairo cdda cdr cet colord crypt cuda cups curl dbus declarative dmx dri dts dvd dvdr encode exif ffmpeg flac fma3 gd gdbm gentoo-vm gif gimp gpm gtk gui iconv icu imagemagick intl ipv6 jpeg kde kwallet lcms libnotify libtirpc lm-sensors mad mmx mmxext mng mp3 mp4 mpeg multilib mysql mysqli ncurses networkmanager nls nvenc nvidia ogg opcache opengl openmp pam pango pcre pdf pdo pipewire plasma png policykit popcnt postscript ppds pulseaudio qml qt5 rdp readline samba screencast sdl seccomp semantic-desktop soap sound spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vnc vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xinerama xml xslt xv xvid xvmc 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" 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 sse sse2 sse3 sse4_1 sse4_2 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" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8_0" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_11 python3_10" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby31 ruby32 ruby33" VIDEO_CARDS="nvidia" 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, 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



Last edited by hoegger on Thu Apr 11, 2024 5:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30925
Location: here

PostPosted: Thu Apr 11, 2024 6:18 am    Post subject: Reply with quote

See bug #927925.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
hoegger
n00b
n00b


Joined: 06 Apr 2008
Posts: 39

PostPosted: Thu Apr 11, 2024 4:50 pm    Post subject: Reply with quote

fedeliallalinea wrote:
See bug #927925.


Thank you very much.
After building oppencascade with USE="-gui", prusaslicer compiles fine.
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