Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 717288

Summary: net-irc/atheme-services-7.2.10_p2 : backtrace.c: fatal error: execinfo.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: proxy-maint, sam, wadecline
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15349
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-irc:atheme-services-7.2.10_p2:20200413-070333.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-13 09:02:27 UTC
make[2]: Entering directory /var/tmp/portage/net-irc/atheme-services-7.2.10_p2/work/atheme-v7.2.10-r2/modules/contrib
CompileModule: x86_64-gentoo-linux-musl-gcc -MMD -MP -O2 -pipe -march=native -fPIC -DPIC -fPIC -DPIC -O2 -pipe -march=native   -DPREFIX=\/usr\ -DLOCALEDIR=\/usr/share/locale\ -DMODDIR=\/usr/lib/atheme\ -DSHAREDIR=\/usr/share/atheme\ -DSYSCONFDIR=\/etc/atheme-services\ -DLOGDIR=\/var/log/atheme\ -DRUNDIR=\/var/run/atheme\ -DDATADIR=\/var/lib/atheme\ -I/usr/include/libmowgli-2 -I../../include -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o backtrace.so backtrace.c -lmowgli-2 -L../../libathemecore -lathemecore -Wl,-rpath,/usr/lib
backtrace.c:4:10: fatal error: execinfo.h: No such file or directory
    4 | #include <execinfo.h>
      |          ^~~~~~~~~~~~
compilation terminated.

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

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

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

  Please see the tracker bug for details.

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


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Apr 13 05:08:11 UTC 2020
/var/db/repos/musl	Sun Apr 12 18:47:42 UTC 2020

emerge -qpvO net-irc/atheme-services
[ebuild  N    ] net-irc/atheme-services-7.2.10_p2  USE="nls pcre ssl -cracklib -largenet -ldap -perl -profile"
Comment 1 Toralf Förster gentoo-dev 2020-04-13 09:02:30 UTC
Created attachment 632588 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-13 09:02:32 UTC
Created attachment 632590 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-13 09:02:35 UTC
Created attachment 632592 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-13 09:02:38 UTC
Created attachment 632594 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-13 09:02:41 UTC
Created attachment 632596 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-13 09:02:43 UTC
Created attachment 632598 [details]
net-irc:atheme-services-7.2.10_p2:20200413-070333.log
Comment 7 Toralf Förster gentoo-dev 2020-04-13 09:02:46 UTC
Created attachment 632600 [details]
temp.tbz2
Comment 8 Wade Cline 2020-04-16 01:10:12 UTC
I created a PR for this but do not know of a way to test it out with your particular setup: https://github.com/gentoo/gentoo/pull/15349

Would you kindly confirm that the PR solves the issue for you?
Comment 9 Larry the Git Cow gentoo-dev 2020-04-17 07:36:28 UTC
The bug has been referenced in the following commit(s):

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

commit 85db1b6050f29c2904caf838136f03110b8aaa63
Author:     Wade Cline <wadecline@hotmail.com>
AuthorDate: 2020-04-15 05:26:59 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-04-17 07:35:53 +0000

    net-irc/atheme-services: Rev bump
    
    Backport part of '0f62f37d6683df42004bda2aa27e31e656f1c0b5' from
    atheme contrib modules in order to fix compilation error on musl.
    Update the ebuild to be compliant with GLEP 81.
    Use EAPI-7.
    
    Bug: https://bugs.gentoo.org/717288
    Signed-off-by: Wade Cline <wadecline@hotmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/15349
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ....ebuild => atheme-services-7.2.10_p2-r1.ebuild} | 26 +++++++++++-----------
 ...-7.2.10_p2-fix-backtrace-compat-detection.patch | 12 ++++++++++
 2 files changed, 25 insertions(+), 13 deletions(-)