Bug 126291 - media-video/streamdvd-0.4-r1 compile failure with gcc4.1
Bug#: 126291 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: media-video@gentoo.org Reported By: klausman@gentoo.org
Component: GCC Porting
URL: 
Summary: media-video/streamdvd-0.4-r1 compile failure with gcc4.1
Keywords:  
Status Whiteboard: 
Opened: 2006-03-15 04:58 0000
Description:   Opened: 2006-03-15 04:58 0000
>>> Compiling source in /var/tmp/portage/streamdvd-0.4-r1/work/StreamDVD-0.4 ...
g++ -O2 -march=athlon64 -pipe  -ldvdread -lm -o streamdvd -I. -Implex
streamdvd.
c requant.c mplex/*.c mplex/*.cpp                                              
streamdvd.c: In function 'void get_av_delay()':
streamdvd.c:176: warning: converting to 'int' from 'double'
mplex/zalphastrm.hpp:48: error: extra qualification 'ZAlphaStream::' on member
'
RunOutComplete'                                                                
mplex/zalphastrm_in.cpp: In member function 'virtual void
ZAlphaStream::Close()'
:                                                                              
mplex/zalphastrm_in.cpp:363: warning: converting to 'unsigned int' from
'double'
mplex/zalphastrm.hpp:48: error: extra qualification 'ZAlphaStream::' on member
'
RunOutComplete'                                                                
make: *** [all] Error 1

!!! ERROR: media-video/streamdvd-0.4-r1 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

# emerge --info ; gcc -v
Portage 2.1_pre6-r2 (default-linux/amd64/2005.1, gcc-4.1.0, glibc-2.4-r0,
2.6.16
-rc4 x86_64)                                                                   
=================================================================
System uname: 2.6.16-rc4 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disab
led]                                                                           
dev-lang/python:     2.3.5, 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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe "
CHOST="x86_64-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/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web
2c /etc/env.d"                                                                 
CXXFLAGS="-O2 -march=athlon64 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://gen
too.mirror.solnet.ch http://pandemonium.tiscali.de/pub/gentoo/"                
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage"
USE="amd64 X a52 alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts 
bzip2 calendar cdparanoia cdr crypt cups dio dri dts dvb dvd dvdr dvdread
emboss encode ethereal exif ffmpeg fftw firefox foomaticdb fortran ftp gif gpm
gstreamer gtk gtk2 imlib imlib2 jpeg kdeenablefinal ladcca lcms lua lzw
lzw-tiff matroska mmap mng moznocompose moznoirc moznomail mozsvg mp3 mpeg
mysqli ncurses nls nptl nptlonly offensive ogg opengl pam pcre pdflib perl png
ppds python quicktime readline recode sdl sharedmem sockets sox spell ssl svg
szip tcpd tetex theora tiff truetype-fonts type1-fonts unicode usb userlocales
v4l v4l2 vcd vim vim-pager vlm wmf xosd xpm xv xvid zlib elibc_glibc
input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux
userland_GNU video_cards_vesa"         Unset:  ASFLAGS, CTARGET,
EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/configure
--prefix=/u
sr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.0
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --enable-multilib
--disable-libmudflap --disable-libssp --disable-libgcj
--enable-languages=c,c++,fortran --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu                                     
            Thread model: posix
gcc version 4.1.0 (Gentoo 4.1.0)

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-03-15 05:42:19 0000 -------
Patched, it builds now.