nted version 1.10.7-1ubuntu1 failed to build on amd64 with GCC-4.6/oneiric

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

Bug Description

nted version 1.10.7-1ubuntu1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2463399

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/2463399/+files/buildlog_ubuntu-natty-amd64.nted_1.10.7-1ubuntu1_FAILEDTOBUILD.txt.gz

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

g++ -DHAVE_CONFIG_H -I. -DNTED_HTMLDIR=\"/usr/share/doc/nted\" -DNTED_DATADIR=\"/usr/share/nted\" -DLOCALEDIR=\"/usr/share/locale\" -I./dialogs -I./commands -I./chords -I./idiotseditor -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -Wall -Wwrite-strings -g -O2 -c -o pangocairotext.o pangocairotext.cpp
g++ -DHAVE_CONFIG_H -I. -DNTED_HTMLDIR=\"/usr/share/doc/nted\" -DNTED_DATADIR=\"/usr/share/nted\" -DLOCALEDIR=\"/usr/share/locale\" -I./dialogs -I./commands -I./chords -I./idiotseditor -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -Wall -Wwrite-strings -g -O2 -c -o freechordname.o freechordname.cpp
g++ -DHAVE_CONFIG_H -I. -DNTED_HTMLDIR=\"/usr/share/doc/nted\" -DNTED_DATADIR=\"/usr/share/nted\" -DLOCALEDIR=\"/usr/share/locale\" -I./dialogs -I./commands -I./chords -I./idiotseditor -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -Wall -Wwrite-strings -g -O2 -c -o midiimporter.o midiimporter.cpp
g++ -DHAVE_CONFIG_H -I. -DNTED_HTMLDIR=\"/usr/share/doc/nted\" -DNTED_DATADIR=\"/usr/share/nted\" -DLOCALEDIR=\"/usr/share/locale\" -I./dialogs -I./commands -I./chords -I./idiotseditor -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -Wall -Wwrite-strings -g -O2 -c -o midirecorder.o midirecorder.cpp
g++ -Wall -Wwrite-strings -g -O2 --as-needed -Wl,-Bsymbolic-functions -o nted mainwindow.o resource.o page.o system.o staff.o voice.o chordorrest.o note.o musicxmlimport.o beam.o tuplet.o clipboard.o midiexport.o measure.o freereplaceable.o volumesign.o temposign.o slurpoint.o slur.o linepoint.o line.o crescendo.o octavation.o line3.o acceleration.o freetext.o freesign.o importer.o positionarray.o freechord.o freespacer.o pangocairotext.o freechordname.o midiimporter.o midirecorder.o commands/libcommands.a dialogs/libdialogs.a chords/libchords.a idiotseditor/libidiotseditor.a -lcairo -pthread -L/usr/lib/x86_64-linux-gnu -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -L/usr/lib/x86_64-linux-gnu -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -L/usr/lib/x86_64-linux-gnu -lX11 -lasound
g++: error: unrecognized option '--as-needed'
make[3]: *** [nted] Error 1
make[3]: Leaving directory `/build/buildd/nted-1.10.7'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/nted-1.10.7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/nted-1.10.7'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110425-0124
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/nted-1.10.7

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

nted (1.10.18-2) unstable; urgency=low

  * Use source format 3.0 (quilt)
  * Major cleanup of debian/rules
  * Drop patch linking.generated in favor of using autoreconf during the
    configure step
  * Improve patch 'linking' to fix a FTBFS with gcc-4.6 (closes: #628259)
  * Fix new compilation warnings for gcc-4.6
  * Bump Standards-Version to 3.9.2 (no changes needed)

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