Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829345 - games-strategy/augustus-3.0.1 - /.../backtrace.c: fatal error: execinfo.h: No such file or directory
Summary: games-strategy/augustus-3.0.1 - /.../backtrace.c: 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-16 15:33 UTC by Toralf Förster
Modified: 2022-07-18 18:39 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.71 KB, text/plain)
2021-12-16 15:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.95 KB, text/plain)
2021-12-16 15:33 UTC, Toralf Förster
Details
environment (environment,94.57 KB, text/plain)
2021-12-16 15:33 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.11 KB, application/x-bzip)
2021-12-16 15:33 UTC, Toralf Förster
Details
games-strategy:augustus-3.0.1:20211216-130236.log (games-strategy:augustus-3.0.1:20211216-130236.log,205.88 KB, text/plain)
2021-12-16 15:33 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.14 KB, application/x-bzip)
2021-12-16 15:33 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.63 KB, application/x-bzip)
2021-12-16 15:33 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-16 15:33:27 UTC
too long lines were shrinked:

[350/379] /usr/bin/x86_64-gentoo-linux-musl-gcc  -I/usr/include/SDL2 -I/var/tmp/portage/games-strategy/augustus-3.0.1/work/augustus-3.0.1/ext -I/var/tmp/portage/games-strategy/augustus-3.0.1/work/augustus-3.0.1/src  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Werror=implicit-function-decla
[351/379] /usr/bin/x86_64-gentoo-linux-musl-gcc  -I/usr/include/SDL2 -I/var/tmp/portage/games-strategy/augustus-3.0.1/work/augustus-3.0.1/ext -I/var/tmp/portage/games-strategy/augustus-3.0.1/work/augustus-3.0.1/src  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Werror=implicit-function-decla
FAILED: CMakeFiles/augustus.dir/src/core/backtrace.c.o 
/usr/bin/x86_64-gentoo-linux-musl-gcc  -I/usr/include/SDL2 -I/var/tmp/portage/games-strategy/augustus-3.0.1/work/augustus-3.0.1/ext -I/var/tmp/portage/games-strategy/augustus-3.0.1/work/augustus-3.0.1/src  -pipe -march=native -fno-diagnostics-color -O2 -Wall -Werror=implicit-function-declaration -st
/var/tmp/portage/games-strategy/augustus-3.0.1/work/augustus-3.0.1/src/core/backtrace.c:7:10: fatal error: execinfo.h: No such file or directory
    7 | #include <execinfo.h>
      |          ^~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
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 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 e6fa70c396b709b8315d34f899e350ed0083c778
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 16 10:36:50 2021 +0000

    2021-12-16 10:36:48 UTC

emerge -qpvO games-strategy/augustus
[ebuild  N    ] games-strategy/augustus-3.0.1  USE="-uncapped"
Comment 1 Toralf Förster gentoo-dev 2021-12-16 15:33:28 UTC
Created attachment 759325 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-16 15:33:29 UTC
Created attachment 759326 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-16 15:33:31 UTC
Created attachment 759327 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-16 15:33:32 UTC
Created attachment 759328 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-16 15:33:33 UTC
Created attachment 759329 [details]
games-strategy:augustus-3.0.1:20211216-130236.log
Comment 6 Toralf Förster gentoo-dev 2021-12-16 15:33:34 UTC
Created attachment 759330 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-16 15:33:35 UTC
Created attachment 759331 [details]
temp.tar.bz2
Comment 9 listout 2022-07-11 14:29:27 UTC
(In reply to Sam James from comment #8)
> Renamed in
> https://github.com/Keriew/augustus/commit/
> 63741c33dccf610aaf6f23898da5d018ac60d8b1 but still exists, it seems.
> 
> I think we can just add a glibc requirement here:
> https://github.com/Keriew/augustus/commit/
> 63741c33dccf610aaf6f23898da5d018ac60d8b1#diff-
> 717ecf2c221569be99bf6f5bcda4b5afc7a943598ff6ec8ba40e5c330b183443R8.

This PR [1] should it fixed it.

[1]: https://github.com/gentoo/gentoo/pull/26348
Comment 10 Larry the Git Cow gentoo-dev 2022-07-15 01:47:17 UTC
The bug has been closed via the following commit(s):

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

commit 8863de222bd7127665fa27b8814c99a8e6464c90
Author:     brahmajit das <brahmajit.xyz@gmail.com>
AuthorDate: 2022-07-11 11:09:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 01:35:10 +0000

    games-strategy/augustus: Fix build on musl
    
    musl doesn't provide execinfo.h, so include it only on glibc systems
    
    Closes: https://bugs.gentoo.org/829345
    
    Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/26344
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/augustus/augustus-3.0.1.ebuild               |  1 +
 .../augustus/files/augustus-3.0.1-musl-fix-execinfo.patch   | 13 +++++++++++++
 2 files changed, 14 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2022-07-18 18:39:43 UTC
The bug has been closed via the following commit(s):

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

commit 3e173f2ec58049876cd16fe25714747932eed092
Author:     brahmajit das <brahmajit.xyz@gmail.com>
AuthorDate: 2022-07-11 14:24:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-18 18:39:36 +0000

    games-strategy/augustus: Fix build on musl
    
    musl doesn't provide execinfo.h, so include it only on glibc systems
    
    Closes: https://bugs.gentoo.org/829345
    
    Signed-off-by: brahmajit das <listout@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/26348
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/augustus/augustus-3.1.0.ebuild                |  1 +
 .../augustus/files/augustus-3.1.0-musl-fix-execinfo.patch    | 12 ++++++++++++
 2 files changed, 13 insertions(+)