Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142123 - mjpegtools-1.8.0-r1 fails to build with gcc-4.1.1
Summary: mjpegtools-1.8.0-r1 fails to build with gcc-4.1.1
Status: RESOLVED DUPLICATE of bug 128619
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-29 13:59 UTC by Mark J. Olah
Modified: 2006-07-30 04:03 UTC (History)
3 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 Mark J. Olah 2006-07-29 13:59:17 UTC
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 -march=pentium4 -O2 -pipe -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
 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 -march=pentium4 -O2 -pipe -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
lav_io.c: In function 'lav_fileno':
lav_io.c:1370: error: dereferencing pointer to incomplete type
make[2]: *** [liblavfile_la-lav_io.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 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 -march=pentium4 -O2 -pipe -fno-strict-aliasing -pthread -Wall -Wunused -MT liblavfile_la-avilib.lo -MD -MP -MF .deps/liblavfile_la-avilib.Tpo -c avilib.c -o liblavfile_la-avilib.o >/dev/null 2>&1
make[2]: Leaving directory `/var/portagetmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/portagetmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0'
make: *** [all] Error 2

!!! ERROR: media-video/mjpegtools-1.8.0-r1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  mjpegtools-1.8.0-r1.ebuild, line 91:   Called die

Portage 2.1.1_pre4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r4 i686)
=================================================================
System uname: 2.6.16-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/export/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acl acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts blas bzip2 cairo cli crypt css culr cups curl dlloader dri dts dv dvd dvdr dvdread eds emacs emboss encode esd examples ffmpeg fftw flac foomaticdb fortran gd gdbm gif gimpprint gmp gnome gnutls gpm gs gstreamer gtk gtk2 imagemagick imlib isdnlog jbig jpeg jpeg2k kde kerberos libg++ libwww lzo mad md5sum mikmod mjpeg mmap mmx motif mp3 mpeg mpm-leader ncurses nis nls nptl nptlonly ogg opengl pam pcre pdf pdflib perl plotutils png pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl sse sse2 ssl svg tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev userlocales v4l v4l2 vcd vorbis wmf xemacs xinerama xml xml2 xmms xorg xprint xv xvid yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_radeon video_cards_mga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mark J. Olah 2006-07-29 15:17:36 UTC
The problem is with libquicktime.  (I have libquicktime-0.9.9).

The following solves the problem:
# emerge -C libquicktime
# echo "media-video/mjpegtools -quicktime" >> /etc/portage/package.use
# emerge mjpegtools
Comment 2 Kunszt Arpad 2006-07-30 03:58:55 UTC
The same problem here. I tried with -quicktime, with and without distcc and parallel compiling the results was everytime the same.

My emerge --info:
Portage 2.1.1_pre4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4-syrius i686)
=================================================================
System uname: 2.6.17-gentoo-r4-syrius i686 Intel(R) Celeron(R) CPU 1.70GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="hu_HU.UTF-8"
LINGUAS="hu"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bash-completion bitmap-fonts bzip2 cli crypt cups dlloader dri emboss encode flac foomaticdb gdbm gif glitz gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg jpeg2k kde libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nolvm1 nptl nptlonly nsplugin ogg opengl pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_hu userland_GNU video_cards_i810 video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

And my /etc/portage/package.use:
sys-devel/gcc -gtk
dev-lang/perl -gdbm ithreads
sys-devel/libperl -gdbm ithreads
dev-lang/python -gdbm
net-misc/openssh -X
sys-apps/module-init-tools no-old-linux
sys-apps/util-linux -crypt
app-editors/vim vim-with-x
app-editors/nano justify -spell
net-dns/libidn -java
dev-db/mysql -perl -ssl
kde-base/kdelibs fam -spell
dev-libs/cyrus-sasl -java -gdbm
kde-base/kdebase-kioslaves hal ldap
dev-lang/swig -java
sys-apps/dbus -qt4
net-nds/openldap -crypt -gdbm -perl -readline -ssl -tcpd minimal
sys-libs/db -java
media-sound/xmms -oss
media-libs/libsdl -oss nojoystick dga
media-video/ffmpeg a52 theora threads v4l xvid aac dts
app-admin/syslog-ng -tcpd
media-sound/lame -gtk
media-libs/giflib rle
media-video/mplayer aac dga dts dvd dvdread iconv lzo mmxext openal real theora v4l v4l2 win32codecs xanim xvid xvmc sse2 svga
media-libs/win32codecs real
media-libs/smpeg -gtk
media-video/gpac aac ffmpeg theora xvid
net-misc/curl ldap
media-libs/libao mmap
media-libs/libgphoto2 exif hal usb
sys-devel/distcc -gtk
mail-client/mozilla-thunderbird ldap
app-office/openoffice -java ldap cairo firefox
media-sound/amarok ipod
dev-lang/ruby threads
media-libs/xine-lib -mad a52 dts dvd theora v4l vcd vidix win32codecs xvmc
dev-libs/libcdio cddb
media-video/kmplayer -gstreamer mplayer xine
media-video/transcode a52 dvdread lzo mjpeg sse2 theora v4l2 xvid
app-cdr/k3b ffmpeg hal
media-libs/x264-svn threads
media-video/mjpegtools -quicktime
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-30 04:03:30 UTC

*** This bug has been marked as a duplicate of 128619 ***