emerge =net-misc/asterisk-11.2.1 results in failure to compile net-misc/asterisk-11.2.1 net-misc/asterisk-11.2.1 builds fails on AMD64 arch with the following errors from build.log a - output/pjnath-x86_64-unknown-linux-gnu/stun_sock.o a - output/pjnath-x86_64-unknown-linux-gnu/stun_transaction.o a - output/pjnath-x86_64-unknown-linux-gnu/turn_session.o a - output/pjnath-x86_64-unknown-linux-gnu/turn_sock.o Assembler messages: Fatal error: can't create output/pjturn-srv-x86_64-unknown-linux-gnu/allocation.o: No such file or directory ../src/pjturn-srv/allocation.c: In function 'send_allocate_response': ../src/pjturn-srv/allocation.c:218:1: warning: label 'TODO___ADD_RESERVATION_TOKEN' defined but not used [-Wunused-label] ../src/pjturn-srv/allocation.c: In function 'stun_on_rx_request': ../src/pjturn-srv/allocation.c:1169:26: warning: variable 'bandwidth' set but not used [-Wunused-but-set-variable] make[5]: *** [output/pjturn-srv-x86_64-unknown-linux-gnu/allocation.o] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [pjturn-srv] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge -v =net-misc/asterisk-11.2.1 2. 3. Actual Results: Build fails build.log is located at http://web1.kevininscoe.com/asterisk-11.2.1.build.log.txt Expected Results: Compile completely and install into system. Attached build.log and emerge --info
Created attachment 340364 [details] emerge --info output from failing system
Created attachment 340366 [details] build.log
Unconfirmed. Building asterisk if fine on my system Calculating dependencies... done! [ebuild N ~] net-misc/asterisk-11.2.1 USE="alsa bluetooth caps curl iconv ldap mysql samples snmp vorbis -calendar -cluster -dahdi -debug -doc -freetds -gtalk -http -ilbc -jabber -libedit -lua -newt -odbc -osplookup -oss -portaudio -postgres -radius (-selinux) -span -speex -srtp -static -syslog" VOICEMAIL_STORAGE="file -imap -odbc" 0 kB [ebuild N ] net-misc/asterisk-extra-sounds-1.4.11 USE="gsm -alaw -g722 -g729 -siren14 -siren7 -sln16 -ulaw -wav" LINGUAS="-fr" 0 kB [ebuild N ] net-misc/asterisk-moh-opsound-2.03 USE="gsm -alaw -g722 -g729 -siren14 -siren7 -sln16 -ulaw -wav" 0 kB [ebuild N ] net-misc/asterisk-core-sounds-1.4.22 USE="-alaw -g722 -g729 -siren14 -siren7 -sln16 -ulaw -wav" LINGUAS="ru -es -fr" 0 kB Total: 4 packages (4 new), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 4) net-misc/asterisk-11.2.1 >>> Installing (1 of 4) net-misc/asterisk-11.2.1 >>> Emerging (2 of 4) net-misc/asterisk-extra-sounds-1.4.11 >>> Installing (2 of 4) net-misc/asterisk-extra-sounds-1.4.11 >>> Emerging (3 of 4) net-misc/asterisk-moh-opsound-2.03 >>> Installing (3 of 4) net-misc/asterisk-moh-opsound-2.03 >>> Emerging (4 of 4) net-misc/asterisk-core-sounds-1.4.22 >>> Installing (4 of 4) net-misc/asterisk-core-sounds-1.4.22 >>> Jobs: 4 of 4 complete Load avg: 1.96, 1.60, 0.79 * Messages for package net-misc/asterisk-11.2.1: * SIP (NAT) connection tracking is enabled. Some users * have reported that this module dropped critical SIP packets in their deployments. You * may want to disable it if you see such problems. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * If you want to know more about asterisk, visit these sites: * http://www.asteriskdocs.org/ * http://www.voip-info.org/wiki-Asterisk * http://www.automated.it/guidetoasterisk.htm * Gentoo VoIP IRC Channel: * #gentoo-voip @ irc.freenode.net * Please read the Asterisk 11 upgrade document: * https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items.
Created attachment 340396 [details] emerge --info from system where asterisk built fine.
(In reply to comment #3) > Unconfirmed. Building asterisk if fine on my system if == is
Try to disable third-party overlays, like sunrise and repeat building.
Do not set the -j value so ridiculously high and the build will succeed.