Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830698 - dev-cpp/tbb-2021.5.0 - /.../dynamic_link.cpp: error: RTLD_DEEPBIND was not declared in this scope
Summary: dev-cpp/tbb-2021.5.0 - /.../dynamic_link.cpp: error: RTLD_DEEPBIND was not de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-06 18:41 UTC by Toralf Förster
Modified: 2022-01-16 09:08 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.19 KB, text/plain)
2022-01-06 18:41 UTC, Toralf Förster
Details
dev-cpp:tbb-2021.5.0:20220106-181643.log (dev-cpp:tbb-2021.5.0:20220106-181643.log,27.32 KB, text/plain)
2022-01-06 18:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,91.95 KB, text/plain)
2022-01-06 18:41 UTC, Toralf Förster
Details
environment (environment,103.72 KB, text/plain)
2022-01-06 18:41 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,3.84 KB, application/x-bzip)
2022-01-06 18:41 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.92 KB, application/x-bzip)
2022-01-06 18:41 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.89 KB, application/x-bzip)
2022-01-06 18:41 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 2022-01-06 18:41:44 UTC
too long lines were shrinked:

[9/45] /usr/bin/x86_64-gentoo-linux-musl-g++ -D__TBB_BUILD -D__TBB_USE_ITT_NOTIFY -I/var/tmp/portage/dev-cpp/tbb-2021.5.0/work/oneTBB-2021.5.0/src/tbb/../../include  -pipe -march=native -fno-diagnostics-color -O2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT 
FAILED: src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o 
/usr/bin/x86_64-gentoo-linux-musl-g++ -D__TBB_BUILD -D__TBB_USE_ITT_NOTIFY -I/var/tmp/portage/dev-cpp/tbb-2021.5.0/work/oneTBB-2021.5.0/src/tbb/../../include  -pipe -march=native -fno-diagnostics-color -O2 -fPIC -flifetime-dse=1 -Wall -Wextra -Wfatal-errors -mrtm -mwaitpkg -std=c++11 -MD -MT src/tbb
/var/tmp/portage/dev-cpp/tbb-2021.5.0/work/oneTBB-2021.5.0/src/tbb/dynamic_link.cpp: In function 'int tbb::detail::r1::loading_flags(bool)':
/var/tmp/portage/dev-cpp/tbb-2021.5.0/work/oneTBB-2021.5.0/src/tbb/dynamic_link.cpp:417:29: error: 'RTLD_DEEPBIND' was not declared in this scope
  417 |             flags = flags | RTLD_DEEPBIND;
      |                             ^~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220105-210428

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.57.0 *
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit c92558b5e64ab5129b94fff4c55673b195539fbb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jan 6 17:36:50 2022 +0000

    2022-01-06 17:36:48 UTC

emerge -qpvO dev-cpp/tbb
[ebuild  N    ] dev-cpp/tbb-2021.5.0  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2022-01-06 18:41:45 UTC
Created attachment 761440 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-06 18:41:46 UTC
Created attachment 761441 [details]
dev-cpp:tbb-2021.5.0:20220106-181643.log
Comment 3 Toralf Förster gentoo-dev 2022-01-06 18:41:47 UTC
Created attachment 761442 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-01-06 18:41:49 UTC
Created attachment 761443 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-01-06 18:41:50 UTC
Created attachment 761444 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-06 18:41:50 UTC
Created attachment 761445 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-01-06 18:41:51 UTC
Created attachment 761446 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-01-16 06:45:45 UTC
The bug has been closed via the following commit(s):

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

commit f3cd6cd18b7f54edfedbd0015b28ce20b4bbcba6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-16 06:45:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-16 06:45:33 +0000

    dev-cpp/tbb: fix build on musl
    
    Closes: https://bugs.gentoo.org/830698
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/tbb/files/tbb-2021.5.0-musl-deepbind.patch | 25 ++++++++++++++++++++++
 dev-cpp/tbb/tbb-2021.5.0.ebuild                    |  1 +
 2 files changed, 26 insertions(+)
Comment 9 tt_1 2022-01-16 09:08:21 UTC
the build fix is incomplete yet, see https://bugs.gentoo.org/828704#c8 for more informations