Bug 1195304

Summary: asterisk-13.1.1-1.fc23 FTBFS: linking aelparse fails with GCC 5.0
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: asteriskAssignee: Jared Smith <jsmith.fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: bazanluis20, itamar, jeff, lmadsen, rbryant
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=8842465
Whiteboard:
Fixed In Version: asterisk-13.3.2-1.fc23.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-24 12:43:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2015-02-23 15:00:34 UTC
asterisk-13.1.1-1.fc23 fails to build in F23:

g++  -o aelparse -pthread -m64 -Wl,--as-needed,--library-path=/usr/lib64 -Wl,-z,relro    aelparse.o aelbison.o pbx_ael.o hashtab.o lock.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o  -lc   -lm 
aelbison.o: In function `ast_atomic_fetchadd_int':
/builddir/build/BUILD/asterisk-13.1.1/include/asterisk/lock.h:718: multiple definition of `ast_atomic_fetchadd_int'
aelparse.o:/builddir/build/BUILD/asterisk-13.1.1/include/asterisk/lock.h:718: first defined here
[...]
collect2: error: ld returned 1 exit status
make[1]: *** [aelparse] Error 1
make: *** [utils] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.AETKTQ (%build)

Difference between working and failing build root is:

        libtool-ltdl-devel 	2.4.2-31.fc22 	> 	2.4.2-32.fc22
	libgcc 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	libstdc++ 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	libtool-ltdl 	2.4.2-31.fc22 	> 	2.4.2-32.fc22
	cpp 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	gcc 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	gcc-c++ 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	libstdc++-devel 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	libgomp 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	isl 		> 	0.14-3.fc22

Comment 1 Jeffrey C. Ollie 2015-04-01 19:50:27 UTC
13.3.0 fails to build as well:

http://koji.fedoraproject.org/koji/taskinfo?taskID=9394720

Comment 2 Jan Kurik 2015-07-15 14:30:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 3 Fedora Admin XMLRPC Client 2015-11-04 18:27:16 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora End Of Life 2016-11-24 11:28:50 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.