Bug 1195331

Summary: mapserver-6.2.2-1.fc22 FTBFS: fails to link shp2img with GCC 5.0
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: mapserverAssignee: Pavel Lisý <pavel.lisy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cristian.balint, devrim, oliver, pavel.lisy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=8841996
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-20 17:28:06 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:32:42 UTC
mapserver-6.2.2-1.fc22 fails to build in F23:

/bin/sh ./libtool --mode=link --tag=CXX g++ -rpath /usr/lib64 shp2img.lo libmapserver.la -o shp2img
libtool: link: g++ .libs/shp2img.o -o .libs/shp2img  ./.libs/libmapserver.so -L/usr/lib64 -lgd -lproj -ljpeg -lpng -lgif -lgdal -lpq -lcurl -lgeos_c -lpthread -lxml2 -lfribidi -ldl -lfreetype -lz -lcairo -lpng16 -Wl,-rpath -Wl,/usr/lib64
./.libs/libmapserver.so: undefined reference to `populateRendererVTableCairoVector'
collect2: error: ld returned 1 exit status
Makefile:368: recipe for target 'shp2img' failed

Difference between working and failing build root is:

        libgcc 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	libstdc++ 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	libgfortran 	4.9.2-5.fc22 	> 	5.0.0-0.7.fc22
	libquadmath 	4.9.2-5.fc22 	> 	5.0.0-0.7.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 Devrim Gündüz 2015-03-20 17:28:06 UTC
I fixed this in rawhide.