Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716870 - net-misc/asterisk-13.32.0-r1: econf failed: configure: *** The CAP installation appears to be missing or broken
Summary: net-misc/asterisk-13.32.0-r1: econf failed: configure: *** The CAP installati...
Status: CONFIRMED
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:
: 713146 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-10 07:47 UTC by Toralf Förster
Modified: 2021-06-30 19:21 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.30 KB, text/plain)
2020-04-10 07:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,415.97 KB, text/plain)
2020-04-10 07:47 UTC, Toralf Förster
Details
environment (environment,101.86 KB, text/plain)
2020-04-10 07:47 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.14 KB, application/x-bzip)
2020-04-10 07:47 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,38.62 KB, application/x-bzip)
2020-04-10 07:47 UTC, Toralf Förster
Details
net-misc:asterisk-13.32.0-r1:20200409-205047.log (net-misc:asterisk-13.32.0-r1:20200409-205047.log,31.52 KB, text/plain)
2020-04-10 07:47 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.75 KB, application/x-bzip)
2020-04-10 07:47 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 2020-04-10 07:47:27 UTC
 * ERROR: net-misc/asterisk-13.32.0-r1::gentoo failed (configure phase):
 *   econf failed
 * 

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

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

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

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.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	Thu Apr  9 19:12:07 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO net-misc/asterisk
[ebuild  N    ] net-misc/asterisk-13.32.0-r1  USE="caps iconv samples ssl -alsa -bluetooth -calendar -cluster -curl -dahdi -debug -doc -freetds -gtalk -http -ilbc -ldap -libedit -libressl -lua -mysql -newt -odbc -osplookup -oss -pjproject -portaudio -postgres -radius (-selinux) -snmp -span -speex -srtp -static -statsd -syslog -vorbis -xmpp" VOICEMAIL_STORAGE="file -imap -odbc"
Comment 1 Toralf Förster gentoo-dev 2020-04-10 07:47:31 UTC
Created attachment 631700 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-10 07:47:34 UTC
Created attachment 631702 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-10 07:47:37 UTC
Created attachment 631704 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-10 07:47:40 UTC
Created attachment 631706 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-10 07:47:43 UTC
Created attachment 631708 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-10 07:47:46 UTC
Created attachment 631710 [details]
net-misc:asterisk-13.32.0-r1:20200409-205047.log
Comment 7 Toralf Förster gentoo-dev 2020-04-10 07:47:49 UTC
Created attachment 631712 [details]
temp.tbz2
Comment 8 Jaco Kroon 2020-04-14 19:21:45 UTC
*** Bug 713146 has been marked as a duplicate of this bug. ***
Comment 9 Michael 'veremitz' Everitt 2021-06-30 19:21:22 UTC
Needs a patch similar to https://git.alpinelinux.org/aports/tree/main/asterisk/musl-libcap.patch?id=6c73adbe1eadb7caf44971bb4b12ec0e61e596f7 applying; (this is for 13.11 vis https://git.alpinelinux.org/aports/commit/main/asterisk?id=e1c1f94f5d5e017ee7a4d246a5da54194ae42d68 ) .
Gentoo applies a patch for uclibc in it's patchset which affects the Makefile section (but can be adapted to apply for linux-musl also).

This then generates an error about missing cdefs.h (not present in musl).
This issue seems to prevail up to 16.x if https://www.gitmemory.com/issue/openwrt/telephony/565/753239548 is to believed.