Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14850 - avifile-0.7.27.20030122-r1 failed to build
Summary: avifile-0.7.27.20030122-r1 failed to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 08:41 UTC by Peter Ruskin
Modified: 2003-04-04 01:26 UTC (History)
0 users

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


Attachments
A roughly patched ebuild, which will get rid of the "sound_init" error. (avifile-0_7_27_20030122-r1.ebuild,2.26 KB, text/plain)
2003-02-01 12:43 UTC, Erik Karlsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2003-01-31 08:41:25 UTC
User-Agent:       
Build Identifier: 

Missing patch??

# emerge -u world
Calculating world dependencies ...done!
>>> emerge (1 of 1) media-video/avifile-0.7.27.20030122-r1 to /
>>> md5 ;-) avifile-0.7.27-20030122.tgz
>>> Unpacking source...
>>> Unpacking avifile-0.7.27-20030122.tgz

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /var/tmp/portage/avifile-0.7.27.20030122-r1/work/patch


!!! ERROR: media-video/avifile-0.7.27.20030122-r1 failed.
!!! Function epatch, Line 163, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Peter Ruskin 2003-01-31 09:23:37 UTC
avifile-0.7.27.20030122 gets further but still fails:

Module.lo
VideoEncoder.cpp: In member function `virtual int 
   avm::VideoEncoder::EncodeFrame(const avm::CImage*, void*, int*, uint_t*, 
   int*)':
VideoEncoder.cpp:187: `st1' undeclared (first use this function)
VideoEncoder.cpp:187: (Each undeclared identifier is reported only once for 
   each function it appears in.)
VideoEncoder.cpp:187: `localcount' undeclared (first use this function)
make[3]: *** [VideoEncoder.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.27.20030122/work/avifile0.7-0.7.27/plugins/libwin32/videocodec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.27.20030122/work/avifile0.7-0.7.27/plugins/libwin32'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.27.20030122/work/avifile0.7-0.7.27/plugins'
make: *** [all-recursive] Error 1
Calculating dependencies    ...done!
>>> emerge (1 of 1) media-video/avifile-0.7.27.20030122 to /
>>> md5 ;-) avifile-0.7.27-20030122.tgz
!!! ERROR: media-video/avifile-0.7.27.20030122 failed.
!!! Function src_compile, Line 148, Exitcode 2
!!! (no error message)
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2003-01-31 16:30:36 UTC
c++ -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -pipe -o .libs/aviplay actioncfg.o main.o playercontrol.o decoder_config.o configdialog.o configdialog_impl.o -Wl,-rpath -Wl,/usr/lib  ../libavqt/.libs/libqavm.so -L/usr/qt/3/lib -lqt-mt ../lib/.libs/libaviplay.so -lz -L/usr/lib -L/usr/X11R6/lib /usr/lib/libSDL.so /usr/lib/libesd.so /usr/lib/libaudiofile.so /usr/lib/libasound.so -lvga /usr/lib/libpthread.so -lm -lSM -lICE -lXinerama -lXv -lXrender -lXft -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lnsl -ldl
../lib/.libs/libaviplay.so: undefined reference to `audio_init'
collect2: ld returned 1 exit status
make[1]: *** [aviplay] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.27.20030122-r1/work/avifile0.7-0.7.27/player'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.27.20030122-r1 failed.
!!! Function src_compile, Line 156, Exitcode 2
!!! (no error message)
Comment 3 Erik Karlsson 2003-02-01 12:43:31 UTC
Created attachment 7824 [details]
A roughly patched ebuild, which will get rid of the "sound_init" error.

I had the problem with the "sound_init" and after some trouble, and help on the
forums, I cleaned up the ebuild, and it compiled, without errors. Hope it works
for others too.
Comment 4 Nick Hadaway 2003-02-01 15:08:51 UTC
avifile-0.7.27.20030122-r1.ebuild has been updated to depends on alsa-lib, esound, and audiofile.  This should resolve your build issues.
Comment 5 Peter Ruskin 2003-02-01 16:33:29 UTC
avifile-0.7.27.20030122-r1 got this far:

c++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I./../loader -Wall -Wno-unused -I../../../include -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -pipe -Wp,-MD,.deps/VideoDecoder.pp -c VideoDecoder.cpp  -fPIC -DPIC -o VideoDecoder.lo
VideoEncoder.cpp: In member function `virtual int 
   avm::VideoEncoder::EncodeFrame(const avm::CImage*, void*, int*, uint_t*, 
   int*)':
VideoEncoder.cpp:187: `st1' undeclared (first use this function)
VideoEncoder.cpp:187: (Each undeclared identifier is reported only once for 
   each function it appears in.)
VideoEncoder.cpp:187: `localcount' undeclared (first use this function)
make[3]: *** [VideoEncoder.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.27.20030122-r1/work/avifile0.7-0.7.27/plugins/libwin32/videocodec'
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.27.20030122-r1/work/avifile0.7-0.7.27/plugins/libwin32'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.27.20030122-r1/work/avifile0.7-0.7.27/plugins'
Calculating dependencies    ...done!
>>> emerge (1 of 1) media-video/avifile-0.7.27.20030122-r1 to /
>>> md5 ;-) avifile-0.7.27-20030122.tgz
>>> md5 ;-) 20030130.diff.bz2
make: *** [all-recursive] Error 1
!!! ERROR: media-video/avifile-0.7.27.20030122-r1 failed.
!!! Function src_compile, Line 156, Exitcode 2
!!! (no error message)
Comment 6 Nick Hadaway 2003-02-01 20:59:25 UTC
hrm... you appear to be building with an older version of gcc... can you please paste the output of an "emerge info"
Comment 7 Nick Hadaway 2003-02-02 06:18:33 UTC
as i have had successful emerges on pentium2 and athlon-xp systems with gcc3... it appears to be a gcc2 thing... i notice c++ is being called instead of g++ so it seems to be an older profile
Comment 8 Peter Ruskin 2003-02-02 07:45:52 UTC
$ sudo emerge info
Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20-xfs_pre5-pnr i686 AMD Athlon(tm) XP 1900+
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage/"
USE="x86 oss 3dnow apm avi cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde mozilla snmp cdr scanner doc dvd fbcon -gnome innodb maildir mbox nocardbus odbc opengl samba slp sse tiff wmf -crypt -motif"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -pipe -mmmx -msse -m3dnow "
CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -pipe -mmmx -msse -m3dnow "
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="-sandbox ccache"
Comment 9 Peter Ruskin 2003-02-05 09:07:41 UTC
media-video/avifile-0.7.29.20030204 failed:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I./../loader -Wall -Wno-unused -I../../../include -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -pipe -c VideoDecoder.cpp  -fPIC -DPIC -o VideoDecoder.lo
VideoEncoder.cpp: In member function `virtual int
   avm::VideoEncoder::EncodeFrame(const avm::CImage*, void*, int*, uint_t*,
   int*)':
VideoEncoder.cpp:187: `st1' undeclared (first use this function)
VideoEncoder.cpp:187: (Each undeclared identifier is reported only once for
   each function it appears in.)
VideoEncoder.cpp:187: `localcount' undeclared (first use this function)
make[3]: *** [VideoEncoder.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/plugins/libwin32/videocodec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/plugins/libwin32'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/plugins'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.29.20030204 failed.
!!! Function src_compile, Line 145, Exitcode 2
!!! (no error message)
Comment 10 Peter Ruskin 2003-02-11 11:35:26 UTC
20030204 is OK ... I'm happy
Comment 11 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:22:09 UTC
db fix
Comment 12 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:26:59 UTC
db fix