x86_64-gentoo-linux-musl-gcc -o astdb2sqlite3.o -c astdb2sqlite3.c -MD -MT astdb2sqlite3.o -MF .astdb2sqlite3.o.d -MP -pthread -I/var/tmp/portage/net-misc/asterisk-16.9.0/work/asterisk-16.9.0/include -O2 -pipe -march=native -I/usr/include/libxml2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -DSTANDALONE -O3 -fno-partial-inlining -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -O2 -pipe -march=native In file included from astdb2sqlite3.c:39: db1-ast/include/db.h:40:10: fatal error: sys/cdefs.h: No such file or directory 40 | #include <sys/cdefs.h> | ^~~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-20200328-201618 ------------------------------------------------------------------- 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 Wed Apr 15 12:38:14 UTC 2020 /var/db/repos/musl Tue Apr 14 12:39:54 UTC 2020 emerge -qpvO net-misc/asterisk [ebuild N ] net-misc/asterisk-16.9.0 USE="caps iconv samples ssl -alsa -bluetooth -calendar -cluster -curl -dahdi -debug -doc -freetds -gtalk -http -ilbc -ldap -libressl -lua -mysql -newt -odbc -osplookup -oss -pjproject -portaudio -postgres -radius (-selinux) -snmp -span -speex -srtp -static -statsd -syslog -unbound -vorbis -xmpp" VOICEMAIL_STORAGE="file -imap -odbc"
Created attachment 633088 [details] emerge-info.txt
Created attachment 633090 [details] emerge-history.txt
Created attachment 633092 [details] environment
Created attachment 633094 [details] etc.portage.tbz2
Created attachment 633096 [details] logs.tbz2
Created attachment 633098 [details] net-misc:asterisk-16.9.0:20200415-135710.log
Created attachment 633100 [details] temp.tbz2
Looks legit. I'll take it.
musl upstream has a FAQ entry specifically for this error: https://wiki.musl-libc.org/faq.html#Q:-When-compiling-something-against-musl,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E We will need to check/report upstream and patch affected code temporarily.
Proposed patch sent upstream. This is for * 13, will rebase for 16, 17 and master once approved (and verify no additional such were introduced). https://gerrit.asterisk.org/c/asterisk/+/14337
(In reply to Jaco Kroon from comment #10) > Proposed patch sent upstream. This is for * 13, will rebase for 16, 17 and > master once approved (and verify no additional such were introduced). > > https://gerrit.asterisk.org/c/asterisk/+/14337 Good stuff, thanks!
Hi, (In reply to Michael 'veremitz' Everitt from comment #11) > (In reply to Jaco Kroon from comment #10) > > Proposed patch sent upstream. This is for * 13, will rebase for 16, 17 and > > master once approved (and verify no additional such were introduced). > > > > https://gerrit.asterisk.org/c/asterisk/+/14337 > > Good stuff, thanks! Fixes merged upstream. Are we aware of anyone desperate for a fix in which case I can bump 13.33.0 and 16.10.0 to -r1 with their individual fixes, or we can wait for 13.34.0 and 16.11.0 respectively? Kind Regards, Jaco
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=379bfa21016a3a3fb671572522b0d097b89e0974 commit 379bfa21016a3a3fb671572522b0d097b89e0974 Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2020-06-17 15:43:45 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-17 17:15:19 +0000 net-misc/asterisk: 16.11.1 Closes: https://bugs.gentoo.org/show_bug.cgi?id=717602 Bug: https://bugs.gentoo.org/721470 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/16195 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-misc/asterisk/Manifest | 1 + net-misc/asterisk/asterisk-16.11.1.ebuild | 301 ++++++++++++++++++++++++++++++ 2 files changed, 302 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1697a125189ea4239385246486cfe9bd7d817eb7 commit 1697a125189ea4239385246486cfe9bd7d817eb7 Author: Jaco Kroon <jaco@uls.co.za> AuthorDate: 2020-06-17 15:39:36 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-17 17:15:18 +0000 net-misc/asterisk: Version 13.34.0 bump. Bug: https://bugs.gentoo.org/717602 Bug: https://bugs.gentoo.org/721470 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-misc/asterisk/Manifest | 1 + net-misc/asterisk/asterisk-13.34.0.ebuild | 296 ++++++++++++++++++++++++++++++ 2 files changed, 297 insertions(+)