Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820785 - media-gfx/prusaslicer-2.3.3-r1 with dev-cpp/tbb-2021.4.0: CMake Error at cmake/modules/FindTBB.cmake:198 (file): file failed to open for reading (No such file or directory): /usr/include/tbb/tbb_stddef.h
Summary: media-gfx/prusaslicer-2.3.3-r1 with dev-cpp/tbb-2021.4.0: CMake Error at cmak...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 820851
  Show dependency tree
 
Reported: 2021-10-29 23:38 UTC by Kobboi
Modified: 2022-06-14 07:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,11.81 KB, text/plain)
2021-10-29 23:39 UTC, Kobboi
Details
CMakeOutput.log (CMakeOutput.log,46.24 KB, text/plain)
2021-10-29 23:40 UTC, Kobboi
Details
CMakeError.log (CMakeError.log,1.85 KB, text/plain)
2021-10-29 23:40 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2021-10-29 23:38:50 UTC
* Package:    media-gfx/prusaslicer-2.3.3-r1
 * Repository: gentoo
 * Maintainer: 3dprint@gentoo.org
 * Upstream:   https://github.com/prusa3d/PrusaSlicer/issues
 * USE:        abi_x86_64 amd64 elibc_glibc gui kernel_linux userland_GNU
 * FEATURES:   compressdebug installsources network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/prusaslicer-2.3.3-r1/work/PrusaSlicer-version_2.3.3"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/prusaslicer-2.3.3-r1/work/prusaslicer-2.3.3_build"
 * Applying prusaslicer-2.3.0-miniz-zip-header.patch ...
 [ ok ]
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *    set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type (default Release)" 
 * 
 * Requested wxWidgets:        3.0-gtk3
 * Using wxWidgets:            gtk3-unicode-3.0-gtk3
 * 
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-gfx/prusaslicer-2.3.3-r1/work/PrusaSlicer-version_2.3.3"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-gfx/prusaslicer-2.3.3-r1/work/prusaslicer-2.3.3_build"
cmake -C /var/tmp/portage/media-gfx/prusaslicer-2.3.3-r1/work/prusaslicer-2.3.3_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DSLIC3R_BUILD_TESTS=no -DSLIC3R_FHS=ON -DSLIC3R_GTK=3 -DSLIC3R_GUI=yes -DSLIC3R_PCH=OFF -DSLIC3R_WX_STABLE=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-gfx/prusaslicer-2.3.3-r1/work/prusaslicer-2.3.3_build/gentoo_toolchain.cmake  /var/tmp/portage/media-gfx/prusaslicer-2.3.3-r1/work/PrusaSlicer-version_2.3.3
loading initial cache file /var/tmp/portage/media-gfx/prusaslicer-2.3.3-r1/work/prusaslicer-2.3.3_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SLIC3R_ASAN: OFF
-- SLIC3R_BUILD_SANDBOXES: OFF
-- SLIC3R_BUILD_TESTS: no
-- SLIC3R_FHS: ON
-- SLIC3R_GTK: 3
-- SLIC3R_GUI: yes
-- SLIC3R_MSVC_COMPILE_PARALLEL: ON
-- SLIC3R_MSVC_PDB: ON
-- SLIC3R_PCH: OFF
-- SLIC3R_PERL_XS: OFF
-- SLIC3R_PROFILE: OFF
-- SLIC3R_STATIC: OFF
-- SLIC3R_WX_STABLE: ON
-- SLIC3R_STATIC: OFF
-- CMAKE_PREFIX_PATH: (default)
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.8.0") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (DBUS) does
  not match the name of the calling package (DBus).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/modules/FindDBus.cmake:59 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:181 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found DBUS: /usr/include/dbus-1.0;/usr/lib64/dbus-1.0/include  
-- Found Boost: /usr/lib64/cmake/Boost-1.77.0/BoostConfig.cmake (found suitable version "1.77.0", minimum required is "1.64.0") found components: system filesystem thread log locale regex chrono atomic date_time 
-- Boost::boost exists
CMake Error at cmake/modules/FindTBB.cmake:198 (file):
  file failed to open for reading (No such file or directory):

    /usr/include/tbb/tbb_stddef.h
Call Stack (most recent call first):
  CMakeLists.txt:340 (find_package)


-- Found TBB: /usr/include (found version ".")  
--   TBB_FOUND               = TRUE
--   TBB_INCLUDE_DIRS        = /usr/include
--   TBB_DEFINITIONS         = 
--   TBB_LIBRARIES           = /usr/lib64/libtbb.so
--   TBB_DEFINITIONS_DEBUG   = TBB_USE_DEBUG=1
--   TBB_LIBRARIES_DEBUG     = 
--   TBB_DEFINITIONS_RELEASE = 
--   TBB_LIBRARIES_RELEASE   = /usr/lib64/libtbb.so
-- Found CURL: /usr/lib64/libcurl.so (found version "7.79.1") 
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "3.3") 
(...)

