Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89454 - Building of media-video/mplayer-1.0_pre6-r4 fails on x86
Summary: Building of media-video/mplayer-1.0_pre6-r4 fails on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 13:36 UTC by Patrick Lorazo
Modified: 2005-04-19 08:14 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 Patrick Lorazo 2005-04-17 13:36:49 UTC
When I try to emerge mplayer-1.0_pre6-r4 by typing

USE="aalib alsa arts avi doc dvb cdparanoia dvd dvdread encode esd gif gtk ipv6 jpeg live mad mpeg network nls oggvorbis opengl oss png real sdl svga truetype X xanim xmms xv" emerge mplayer

the compilation fails after a few minutes with the following

In file included from /usr/src/linux/include/asm/byteorder.h:57,
                 from /usr/src/linux/include/linux/cdrom.h:14,
                 from vcd_read.h:7,
                 from stream_vcd.c:25:
/usr/src/linux/include/linux/byteorder/little_endian.h:43: error: syntax error before "__cpu_to_le64p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le64p':
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: `__le64' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: (Each undeclared identifier is reported only once
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: for each function it appears in.)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:47: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le64_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:49: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:51: error: syntax error before "__cpu_to_le32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le32p':
/usr/src/linux/include/linux/byteorder/little_endian.h:53: error: `__le32' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:55: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le32_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:57: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:59: error: syntax error before "__cpu_to_le16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le16p':
/usr/src/linux/include/linux/byteorder/little_endian.h:61: error: `__le16' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:63: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le16_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:65: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:67: error: syntax error before "__cpu_to_be64p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be64p':
/usr/src/linux/include/linux/byteorder/little_endian.h:69: error: `__be64' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:69: error: syntax error before "__swab64p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:71: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be64_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:73: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:75: error: syntax error before "__cpu_to_be32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be32p':
/usr/src/linux/include/linux/byteorder/little_endian.h:77: error: `__be32' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:77: error: syntax error before "__swab32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:79: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be32_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:81: error: `p' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:83: error: syntax error before "__cpu_to_be16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be16p':
/usr/src/linux/include/linux/byteorder/little_endian.h:85: error: `__be16' undeclared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:85: error: syntax error before "__swab16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:87: error: syntax error before '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be16_to_cpup':
/usr/src/linux/include/linux/byteorder/little_endian.h:89: error: `p' undeclared (first use in this function)
make[1]: *** [stream_vcd.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre6-r4 failed.
!!! Function src_compile, Line 509, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.Type USE="aalib alsa arts avi doc dvb cdparanoia dvd dvdread encode esd gif gtk ipv6 jpeg live mad mpeg network nls oggvorbis opengl oss png real sdl svga truetype X xanim xmms xv" emerge mplayer
2.
3.

Actual Results:  
The compilation failed after a few minutes.

Expected Results:  
mplayer-1.0_pre6-r4 should have been compiled and installed!

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  2 2005, 22:51:14)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.9.4, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O3 -pipe"
CHOST="i386-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/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="-mcpu=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_CA"
LINGUAS="fr pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apm arts avi bash-completion berkdb bitmap-fonts
cdparanoia cdr crypt cups curl dvd emboss encode esd f77 fam flac font-server
foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 java
jpeg kde ldap libg++ libwww live mad mikmod motif mozilla mp3 mpeg mysql ncurses
nls ogg oggvorbis openal opengl oss pam pdflib perl png python qt quicktime
readline real sdl spell ssl svga tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode usb vorbis xine xml2 xmms xpm xprint xv zlib
video_cards_radeon linguas_fr linguas_pl"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Graeme Humphries 2005-04-18 10:37:38 UTC
I'm having the same error on AMD64, with -Os or -O2.
Comment 2 Luca Barbato gentoo-dev 2005-04-18 10:46:08 UTC
linux kernel version?
Comment 3 Patrick Lorazo 2005-04-18 10:54:06 UTC
Indeed, I have forgotten to mention that using -O2 instead of -O3 yields to the same error. I use Linux kernel version 2.6.9.
Comment 4 Graeme Humphries 2005-04-18 11:03:14 UTC
I'm also gentoo-sources-2.6.9-r14.
Comment 5 Luca Barbato gentoo-dev 2005-04-18 11:04:02 UTC
try to update your kernel sources and tell me if that still happens 
Comment 6 Patrick Lorazo 2005-04-18 11:13:54 UTC
OK. I will give it a try tonight. Thanks.
Comment 7 Graeme Humphries 2005-04-18 11:45:03 UTC
Is there still problems with CD burning in >=2.6.10? I'd rather not have to update my kernel if it means it's going to break my burner (again). ;)
Comment 8 Patrick Lorazo 2005-04-18 21:31:17 UTC
I have updated my gentoo-sources (from 2.6.9-gentoo-r1 to 2.6.11-gentoo-r6)...and merging of mplayer-1.0_pre6-r4 was successful! I have not tried burning a CD, however... :) Thanks!
Comment 9 Graeme Humphries 2005-04-18 22:17:01 UTC
Is "use a newer kernel" really a solution? Shouldn't you be able to build mplayer without the kernel sources?
Comment 10 Patrick Lorazo 2005-04-19 05:58:05 UTC
I sincerely apologize for reporting the bug as fixed. I agree with you that updating the kernel is a solution, but not the ideal solution. I have reopened the bug report. Best wishes,

Patrick
Comment 11 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-19 07:30:35 UTC
it's a solution if other versions make problems
Comment 12 Graeme Humphries 2005-04-19 08:14:42 UTC
Well, if it's going to be the official Gentoo solution, can the ebuild at least require a newer kernel? It shouldn't try and build on an old kernel if we know that breaks.