dxr3player does not emerge with GCC 4.1.1. It used to work before I upgraded my system to use GCC 4.1.1. ---END--- emerge --info: Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r13VillenUbiili-1 i686) ================================================================= System uname: 2.6.16-gentoo-r13VillenUbiili-1 i686 AMD Athlon(tm) 3100+ Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] 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-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/wget" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/" LANG="fi_FI.UTF-8" LC_ALL="fi_FI.UTF-8" LINGUAS="fi en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip S3TC X a52 aac aalib adsl aio alsa amazon audacious avi bash-completion berkdb bitmap-fonts bittorrent bmpx bzip2 cairo cddb cdparanoia cdr crypt css dbus dga directfb dri dvb dvbplayer dvd dvdr dvdread dxr3 emboss enca encode exif fam fbcon ffmpeg firefox flac fluidsynth font-server fortran ftp gdbm gif gimp gphoto2 gpm gstreamer gzip hal iconv id3 imagemagick ipv6 irssi isdnlog java javascript jpeg kde kdm kipi ladspa lame latin1 lcms ldap libcaca libg++ lirc live lm_sensors lzo mad mdb mikmod mixer mjpeg mmkeys mmx mmxext mng modplug mp3 mp4 mp4live mpd-mad mpeg mpeg2 mplayer msn musepack music ncurses nls nodrm nptl nptlonly nsplugin nvram ogg oggvorbis openal opengl pam pdf pdflib png ppds pppd ps python qt3 qt4 readline real reflection reiser4 reiserfs rtc rtsp samplerate sdl sdl-sound session speex spell sse ssl stream subtitles svg symlink tcpd theora tiff timidity transcode trayicon truetype truetype-fonts type1 type1-fonts udev unicode unzip usb userlocales v4l vcd vcdimager vdr vorbis win32codecs wma x264 xanim xml xorg xpm xrandr xscreensaver xv xvid xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fi linguas_en_GB lirc_devices_serial userland_GNU video_cards_fglrx video_cards_vesa video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 96107 [details] output of 'emerge dxr3player'
Don't mark bugs as a blocker unless your box just exploded in smoke and flames. Thanks!
Oops... sorry! I misunderstood what a "blocker" means - yeah, I should've read the "A Bug's Life Cycle" more carefully.
I think one can either put a test for gcc-4 in pkg_config, or apply/copy the liba52 from newer mplayer and hope that this is the only problem with gcc-4.
Created attachment 101302 [details, diff] dxr3player-0.10-gcc40.patch this patches the error above but it still dies elsewhere. /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h: In instantiation of 'std::vector<const char*, DefaultAllocatorTemplate<const char*> >': ../../../../src/lib/util/JoystickConfig.h:71: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h:161: error: no type named 'value_type' in 'class DefaultAllocatorTemplate<const char*>' make[5]: *** [Processor.o] Error 1 cvs is active as of 12 days ago so it's possible the above has been fixed
Portage 2.1.2_rc2-r5 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 x86_64) ================================================================= System uname: 2.6.19-gentoo-r1 x86_64 AMD Sempron(tm) Processor 3300+ Gentoo Base System version 1.12.6 Last Sync: Thu, 07 Dec 2006 18:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://mirrors.64hosting.com/pub/mirrors/gentoo/" LANG="de_DE.utf-8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/gentoo-de /usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa alsa_cards_via82xx apache2 arts berkdb bitmap-fonts bluetooth bzip2 ccache cdr cli cracklib crypt cups divx dlloader dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode fat firefox foomaticdb fortran gif gimp gkrellm gnuplot gpm gstreamer gtk gtk2 h323 hal iconv icq imagemagick imap imlib input_devices_keyboard input_devices_mouse iproute2 ipv6 isdnlog java javascript jpeg kde kernel_linux latex linguas_de lirc lirc_devices_devinput lzw lzw-tiff math mbox mp3 mp4live mpeg mpeg2 mpeg4 mplayer mysql ncurses nls nptl nptlonly nsplugin nvidia octave ogg oggvorbis opengl openssh openssl oss pam pcre pdf perl php plotutils png ppds pppd python qt3 qt4 quicktime rar readline reflection reiserfs samba sdl session sftp spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb userland_GNU vcd vdr video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_nvidia video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo visualization vorbis wma wma123 xcomposite xinerama xinetd xml2 xorg xpm xv xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src/lib -march=k8 -pipe -O2 -Wall -W -fno-rtti -fno-exceptions -MT InstructionSet.o -MD -MP -MF ".deps/InstructionSet.Tpo" \ -c -o InstructionSet.o `test -f 'InstructionSet.cc' || echo './'`InstructionSet.cc; \ then mv -f ".deps/InstructionSet.Tpo" ".deps/InstructionSet.Po"; \ else rm -f ".deps/InstructionSet.Tpo"; exit 1; \ fi Register.h:37: Warnung:
Portage 2.1.2_rc2-r5 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 x86_64) ================================================================= System uname: 2.6.19-gentoo-r1 x86_64 AMD Sempron(tm) Processor 3300+ Gentoo Base System version 1.12.6 Last Sync: Thu, 07 Dec 2006 18:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://mirrors.64hosting.com/pub/mirrors/gentoo/" LANG="de_DE.utf-8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/gentoo-de /usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa alsa_cards_via82xx apache2 arts berkdb bitmap-fonts bluetooth bzip2 ccache cdr cli cracklib crypt cups divx dlloader dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode fat firefox foomaticdb fortran gif gimp gkrellm gnuplot gpm gstreamer gtk gtk2 h323 hal iconv icq imagemagick imap imlib input_devices_keyboard input_devices_mouse iproute2 ipv6 isdnlog java javascript jpeg kde kernel_linux latex linguas_de lirc lirc_devices_devinput lzw lzw-tiff math mbox mp3 mp4live mpeg mpeg2 mpeg4 mplayer mysql ncurses nls nptl nptlonly nsplugin nvidia octave ogg oggvorbis opengl openssh openssl oss pam pcre pdf perl php plotutils png ppds pppd python qt3 qt4 quicktime rar readline reflection reiserfs samba sdl session sftp spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb userland_GNU vcd vdr video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_nvidia video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo visualization vorbis wma wma123 xcomposite xinerama xinetd xml2 xorg xpm xv xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src/lib -march=k8 -pipe -O2 -Wall -W -fno-rtti -fno-exceptions -MT InstructionSet.o -MD -MP -MF ".deps/InstructionSet.Tpo" \ -c -o InstructionSet.o `test -f 'InstructionSet.cc' || echo './'`InstructionSet.cc; \ then mv -f ".deps/InstructionSet.Tpo" ".deps/InstructionSet.Po"; \ else rm -f ".deps/InstructionSet.Tpo"; exit 1; \ fi Register.h:37: Warnung: »class dvd::vm::Register« hat virtuelle Funktionen aber nicht-virtuellen Destruktor SPRM.h:54: Warnung: »class dvd::vm::SPR« hat virtuelle Funktionen aber nicht-virtuellen Destruktor /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h: In instantiation of »std::vector<const char*, DefaultAllocatorTemplate<const char*> >«: ../../../../src/lib/util/JoystickConfig.h:71: instantiated from here /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_vector.h:161: Fehler: kein Typ namens »value_type« in »class DefaultAllocatorTemplate<const char*>« make[5]: *** [SPRM.o] Fehler 1 make[5]: *** Warte auf noch nicht beendete Prozesse... InstructionSet.cc: In member function »void dvd::vm::InstructionSet::print(FILE*, size_t) const«: InstructionSet.cc:40: Warnung: format »%02u« erwartet Typ »unsigned int«, aber Argument 3 hat Typ »long unsigned int« make[5]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.10/work/dxr3player-0.10/src/lib/dvd/vm' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.10/work/dxr3player-0.10/src/lib/dvd' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.10/work/dxr3player-0.10/src/lib' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.10/work/dxr3player-0.10/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.10/work/dxr3player-0.10' make: *** [all] Fehler 2
I've masked it for now.. So, decided to test current CVS to create a snapshot out of, it fails on many configure combinations but when it built, * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * nav_print.c:68: warning: dereferencing type-punned pointer will break strict-aliasing rules * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * compare.c:17: warning: implicit declaration of function ‘exit’ parse.c:59: warning: implicit declaration of function ‘memalign’ * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * compare.c:17: warning: incompatible implicit declaration of built-in function ‘exit’ compare.c:37: warning: incompatible implicit declaration of built-in function ‘exit’ compare.c:44: warning: incompatible implicit declaration of built-in function ‘exit’ compare.c:54: warning: incompatible implicit declaration of built-in function ‘exit’ * QA Notice: Package has poor programming practices which may compile * but will almost certainly crash on 64bit architectures. * Function `memalign' implicitly converted to pointer at parse.c:59
Created attachment 112428 [details, diff] dxr3player-0.10-gcc41.patch You need this and previously mentioned patch.. and guess what? It still doesn't compile.
*** Bug 171358 has been marked as a duplicate of this bug. ***
Created attachment 113757 [details] dxr3player-0.10.9.ebuild Updated ebuild to utilize work-in-progress build from dxr3player repository that compiles with the actual gcc version.
(In reply to comment #11) > Created an attachment (id=113757) [edit] > dxr3player-0.10.9.ebuild > > Updated ebuild to utilize work-in-progress build from dxr3player repository > that compiles with the actual gcc version. > *shrug* I've totally missed that version somehow, thanks. It compiles now, but there are issues (same ones with CVS HEAD) * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * nav_print.c:68: warning: dereferencing type-punned pointer will break strict-aliasing rules * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * compare.c:17: warning: implicit declaration of function ‘exit’ parse.c:59: warning: implicit declaration of function ‘memalign’ * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * compare.c:17: warning: incompatible implicit declaration of built-in function ‘exit’ compare.c:37: warning: incompatible implicit declaration of built-in function ‘exit’ compare.c:44: warning: incompatible implicit declaration of built-in function ‘exit’ compare.c:54: warning: incompatible implicit declaration of built-in function ‘exit’ * QA Notice: Package has poor programming practices which may compile * but will almost certainly crash on 64bit architectures. * Function `memalign' implicitly converted to pointer at parse.c:59 >>> media-video/dxr3player-0.10.9 merged. I'm going to keep 0.10.9 package.masked until these are resolved..
The package version my ebuild referes not to an an official dxr3player release - so no release you missed so far ;-) I just went aware of these work in progress builds (there are more of them in the same location with the referred one being the latest so far) via the mail list as a chance to overcome the gcc related problems. This incomplete character of the release might also be the reason for the QA problems you mentioned.
I don't have dxr3 hardware anymore, a simple reason to reassign this in hopes someone has.
Created attachment 126297 [details] New ebuild for 0.11 release Ebuild for the last official release
(In reply to comment #15) > Created an attachment (id=126297) [edit] > New ebuild for 0.11 release > > Ebuild for the last official release > Still broken, now it doesn't build. /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/g++-v4/bits/stl_vector.h: In member function ‘size_t std::vector<_Tp, _Alloc>::max_size() const [with _Tp = std::pair<unsigned int, unsigned int>, _Alloc = DefaultAllocatorTemplate<std::pair<unsigned int, unsigned int> >]’: /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/g++-v4/bits/vector.tcc:261: instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = std::pair<unsigned int, unsigned int>, _Alloc = DefaultAllocatorTemplate<std::pair<unsigned int, unsigned int> >]’ /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/g++-v4/bits/stl_vector.h:605: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::pair<unsigned int, unsigned int>, _Alloc = DefaultAllocatorTemplate<std::pair<unsigned int, unsigned int> >]’ SPU.cc:103: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/include/g++-v4/bits/stl_vector.h:402: error: ‘const class DefaultAllocatorTemplate<std::pair<unsigned int, unsigned int> >’ has no member named ‘max_size’ make[5]: *** [SPU.o] Error 1 make[5]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.11/work/dxr3player-0.11/src/lib/dvd/spu' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.11/work/dxr3player-0.11/src/lib/dvd' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.11/work/dxr3player-0.11/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.11/work/dxr3player-0.11/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/dxr3player-0.11/work/dxr3player-0.11' make: *** [all] Error 2
I don't have this hardware anymore plus 0.11 release QA seems poor as it has been: - Multiple compile warnings - ..and errors - Masked since 1 Mar 2007 Removed from tree. Bug belongs to maintainer-wanted for new ebuilds, can be restored when something functional is available.