Reproducible: Always
Comment 1 Kobboi 2021-10-29 23:39:10 UTC
Portage 3.0.28 (python 3.9.7-final-0, !../../var/db/repos/kobboi-linux/profiles/kobboi/tanagra, gcc-11.2.0, glibc-2.33-r7, 5.14.14-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.14.14-gentoo-dist-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.33
KiB Mem:    98809876 total,  63883620 free
KiB Swap:   16777212 total,  15300944 free
Timestamp of repository gentoo: Fri, 29 Oct 2021 23:00:01 +0000
Head commit of repository gentoo: b1a1332c95623f7e67ce7ae20f175ccb072015c5
Timestamp of repository brother-overlay: Mon, 18 Oct 2021 19:36:44 +0000
Head commit of repository brother-overlay: 1a4084241999442052f680a0928d302837f4cf75

Timestamp of repository eclipse: Tue, 21 Sep 2021 08:06:41 +0000
Head commit of repository eclipse: 6979ae8065ea5502572c75f76b477868b8a8b3a8

Head commit of repository kobboi-linux: 4a39c02eb35e2e7ab3f2db1d703e3f936282421b

Timestamp of repository steam-overlay: Sun, 24 Oct 2021 16:36:44 +0000
Head commit of repository steam-overlay: 022a274069862bab24ce4d1a83b6372eea5b3988

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.4.2 [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r5::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.9.7_p1::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:            1.56.0-r1::gentoo
dev-util/ccache:          4.4.2::gentoo
dev-util/cmake:           3.21.4::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/sandbox:         2.28::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.5::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

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

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

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

kobboi-linux
    location: /var/db/repos/kobboi-linux
    sync-type: git
    sync-uri: https://github.com/kobboi/kobboi-linux
    masters: gentoo

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

Installed sets: @kobboi-all-packages, @kobboi-machine-tanagra
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver3 -pipe -g -ggdb3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver3 -pipe -g -ggdb3"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -march=znver3 -pipe -g -ggdb3"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver3 -pipe -g -ggdb3"
GENTOO_MIRRORS="ftp://kobboi-linux:*password*@10.8.0.1/2020.11"
INSTALL_MASK="/usr/src/debug /usr/lib/debug"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac acl acpi alsa amd64 avahi bluetooth bzip2 cairo cdda cdr cli colord crypt cups dbus dist-kernel djvu dri dts dvd dvdr eds egl emboss encode evo exif facedetect ffmpeg flac fluidsynth fortran frei0r gdbm gif glade gles gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle gui iconv icu introspection ipv6 jpeg ladspa lcms libass libglvnd libnotify libsecret libtirpc lv2 lz4 lzma lzo mad midi mng modemmanager mono mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opencv opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba screencast sdl seccomp smartcard smp spell split-usr ssl startup-notification svg sysprof systemd tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis vulkan wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2019" ALSA_CARDS="hda-intel ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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 sse4a 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" INPUT_DEVICES="keyboard mouse synaptics libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="vesa radeon nvidia intel amdgpu dummy fbdev nouveau radeonsi v4l" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 2 Kobboi 2021-10-29 23:39:40 UTC
Created attachment 747351 [details]
build.log
Comment 3 Kobboi 2021-10-29 23:40:10 UTC
Created attachment 747354 [details]
CMakeOutput.log
Comment 4 Kobboi 2021-10-29 23:40:39 UTC
Created attachment 747357 [details]
CMakeError.log
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-30 17:20:39 UTC
Various commits upstream seem to fix the use of deprecated APIs.
Comment 6 Larry the Git Cow gentoo-dev 2021-10-30 17:23:12 UTC
The bug has been referenced in the following commit(s):

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

commit cb8d14eaa546de41010e2881c940ecdecfe29532
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-30 17:21:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-30 17:23:05 +0000

    media-gfx/prusaslicer: needs deprecated TBB features, depend on older version
    
    Bug: https://bugs.gentoo.org/820785
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/prusaslicer/prusaslicer-2.3.3-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 7 Larry the Git Cow gentoo-dev 2021-10-30 17:25:13 UTC
The bug has been referenced in the following commit(s):

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

commit f69aee19459f7b7dc9a7051f4802ea3d88d80ac1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-30 17:23:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-30 17:25:05 +0000

    media-gfx/prusaslicer: add bug reference to comment
    
    Bug: https://bugs.gentoo.org/820785
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/prusaslicer/prusaslicer-2.3.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 8 Dennis Lamm gentoo-dev 2022-02-05 23:29:30 UTC
Prusaslicer 2.4.0 works with dev-cpp/tbb-2021.4.0
Comment 9 Dennis Lamm gentoo-dev 2022-02-06 10:07:01 UTC
Prusaslicer-2.3.3-r1 removed from tree and 2.4.0 only remaining version where this is fixed.