Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829151 - sci-physics/geant-4.11.0.0 - /.../G4Backtrace.hh: fatal error: execinfo.h: No such file or directory
Summary: sci-physics/geant-4.11.0.0 - /.../G4Backtrace.hh: fatal error: execinfo.h: No...
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 856418
  Show dependency tree
 
Reported: 2021-12-14 10:09 UTC by Toralf Förster
Modified: 2022-09-14 14:55 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.78 KB, text/plain)
2021-12-14 10:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,44.62 KB, text/plain)
2021-12-14 10:09 UTC, Toralf Förster
Details
environment (environment,91.76 KB, text/plain)
2021-12-14 10:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,4.70 KB, application/x-bzip)
2021-12-14 10:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,28.11 KB, application/x-bzip)
2021-12-14 10:09 UTC, Toralf Förster
Details
sci-physics:geant-4.11.0_beta1-r2:20211214-020729.log.bz2 (sci-physics:geant-4.11.0_beta1-r2:20211214-020729.log.bz2,12.77 KB, application/x-bzip)
2021-12-14 10:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.14 KB, application/x-bzip)
2021-12-14 10:09 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-14 10:09:15 UTC
too long lines were shrinked:

/usr/bin/x86_64-gentoo-linux-musl-g++ -DG4BT_DEBUG -DG4LIB_BUILD_DLL -DG4RUN_ALLOC_EXPORT -DG4run_EXPORTS -I/var/tmp/portage/sci-physics/geant-4.11.0_beta1-r2/work/geant4.11.00.b01/source/run/include -I/var/tmp/portage/sci-physics/geant-4.11.0_beta1-r2/work/geant4.11.00.b01/source/digits_hits/detect
In file included from /var/tmp/portage/sci-physics/geant-4.11.0_beta1-r2/work/geant4.11.00.b01/source/global/management/include/G4ThreadLocalSingleton.hh:100,
                 from /var/tmp/portage/sci-physics/geant-4.11.0_beta1-r2/work/geant4.11.00.b01/source/run/include/G4PhysicsListHelper.hh:46,
                 from /var/tmp/portage/sci-physics/geant-4.11.0_beta1-r2/work/geant4.11.00.b01/source/run/src/G4PhysicsListHelper.cc:34:
/var/tmp/portage/sci-physics/geant-4.11.0_beta1-r2/work/geant4.11.00.b01/source/global/management/include/G4Backtrace.hh:90:12: fatal error: execinfo.h: No such file or directory
   90 | #  include <execinfo.h>
      |            ^~~~~~~~~~~~
compilation terminated.
[156/2964] /usr/bin/x86_64-gentoo-linux-musl-g++ -DG4BT_DEBUG -DG4LIB_BUILD_DLL -DG4RUN_ALLOC_EXPORT -DG4run_EXPORTS -I/var/tmp/portage/sci-physics/geant-4.11.0_beta1-r2/work/geant4.11.00.b01/source/run/include -I/var/tmp/portage/sci-physics/geant-4.11.0_beta1-r2/work/geant4.11.00.b01/source/digits_

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

  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 4bec2adc9ca1c54e06245a571dd180a590921b64
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 14 01:35:00 2021 +0000

    2021-12-14 01:34:59 UTC

emerge -qpvO sci-physics/geant
[ebuild  N    ] sci-physics/geant-4.11.0_beta1-r2  USE="c++17 data -c++20 -dawn -doc -examples -freetype -gdml -geant3 -hdf5 -inventor -motif -opengl -qt5 -raytracerx -static-libs -threads -vrml"
Comment 1 Toralf Förster gentoo-dev 2021-12-14 10:09:16 UTC
Created attachment 758875 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-14 10:09:18 UTC
Created attachment 758876 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-14 10:09:19 UTC
Created attachment 758877 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-14 10:09:21 UTC
Created attachment 758878 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-14 10:09:22 UTC
Created attachment 758879 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-14 10:09:23 UTC
Created attachment 758880 [details]
sci-physics:geant-4.11.0_beta1-r2:20211214-020729.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-14 10:09:24 UTC
Created attachment 758881 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-07 08:23:50 UTC
tinderbox_musl has reproduced this issue with version 4.11.0.0 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2022-09-14 14:55:39 UTC
The bug has been closed via the following commit(s):

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

commit 144edbafdebe29ac1d2d3edede2385364d740ea6
Author:     listout <listout@protonmail.com>
AuthorDate: 2022-09-13 10:20:17 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2022-09-14 14:54:52 +0000

    sci-physics/geant: Fix building on musl, avoid execinfo.h
    
    Avoid including execinfo.h and calling backtrace function on system that
    don't provide the header.
    
    Closes: https://bugs.gentoo.org/829151
    Closes: https://github.com/gentoo/gentoo/pull/26313
    Signed-off-by: brahmajit das <listout@protonmail.com>
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 .../files/geant-4.11.0.2-musl-avoid-execinfo.patch | 100 +++++++++++++++++++++
 sci-physics/geant/geant-4.11.0.2-r1.ebuild         |   4 +
 2 files changed, 104 insertions(+)