powermanga version 0.90-dfsg-2 failed to build on amd64 with GCC-4.6/oneiric

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

Bug Description

powermanga version 0.90-dfsg-2 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2465563

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/2465563/+files/buildlog_ubuntu-natty-amd64.powermanga_0.90-dfsg-2_FAILEDTOBUILD.txt.gz

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

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPREFIX=\"/usr\" -DSCOREFILE=\"/var/games/powermanga/powermanga.hi\" -I -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wall -std=c99 -MT powermanga-gfxroutines.o -MD -MP -MF ".deps/powermanga-gfxroutines.Tpo" -c -o powermanga-gfxroutines.o `test -f 'gfxroutines.c' || echo './'`gfxroutines.c; \
 then mv -f ".deps/powermanga-gfxroutines.Tpo" ".deps/powermanga-gfxroutines.Po"; else rm -f ".deps/powermanga-gfxroutines.Tpo"; exit 1; fi
gcc -O3 -Wall -std=c99 -lm -L/usr/lib -lSDL -o powermanga powermanga-bonus.o powermanga-counter_shareware.o powermanga-congratulations.o powermanga-config_file.o powermanga-curve_phase.o powermanga-display.o powermanga-display_sdl.o powermanga-display_x11.o powermanga-electrical_shock.o powermanga-enemies.o powermanga-energy_gauge.o powermanga-explosions.o powermanga-extra_gun.o powermanga-gfx_wrapper.o powermanga-grid_phase.o powermanga-guardians.o powermanga-images.o powermanga-inits_game.o powermanga-lispreader.o powermanga-lonely_foes.o powermanga-main.o powermanga-menu.o powermanga-menu_sections.o powermanga-meteors_phase.o powermanga-movie.o powermanga-options_panel.o powermanga-powermanga.o powermanga-scalebit.o powermanga-scale2x.o powermanga-scale3x.o powermanga-sdl_mixer.o powermanga-satellite_protections.o powermanga-scrolltext.o powermanga-spaceship.o powermanga-spaceship_weapons.o powermanga-special_keys.o powermanga-sprites_string.o powermanga-shots.o powermanga-shockwave.o powermanga-script_page.o powermanga-starfield.o powermanga-text_overlay.o powermanga-texts.o powermanga-tools.o powermanga-gfxroutines.o -L -lXext -lXxf86dga -lSDL_mixer -L/usr/lib -lSDL
/usr/bin/ld: powermanga-shots.o: undefined reference to symbol 'cosf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'cosf@@GLIBC_2.2.5' is defined in DSO /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.6.1/../../../libm.so so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.6.1/../../../libm.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [powermanga] Error 1
make[3]: Leaving directory `/build/buildd/powermanga-0.90-dfsg/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/powermanga-0.90-dfsg'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/powermanga-0.90-dfsg'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110425-1706
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/powermanga-0.90-dfsg

Related branches

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

patch available in debian bug

tags: added: patch-forwarded-debian patch-forwarded-upstream
Changed in powermanga (Debian):
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package powermanga - 0.90-dfsg-2ubuntu1

---------------
powermanga (0.90-dfsg-2ubuntu1) oneiric; urgency=low

  * debian/patches/040_link_libm.diff:
    - link with needed libm (LP: #771039)
 -- Julian Taylor <email address hidden> Tue, 06 Sep 2011 15:36:13 +0200

Changed in powermanga (Ubuntu Oneiric):
status: Confirmed → Fix Released
Changed in powermanga (Debian):
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.