Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56032 - media-sound/amsynth-1.0.0 tries to build ALSA support even when disabled...
Summary: media-sound/amsynth-1.0.0 tries to build ALSA support even when disabled...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-04 03:16 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-07-17 09:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ALSAMidiDriver.cc (amsynth-driver.patch,269 bytes, patch)
2004-12-17 13:57 UTC, Johannes Weiner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-04 03:16:53 UTC
-------------------------------------------------------- amSynth 1.0.0
|
| GTK-- version......................................... : 1.2.9
|
| Build with OSS support................................ : yes
| Build with ALSA support............................... : no
| Build with JACK support............................... : no
|
| Use libsndfile for .wav output support................ : yes

configure complete. now type 'make' to build amSynth
and then, as root, 'make install' to install

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0'
Making all in src
make[2]: Entering directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0/src'
Making all in drivers
make[3]: Entering directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0/src/drivers'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss -Dwith_sndfile -MT OSSMidiDriver.o -MD -MP -MF ".deps/OSSMidiDriver.Tpo" -c -o OSSMidiDriver.o OSSMidiDriver.cc; \
then mv -f ".deps/OSSMidiDriver.Tpo" ".deps/OSSMidiDriver.Po"; else rm -f ".deps/OSSMidiDriver.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss -Dwith_sndfile -MT OSSAudioDriver.o -MD -MP -MF ".deps/OSSAudioDriver.Tpo" -c -o OSSAudioDriver.o OSSAudioDriver.cc; \
then mv -f ".deps/OSSAudioDriver.Tpo" ".deps/OSSAudioDriver.Po"; else rm -f ".deps/OSSAudioDriver.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss -Dwith_sndfile -MT ALSAMidiDriver.o -MD -MP -MF ".deps/ALSAMidiDriver.Tpo" -c -o ALSAMidiDriver.o ALSAMidiDriver.cc; \
then mv -f ".deps/ALSAMidiDriver.Tpo" ".deps/ALSAMidiDriver.Po"; else rm -f ".deps/ALSAMidiDriver.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss -Dwith_sndfile -MT ALSAAudioDriver.o -MD -MP -MF ".deps/ALSAAudioDriver.Tpo" -c -o ALSAAudioDriver.o ALSAAudioDriver.cc; \
then mv -f ".deps/ALSAAudioDriver.Tpo" ".deps/ALSAAudioDriver.Po"; else rm -f ".deps/ALSAAudioDriver.Tpo"; exit 1; fi
ALSAMidiDriver.cc: In member function `virtual int ALSAMidiDriver::close()':
ALSAMidiDriver.cc:29: error: `seq_handle' undeclared (first use this function)
ALSAMidiDriver.cc:29: error: (Each undeclared identifier is reported only once 
   for each function it appears in.)
ALSAMidiDriver.cc:29: error: `snd_seq_close' undeclared (first use this 
   function)
make[3]: *** [ALSAMidiDriver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0/src/drivers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0'
make: *** [all] Error 2

!!! ERROR: media-sound/amsynth-1.0.0 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
Comment 1 Eric Shattow 2004-08-19 14:33:57 UTC
fixed in cvs versions of amSynth (i believe)
Comment 2 Johannes Weiner 2004-12-17 13:54:32 UTC
Modify the ebuild in the overlay and let it patch with the one in the attachment.
Comment 3 Johannes Weiner 2004-12-17 13:57:18 UTC
Created attachment 46234 [details, diff]
ALSAMidiDriver.cc

Patches the Sources, to let it compile without ALSA if defined.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 03:43:35 UTC
I think it's a Makefile issue... I doubt it should even be compiling ALSAMidiDriver.cc... but I haven't gotten to looking at the source yet...
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-05 01:08:00 UTC
bumping back to sound@
Comment 6 Frank van de Pol (RETIRED) gentoo-dev 2005-07-17 09:21:15 UTC
Though I must admit that a fix to the Makefile as Jeremy proposed would sound  
more logical I included the patch posted by Johannes Weiner since that one is  
same to the fix in amSynth cvs repository.   
  
amsynth-1.0.0-r1 is in portage cvs, problem should be cured now; closing this 
bug.