Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96052 - mjpegtools-1.6.2-r4 fails to compile
Summary: mjpegtools-1.6.2-r4 fails to compile
Status: RESOLVED FIXED
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:
Blocks:
 
Reported: 2005-06-14 03:35 UTC by Owen Jacob
Modified: 2005-10-01 09:24 UTC (History)
2 users (show)

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 Owen Jacob 2005-06-14 03:35:17 UTC
I think this is related to one of the quicktime packages

 i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include
-DG_LOG_DOMAIN=\"lavtools\" -DLAVPLAY_VERSION=\"1.6.2\" -I/usr/include/lqt -I
/usr/X11R6/include -I../utils -I/usr/include/jpeg-mmx -march=i686 -msse -mmmx
-mfpmath=sse -Os -pipe -fomit-frame-pointer -mno-sse2 -MT lav_io.lo -MD -MP -MF
.deps/lav_io.Tpo -c lav_io.c  -fPIC -DPIC -o .libs/lav_io.o
lav_io.c:39:33: quicktime/quicktime.h: No such file or directory
lav_io.c:40:27: quicktime/lqt.h: No such file or directory
lav_io.c: In function `lav_open_output_file':
lav_io.c:364: warning: assignment makes pointer from integer without a cast
lav_io.c:367: error: `QUICKTIME_MJPA' undeclared (first use in this function)
lav_io.c:367: error: (Each undeclared identifier is reported only once
lav_io.c:367: error: for each function it appears in.)
lav_io.c:367: error: `QUICKTIME_JPEG' undeclared (first use in this function)
lav_io.c:372: error: `QUICKTIME_RAW' undeclared (first use in this function)
lav_io.c:372: error: `QUICKTIME_TWOS' undeclared (first use in this function)
lav_io.c: In function `lav_video_compressor':
lav_io.c:679: warning: return makes pointer from integer without a cast
lav_io.c: In function `lav_open_input_file':
lav_io.c:946: warning: assignment makes pointer from integer without a cast
lav_io.c:951: warning: assignment makes pointer from integer without a cast
lav_io.c:963: warning: assignment makes pointer from integer without a cast
lav_io.c:968: error: `QUICKTIME_RAW' undeclared (first use in this function)
lav_io.c:970: error: `QUICKTIME_TWOS' undeclared (first use in this function)
lav_io.c:1017: error: `QUICKTIME_YUV420' undeclared (first use in this function)
lav_io.c:1025: error: `QUICKTIME_YUV4' undeclared (first use in this function)
lav_io.c: In function `lav_fileno':
lav_io.c:1318: error: `quicktime_t' undeclared (first use in this function)
lav_io.c:1318: error: syntax error before ')' token
make[2]: *** [lav_io.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mjpegtools-1.6.2-r4/work/mjpegtools-1.6.2/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mjpegtools-1.6.2-r4/work/mjpegtools-1.6.2'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1.emerge mjpegtools-1.6.2-r4
2.
3.

Actual Results:  
Compile Fails

Expected Results:  
Package builds cleanly

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.10 i686)
=================================================================
System uname: 2.6.11.10 i686 VIA Nehemiah
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  3 2005, 18:06:21)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi bash-completion bitmap-fonts
cdparanoia cdr crypt cups curl divx4linux dvd dvdr emboss encode fam fbcon flac
foomaticdb fortran freetype gdbm gif gpm gtk2 hal imagemagick imagemagik imlib
ipv6 jabber java jpeg kde kdeenablefinal kdexdeltas ldap libg++ libwww mad
mikmod mmx mozilla mp3 mpeg msn ncurses nls nptl ogg oggvorbis opengl pam pdflib
perl pic png posix ppds python qt quicktime readline sdl softmmu spell sse ssl
svga tcpd threads tiff truetype truetype-fonts type1-fonts usb vorbis xine xml2
xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Paul Thompson 2005-06-16 19:48:20 UTC
This appears to be related to the newer libquicktime-0.9.7 : The compilation
error is pretty simple-- its looking for "quicktime/quicktime.h", but there
is no 'quicktime' directory in the include path.
A quick work around would be to create a link, such as:

cd /usr/include ; ln -s lqt/ quicktime
or
cd /usr/include/lqt ; ln -s . quicktime

Which is what I did. If the libquicktime package used to do this, and now
does not, its probably a bug for that package.
Comment 2 Martin Mokrejš 2005-06-20 14:13:50 UTC
Same problem here. I unmergeg/emerge libquicktime but no help.


# emerge -s quicktime
Searching...   
[ Results for search key : quicktime ]
[ Applications found : 3 ]
 
*  media-libs/libquicktime
      Latest version available: 0.9.7
      Latest version installed: 0.9.7
      Size of downloaded files: 747 kB
      Homepage:    http://libquicktime.sourceforge.net/
      Description: A library based on quicktime4linux with extensions
      License:     LGPL-2.1

*  media-libs/openquicktime
      Latest version available: 1.0-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 313 kB
      Homepage:    http://openquicktime.sourceforge.net/
      Description: OpenQuicktime library for linux
      License:     LGPL-2.1

*  media-libs/quicktime4linux
      Latest version available: 2.0.4
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 5,118 kB
      Homepage:    http://heroinewarrior.com/quicktime.php3
      Description: quicktime library for linux
      License:     LGPL-2.1


#
# emerge  info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0/2.4, gcc-3.3.4, glibc-2.3.5-r0,
2.4.31 i686)
=================================================================
System uname: 2.4.31 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -msse3 -O3
-fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -msse3 -O3
-fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d aalib acpi afs apache2 apm arts ati avi berkdb bidi
bitmap-fonts bonobo caca cdparanoia cdr crypt cscope cups curl dba dga directfb
distcc divx divx4 divx4linux divx5 divx5linux doc dvb dvd dvdr dvdread emacs
emacs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg
flac flash foomaticdb fortran fvwm fvwm2 g77 gb gcj gd gdbm ggi gif gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile i8x0 icc imagemagick imlib imlib2 innodb java
jpeg junit lcms leim libg++ libwww live lzo mad mcal mesa mikmod mmx mmx2 motif
mozilla mp3 mpeg mule mysql ncurses network nls ogg oggvorbis opengl oss pam pda
pdflib perl php php4 plotutils png postgres ppds python qt qtx quicktime
readline rtc samba sdl slang slp spell sse sse2 sse3 ssl svga tcltk tcpd tetex
theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis
win32 winvidix wmf xml xml2 xmms xosd xv xvid xvmc zeo zlib video_cards_radeon
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 David Li 2005-07-01 07:29:29 UTC
This looks like a dupe of bug 85432
Comment 4 Owen Jacob 2005-07-01 08:07:54 UTC
I don't see how this could be a dupe when mjpegtools-1.6.2-r3 compiles fine on
my system.

media-video/mjpegtools
      Latest version available: 1.6.2-r4
      Latest version installed: 1.6.2-r3
Comment 5 Jason Smith 2005-07-06 20:14:19 UTC
Just wanted to chime in that I'm having the same problem:

same error message, skipping...)

emerge info:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 13 2005, 01:25:59)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.9.5, 1.8.5-r3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts
bonobo cdparanoia cdr crypt cscope cups curl divx4linux doc dv dvdr dvdread
emboss encode esd fam ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint gnome
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ieee1394 imagemagick imlib ipv6
java joystick jpeg junit kde libg++ libwww mad mikmod mime mjpeg mmx motif
mozilla mp3 mpeg msn mysql ncurses nls offensive ofx ogg oggvorbis openal opengl
oss pam pda pdflib perl png ppds python qt quicktime read readline samba scanner
sdl shorten spell ssl svg svga tcpd theora tiff truetype truetype-fonts
type1-fonts unicode usb v4l vcd vorbis win32codecs wxwindows xine xinerama xml
xml2 xmms xv xvidzlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 6 Shyam Mani (RETIRED) gentoo-dev 2005-07-07 10:06:12 UTC
(In reply to comment #1)
 
> Which is what I did. If the libquicktime package used to do this, and now
> does not, its probably a bug for that package.

dosym /usr/include/lqt /usr/include/quicktime

is present in both the ebuilds, for libquicktime-0.9.6-r1 and 0.9.7, which means
the symlink should be created.

Manual creation works, and mjpegtools compiles fine. What's funny is the first
time libquicktime apparently did not create a symlink. When I manually created
it, mjpegtools compiled fine. Then when I removed and tested again with a
slightly modified ebuild, libquicktime created the symlink fine.

Baffling.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-07-14 03:35:39 UTC
That was already fixed (without revbump of libquicktime) iirc. 
 
Comment 8 FieldySnuts 2005-10-01 09:24:13 UTC
I am currently seeing this problem with the version in the summary.

Doing "cd /usr/include ; ln -s lqt/ quicktime" as per comment #1 did not solve
my problem.

I am seeing the issue where quicktime/lqt.h is not found.

I have remerged libquicktime.

Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13.2-grsec-20050929 i686)
=================================================================
System uname: 2.6.13.2-grsec-20050929 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apm avi berkdb bitmap-fonts cdr chroot crypt curl dv
dvd dvdr eds emboss encode fam flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 guile hal imagemagick imlib java jpeg kde ldap libg++ libwww
mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss
pam pdflib perl png pwdb python qt quicktime readline samba sdl slang snmp spell
sqlite sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis
xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY