Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713426 - dev-libs/Ice-3.6.5-r2 : Exception.cpp: fatal error: execinfo.h: No such file or directory
Summary: dev-libs/Ice-3.6.5-r2 : Exception.cpp: fatal error: execinfo.h: No such file ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 716422 856418
  Show dependency tree
 
Reported: 2020-03-19 11:19 UTC by Toralf Förster
Modified: 2022-12-24 07:03 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.35 KB, text/plain)
2020-03-19 11:19 UTC, Toralf Förster
Details
dev-libs:Ice-3.6.4:20200319-061138.log (dev-libs:Ice-3.6.4:20200319-061138.log,5.04 KB, text/plain)
2020-03-19 11:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,132.17 KB, text/plain)
2020-03-19 11:19 UTC, Toralf Förster
Details
environment (environment,138.01 KB, text/plain)
2020-03-19 11:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.90 KB, application/x-bzip)
2020-03-19 11:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.48 KB, application/x-bzip)
2020-03-19 11:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.70 KB, application/x-bzip)
2020-03-19 11:19 UTC, Toralf Förster
Details
build.log of dev-libs/Ice-3.6.5 on amd64 (build.log,92.76 KB, text/plain)
2020-08-13 20:12 UTC, Luke Bratch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-19 11:19:20 UTC
x86_64-gentoo-linux-musl-g++ -c -I../../include   -DICE_UTIL_API_EXPORTS -I.. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG -MMD CtrlCHandler.cpp -MF .depend/CtrlCHandler.d
x86_64-gentoo-linux-musl-g++ -c -I../../include   -DICE_UTIL_API_EXPORTS -I.. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG  -fvisibility=hidden -Wall -pthread -fPIC -DNDEBUG -MMD Exception.cpp -MF .depend/Exception.d
Exception.cpp:34:12: fatal error: execinfo.h: No such file or directory
   34 | #  include <execinfo.h>
      |            ^~~~~~~~~~~~
compilation terminated.

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO dev-libs/Ice
[ebuild  N    ] dev-libs/Ice-3.6.4  USE="ncurses -debug -doc -examples -libressl -mono (-php) -python -ruby -test" PHP_TARGETS="(-php7-0)" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby24"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 11:19:23 UTC
Created attachment 622476 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 11:19:25 UTC
Created attachment 622478 [details]
dev-libs:Ice-3.6.4:20200319-061138.log
Comment 3 Toralf Förster gentoo-dev 2020-03-19 11:19:28 UTC
Created attachment 622480 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-19 11:19:32 UTC
Created attachment 622482 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-19 11:19:35 UTC
Created attachment 622484 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-19 11:19:37 UTC
Created attachment 622486 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-19 11:19:40 UTC
Created attachment 622488 [details]
temp.tbz2
Comment 8 zlg 2020-04-11 22:08:59 UTC
I've run into similar problems when compiling on arm64/glibc, though it was <iostream.h> and <exception.h> instead of <execinfo.h>.

Has something changed in the C++ ecosystem? As I understand it, the '.h' notation is long since obsolete. Perhaps a hard cut-off of backwards compatibility occurred.

No solution found yet on my end.
Comment 9 Michael 'veremitz' Everitt 2020-07-24 22:37:11 UTC
(In reply to zlg from comment #8)
> I've run into similar problems when compiling on arm64/glibc, though it was
> <iostream.h> and <exception.h> instead of <execinfo.h>.
> 
> Has something changed in the C++ ecosystem? As I understand it, the '.h'
> notation is long since obsolete. Perhaps a hard cut-off of backwards
> compatibility occurred.
> 
> No solution found yet on my end.

wrt execinfo.h check the blocker bug for hints: https://bugs.gentoo.org/716422#c0

tl;dr one solution is to explore libunwind as an alternative provider.

Not sure about the other scenarios, if you can supply a build.log perhaps we can throw you some more ideas.
Comment 10 Luke Bratch 2020-08-13 20:12:11 UTC
Created attachment 654490 [details]
build.log of dev-libs/Ice-3.6.5 on amd64

I also have the iostream.h issue, but on amd64.  Attached is the build.log.
Comment 11 Fabian Henze 2020-08-30 14:35:59 UTC
Ice 3.6.5 is also affected. Is there any workaround?
Comment 12 Agostino Sarubbo gentoo-dev 2022-01-08 21:27:43 UTC
tinderbox_musl has reproduced this issue with version 3.6.5-r2 - Updating summary.
Comment 13 Larry the Git Cow gentoo-dev 2022-12-24 07:03:11 UTC
The bug has been referenced in the following commit(s):

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

commit 99b026bffaabca8577414e0b76618d5e9bee5b42
Author:     Robert Förster <Dessa@gmake.de>
AuthorDate: 2022-12-06 17:06:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-24 06:58:18 +0000

    dev-libs/Ice: version bump
    
    Bug: https://bugs.gentoo.org/713426
    Bug: https://bugs.gentoo.org/836056
    
    Signed-off-by: Robert Förster <Dessa@gmake.de>
    Closes: https://github.com/gentoo/gentoo/pull/28569
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/Ice/Ice-3.7.8-r1.ebuild                  | 258 ++++++++++++++++++++++
 dev-libs/Ice/Ice-3.7.8-r2.ebuild                  | 258 ++++++++++++++++++++++
 dev-libs/Ice/Ice-3.7.8.ebuild                     | 258 ++++++++++++++++++++++
 dev-libs/Ice/Manifest                             |   2 +
 dev-libs/Ice/files/Ice-3.7.8-fix-musl-build.patch |  13 ++
 dev-libs/Ice/files/Ice-3.7.8-py3k11.patch         |  45 ++++
 6 files changed, 834 insertions(+)