Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128619 - mjpegtools-1.8.0-r1 libqucktime error
Summary: mjpegtools-1.8.0-r1 libqucktime error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
: 140887 141161 141786 142067 142123 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-03 03:31 UTC by Mario Fetka (geos_one)
Modified: 2006-07-30 04:43 UTC (History)
12 users (show)

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


Attachments
This Patch corrects the error (mjpegtools-1.8.0-hotfix_libquicktime.patch,1.16 KB, patch)
2006-04-03 03:36 UTC, Mario Fetka (geos_one)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Fetka (geos_one) 2006-04-03 03:31:40 UTC
The compile stopps with the newest libquicktime.

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I../utils -DLAVPLAY_VERSION=\"1.8.0\" -I/usr/include/jpeg-mmx -I/usr/include/lqt -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -fno-strict-aliasing -pthread -Wall -Wunused -MT liblavfile_la-editlist.lo -MD -MP -MF .deps/liblavfile_la-editlist.Tpo -c editlist.c  -fPIC -DPIC -o .libs/liblavfile_la-editlist.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I../utils -DLAVPLAY_VERSION=\"1.8.0\" -I/usr/include/jpeg-mmx -I/usr/include/lqt -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -fno-strict-aliasing -pthread -Wall -Wunused -MT liblavfile_la-lav_io.lo -MD -MP -MF .deps/liblavfile_la-lav_io.Tpo -c lav_io.c  -fPIC -DPIC -o .libs/liblavfile_la-lav_io.o
lav_io.c: In function 'lav_fileno':
lav_io.c:1370: error: dereferencing pointer to incomplete type
make[2]: *** [liblavfile_la-lav_io.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I../utils -DLAVPLAY_VERSION=\"1.8.0\" -I/usr/include/jpeg-mmx -I/usr/include/lqt -O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse -fno-strict-aliasing -pthread -Wall -Wunused -MT liblavfile_la-editlist.lo -MD -MP -MF .deps/liblavfile_la-editlist.Tpo -c editlist.c -o liblavfile_la-editlist.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0/lavtools'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0'
make: *** [all] Fehler 2

!!! ERROR: media-video/mjpegtools-1.8.0-r1 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  mjpegtools-1.8.0-r1.ebuild, line 91:   Called die
Comment 1 Mario Fetka (geos_one) 2006-04-03 03:36:23 UTC
Created attachment 83796 [details, diff]
This Patch corrects the error

I have found it somewere on the internet.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-04-06 07:23:31 UTC
Suffered from the same error. Supplied patch fixed it.

# emerge --info
Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r3, 2.6.13.5-mh2 i686)
=================================================================
System uname: 2.6.13.5-mh2 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/gdm /etc/eselect/compiler /etc/gconf /etc/gnome /etc/gnome-vfs-2.0 /etc/init.d /etc/ssl /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
PKGDIR="/home/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt ctype cups dba dri dvd eds emboss encode expat fam fastbuild flac foomaticdb force-cgi-redirect ftp gd gdbm gif gpg gstreamer gtk gtk2 idn imagemagick imlib isdnlog java jpeg kde libg++ libwww mad memlimit mikmod mmx mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline samba sdl session simplexml slang soap sockets spell spl sse ssl svg tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis win32codecs xml xml2 xmms xprint xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nv video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2006-05-06 17:49:16 UTC
in the same subject, when given USE="-quicktime" it misconfigures:

configure:
configure:  MJPEG tools 1.8.0 build configuration :
configure:
configure:   - X86 Optimizations:
configure:     - MMX/3DNow!/SSE enabled      : true
configure:   - video4linux recording/playback: true
configure:   - software MJPEG playback       : true
configure:   - MPEG Z/Alpha                  : false
configure:   - Quicktime playback/recording  : true
configure:   - PNG input support             : true
configure:   - AVI MJPEG playback/recording  : true (always)
configure:   - libDV (digital video) support : true
configure:   - Gtk+ support for glav         : true
configure:

the fix is this:

-               $(use_with quicktime) \
+               $(use_with quicktime libquicktime) \

if no one mind I'll commit a fix for these two problems.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-18 02:59:13 UTC
*** Bug 140887 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-20 06:15:01 UTC
*** Bug 141161 has been marked as a duplicate of this bug. ***
Comment 6 Martin von Gagern 2006-07-20 23:25:01 UTC
(In reply to comment #1)
> This Patch corrects the error

Works here as well.

Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r2 i686)
=================================================================
System uname: 2.6.17-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.1

(In reply to comment #3)
> if no one mind I'll commit a fix for these two problems.

I heard noone mind, so please do commit this. :-)
Comment 7 Harm Geerts 2006-07-25 02:23:12 UTC
Both problems solved with the fixes above.
Please do commmit :)

Portage 2.1.1_pre3-r3 (default-linux/amd64/2005.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64)
=================================================================
System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.1
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-26 04:50:06 UTC
*** Bug 141786 has been marked as a duplicate of this bug. ***
Comment 9 palcek smuk 2006-07-28 05:23:39 UTC
It seems I have the same problem. 
so how do I use this fix?

(In reply to comment #3)
> in the same subject, when given USE="-quicktime" it misconfigures:
> the fix is this:
> 
> -               $(use_with quicktime) \
> +               $(use_with quicktime libquicktime) \
> 
Comment 10 Jan Schubert 2006-07-29 02:48:31 UTC
*** Bug 142067 has been marked as a duplicate of this bug. ***
Comment 11 Jan Schubert 2006-07-29 02:51:28 UTC
The problem is still valid, the patch not in portage! Please add, worked for me too!

Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-07-30 04:03:30 UTC
*** Bug 142123 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-07-30 04:04:54 UTC
Ping! Please, apply the patch...
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-30 04:28:13 UTC
Sorry for the delay, I'll take care now.
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-30 04:43:15 UTC
Fixed now with conditional patch.