hydrogen version 0.9.5-2 failed to build on i386

Bug #803182 reported by Stefano Rivera on 2011-06-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hydrogen (Debian)
Fix Released
Unknown
hydrogen (Ubuntu)
Medium
Julian Taylor

Bug Description

hydrogen version 0.9.5-2 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+source/hydrogen/0.9.5-2/+build/2515578

Direct link to the build log: https://launchpad.net/ubuntu/+source/hydrogen/0.9.5-2/+build/2515578/+files/buildlog_ubuntu-oneiric-i386.hydrogen_0.9.5-2_FAILEDTOBUILD.txt.gz

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

g++ -o libs/hydrogen/src/playlist.o -c -O3 -fomit-frame-pointer -funroll-loops -g -O2 -g -O2 -Wall -DOSS_SUPPORT -DALSA_SUPPORT -DJACK_SUPPORT -DLRDF_SUPPORT -DPORTAUDIO_SUPPORT -DPORTMIDI_SUPPORT -DLADSPA_SUPPORT -DLIBARCHIVE_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SHARED -I. -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml libs/hydrogen/src/playlist.cpp
libs/hydrogen/src/playlist.cpp: In member function 'void Playlist::execScript(int)':
libs/hydrogen/src/playlist.cpp:238:6: warning: unused variable 'ret' [-Wunused-variable]
g++ -o version.o -c -O3 -fomit-frame-pointer -funroll-loops -g -O2 -g -O2 -Wall -DOSS_SUPPORT -DALSA_SUPPORT -DJACK_SUPPORT -DLRDF_SUPPORT -DPORTAUDIO_SUPPORT -DPORTMIDI_SUPPORT -DLADSPA_SUPPORT -DLIBARCHIVE_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SHARED -I. -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml version.cpp
ar rc libhydrogen.a libs/hydrogen/src/audio_engine.o libs/hydrogen/src/IO/alsa_audio_driver.o libs/hydrogen/src/IO/transport_info.o libs/hydrogen/src/local_file_mgr.o libs/hydrogen/src/note.o libs/hydrogen/src/fx/effects.o libs/hydrogen/src/IO/portaudio_driver.o libs/hydrogen/src/midiMap.o libs/hydrogen/src/preferences.o libs/hydrogen/src/hydrogen.o libs/hydrogen/src/timehelper.o libs/hydrogen/src/smf/smf.o libs/hydrogen/src/IO/coremidi_driver.o libs/hydrogen/src/IO/coreaudio_driver.o libs/hydrogen/src/smf/smf_event.o libs/hydrogen/src/IO/midi_output.o libs/hydrogen/src/IO/alsa_midi_driver.o libs/hydrogen/src/data_path.o libs/hydrogen/src/instrument.o libs/hydrogen/src/IO/disk_writer_driver.o libs/hydrogen/src/action.o libs/hydrogen/src/IO/portmidi_driver.o libs/hydrogen/src/sampler/sampler.o libs/hydrogen/src/IO/midi_input.o libs/hydrogen/src/sample.o libs/hydrogen/src/object.o libs/hydrogen/src/sound_library.o libs/hydrogen/src/util.o libs/hydrogen/src/IO/oss_driver.o libs/hydrogen/src/IO/jack_output.o libs/hydrogen/src/pattern.o libs/hydrogen/src/synth/synth.o libs/hydrogen/src/IO/null_driver.o libs/hydrogen/src/event_queue.o libs/hydrogen/src/IO/fake_driver.o libs/hydrogen/src/lash/LashClient.o libs/hydrogen/src/fx/ladspa_fx.o libs/hydrogen/src/adsr.o libs/hydrogen/src/song.o libs/hydrogen/src/playlist.o version.o
ranlib libhydrogen.a
g++ -o hydrogen -lpthread -lasound -lporttime gui/src/PatternEditor/PatternEditorInstrumentList.o gui/src/Mixer/Mixer.o gui/src/AboutDialog.o gui/src/SoundLibrary/SoundLibraryImportDialog.o gui/src/SoundLibrary/SoundLibraryRepositoryDialog.o gui/src/PlayerControl.o gui/src/widgets/midiTable.o gui/src/ExportSongDialog.o gui/src/HelpBrowser.o gui/src/SplashScreen.o gui/src/HydrogenApp.o gui/src/InstrumentEditor/InstrumentEditor.o gui/src/Mixer/MixerLine.o gui/src/PatternPropertiesDialog.o gui/src/LadspaFXSelector.o gui/src/SongEditor/SongEditorPanelBpmWidget.o gui/src/SongEditor/SongEditor.o gui/src/PreferencesDialog.o gui/src/PatternEditor/DrumPatternEditor.o gui/src/InstrumentRack.o gui/src/SoundLibrary/SoundLibraryExportDialog.o gui/src/AudioFileBrowser/AudioFileBrowser.o gui/src/SongEditor/SongEditorPanelTagWidget.o gui/src/SampleEditor/SampleEditor.o gui/src/main.o gui/src/SampleEditor/TargetWaveDisplay.o gui/src/widgets/DownloadWidget.o gui/src/VirtualPatternDialog.o gui/src/PatternEditor/PatternEditorRuler.o gui/src/PatternEditor/PatternEditorPanel.o gui/src/widgets/ClickableLabel.o gui/src/widgets/Rotary.o gui/src/MainForm.o gui/src/PatternEditor/PianoRollEditor.o gui/src/SoundLibrary/SoundLibraryPropertiesDialog.o gui/src/SongPropertiesDialog.o gui/src/InstrumentEditor/WaveDisplay.o gui/src/PatternEditor/NotePropertiesRuler.o gui/src/widgets/PixmapWidget.o gui/src/Director.o gui/src/SoundLibrary/FileBrowser.o gui/src/AudioFileBrowser/SampleWaveDisplay.o gui/src/PatternFillDialog.o gui/src/widgets/LCDCombo.o gui/src/widgets/Button.o gui/src/SongEditor/SongEditorPanel.o gui/src/InstrumentEditor/LayerPreview.o gui/src/widgets/LCD.o gui/src/widgets/Fader.o gui/src/SampleEditor/DetailWaveDisplay.o gui/src/InstrumentEditor/InstrumentEditorPanel.o gui/src/AudioEngineInfoForm.o gui/src/widgets/MidiSenseWidget.o gui/src/SoundLibrary/SoundLibrarySaveDialog.o gui/src/widgets/MidiActivityWidget.o gui/src/SoundLibrary/SoundLibraryPanel.o gui/src/widgets/CpuLoadWidget.o gui/src/LadspaFXProperties.o gui/src/SampleEditor/MainSampleWaveDisplay.o gui/src/SoundLibrary/SoundLibraryTree.o gui/src/PlaylistEditor/PlaylistDialog.o gui/src/PatternEditor/moc_PatternEditorInstrumentList.o gui/src/Mixer/moc_Mixer.o gui/src/moc_AboutDialog.o gui/src/SoundLibrary/moc_SoundLibraryImportDialog.o gui/src/SoundLibrary/moc_SoundLibraryRepositoryDialog.o gui/src/moc_PlayerControl.o gui/src/widgets/moc_midiTable.o gui/src/moc_ExportSongDialog.o gui/src/moc_HelpBrowser.o gui/src/moc_SplashScreen.o gui/src/moc_HydrogenApp.o gui/src/InstrumentEditor/moc_InstrumentEditor.o gui/src/Mixer/moc_MixerLine.o gui/src/moc_PatternPropertiesDialog.o gui/src/moc_LadspaFXSelector.o gui/src/SongEditor/moc_SongEditorPanelBpmWidget.o gui/src/SongEditor/moc_SongEditor.o gui/src/moc_PreferencesDialog.o gui/src/PatternEditor/moc_DrumPatternEditor.o gui/src/moc_InstrumentRack.o gui/src/SoundLibrary/moc_SoundLibraryExportDialog.o gui/src/AudioFileBrowser/moc_AudioFileBrowser.o gui/src/SongEditor/moc_SongEditorPanelTagWidget.o gui/src/SampleEditor/moc_SampleEditor.o gui/src/SampleEditor/moc_TargetWaveDisplay.o gui/src/widgets/moc_DownloadWidget.o gui/src/moc_VirtualPatternDialog.o gui/src/PatternEditor/moc_PatternEditorRuler.o gui/src/PatternEditor/moc_PatternEditorPanel.o gui/src/widgets/moc_ClickableLabel.o gui/src/widgets/moc_Rotary.o gui/src/moc_MainForm.o gui/src/SoundLibrary/moc_SoundLibraryPropertiesDialog.o gui/src/moc_SongPropertiesDialog.o gui/src/InstrumentEditor/moc_WaveDisplay.o gui/src/PatternEditor/moc_NotePropertiesRuler.o gui/src/moc_Director.o gui/src/SoundLibrary/moc_FileBrowser.o gui/src/AudioFileBrowser/moc_SampleWaveDisplay.o gui/src/moc_PatternFillDialog.o gui/src/widgets/moc_LCDCombo.o gui/src/widgets/moc_Button.o gui/src/SongEditor/moc_SongEditorPanel.o gui/src/InstrumentEditor/moc_LayerPreview.o gui/src/widgets/moc_LCD.o gui/src/widgets/moc_Fader.o gui/src/SampleEditor/moc_DetailWaveDisplay.o gui/src/InstrumentEditor/moc_InstrumentEditorPanel.o gui/src/moc_AudioEngineInfoForm.o gui/src/widgets/moc_MidiSenseWidget.o gui/src/SoundLibrary/moc_SoundLibrarySaveDialog.o gui/src/widgets/moc_MidiActivityWidget.o gui/src/SoundLibrary/moc_SoundLibraryPanel.o gui/src/widgets/moc_CpuLoadWidget.o gui/src/moc_LadspaFXProperties.o gui/src/SampleEditor/moc_MainSampleWaveDisplay.o gui/src/SoundLibrary/moc_SoundLibraryTree.o gui/src/PlaylistEditor/moc_PlaylistDialog.o -L/usr/share/qt4/lib -lQtGui -lQtNetwork -lQtXml -lQtCore libhydrogen.a -lsndfile -llrdf -ljack -lasound -larchive -lportaudio -lportmidi -lz
/usr/bin/ld: libhydrogen.a(alsa_midi_driver.o): undefined reference to symbol 'pthread_create@@GLIBC_2.1'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO /lib/i386-linux-gnu/libpthread.so.0 so try adding it to the linker command line
/lib/i386-linux-gnu/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
scons: *** [hydrogen] Error 1
scons: building terminated because of errors.
make: *** [debian/stamp-scons-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110520-0856
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/hydrogen-0.9.5

Related branches

Changed in hydrogen (Ubuntu):
importance: Undecided → Medium
Julian Taylor (jtaylor) wrote :

patch available in the debian bug

Changed in hydrogen (Ubuntu):
assignee: nobody → Julian Taylor (jtaylor)
status: New → In Progress
tags: added: patch-forwarded-debian
Alessio Treglia (quadrispro) wrote :

Patch uploaded to Debian, the next autosync round will bring it into Oneiric.

So marking this as "Fix committed".

Changed in hydrogen (Ubuntu):
status: In Progress → Fix Committed
Stefano Rivera (stefanor) wrote :

Alessio: Haven't we just passed Debian Import Freeze?

Alessio Treglia (quadrispro) wrote :

Ya, we have.
Sync request has been already filed, thanks!

Alessio Treglia (quadrispro) wrote :
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hydrogen - 0.9.5-3

---------------
hydrogen (0.9.5-3) unstable; urgency=low

  * Team upload.
  * Add patch to fix linking order. This avoids build failure
    with --as-needed (Closes: #632229, LP: #803182).
  * Refresh patches.
 -- Alessio Treglia <email address hidden> Thu, 07 Jul 2011 23:24:11 +0000

Changed in hydrogen (Ubuntu):
status: Fix Committed → Fix Released
Changed in hydrogen (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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