Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101466 - media-video/vlc-0.8.1-r1 fails to build on AMD64
Summary: media-video/vlc-0.8.1-r1 fails to build on AMD64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 11:42 UTC by Jonathan Buset
Modified: 2005-08-08 06:46 UTC (History)
1 user (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 Jonathan Buset 2005-08-05 11:42:27 UTC
vlc has been failing to compile since the +sdl use flag was added by another
program I installed.

Reproducible: Always
Steps to Reproduce:
1. emerge -vN vlc


Actual Results:  
mp4.c: In function `TrackCreateSamplesIndex':
mp4.c:1048: warning: long long int format, long unsigned int arg (arg 7)
mp4.c: In function `TrackTimeToSampleChunk':
mp4.c:1384: warning: long long int format, long unsigned int arg (arg 6)
mp4.c:1384: warning: long long int format, long unsigned int arg (arg 7)
mp4.c:1407: warning: comparison between signed and unsigned
mp4.c:1408: warning: comparison between signed and unsigned
mp4.c:1421: warning: comparison between signed and unsigned
mp4.c: In function `MP4_TrackCreate':
mp4.c:1654: warning: comparison between signed and unsigned
mp4.c:1656: warning: signed and unsigned type in conditional expression
mp4.c:1656: warning: long long int format, long unsigned int arg (arg 6)
mp4.c:1656: warning: long long int format, long unsigned int arg (arg 7)
mp4.c:1716: warning: long long unsigned int format, uint64_t arg (arg 5)
mp4.c: In function `MP4_TrackNextSample':
mp4.c:2018: warning: comparison between signed and unsigned
mp4.c:2020: warning: comparison between signed and unsigned
mp4.c: In function `MP4_TrackSetELST':
mp4.c:2044: warning: comparison between signed and unsigned
mp4.c:2055: warning: comparison between signed and unsigned
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
mp4` -Wsign-compare -Wall -O3 -march=k8 -fomit-frame-pointer -pipe -ffast-math
-pipe -MT libmp4_plugin_a-libmp4.o -MD -MP -MF ".deps/libmp4_plugin_a-libmp4.Tpo" \
  -c -o libmp4_plugin_a-libmp4.o `test -f 'libmp4.c' || echo './'`libmp4.c; \
then mv -f ".deps/libmp4_plugin_a-libmp4.Tpo" ".deps/libmp4_plugin_a-libmp4.Po"; \
else rm -f ".deps/libmp4_plugin_a-libmp4.Tpo"; exit 1; \
fi
libmp4.c: In function `MP4_ReadBoxCommon':
libmp4.c:373: warning: long long int format, uint64_t arg (arg 6)
libmp4.c: In function `MP4_ReadBox_url':
libmp4.c:858: warning: comparison between signed and unsigned
libmp4.c:858: warning: signed and unsigned type in conditional expression
libmp4.c:858: warning: comparison between signed and unsigned
libmp4.c:858: warning: signed and unsigned type in conditional expression
libmp4.c:858: warning: comparison between signed and unsigned
libmp4.c:858: warning: signed and unsigned type in conditional expression
libmp4.c: In function `MP4_ReadBox_urn':
libmp4.c:880: warning: comparison between signed and unsigned
libmp4.c:880: warning: signed and unsigned type in conditional expression
libmp4.c:880: warning: comparison between signed and unsigned
libmp4.c:880: warning: signed and unsigned type in conditional expression
libmp4.c:880: warning: comparison between signed and unsigned
libmp4.c:880: warning: signed and unsigned type in conditional expression
libmp4.c:881: warning: comparison between signed and unsigned
libmp4.c:881: warning: signed and unsigned type in conditional expression
libmp4.c:881: warning: comparison between signed and unsigned
libmp4.c:881: warning: signed and unsigned type in conditional expression
libmp4.c:881: warning: comparison between signed and unsigned
libmp4.c:881: warning: signed and unsigned type in conditional expression
libmp4.c: In function `MP4_ReadBox_sample_soun':
libmp4.c:1282: warning: long long int format, int64_t arg (arg 5)
libmp4.c: In function `MP4_ReadBox_stdp':
libmp4.c:1692: warning: long long int format, int64_t arg (arg 5)
libmp4.c: In function `MP4_ReadBox_padb':
libmp4.c:1736: warning: long long int format, int64_t arg (arg 5)
libmp4.c: In function `MP4_ReadBox_elst':
libmp4.c:1795: warning: long long int format, int64_t arg (arg 5)
libmp4.c: In function `MP4_ReadBox_cprt':
libmp4.c:1826: warning: comparison between signed and unsigned
libmp4.c:1826: warning: signed and unsigned type in conditional expression
libmp4.c:1826: warning: comparison between signed and unsigned
libmp4.c:1826: warning: signed and unsigned type in conditional expression
libmp4.c:1826: warning: comparison between signed and unsigned
libmp4.c:1826: warning: signed and unsigned type in conditional expression
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
mp4` -Wsign-compare -Wall -O3 -march=k8 -fomit-frame-pointer -pipe -ffast-math
-pipe -MT libmp4_plugin_a-drms.o -MD -MP -MF ".deps/libmp4_plugin_a-drms.Tpo" \
  -c -o libmp4_plugin_a-drms.o `test -f 'drms.c' || echo './'`drms.c; \
then mv -f ".deps/libmp4_plugin_a-drms.Tpo" ".deps/libmp4_plugin_a-drms.Po"; \
else rm -f ".deps/libmp4_plugin_a-drms.Tpo"; exit 1; \
fi
x86_64-pc-linux-gnu-gcc -Wsign-compare -Wall -O3 -march=k8 -fomit-frame-pointer
-pipe -ffast-math -pipe -o libmp4_plugin.so libmp4_plugin_a-mp4.o
libmp4_plugin_a-libmp4.o libmp4_plugin_a-drms.o `top_builddir=../../..
../../../vlc-config --libs plugin mp4`
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib64/libsysfs.a(libsysfs_la-sysfs_bus.o): relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libsysfs.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[6]: *** [libmp4_plugin.so] Error 1
make[6]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/demux/mp4'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/demux/mp4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/demux'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.8.1-r1 failed.
!!! Function src_compile, Line 197, Exitcode 2
!!! make of VLC failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Compiled cleanly.

$ emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -fomit-frame-pointer -pipe -ffast-math"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=k8 -fomit-frame-pointer -pipe -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca/ ftp://cs.ubishops.ca/pub/gentoo
ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/
ftp://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="3dnowex X acpi alsa amd64 avi berkdb bitmap-fonts cdr crypt cups curl dvd
dvdr dvdread eds emul-linux-x86 encode esd evo fam ffmpeg foomaticdb fortran gd
gif gnome gpm gstreamer gtk gtk2 hal howl i8x0 imagemagick imlib ipv6 java jpeg
libwww lzw lzw-tiff mad mozilla mp3 mpeg ncurses nls nptl nvidia opengl pam
pdflib perl png ppds python quicktime readline samba sdl spell ssl tcpd tetex
tiff truetype-fonts type1-fonts unicode usb userlocales xine xml2 xmms xpm xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

$ cat /etc/portage/package.use
sys-libs/glibc userlocales
sys-devel/libperl ithreads
dev-lang/perl ithreads
media-video/totem -gstreamer
media-video/vlc wxwindows cddb cdda
net-print/hplip qt
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-05 12:06:34 UTC
Which version sysfsutils are you using? Seems like that is the problem. 
 
Comment 2 Jonathan Buset 2005-08-07 22:09:44 UTC
(In reply to comment #1)
> Which version sysfsutils are you using? Seems like that is the problem. 
>  

$ emerge -s sysfsutils
Searching...
[ Results for search key : sysfsutils ]
[ Applications found : 1 ]

*  sys-fs/sysfsutils
      Latest version available: 1.2.0-r2
      Latest version installed: 1.2.0-r2
      Size of downloaded files: 277 kB
      Homepage:    http://linux-diag.sourceforge.net/Sysfsutils.html
      Description: System Utilities Based on Sysfs
      License:     GPL-2 LGPL-2.1
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-08 00:05:58 UTC
Try doing 
 
echo "=sys-fs/sysfsutils-1.2.0-r3 ~amd64" >> /etc/portage/package.keywords 
 
and recompiling vlc. 
Seems like the stable is non-optimal and needs to be moved on -r3. 
 
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-08 06:46:29 UTC
Marked -r3 stable, this should fix the problem.