Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35710 - avidemux-2.0.18.ebuild compile problem
Summary: avidemux-2.0.18.ebuild compile problem
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 36224
Blocks:
  Show dependency tree
 
Reported: 2003-12-13 02:21 UTC by Gennady
Modified: 2003-12-21 03:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gennady 2003-12-13 02:21:39 UTC
avidemux doesn`t compile with error:
ADM_deviceALSA.cpp: In member function `virtual unsigned char
   alsaAudioDevice::init(long unsigned int, long unsigned int)':
ADM_deviceALSA.cpp:109: error: invalid conversion from `long unsigned int' to `
   unsigned int*'
ADM_deviceALSA.cpp:131: error: invalid conversion from `int' to `unsigned int*'
ADM_deviceALSA.cpp:137: error: invalid conversion from `int' to `unsigned int*'
make[3]: *** [ADM_deviceALSA.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.18/work/avidemux-2.0.18/avidemux/ADM_audiodevice'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.18/work/avidemux-2.0.18/avidemux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.18/work/avidemux-2.0.18'
make: *** [all] Error 2

!!! ERROR: media-video/avidemux-2.0.18 failed.
!!! Function src_compile, Line 69, Exitcode 2
!!! make failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-12-13 03:04:16 UTC
Please remember to post the output of emerge --info when reporting bugs.
Comment 2 Marc Hildebrand (RETIRED) gentoo-dev 2003-12-13 10:40:11 UTC
This error is discussed in the avidemux-forums also.
It's because of alsa-1.0.
Your options:
1.: Downgrade to alsa 0.9x
2.: Wait till I include a patch to compile avidemux without alsa if alsa-version >=1.0. ;) (In which case oss-emulation will be used)

ETA for option 2 is prob. Tomorrow afternoon ;))

Cheers,
Marc.
Comment 3 Marc Hildebrand (RETIRED) gentoo-dev 2003-12-15 14:07:15 UTC
Sorry, this takes longer than I thought...
Problem:
Usually you'd compile the source by hand and run into that error.
The advised measure is to edit config.h and delete the line "#define ALSA_SUPPORT 1"
Then make again, this time it'll work.
If you do this just after "./configure", make will override this and but the line back in.
Actually I'm still trying to manage this in an ebuild without too much strange hacking but it's likely that this will be corrected upstream before.
At least mean (the author) told me so.
I' will report here as soon as I know more.
In the meantime everyone who knows a bit more than me on this subject is welcome.
Comment 4 Marc Hildebrand (RETIRED) gentoo-dev 2003-12-19 10:23:49 UTC
OK, problem fixed upstream, version 2.0.20 announced for tomorrow...
Expect an ebuild then ;)
Comment 5 Marc Hildebrand (RETIRED) gentoo-dev 2003-12-21 03:02:12 UTC
Done, see:
http://bugs.gentoo.org/show_bug.cgi?id=36224

It now compiles with alsa, meaning it uses oss-emulation atm but that#s ok I think.