monster-masher version 1.8.1-2 failed to build on amd64
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2462400
Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2462400/+files/buildlog_ubuntu-natty-amd64.monster-masher_1.8.1-2_FAILEDTOBUILD.txt.gz
This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1964 lines into the build log:
then mv -f ".deps/splat-helpers.Tpo" ".deps/splat-helpers.Po"; else rm -f ".deps/splat-helpers.Tpo"; exit 1; fi
if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DMONSTER_MASHER_GLADE_DIR=\""/usr/share/monster-masher/glade/"\" -DMONSTER_MASHER_PIXMAP_DIR=\""/usr/share/monster-masher/pixmaps/"\" -DMONSTER_MASHER_SOUND_DIR=\""/usr/share/monster-masher/sounds/"\" -DGNOMEICONDIR=\""/usr/share/pixmaps"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -g -O2 -pthread -DORBIT2=1 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gio-unix-2.0/ -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gconfmm-2.6 -I/usr/lib/gconfmm-2.6/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libgnomecanvasmm-2.6 -I/usr/lib/libgnomecanvasmm-2.6/include -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -Wall -O3 -Wall -g -O3 -MT thing.o -MD -MP -MF ".deps/thing.Tpo" -c -o thing.o thing.cpp; \
then mv -f ".deps/thing.Tpo" ".deps/thing.Po"; else rm -f ".deps/thing.Tpo"; exit 1; fi
x86_64-linux-gnu-g++ -g -O2 -pthread -DORBIT2=1 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gio-unix-2.0/ -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gconfmm-2.6 -I/usr/lib/gconfmm-2.6/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libgnomecanvasmm-2.6 -I/usr/lib/libgnomecanvasmm-2.6/include -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -Wall -O3 -Wall -g -O3 -Wl,-z,defs,-lesd -o monster-masher animation.o arena.o canvas-message.o canvas.o center-menu.o fading-decoration.o footsteps.o game.o graphic.o helpers.o hero.o image-cache.o intro.o main-window.o main.o monsters.o movement.o new-game-window.o obstacles.o persistent.o pixbuf-drawing.o player.o preferences-window.o sound.o splat-helpers.o thing.o -pthread -L/usr/lib/x86_64-linux-gnu -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lgconfmm-2.6 -lgconf-2 -lgnomecanvasmm-2.6 -lgnomecanvas-2 -lart_lgpl_2 -lglademm-2.4 -lgtkmm-2.4 -lglade-2.0 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lxml2 -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
sound.o: In function `Sound::play(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/build/buildd/monster-masher-1.8.1/src/sound.cpp:54: undefined reference to `esd_sample_play'
collect2: ld returned 1 exit status
make[3]: *** [monster-masher] Error 1
make[3]: Leaving directory `/build/buildd/monster-masher-1.8.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/monster-masher-1.8.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/monster-masher-1.8.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110419-0111
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/monster-masher-1.8.1
libesd0-dev is listed as dependency in debian/control and installed correctly under pbuilder. "esd_sample_play" is defined by esd.h, which is installed by libesd0-dev. Technically, this should build correctly.
Commenting out line 54, it builds correctly under pbuilder for amd64 in oneiric, so the fault definitely lies at the "esd_sample_play" call.
Maybe it should be removed and replaced by OpenAL?