Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77144 - media-video/vlc-0.7.1-r1 compilation failed
Summary: media-video/vlc-0.7.1-r1 compilation failed
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 09:16 UTC by Hauser Wong
Modified: 2005-04-18 16:16 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 Hauser Wong 2005-01-08 09:16:22 UTC
I have successfully compiled vlc-0.7.2-r1 on my notebook, as I miss some features in 0.7.1, I tried to downgrade but failed.

Reproducible: Always
Steps to Reproduce:
1.# emerge  =vlc-0.7.1-r1
2.
3.
Actual Results:  
i686-pc-linux-gnu-gcc -Wsign-compare -Wall -finline-limit-30000 -pipe -Wl,-O1 
-o libpva_plugin.so libpva_plugin_a-pva.o `top_builddir=../.. ../../vlc-config 
--libs plugin pva` 
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX 
-I../../include `top_builddir="../.." ../../vlc-config --cflags plugin aiff` 
-Wsign-compare -Wall  -finline-limit-30000 -pipe -MT libaiff_plugin_a-aiff.o 
-MD -MP -MF ".deps/libaiff_plugin_a-aiff.Tpo" \ 
  -c -o libaiff_plugin_a-aiff.o `test -f 'aiff.c' || echo './'`aiff.c; \ 
then mv -f ".deps/libaiff_plugin_a-aiff.Tpo" ".deps/libaiff_plugin_a-aiff.Po"; 
\ 
else rm -f ".deps/libaiff_plugin_a-aiff.Tpo"; exit 1; \ 
fi 
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. 
aiff.c: In function `Open': 
aiff.c:178: warning: comparison between signed and unsigned 
i686-pc-linux-gnu-gcc -Wsign-compare -Wall -finline-limit-30000 -pipe -Wl,-O1 
-o libaiff_plugin.so libaiff_plugin_a-aiff.o 
`top_builddir=../.. ../../vlc-config --libs plugin aiff` 
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX 
-I../../include `top_builddir="../.." ../../vlc-config --cxxflags builtin 
livedotcom` -Wsign-compare -Wsign-compare -Wall  -finline-limit-30000 -pipe -MT 
liblivedotcom_a-livedotcom.o -MD -MP -MF ".deps/liblivedotcom_a-livedotcom.Tpo" 
\ 
  -c -o liblivedotcom_a-livedotcom.o `test -f 'livedotcom.cpp' || echo 
'./'`livedotcom.cpp; \ 
then mv -f ".deps/liblivedotcom_a-livedotcom.Tpo" 
".deps/liblivedotcom_a-livedotcom.Po"; \ 
else rm -f ".deps/liblivedotcom_a-livedotcom.Tpo"; exit 1; \ 
fi 
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. 
livedotcom.cpp: In function `int DemuxOpen(vlc_object_t*)': 
livedotcom.cpp:626: error: ISO C++ forbids cast to non-reference type used as 
lvalue 
livedotcom.cpp:626: error: ISO C++ forbids cast to non-reference type used as 
lvalue 
make[4]: *** [liblivedotcom_a-livedotcom.o] Error 1 
make[4]: Leaving directory 
`/var/tmp/portage/vlc-0.7.1-r1/work/vlc-0.7.1/modules/demux' 
make[3]: *** [all-modules] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/vlc-0.7.1-r1/work/vlc-0.7.1/modules/demux' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/vlc-0.7.1-r1/work/vlc-0.7.1/modules' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/vlc-0.7.1-r1/work/vlc-0.7.1' 
make: *** [all] Error 2 
 
!!! ERROR: media-video/vlc-0.7.1-r1 failed. 
!!! Function src_compile, Line 181, Exitcode 2 
!!! make of VLC failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 


# emerge -pv =vlc-0.7.1-r1   
   
These are the packages that I would merge, in order:   
   
Calculating dependencies  ...done!   
[ebuild     UD] media-video/vlc-0.7.1-r1 [0.7.2-r1] -3dfx +X -aac -aalib +alsa   
+arts -bidi -debug -dvb +dvd +esd +fbcon -ggi +gnome +gtk +imlib -joystick   
-lirc +mad -matroska -mozilla +ncurses +nls +oggvorbis +oss +png +sdl +slp   
-speex +svga +truetype +v4l +wxwindows -xosd +xv 0 kB   
   
# emerge info  
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3,  
glibc-2.3.4.20040808-r1, 2.6.9-nitro4 i686)  
=================================================================  
System uname: 2.6.9-nitro4 i686 Intel(R) Pentium(R) M processor 1.60GHz  
Gentoo Base System version 1.4.16  
ccache version 2.3 [enabled]  
Autoconf: sys-devel/autoconf-2.59-r5  
Automake: sys-devel/automake-1.8.5-r1  
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3  
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1  
Libtools: sys-devel/libtool-1.5.2-r7  
ACCEPT_KEYWORDS="x86"  
AUTOCLEAN="yes"  
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"  
CHOST="i686-pc-linux-gnu"  
COMPILER=""  
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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="-O2 -march=pentium-m -fomit-frame-pointer"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms userpriv  
usersandbox"  
GENTOO_MIRRORS="http://ftp.gentoo.or.kr/ http://mirror.gentoo.gr.jp  
ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.mirrors.pair.com"  
MAKEOPTS="-j2"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY=""  
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"  
USE="x86 X acl acpi alsa apache2 apm arts audiofile avi berkdb bindist  
bitmap-fonts bzlib cdparanoia cdr cjk cross crypt cups curl dedicated dio  
directfb divx4linux dvb dvd dvdr dvdread encode esd evo exif fam fbcon flac  
flash foomaticdb fortran ftp gd gdbm gif glc gnome gphoto2 gpm gstreamer gtk  
gtk2 gtkhtml guile icc icc-pgo iconv icq imagemagickimlib ipv6 jabber jack java  
jikes jpeg kde kerberos ladcca libwww mad memlimit mikmod milter mime ming mmap  
mmx mng motif mozilla mpeg msn nas ncurses nis nls nptl oggvorbis opengl oss  
pam pcmcia pda pdflib perl php pic png posix ppds python qt quicktime readline  
real ruby samba scanner sdl shared sharedmem slang slp sndfile sockets spell  
spl sse ssl svg svga tcpd tetex theora tiff tokenizer truetype trusted unicode  
usb vhosts videos wavelan wmf wxwindows xine xml xml2 xmms xpm xprint xv xvid  
yahoo zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2005-01-08 15:28:57 UTC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. 

^^ might wanna follow that, it solves 75% of all errors that come up with this warning.  Also, verify this with 0.8.1, which is being pushed as the latest stable.
Comment 2 Hauser Wong 2005-01-09 01:32:35 UTC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. 

I've tried all combinations, still the same result.  I don't think that causes the  problem though, since '-march=' implies '-mtune=' and I don't use '-mcpu='.

On the other hand, 0.8.1 compiles fine with my CFLAGS, but there's a sound problem which I've already reported in your thread.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-18 16:16:56 UTC
0.8.1 is going to be the stable asap, closing this as WONTFIX.