Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31684 - mjpegtools compile failure
Summary: mjpegtools compile failure
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 09:36 UTC by Tom Wesley
Modified: 2003-10-21 14:02 UTC (History)
1 user (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 Tom Wesley 2003-10-21 09:36:35 UTC
media-video/mjpegtools-1.6.0-r7 fails to recompile (revdep requires it) with the
following output:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from yuv2divx.cpp:96:
libavifile.h:31:29: avifile/version.h: No such file or directory
libavifile.h:47:21: aviutil.h: No such file or directory
yuv2divx.cpp: In function `int main(int, char**)':
yuv2divx.cpp:341: error: `AVIFILE_VERSION' undeclared (first use this function)
yuv2divx.cpp:341: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
yuv2divx.cpp:357: error: `fccDIV3' undeclared (first use this function)
yuv2divx.cpp:595: error: `mmioFOURCC' undeclared (first use this function)
yuv2divx.cpp:639: error: `fccYV12' undeclared (first use this function)
yuv2divx.cpp:782: error: 'class avm::IVideoEncoder' has no member named '
   SetExtendedAttr'
make[2]: *** [yuv2divx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from lav2divx.cpp:92:
libavifile.h:31:29: avifile/version.h: No such file or directory
libavifile.h:47:21: aviutil.h: No such file or directory
lav2divx.cpp: In function `int main(int, char**)':
lav2divx.cpp:290: error: `AVIFILE_VERSION' undeclared (first use this function)
lav2divx.cpp:290: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
lav2divx.cpp:301: error: `fccDIV3' undeclared (first use this function)
lav2divx.cpp:537: error: `mmioFOURCC' undeclared (first use this function)
lav2divx.cpp:596: error: `fccYV12' undeclared (first use this function)
lav2divx.cpp:694: error: 'class avm::IVideoEncoder' has no member named '
   SetExtendedAttr'
make[2]: *** [lav2divx.o] Error 1
In file included from divxdec.cpp:126:
libavifile.h:31:29: avifile/version.h: No such file or directory
libavifile.h:47:21: aviutil.h: No such file or directory
divxdec.cpp: In function `unsigned int readyDestination(IAviReadStream*, int,
   int)':
divxdec.cpp:211: error: `fccIYUV' undeclared (first use this function)
divxdec.cpp:211: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
divxdec.cpp:222: error: `fccYV12' undeclared (first use this function)
divxdec.cpp:226: error: `fccYUY2' undeclared (first use this function)
divxdec.cpp:230: error: `fccUYVY' undeclared (first use this function)
divxdec.cpp:234: error: `fccYVYU' undeclared (first use this function)
divxdec.cpp: In function `int readInputFrame()':
divxdec.cpp:601: error: `data' undeclared (first use this function)
divxdec.cpp:626: error: `mmioFOURCC' undeclared (first use this function)
divxdec.cpp:640: error: `release' undeclared (first use this function)
divxdec.cpp: In function `int nextFile()':
divxdec.cpp:950: error: `GetEndPos' undeclared (first use this function)
divxdec.cpp:979: error: `SeekToKeyframe' undeclared (first use this function)
divxdec.cpp:988: error: `SeekToTime' undeclared (first use this function)
divxdec.cpp: In function `int main(int, char**)':
divxdec.cpp:1317: error: `AVIFILE_VERSION' undeclared (first use this function)
divxdec.cpp:1589: error: `GetEndPos' undeclared (first use this function)
make[2]: *** [divxdec.o] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mjpegtools-1.6.0-r7/work/mjpegtools-1.6.0'
make: *** [all] Error 2


The file it seems to be looking for is in fact available, however is stored in
/usr/include/avifile-0.7/version.h on this system

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.4.3.11
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-mp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-mp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache fixpackages"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org
ftp://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gtkhtml alsa gdbm
berkdb slang readline arts tetex bonobo svga tcltk java guile ruby mysql sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis qt motif opengl mozilla ldap
cdr X kde gtk gtk2 ptl gnome dvd pda crypt truetype artswrappersuid
video_cards_radeon"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-21 12:16:54 UTC
1.6.1.90-r1 is stable
Comment 2 Tom Wesley 2003-10-21 12:28:23 UTC
Thanks, for some reason I failed to spot that I had two versions installed.
Am I meant to close this with WONTFIX despite the old version not compiling?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-21 14:02:40 UTC
closing since 1.6.1.90-r1 is stable and works fine