Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459552 - net-misc/asterisk-11.2.1 - Fatal error: can't create output/pjturn-srv-x86_64-unknown-linux-gnu/allocation.o: No such file or directory
Summary: net-misc/asterisk-11.2.1 - Fatal error: can't create output/pjturn-srv-x86_64...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 15:50 UTC by Kevin P. Inscoe
Modified: 2013-02-28 09:03 UTC (History)
1 user (show)

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


Attachments
emerge --info output from failing system (gentoo_bug_459552_emerge_info.txt,7.22 KB, text/plain)
2013-02-27 15:52 UTC, Kevin P. Inscoe
Details
build.log (gentoo_bug_459552_build_log.txt,73.56 KB, text/plain)
2013-02-27 15:54 UTC, Kevin P. Inscoe
Details
emerge --info from system where asterisk built fine. (file_459552.txt,6.14 KB, text/plain)
2013-02-27 17:45 UTC, RedEyedMan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin P. Inscoe 2013-02-27 15:50:30 UTC
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
Comment 1 Kevin P. Inscoe 2013-02-27 15:52:50 UTC
Created attachment 340364 [details]
emerge --info output from failing system
Comment 2 Kevin P. Inscoe 2013-02-27 15:54:14 UTC
Created attachment 340366 [details]
build.log
Comment 3 RedEyedMan 2013-02-27 17:43:33 UTC
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.
Comment 4 RedEyedMan 2013-02-27 17:45:27 UTC
Created attachment 340396 [details]
emerge --info from system where asterisk built fine.
Comment 5 RedEyedMan 2013-02-27 17:46:33 UTC
(In reply to comment #3)
> Unconfirmed. Building asterisk if fine on my system 


if == is
Comment 6 RedEyedMan 2013-02-27 17:55:31 UTC
Try to disable third-party overlays, like sunrise and repeat building.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2013-02-28 09:03:49 UTC
Do not set the -j value so ridiculously high and the build will succeed.