Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 190959

Summary: media-video/mpeg4ip- doesn't ship m4 files for optional deps (alsa, gtk2)
Product: Gentoo Linux Reporter: Janos Zsitvai <zsitvaij>
Component: [OLD] LibraryAssignee: Olivier Crete (RETIRED) <tester>
Severity: normal CC: bugs, flameeyes, musv
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 208019    
Bug Blocks:    
Attachments: build.log

Description Janos Zsitvai 2007-09-01 12:08:34 UTC
mpeg4ip doesn't emerge without alsa-lib even when USE="-alsa" is set.

Error message in /var/tmp/portage/media-video/mpeg4ip-
***** autoconf ***** error: possibly undefined macro: AM_PATH_ALSA
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Seems similar to #177328 and #171942.

Reproducible: Always

Steps to Reproduce:
1. disable alsa in make.conf
2. emerge -uDN world
3. emerge -C alsa-lib alsa-headers
4. emerge mpeg4ip
Actual Results:  
Failure during eautoreconf.

Expected Results:  
Failure after eautoreconf or not at all.
Comment 1 Janos Zsitvai 2007-09-01 12:11:41 UTC
Created attachment 129761 [details]
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2007-09-01 20:12:47 UTC
damnit... this is annoying...  I have to think of something... 
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-10-17 11:26:21 UTC
mpeg4ip doesn't ship some of the m4 files containing the macros it uses. This is a common problem I have documented before in the autofailure doc[1], the solution is to put the missing .m4 files in a tarball and put the extracted directory in AT_M4DIR. What you need is alsa.m4 to fix this bug, but it also misses gtk2's m4 file.

Comment 4 Evil Compile Person 2008-01-13 01:22:27 UTC
indeed ...
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2008-01-13 01:33:59 UTC
arg, that makes me feel like making the deps not optional... (or p.masking mpeg4ip.. upstream has resigned)
Comment 6 Sven Müller 2009-03-24 07:34:27 UTC
Problem still exists. 
Comment 7 Sven Müller 2009-03-24 08:03:11 UTC
Ok, I found somewhere in the internet an alsa.m4 and put it like described into /usr/share/aclocal. Now configure and make were successful.

If it's too much work to edit the ebuild, then maybe it would a good idea to provide alsa.m4 with the autoconf or any other responsible package.
Comment 8 Sven Müller 2009-03-24 18:37:38 UTC
Sorry for the 3rd posting in one day. 

But now I did a emerge --sync. And now mpeg4ip wants to reinstall with depencies of alsa-headers and alsa-libs. So it seems that I have to edit the ebuild and put it into my local overlay to avoid installing that alsa-stuff. 

Possible solutions for that problem could be:
1. Like written above: Provide alsa.m4 with autoconf package
2. Provide alsa.m4 with the mpeg4ip package
3. Write a warning message into the ebuild that shows up, when the user has not set the alsa useflag. 

But please remove that not needed alsa-depency. Thx a lot.
Comment 9 Olivier Crete (RETIRED) gentoo-dev 2009-03-24 18:47:51 UTC
I'm giving up on this package, it is no longer maintained upstream. I will package.mask it in a couple days if no one wants to take it over.
Comment 10 Lars Wendler (Polynomial-C) gentoo-dev 2009-03-24 22:14:37 UTC
Although the website states that mpeg4ip-1.6.1 tarballs are corrupt, I pulled that version from sourceforge's CVS and placed it on a webserver where I'm the admin of:

I used these tarballs since I've created them and had only one package that failed to compile against this version (but I don't remember which one).
I am unable to maintain this package myself but if anyone else volunteers, feel free to use the tarballs of that webserver.
Comment 11 Sven Müller 2009-03-26 10:12:58 UTC
(In reply to comment #9)
> I'm giving up on this package, it is no longer maintained upstream. I will
> package.mask it in a couple days if no one wants to take it over.

On their website they write:
??? as of 9/28/07, development is stopped, and we are not taking any more contributions. 

Ok, the only thing I used from that package is the mp4creator to create an mpeg4-container. Is there an alternative solution? Maybe version 1.6.1 doesn't have these issues.

Olivier: Don't give up. :) Life isn't easy these days.