Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4702 - mjpegtools and quicktime errors
Summary: mjpegtools and quicktime errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
: 4741 (view as bug list)
Depends on: 5552 5588
Blocks:
  Show dependency tree
 
Reported: 2002-07-08 11:47 UTC by borge indergaard
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
Patch to remove the local quicktime dependency (mjpegtools-1.6.0-r2.ebuild.patch,1.18 KB, patch)
2002-07-24 19:02 UTC, Fredrik Jagenheim
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description borge indergaard 2002-07-08 11:47:12 UTC
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
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-08 15:04:24 UTC
me too :(
Comment 2 Spider (RETIRED) gentoo-dev 2002-07-08 16:36:29 UTC
what are your use-flags?
Comment 3 Spider (RETIRED) gentoo-dev 2002-07-08 16:49:08 UTC
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

Comment 4 Spider (RETIRED) gentoo-dev 2002-07-08 17:02:32 UTC
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?
Comment 5 Spider (RETIRED) gentoo-dev 2002-07-09 06:59:24 UTC
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)
Comment 6 Spider (RETIRED) gentoo-dev 2002-07-09 07:13:39 UTC
agh... I just updated those and now mine breaks as well...

this is getting irritating.
Comment 7 Spider (RETIRED) gentoo-dev 2002-07-09 10:30:32 UTC
*** Bug 4741 has been marked as a duplicate of this bug. ***
Comment 8 Spider (RETIRED) gentoo-dev 2002-07-15 16:51:04 UTC
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.
Comment 9 Fredrik Jagenheim 2002-07-24 19:02:41 UTC
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.
Comment 10 Fredrik Jagenheim 2002-07-24 20:09:34 UTC
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'.
Comment 11 Fredrik Jagenheim 2002-07-24 21:11:02 UTC
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.

Comment 12 Spider (RETIRED) gentoo-dev 2002-07-25 06:53:27 UTC
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 :)
Comment 13 Johannes Findeisen 2002-07-25 08:04:25 UTC
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... ;) 
Comment 14 Spider (RETIRED) gentoo-dev 2002-07-25 16:16:46 UTC
Oh, great :) marking this as depend and will look asap
Comment 15 Daniel Ahlberg (RETIRED) gentoo-dev 2002-07-26 07:50:28 UTC
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.