Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 59641

Summary: media-video/avifile-0.7.38.20030710-r1 compile failed
Product: Gentoo Linux Reporter: Daniel Black (RETIRED) <dragonheart>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Black (RETIRED) gentoo-dev 2004-08-06 15:54:24 UTC
emergeing avifile failed. I tried removing distcc and setting MAKEOPTS=-j1 to no avail.

emerge info
Portage 2.0.51_pre17 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11 i686 Celeron (Coppermine))
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distcc maketest sandbox sign userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo             http://premium.planetmirror.com/pub/gentoo                 http://gentoo.oregonstate.edu           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.au.gentoo.org/gentoo-portage"
USE="X acpi alsa apm arts artswrappersuid avi berkdb bonobo cdr crypt cups encode ethereal fam fastcgi flash foomaticdb gd gif gtk gtkhtml guile imagemagick imlib java jpeg kde kerberos libgda libwww mad mbox mikmod mmx motif mozilla mpeg mysql nptl ntlm oggvorbis openal operanom2 pam pdflib perl php png ppds python qt quicktime readline samba sdl slp socks5 sox spell sse ssl svga tcltk tetex tiff truetype usb vhosts x86 xinerama xml xml2 xv zlib"



make[2]: Entering directory `/var/tmp/portage/avifile-0.7.38.20030710-r1/work/avifile-0.7-0.7.38/ffmpeg'
make  ffmpeg ffserver
make[3]: Entering directory `/var/tmp/portage/avifile-0.7.38.20030710-r1/work/avifile-0.7-0.7.38/ffmpeg'
gcc -DHAVE_CONFIG_H -I. -I. -I../include  -I./libavformat -I./libavcodec -DFFMPEG_VERSION=\"0.4.6\" -Wall -Wno-unused -I../include  -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c ffmpeg.c
ffmpeg.c: In function `do_video_out':
ffmpeg.c:588: warning: dereferencing type-punned pointer will break strict-aliasing rules
ffmpeg.c: In function `av_encode':
ffmpeg.c:1250: warning: dereferencing type-punned pointer will break strict-aliasing rules
/bin/sh ../libtool --mode=link gcc  -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe  -o ffmpeg  ffmpeg.o libavformat/libaviplayavformat.la libavcodec/libaviplayavcodec.la -lnsl -ldl
mkdir .libs
gcc -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o .libs/ffmpeg ffmpeg.o  libavformat/.libs/libaviplayavformat.so -lz libavcodec/.libs/libaviplayavcodec.so -lm -lnsl -ldl
ffmpeg.o(.text+0x3da7): In function `opt_input_file':
: undefined reference to `print_error'
ffmpeg.o(.text+0x4202): In function `opt_output_file':
: undefined reference to `print_error'
ffmpeg.o(.text+0x4e6f): In function `show_help':
: undefined reference to `show_help_options'
ffmpeg.o(.text+0x4ec1): In function `main':
: undefined reference to `parse_options'
collect2: ld returned 1 exit status
distcc[16650] ERROR: compile on localhost failed
make[3]: *** [ffmpeg] Error 1
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710-r1/work/avifile-0.7-0.7.38/ffmpeg'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710-r1/work/avifile-0.7-0.7.38/ffmpeg'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710-r1/work/avifile-0.7-0.7.38/ffmpeg'
make: *** [check-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.38.20030710-r1 failed.
!!! Function src_test, Line 497, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-11-12 00:10:29 UTC
This version is outdated for x86, so I would rather prefer not to try to find out what went wrong back then. Closing.