did a --update world today, and i'm getting this error on the mjpegtools-1.6.0-r2 ebuild -------- /usr/lib/libquicktime.so: undefined reference to `raw1394_errcode_to_errno' collect2: ld returned 1 exit status make[2]: *** [lavplay] Error 1 make[2]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0-r2/work/mjpegtools-1.6.0/lavtools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0-r2/work/mjpegtools-1.6.0' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -90, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-video/mjpegtools/mjpegtools-1.6.0-r2.ebuild . ----------- bidz @ efnet/openprojects
me too :(
what are your use-flags?
I suspect its the quicktime patch(es) but I can't be 100% sure here. the ebuild doesn't really -change- anything except the dependency on jpeg-mmx, something that solves a .la bug (jpeg-mmx had a /var/tmp/portage... in its .la files that propagated) Gonna dig a bit further on this, but I think this is up for reassignment (Seemant, thats you) I got this mailed to me: USE="3dnow apm arts avi berkdb crypt cups encode gdbm gif gpm gtk imlib ipv6 java jpeg kde libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt qtmt quicktime readline sdl slang spell ssl svga tcpd truetype X xml2 xmms xv sse oss" -- bidz @ efnet/openprojects www.bidz.org pgp key: http://jilted.org/pgp
okay, I've tried with quicktime active and it works for me... could those who have this bug please try to change "emake" to "make" and see if that makes a difference?
okay, got mail report that "make" didn't make it work, so here's another trial run: emerge jpeg-mmx jpeg libmovtar quicktime4linux that will update the deps so they are working properly... this starts to feel libtool related. (everything with missing thigns in it starts to feel libtool related)
agh... I just updated those and now mine breaks as well... this is getting irritating.
*** Bug 4741 has been marked as a duplicate of this bug. ***
ok, version mismatch between mjpegtools and installed quicktime4linux. can probably be solved by changing include order of quicktime4linux in the mjpegtools compile. I'm on vacation and no-computer, please solve this if you can ;) hint: theres an updated patch (-2) of quicktime4linux - mjpegtools at the mjpeg homepage. that didn't work either ;) check by changing the linkorder manually in the makefiles, could be that. if not, backport the quicktime4linux patch by ripping it apart to resemble whats in the mjpegtools patch.. hth. Spider, from remote.
Created attachment 2555 [details, diff] Patch to remove the local quicktime dependency This patch will try to use the installed quicktime4linux library, instead of the one shipped with mjpegtools. However, it doesn't seem to work. After doing the ./configuration step, it will mention that quicktime support is not enabled. It does compile the mjpegtools though so perhaps someone will find it useful until it is fixed. I tried to reorder the libraries include paths, so that hopefully the local quicktime4linux was used instead of the system-library, but was unsuccesful. It seemed that mjpegtools refused to use the library built by the local version and instead linked in the shared system-library. The local version didn't even build a shared library. However, I have very limited knowledge of libtool et al, so much of my problems may have been my own.
Just got some time to look over it again. Never mind the above patch. I can't delete it from the bug-system, so hopefully you read this before trying it out. :) All the patch really does (and what makes it compile) is that it ignores the quicktime-library fully, something that better be accomplished with a USE-setting. However, the problem is still that mjpeg tries to use the system library instead of the local one. The current quicktime4linux (1.5.5) seems b0rken though. As soon as you try to link to it, you will get the "/usr/lib/libquicktime.so: undefined reference to `raw1394_errcode_to_errno'" error, even for very simple programs (as the one used in ./configure; look in config.log for an example). I will spend some time investigating this further. Once again, sorry for the 'patch'.
Just an update; I found the problem in the quicktime4linux library and will post a bug report on it later (need sleep). mjpegtools compiles fine with the system provided quicktime4linux library now (after a homebrewed fix for the raw1394 error in the quicktime4linux library), not verified that everything works, but configure at least says that quicktime is enabled.
oh, thats good because I had no real idea on how to solve this one :) I was hacking at getting the new quicktime4linux to build inside the mjpegtools, kinda fruitless if its quicktime4linux thats broken :)
hello spider, fredrik has made a bug-report for quicktime4linux. it is bug 5552 and it seems that he has found the error. i'm working on a patch and an updated ebuild. i'm really interested in cleaning up this bug. hanez... ;)
Oh, great :) marking this as depend and will look asap
I just commited mjpegtools-1.6.0-r3, this should hopefully take care of everything in this bug #. I also added nasm to aid mjpegtools in optimizing itself.