Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93814 - media-video/avifile-0.7.41.20041001-r1 fails to compile "4: No such file or directory"
Summary: media-video/avifile-0.7.41.20041001-r1 fails to compile "4: No such file or d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 08:56 UTC by Charles de Noyelle
Modified: 2005-07-13 05:45 UTC (History)
0 users

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 Charles de Noyelle 2005-05-24 08:56:51 UTC
I emerge k3b, and it works but it wanted to install 2 progs :
[ebuild  N    ] media-video/avifile-0.7.41.20041001-r1  
[ebuild  N    ] media-video/transcode-0.6.14-r2  

the second one depends on the first that "sucks" :-)

The "configure step" is just allright, and after about 60 secs from the
beginning of the "make" step, we have the following line :

x86_64-pc-linux-gnu-g++ -march=athlon64 -O2 -pipe -fomit-frame-pointer
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o .libs/aviplay
actioncfg.o main.o playercontrol.o decoder_config.o configdialog.o
configdialog_impl.o 4 -Wl,-rpath -Wl,/usr/lib  ../libavqt/.libs/libqavm.so
-L/usr/qt/3/lib /usr/qt/3/lib64/libqt-mt.so ../lib/.libs/libaviplay.so
/usr/lib64/libSDL.so -lpthread -L/usr/lib64 -lSM -lICE -lXinerama -lXv -lXxf86vm
-lXxf86dga -lXi -lXext -lX11 -lnsl -ldl
x86_64-pc-linux-gnu-g++: 4: No such file or directory
make[1]: *** [aviplay] Error 1
make[1]: Leaving directory
`/var/tmp/portage/avifile-0.7.41.20041001-r1/work/avifile-0.7-0.7.41/player'
make: *** [all-recursive] Error 1


----------------

I tried to remove the "4" from that line, and it worked perfectly. 

(a.k.a : 
# cd /var/tmp/portage/avifile-0.7.41.20041001-r1/work/avifile-0.7-0.7.41/player/
# x86_64-pc-linux-gnu-g++ -march=athlon64 -O2 -pipe -fomit-frame-pointer
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o .libs/aviplay
actioncfg.o main.o playercontrol.o decoder_config.o configdialog.o
configdialog_impl.o |*|*|*|*|---> 4 <--- REMOVE THIS PART |*|*|*|*| -Wl,-rpath
-Wl,/usr/lib  ../libavqt/.libs/libqavm.so -L/usr/qt/3/lib
/usr/qt/3/lib64/libqt-mt.so ../lib/.libs/libaviplay.so /usr/lib64/libSDL.so
-lpthread -L/usr/lib64 -lSM -lICE -lXinerama -lXv -lXxf86vm -lXxf86dga -lXi
-lXext -lX11 -lnsl -ldl
#

hope this is detailled enought to help you.

Reproducible: Always
Steps to Reproduce:
1.emerge  media-video/avifile
2.( enjoy :-) )
3.

Actual Results:  
compile error

Expected Results:  
compile properly :-)


--- Emerge info ---

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 15 2005, 17:44:57)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5-r2
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-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-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 /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=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.proxad.fr/mirrors2/ftp.gentoo.org/
ftp://ftp.lip6.fr/pub/linux/distributions/gentoo/
http://mir.zyrianes.net/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa arts audiofile avi bash-completion bitmap-fonts
bzlib cdparanoia cdr ctype cups dba directfb dvd dvdr dvdread emul emul-linux
encode fastcgi flac ftp gd gdbm gif gphoto2 gtk gtk2 icq imagemagick jabber java
javascript jpeg jpeg2k libcaca logitech-mouse mime mp3 mpeg msn nls nptl
nptlonly nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png posix python
qt quicktime readline real sblive session sftplogging shared sharedext sharedmem
sockets spl ssl tcltk tiff tokenizer truetype-fonts type1-fonts unicode usb vcd
wifi xine xml xml2 xmms xv xvid zlib linguas_fr userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

--- /Emerge info ---







Makefile : line 125
SDL_LIBS = 4 -Wl,-rpath,/usr/lib -lSDL -lpthread
I do not know where the "4" comes from, but it has to be removed :-)
(
#./configure (emerge given options pasted here) | grep sdl -i 
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64 --disable-static
--disable-freetype2 --enable-xv --disable-sdl --disable-sdltest --enable-a52
--enable-ffmpeg-a52 --enable-libz --enable-vorbis --enable-oggtest
--enable-vorbistest --with-x --enable-xft --enable-samples --disable-vidix
--with-fpic --enable-lame-bin --enable-oss --disable-xvid --enable-xvid4
--enable-quiet --with-qt-prefix=/usr/qt/3 | grep sdl -i
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
avifile configure options: --prefix=/usr --host=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-static
--disable-freetype2 --enable-xv --disable-sdl --disable-sdltest --enable-a52
--enable-ffmpeg-a52 --enable-libz --enable-vorbis --enable-oggtest
--enable-vorbistest --with-x --enable-xft --enable-samples --disable-vidix
--with-fpic --enable-lame-bin --enable-oss --disable-xvid --enable-xvid4
--enable-quiet --with-qt-prefix=/usr/qt/3
checking for sdl-config... sdl-config
setting SDL_CONFIG to /usr/bin/sdl-config
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.0... yes
configure: WARNING: Directory: /usr/lib/win32 does not exist - install binaries!
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
Sdl:              yes
)

Hope this helps...
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-24 09:37:57 UTC
That's already fixed on avifile-0.7.43.20050224-r1. 
I'll try to see if it's safe to backport it on stable version. 
Comment 2 Charles de Noyelle 2005-05-24 09:51:31 UTC
(In reply to comment #1)
> That's already fixed on avifile-0.7.43.20050224-r1. 
> I'll try to see if it's safe to backport it on stable version. 

oh, sh... I really tried to search. 

thanx even more :-)
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-07-13 05:45:03 UTC
avifile-0.7.43.20050224-r1 stable on amd64 fixes this bug.