glaurung version 2.2-2 failed to build on amd64 with GCC-4.6/oneiric

Bug #770866 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glaurung (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

glaurung version 2.2-2 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2451167

Details about the rebuild:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2451167/+files/buildlog_ubuntu-natty-amd64.glaurung_2.2-2_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 871 lines into the build log:

g++ -g -O2 -DNDEBUG -Wall -g -O3 -fno-exceptions -fomit-frame-pointer -fno-rtti -fstrict-aliasing -c -o mersenne.o mersenne.cpp
g++ -g -O2 -DNDEBUG -Wall -g -O3 -fno-exceptions -fomit-frame-pointer -fno-rtti -fstrict-aliasing -c -o book.o book.cpp
g++ -g -O2 -DNDEBUG -Wall -g -O3 -fno-exceptions -fomit-frame-pointer -fno-rtti -fstrict-aliasing -c -o bitbase.o bitbase.cpp
g++ -g -O2 -DNDEBUG -Wall -g -O3 -fno-exceptions -fomit-frame-pointer -fno-rtti -fstrict-aliasing -c -o san.o san.cpp
san.cpp: In function 'const string move_to_san(Position&, Move)':
san.cpp:85:18: warning: variable 'to' set but not used [-Wunused-but-set-variable]
g++ -g -O2 -DNDEBUG -Wall -g -O3 -fno-exceptions -fomit-frame-pointer -fno-rtti -fstrict-aliasing -c -o benchmark.o benchmark.cpp
g++ -Wl,-Bsymbolic-functions -lm -lpthread -o glaurung bitboard.o color.o pawns.o material.o endgame.o evaluate.o main.o misc.o move.o movegen.o history.o movepick.o search.o piece.o position.o square.o direction.o tt.o value.o uci.o ucioption.o mersenne.o book.o bitbase.o san.o benchmark.o
search.o: In function `init_threads()':
/build/buildd/glaurung-2.2/src/search.cpp:516: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [glaurung] Error 1
make[1]: Leaving directory `/build/buildd/glaurung-2.2/src'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110422-2242
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/glaurung-2.2

Related branches

Matthias Klose (doko)
Changed in glaurung (Ubuntu):
importance: Undecided → High
Changed in glaurung (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in glaurung (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glaurung - 2.2-2ubuntu1

---------------
glaurung (2.2-2ubuntu1) oneiric; urgency=low

  * src/Makefile: Reorder placement of $LDFLAGS so that libs link
    correctly with GCC 4.6. Fixes FTBFS. (LP: #770866)
 -- Daniel T Chen <email address hidden> Fri, 16 Sep 2011 15:37:11 -0400

Changed in glaurung (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.