Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829246 - games-strategy/julius-1.6.0 - /.../backtrace.c: fatal error: execinfo.h: No such file or directory
Summary: games-strategy/julius-1.6.0 - /.../backtrace.c: fatal error: execinfo.h: No s...
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-15 09:43 UTC by Toralf Förster
Modified: 2022-07-15 01:26 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.88 KB, text/plain)
2021-12-15 09:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,163.04 KB, text/plain)
2021-12-15 09:43 UTC, Toralf Förster
Details
environment (environment,94.97 KB, text/plain)
2021-12-15 09:43 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.80 KB, application/x-bzip)
2021-12-15 09:43 UTC, Toralf Förster
Details
games-strategy:julius-1.6.0:20211215-082920.log (games-strategy:julius-1.6.0:20211215-082920.log,143.80 KB, text/plain)
2021-12-15 09:43 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.13 KB, application/x-bzip)
2021-12-15 09:43 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.58 KB, application/x-bzip)
2021-12-15 09:43 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:43:38 UTC
too long lines were shrinked:

[186/574] /usr/bin/x86_64-gentoo-linux-musl-gcc  -I/usr/include/SDL2 -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/ext -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/src -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/test/.  -Werror=incompatible
[187/574] /usr/bin/x86_64-gentoo-linux-musl-gcc  -I/usr/include/SDL2 -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/ext -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/src -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/test/.  -Werror=incompatible
FAILED: test/CMakeFiles/autopilot.dir/__/src/core/backtrace.c.o 
/usr/bin/x86_64-gentoo-linux-musl-gcc  -I/usr/include/SDL2 -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/ext -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/src -I/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/test/.  -Werror=incompatible-pointer-t
/var/tmp/portage/games-strategy/julius-1.6.0/work/julius-1.6.0/src/core/backtrace.c:7:10: fatal error: execinfo.h: No such file or directory
    7 | #include <execinfo.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[188/574] : && /usr/bin/x86_64-gentoo-linux-musl-gcc -Werror=incompatible-pointer-types -Werror=int-conversion -Wstrict-prototypes -pipe -march=native -fno-diagnostics-color -O2 -Wall -Werror=implicit-function-declaration --coverage -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 --c

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

  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 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

php cli:

  HEAD of ::gentoo
commit 6dd8b735ba14f8d83e08e027651bf0e7caa8bc5f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 15 08:06:57 2021 +0000

    2021-12-15 08:06:56 UTC

emerge -qpvO games-strategy/julius
[ebuild  N    ] games-strategy/julius-1.6.0
Comment 1 Toralf Förster gentoo-dev 2021-12-15 09:43:39 UTC
Created attachment 759107 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-15 09:43:40 UTC
Created attachment 759108 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-15 09:43:42 UTC
Created attachment 759109 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-15 09:43:43 UTC
Created attachment 759110 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-15 09:43:45 UTC
Created attachment 759111 [details]
games-strategy:julius-1.6.0:20211215-082920.log
Comment 6 Toralf Förster gentoo-dev 2021-12-15 09:43:46 UTC
Created attachment 759112 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-15 09:43:47 UTC
Created attachment 759113 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-23 07:50:30 UTC
See https://bugs.gentoo.org/829345#c8.
Comment 9 Larry the Git Cow gentoo-dev 2022-07-15 01:26:22 UTC
The bug has been closed via the following commit(s):

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

commit b5bc12613a5c80d15642ffaa13f421330674fff3
Author:     brahmajit das <brahmajit.xyz@gmail.com>
AuthorDate: 2022-07-11 15:42:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 01:24:17 +0000

    games-strategy/julius: Fix building on musl
    
    execinfo is not available on musl, hence only include that header on
    GLIBC systems
    
    Closes: https://bugs.gentoo.org/829246
    
    Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/26349
    Signed-off-by: Sam James <sam@gentoo.org>

 .../julius/files/julius-1.6.0-musl-fix-execinfo.patch      | 14 ++++++++++++++
 games-strategy/julius/julius-1.6.0.ebuild                  |  1 +
 2 files changed, 15 insertions(+)