Re: [proaudio] Strange issue with hydrogen-0.9.3 ebuild

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Le Sat, 07 Oct 2006 11:19:45 +0200,
Frieder Bürzele <evermind@xxxxxxxxxxxxx> a écrit :

> Dominique Michel wrote:
> > It didn't compile, but I get only an error from emerge:
> >
> > i686-pc-linux-gnu-g++ -c -pipe -g -w -O2 -march=pentium4 -pipe
> > -fno-strict-aliasing -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> > -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -Isrc
> > -I/usr/qt/3/include -o src/moc_SongPropertiesDialog_UI.o
> > src/gui/UI/moc_SongPropertiesDialog_UI.cpp i686-pc-linux-gnu-g++ -Wl,-O1
> > -Wl,--sort-common -o hydrogen src/tinystr.o src/tinyxml.o src/tinyxmlerror.o
> > src/tinyxmlparser.o src/AlsaMidiDriver.o src/DiskWriterDriver.o
> > src/FakeDriver.o src/JackDriver.o src/NullDriver.o src/OssDriver.o
> > src/TransportInfo.o src/AlsaAudioDriver.o src/MidiDriver.o
> > src/PortMidiDriver.o src/PortAudioDriver.o src/LadspaFX.o src/SMF.o
> > src/SMFEvent.o src/ADSR.o src/DataPath.o src/EventQueue.o src/FLACFile.o
> > src/Hydrogen.o src/LocalFileMng.o src/Object.o src/Preferences.o
> > src/Sample.o src/Song.o src/Button.o src/CpuLoadWidget.o
> > src/ClickableLabel.o src/Fader.o src/LCD.o src/MidiActivityWidget.o
> > src/Rotary.o src/InstrumentEditor.o src/WaveDisplay.o src/LayerPreview.o
> > src/SongEditor.o src/SongEditorPanel.o src/PatternEditor.o
> > src/PatternEditorPanel.o src/Mixer.o src/MixerLine.o src/AboutDialog.o
> > src/AudioEngineInfoForm.o src/DrumkitManager.o src/ExportSongDialog.o
> > src/FilePreview.o src/HelpBrowser.o src/HydrogenApp.o
> > src/LadspaFXProperties.o src/LadspaFXSelector.o src/MainForm.o
> > src/PatternFillDialog.o src/PatternPropertiesDialog.o src/PlayerControl.o
> > src/PreferencesDialog.o src/SongPropertiesDialog.o src/SplashScreen.o
> > src/main.o src/AboutDialog_UI.o src/AudioEngineInfoForm_UI.o
> > src/DrumkitManager_UI.o src/ExportSongDialog_UI.o src/LadspaFXSelector_UI.o
> > src/PatternFillDialog_UI.o src/PatternPropertiesDialog_UI.o
> > src/PreferencesDialog_UI.o src/SongPropertiesDialog_UI.o src/moc_Button.o
> > src/moc_CpuLoadWidget.o src/moc_ClickableLabel.o src/moc_Fader.o
> > src/moc_LCD.o src/moc_MidiActivityWidget.o src/moc_Rotary.o
> > src/moc_InstrumentEditor.o src/moc_WaveDisplay.o src/moc_LayerPreview.o
> > src/moc_SongEditor.o src/moc_SongEditorPanel.o src/moc_PatternEditor.o
> > src/moc_PatternEditorPanel.o src/moc_Mixer.o src/moc_MixerLine.o
> > src/moc_AboutDialog.o src/moc_AudioEngineInfoForm.o
> > src/moc_DrumkitManager.o src/moc_ExportSongDialog.o src/moc_FilePreview.o
> > src/moc_HelpBrowser.o src/moc_HydrogenApp.o src/moc_LadspaFXProperties.o
> > src/moc_LadspaFXSelector.o src/moc_MainForm.o src/moc_PatternFillDialog.o
> > src/moc_PatternPropertiesDialog.o src/moc_PlayerControl.o
> > src/moc_PreferencesDialog.o src/moc_SongPropertiesDialog.o
> > src/moc_SplashScreen.o src/moc_AboutDialog_UI.o
> > src/moc_AudioEngineInfoForm_UI.o src/moc_DrumkitManager_UI.o
> > src/moc_ExportSongDialog_UI.o src/moc_LadspaFXSelector_UI.o
> > src/moc_PatternFillDialog_UI.o src/moc_PatternPropertiesDialog_UI.o
> > src/moc_PreferencesDialog_UI.o src/moc_SongPropertiesDialog_UI.o
> > -L/usr/qt/3/lib -L/usr/X11R6/lib -lsndfile -lFLAC++ -lFLAC -ljack -lasound
> > -llrdf -lraptor -lxml2 -lqt-mt -lXext -lX11 -lm -lpthread make[1]: Leaving
> > directory `/var/tmp/portage/hydrogen-0.9.3/work/hydrogen-0.9.3'
> >
> > !!! ERROR: media-sound/hydrogen-0.9.3 failed.
> > Call stack:
> >   ebuild.sh, line 1546:   Called dyn_compile
> >   ebuild.sh, line 937:   Called src_compile
> >   hydrogen-0.9.3.ebuild, line 64:   Called die
> >
> > !!! Failed making hydrogen!
> >
> > If I go in $WORKDIR and issue a make:
> >  # make
> > make[1]: Entering directory
> > `/var/tmp/portage/hydrogen-0.9.3/work/hydrogen-0.9.3' i686-pc-linux-gnu-g++
> > -Wl,-O1 -Wl,--sort-common -o hydrogenPlayer src/tinystr.o src/tinyxml.o
> > src/tinyxmlerror.o src/tinyxmlparser.o src/AlsaMidiDriver.o
> > src/DiskWriterDriver.o src/FakeDriver.o src/JackDriver.o src/NullDriver.o
> > src/OssDriver.o src/TransportInfo.o src/AlsaAudioDriver.o src/MidiDriver.o
> > src/PortMidiDriver.o src/PortAudioDriver.o src/LadspaFX.o src/SMF.o
> > src/SMFEvent.o src/ADSR.o src/DataPath.o src/EventQueue.o src/FLACFile.o
> > src/Hydrogen.o src/LocalFileMng.o src/Object.o src/Preferences.o
> > src/Sample.o src/Song.o src/HydrogenPlayer.o    -L/usr/qt/3/lib
> > -L/usr/X11R6/lib -lsndfile -lFLAC++ -lFLAC -ljack -lasound -llrdf -lraptor
> > -lxml2 -lqt-mt -lXext -lX11 -lm -lpthread make[1]: Leaving directory
> > `/var/tmp/portage/hydrogen-0.9.3/work/hydrogen-0.9.3' make[1]: Entering
> > directory `/var/tmp/portage/hydrogen-0.9.3/work/hydrogen-0.9.3/plugins'
> > make[2]: Entering directory
> > `/var/tmp/portage/hydrogen-0.9.3/work/hydrogen-0.9.3/plugins/wasp' make[2]:
> > Nothing to be done for `all'. make[2]: Leaving directory
> > `/var/tmp/portage/hydrogen-0.9.3/work/hydrogen-0.9.3/plugins/wasp' make[1]:
> > Leaving directory
> > `/var/tmp/portage/hydrogen-0.9.3/work/hydrogen-0.9.3/plugins' localhost
> > hydrogen-0.9.3 # 
> >
> > And I can install it and it work.
> >
> > Do you have any clue why it doesn't work with emerge?
> >
> > Best,
> > Dominique
> >
> >   
> sorry can't see why it won't compile
> you could try to replace this line in the ebuild
> emake || die "Failed making hydrogen!"
> with this
> emake ; ret_val=$?;eerror "this is the ret_val from emake 
> ${ret_val}";read; [ "${ret_val}" != "0" ] && die "make failed"
> 
> 
I get this:

make[1]: Leaving directory
`/var/tmp/portage/hydrogen-0.9.3/work/hydrogen-0.9.3' * this is the ret_val
from emake 2

!!! ERROR: media-sound/hydrogen-0.9.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  hydrogen-0.9.3.ebuild, line 64:   Called die

!!! make failed

The first time, I do a misspelling in the ebuild and forget the blanck before
the ], I get an error about the ebuild, but it didn't die and installed every
thing.

Best,
Dominique

-- 
Dominique Michel



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/