Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128236 - mplayer-1.0.20060302 does not build against libcdio-0.77
Summary: mplayer-1.0.20060302 does not build against libcdio-0.77
Status: RESOLVED DUPLICATE of bug 127901
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 04:36 UTC by Ivan Yosifov
Modified: 2006-03-31 07:47 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 Ivan Yosifov 2006-03-31 04:36:26 UTC
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.. -I../loader    -I../libavutil -I../libavcodec -I../libavformat    -o muxer_mpeg.o muxer_mpeg.c
muxer_mpeg.c:1018:1: warning: "max" redefined
In file included from muxer_mpeg.c:14:
aviheader.h:16:1: warning: this is the location of the previous definition
muxer_mpeg.c:1019:1: warning: "min" redefined
aviheader.h:12:1: warning: this is the location of the previous definition
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.. -I../loader    -I../libavutil -I../libavcodec -I../libavformat    -o muxer_rawaudio.o muxer_rawaudio.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.. -I../loader    -I../libavutil -I../libavcodec -I../libavformat    -o muxer_rawvideo.o muxer_rawvideo.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.. -I../loader    -I../libavutil -I../libavcodec -I../libavformat    -o muxer_lavf.o muxer_lavf.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.. -I../loader    -I../libavutil -I../libavcodec -I../libavformat    -I/usr/lib/live/liveMedia/include -I/usr/lib/live/UsageEnvironment/include -I/usr/lib/live/BasicUsageEnvironment/include -I/usr/lib/live/groupsock/include -o demux_rtp.o demux_rtp.cpp
In file included from stream.h:290,
                 from demux_rtp.h:8,
                 from demux_rtp.cpp:9:
/usr/include/dvdread/ifo_types.h:32:2: error: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0.20060302/work/mplayer-1.0.20060302/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

!!! ERROR: media-video/mplayer-1.0.20060302 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  mplayer-1.0.20060302.ebuild, line 483:   Called die

!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, and the call stack if relevant.

Problem started after update of libcdio to 0.77.

Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mtune=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=prescott -mtune=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/obelix /usr/local/portage/migration/migration /usr/local/portage/migration/obelix"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa apache2 avi bash-completion bzip2 cairo cdr crypt cups dbus doc dts dvd dvdr dvdread elibc_glibc encode exif fam ffmpeg firefox flac gd gif glitz glut gmp gnutls gpm gstreamer gtk gtk2 hal imagemagick jpeg kde kdeenablefinal kernel_linux lcms logrotate mad mikmod mmap mmx mng mp3 mpeg ncurses nls nptl nsplugin nvidia ogg opengl pam pdf pic png qt quicktime readline sdl session snmp spell sqlite sse sse2 ssl svg threads tidy tiff truetype unicode usb userland_GNU vcd vorbis win32codecs wmf x86 xv xvid zlib input_devices_keyboard input_devices_mouse input_devices_evdev linguas_en linguas_de video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 1 Emanuele Giaquinta (RETIRED) gentoo-dev 2006-03-31 05:00:03 UTC
It is not an issue with libcdio; the problem is that you are compiling the rtp demuxer using libdvdread-0.9.5 headers, which doesn't work atm. The fix is trivial, but maybe Luca prefers to wait for it merged upstream and temporarily disable live when using >=libdvdread-0.9.5.
Comment 2 Ivan Yosifov 2006-03-31 05:41:28 UTC
I see. Indeed building it -live fixed the problem. If the gentoo mplayer people are already aware of the issue feel free to close the bug. Thanks.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 07:47:46 UTC

*** This bug has been marked as a duplicate of 127901 ***