Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829242 - sys-cluster/hpx-1.7.1-r1 - /.../dll_dlopen.hpp: error: RTLD_DI_ORIGIN was not declared in this scope
Summary: sys-cluster/hpx-1.7.1-r1 - /.../dll_dlopen.hpp: error: RTLD_DI_ORIGIN was not...
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: PullRequest
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-15 09:40 UTC by Toralf Förster
Modified: 2022-07-09 04:56 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.77 KB, text/plain)
2021-12-15 09:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,156.01 KB, text/plain)
2021-12-15 09:40 UTC, Toralf Förster
Details
environment (environment,134.41 KB, text/plain)
2021-12-15 09:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.75 KB, application/x-bzip)
2021-12-15 09:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.18 KB, application/x-bzip)
2021-12-15 09:40 UTC, Toralf Förster
Details
sys-cluster:hpx-1.7.1-r1:20211215-055033.log (sys-cluster:hpx-1.7.1-r1:20211215-055033.log,428.10 KB, text/plain)
2021-12-15 09:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.96 KB, application/x-bzip)
2021-12-15 09:40 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-12-15 09:40:47 UTC
too long lines were shrinked:

                 from /var/tmp/portage/sys-cluster/hpx-1.7.1-r1/work/hpx-1.7.1/libs/full/runtime_local/include/hpx/runtime_local/component_startup_shutdown_base.hpp:10,
                 from /var/tmp/portage/sys-cluster/hpx-1.7.1-r1/work/hpx-1.7.1/libs/full/components_base/include/hpx/components_base/component_startup_shutdown.hpp:11,
                 from /var/tmp/portage/sys-cluster/hpx-1.7.1-r1/work/hpx-1.7.1/components/performance_counters/memory/src/memory.cpp:9:
/var/tmp/portage/sys-cluster/hpx-1.7.1-r1/work/hpx-1.7.1/libs/core/plugin/include/hpx/plugin/detail/dll_dlopen.hpp: In member function 'std::string hpx::util::plugin::dll::get_directory(hpx::error_code&) const':
/var/tmp/portage/sys-cluster/hpx-1.7.1-r1/work/hpx-1.7.1/libs/core/plugin/include/hpx/plugin/detail/dll_dlopen.hpp:324:45: error: 'RTLD_DI_ORIGIN' was not declared in this scope
  324 |             if (!ec && ::dlinfo(dll_handle, RTLD_DI_ORIGIN, directory) < 0)
      |                                             ^~~~~~~~~~~~~~
[9/440] /usr/bin/x86_64-gentoo-linux-musl-g++ -DHPX_COMPONENT_EXPORTS -DHPX_COMPONENT_NAME=hpx_memory -DHPX_COMPONENT_NAME_DEFAULT=hpx_memory_component -DHPX_COMPONENT_STRING=\"hpx_memory\" -DHPX_LIBRARY_EXPORTS -D_GNU_SOURCE -Dmemory_component_EXPORTS -I/var/tmp/portage/sys-cluster/hpx-1.7.1-r1/wor
FAILED: components/performance_counters/memory/CMakeFiles/memory_component.dir/src/mem_counter_linux.cpp.o 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211213-184654

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

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:

  HEAD of ::gentoo
commit 6dc60de323eb91d7d98a45eed0fa4c92c5c5c95a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 15 04:51:36 2021 +0000

    2021-12-15 04:51:35 UTC

emerge -qpvO sys-cluster/hpx
[ebuild  N    ] sys-cluster/hpx-1.7.1-r1  USE="perftools -examples -jemalloc -mpi -papi -tbb" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-12-15 09:40:48 UTC
Created attachment 759087 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-15 09:40:49 UTC
Created attachment 759088 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-15 09:40:50 UTC
Created attachment 759089 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-15 09:40:52 UTC
Created attachment 759090 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-15 09:40:53 UTC
Created attachment 759091 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-15 09:40:57 UTC
Created attachment 759092 [details]
sys-cluster:hpx-1.7.1-r1:20211215-055033.log
Comment 7 Toralf Förster gentoo-dev 2021-12-15 09:40:58 UTC
Created attachment 759093 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-07-09 04:56:40 UTC
The bug has been closed via the following commit(s):

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

commit 5ca83cbca717c9d04ffa46f9a7fce31fe32b2d95
Author:     brahmajit das <brahmajit.xyz@gmail.com>
AuthorDate: 2022-07-09 04:40:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-09 04:56:11 +0000

    sys-cluster/hpx: Fix building on musl
    
    These patches fixes building on musl. I've tried to document the patches
    to the best of my abilities.
    
    Mainly fixes the RTLD_DI_ORIGIN not being present in musl.
    
    However with this PR [1] we won't be requiring these patches anymore
    from 1.8.1
    
    [1]: https://github.com/STEllAR-GROUP/hpx/pull/5947
    
    Closes: https://bugs.gentoo.org/829242
    
    Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/26281
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-1.8.0-fix-musl-exec_pagesize-not-defined.patch | 47 ++++++++++++++++++++++
 .../hpx/files/hpx-1.8.0-fix-musl-execinfo.patch    | 16 ++++++++
 .../hpx-1.8.0-fix-musl-rtdl-not-declared.patch     | 25 ++++++++++++
 sys-cluster/hpx/hpx-1.8.0.ebuild                   |  3 ++
 4 files changed, 91 insertions(+)