smc version 1.9-4 failed to build in oneiric

Bug #852589 reported by Matthias Klose
This bug report is a duplicate of:  Bug #825542: Symbol generation/lookup broken. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
smc (Debian)
New
Unknown
smc (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

smc version 1.9-4 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+source/smc/1.9-4/+build/2775077

Details about the rebuild:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20110816-oneiric.html

Direct link to the build log: https://launchpad.net/ubuntu/+source/smc/1.9-4/+build/2775077/+files/buildlog_ubuntu-oneiric-i386.smc_1.9-4_FAILEDTOBUILD.txt.gz

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

video/video.cpp:1625:82: warning: statement has no effect [-Wunused-value]
video/video.cpp:1639:81: warning: statement has no effect [-Wunused-value]
g++ -Wall -Wpointer-arith -g -O2 -g -O2 -Wall -lboost_system -o smc audio.o random_sound.o sound_manager.o camera.o collision.o editor.o filesystem.o resource_manager.o file_parser.o framerate.o game_core.o i18n.o main.o vector.o utilities.o sprite_manager.o turtle_boss.o eato.o enemy.o gee.o furball.o flyon.o krush.o rokko.o spika.o spikeball.o static.o thromp.o turtle.o hud.o menu.o menu_data.o joystick.o keyboard.o mouse.o global_effect.o level_background.o level.o level_editor.o level_manager.o level_settings.o animated_sprite.o ball.o bonusbox.o box.o enemystopper.o goldpiece.o level_entry.o level_exit.o moving_platform.o movingsprite.o path.o powerup.o spinbox.o sprite.o star.o text_box.o world_layer.o overworld.o world_player.o world_waypoint.o world_editor.o world_manager.o world_sprite_manager.o player.o preferences.o savegame.o animation.o font.o gl_surface.o img_manager.o img_settings.o renderer.o video.o -lSDL_ttf -lSDL_mixer -lSDL_image -lpng -lGLU -lGL -lboost_filesystem-mt -lSDL -lCEGUIBase -lCEGUIOpenGLRenderer
/usr/bin/ld: editor.o: undefined reference to symbol 'boost::system::system_category()'
/usr/bin/ld: note: 'boost::system::system_category()' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libboost_system.so so try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib/libboost_system.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [smc] Error 1
make[3]: Leaving directory `/build/buildd/smc-1.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/smc-1.9'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/smc-1.9'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110909-1117
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/smc-1.9

Related branches

Matthias Klose (doko)
Changed in smc (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package smc - 1.9-4ubuntu1

---------------
smc (1.9-4ubuntu1) oneiric; urgency=low

  * Update 02_binutils-gold.patch to properly use LDADD. Fixes FTBFS.
    (LP: #852589)
 -- Daniel T Chen <email address hidden> Sun, 18 Sep 2011 22:03:34 -0400

Changed in smc (Ubuntu Oneiric):
status: Confirmed → Fix Released
Changed in smc (Debian):
status: Unknown → New
Revision history for this message
linuxar (linuxar) wrote :

I will mark this as a duplicate of #825542 (and, more exactly, of #876264), since it is the same basic cause: the "--no-copy-dt-needed-entries" is now automatically passed to the linker and, as such, implicit linking fails.

While not exactlya duplicate, it is strongly related. I have no fix for the time being.

If you feel that "Duplicate" is too much, please unmark it.

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.