Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820827 - sci-physics/bullet-3.17-r1 - /.../btThreads.cpp: fatal error: tbb/task_scheduler_init.h: No such file or directory
Summary: sci-physics/bullet-3.17-r1 - /.../btThreads.cpp: fatal error: tbb/task_schedu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL: https://github.com/bulletphysics/bull...
Whiteboard:
Keywords:
Depends on:
Blocks: 820851
  Show dependency tree
 
Reported: 2021-10-30 08:21 UTC by Toralf Förster
Modified: 2022-07-10 22:07 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.16 KB, text/plain)
2021-10-30 08:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,386.06 KB, text/plain)
2021-10-30 08:21 UTC, Toralf Förster
Details
environment (environment,92.56 KB, text/plain)
2021-10-30 08:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.64 KB, application/x-bzip)
2021-10-30 08:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.06 KB, application/x-bzip)
2021-10-30 08:21 UTC, Toralf Förster
Details
sci-physics:bullet-3.17-r1:20211030-055832.log (sci-physics:bullet-3.17-r1:20211030-055832.log,420.80 KB, text/plain)
2021-10-30 08:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.62 KB, application/x-bzip)
2021-10-30 08:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-10-30 08:21:17 UTC
/var/tmp/portage/sci-physics/bullet-3.17-r1/work/bullet3-3.17/src/LinearMath/btThreads.cpp:39:10: fatal error: tbb/task_scheduler_init.h: No such file or directory
   39 | #include <tbb/task_scheduler_init.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[215/244] /usr/bin/x86_64-pc-linux-gnu-g++ -DBT_THREADSAFE=1 -DBT_USE_DOUBLE_PRECISION -DBT_USE_EGL -DBT_USE_OPENMP=1 -DBT_USE_TBB=1 -DLinearMath_EXPORTS -DNO_OPENGL3 -I"/var/tmp/portage/sci-physics/bullet-3.17-r1/work/bullet3-3.17/not found" -I/var/tmp/portage/sci-physics/bullet-3.17-r1/work/bullet3-3.17/src  -pipe -march=native -fno-diagnostics-color -O2 -std=c++11 -fopenmp -fPIC -MD -MT src/LinearMath/CMakeFiles/LinearMath.dir/btConvexHullComputer.o -MF src/LinearMath/CMakeFiles/LinearMath.dir/btConvexHullComputer.o.d -o src/LinearMath/CMakeFiles/LinearMath.dir/btConvexHullComputer.o -c /var/tmp/portage/sci-physics/bullet-3.17-r1/work/bullet3-3.17/src/LinearMath/btConvexHullComputer.cpp

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20211024-114553

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4 *
  [3]   php8.0

  HEAD of ::gentoo
commit 0044f020d0f5ccd04802d8df7bffd3cc2be0a613
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Oct 30 04:06:31 2021 +0000

    2021-10-30 04:06:30 UTC

emerge -qpvO sci-physics/bullet
[ebuild     U ] sci-physics/bullet-3.17-r1 [3.17] USE="double-precision openmp tbb threads -doc -examples -extras -test"
Comment 1 Toralf Förster gentoo-dev 2021-10-30 08:21:18 UTC
Created attachment 747429 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-30 08:21:19 UTC
Created attachment 747432 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-10-30 08:21:21 UTC
Created attachment 747435 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-10-30 08:21:22 UTC
Created attachment 747438 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-10-30 08:21:23 UTC
Created attachment 747441 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-10-30 08:21:25 UTC
Created attachment 747444 [details]
sci-physics:bullet-3.17-r1:20211030-055832.log
Comment 7 Toralf Förster gentoo-dev 2021-10-30 08:21:26 UTC
Created attachment 747447 [details]
temp.tar.bz2
Comment 8 Guilherme Amadio gentoo-dev 2021-10-30 16:48:45 UTC
Looks like it doesn't like the new version of tbb, which was added recently to the tree. I was holding on that because I knew many packages still don't support newer versions. I think it's probably a good idea to restrict the version of tbb in all current packages' dependencies to the previously available version until they are tested to work with the new CMake-based tbb versions (i.e. 2021.4 and later).
Comment 9 Larry the Git Cow gentoo-dev 2021-10-30 17:18:51 UTC
The bug has been referenced in the following commit(s):

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

commit c3efa1afcfac62755b31abde56aa8741f69163d0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-30 17:18:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-30 17:18:35 +0000

    sci-physics/bullet: needs deprecated TBB features, depend on older version
    
    Bug: https://bugs.gentoo.org/820827
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-physics/bullet/bullet-3.07-r1.ebuild | 2 +-
 sci-physics/bullet/bullet-3.08-r1.ebuild | 2 +-
 sci-physics/bullet/bullet-3.17-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-22 00:57:19 UTC
Before upstream rather abruptly removed their bug tracker, they said in a bug that I filed that they'll likely remove the TBB functionality unless someone ports it to newer TBB.
Comment 11 Larry the Git Cow gentoo-dev 2022-07-10 22:07:23 UTC
The bug has been closed via the following commit(s):

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

commit 452dffa81d9041d1bcb150cc26ef221be54831bd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-10 22:07:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-10 22:07:14 +0000

    profiles/base: mask sci-physics/bullet[tbb]
    
    Closes: https://bugs.gentoo.org/820827
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)