Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 135497

Summary: freej-0.7 fails compiling w/ gcc-4.1.1
Product: Gentoo Linux Reporter: sorin <psihozefir>
Component: [OLD] GCC PortingAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: peper, rhill
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: gcc41 compatibility patch
ebuild patch
freej-0.7-gcc41-extra-qualification.patch

Description sorin 2006-06-04 04:49:59 UTC
I was trying to do a revdep-rebuild and freej faild at compile time with:

make[3]: Entering directory `/home/date/portagetmp/portage/freej-0.7/work/freej-0.7/src'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src/include -I../ccvt -I../libflash -I/usr/include/slang   -I/usr/include/libpng12 -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -DPREFIX="\"/usr\"" -DDATADIR="\"/usr/share\"" -D_REENTRANT -pipe -O2 -march=pentium3 -MT freej.o -MD -MP -MF ".deps/freej.Tpo" \
          -c -o freej.o `test -f 'freej.cpp' || echo './'`freej.cpp; \
        then mv -f ".deps/freej.Tpo" ".deps/freej.Po"; \
        else rm -f ".deps/freej.Tpo"; exit 1; \
        fi
../src/include/linklist.h:53: error: extra qualification 'Linklist::' on member 'selected'
../src/include/blitter.h:117: error: extra qualification 'Blitter::' on member 'set_colorkey'
make[3]: *** [freej.o] Error 1
make[3]: Leaving directory `/home/date/portagetmp/portage/freej-0.7/work/freej-0.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/date/portagetmp/portage/freej-0.7/work/freej-0.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/date/portagetmp/portage/freej-0.7/work/freej-0.7'
make: *** [all] Error 2

!!! ERROR: media-video/freej-0.7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  freej-0.7.ebuild, line 52:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Portage 2.1_rc4-r1 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.19 i686)
=================================================================
System uname: 2.6.16.19 i686 Intel(R) Celeron(TM) CPU                1200MHz
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium3"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=pentium3"
DISTDIR="/date/Programe/1.Linux/kit/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.romnet.org/gentoo/"
LINGUAS="en ro"
MAKEOPTS="-j1"
PKGDIR="/date/Programe/1.Linux/kit/portage/pkgdir"
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="/home/date/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi aim alsa apache2 apm asf audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 cdr cli crypt cscope ctype cups curl curlwrappers dbus dga dio directfb divx4linux dri dts dv dvd dvdr dvdread eds emboss encode exif fbcon flash foomaticdb fortran ftp geoip gif ginac glut gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hal howl icc icq imap imlib innodb ipv6 isdnlog jabber jack java javascript jpeg kde lapack lcms lesstif libcaca libedit libg++ libgda libwww lirc lm_sensors mad maildir mcal mcve mhash mikmod mmx motif mozilla mp3 mpeg mpi msn mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis oggvorvis opengl osc oscar oss pam pcre pdflib perl php5 png portaudio posix postgres ppds pppd profile python qt quicktime readline recode reflection ruby samba sasl sdl session setup-plugin slang slp sndfile snmp soap sockets socks5 sox speex spell spl sse ssl subtitles svg symlink tcltk tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l vcd vhosts vorbis win32codecs xine xml xml2 xmlrpc xmms xorg xosd xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_ro userland_GNU video_cards_ati video_cards_r128 video_cards_vesa video_cards_fbdev video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-04 10:11:03 UTC
Created attachment 88361 [details, diff]
gcc41 compatibility patch
Comment 2 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-04 10:12:54 UTC
Created attachment 88362 [details, diff]
ebuild patch

- adds missing dep(sys-lib/slang)
- applies gcc41 patch
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2006-06-04 10:32:54 UTC
Created attachment 88363 [details, diff]
freej-0.7-gcc41-extra-qualification.patch

this package also needs a DEPEND on sys-libs/slang or it fails with

../src/include/console.h:26:19: error: slang.h: No such file or directory
../src/include/console.h:123: error: 'SLscroll_Window_Type' does not name a type
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2006-06-04 10:33:52 UTC
ha, too late.
Comment 5 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-08 09:22:32 UTC
Added to the sunrise overlay:
http://overlays.gentoo.org/svn/proj/sunrise/media-video/freej/
Please add InOverlay keyword.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-08 09:35:00 UTC
Anybody tested the 0.8.1 version? Maybe we can just unmask that, as it's been waiting for quite a while now, and unlikely will be worse than 0.7.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-15 17:44:52 UTC
(In reply to comment #6)
> Anybody tested the 0.8.1 version? Maybe we can just unmask that, as it's been
> waiting for quite a while now, and unlikely will be worse than 0.7.

Fails to compile: 

[ebuild  N    ] media-video/freej-0.8.1  USE="-debug jack opengl v4l" 0 kB 

<snip>
make[4]: Leaving directory `/var/tmp/portage/media-video/freej-0.8.1/work/freej-0.8.1/lib/javascript/fdlibm'
make -f Makefile.ref  obj/libjs.a obj/libjs.so obj/js  obj/jsautocfg.h obj/jscpucfg obj/jscpucfg.o obj/jsmathtemp.o
cat: ../../dist/obj/nspr/Version: No such file or directory
make[4]: Entering directory `/var/tmp/portage/media-video/freej-0.8.1/work/freej-0.8.1/lib/javascript'
make[4]: Circular jscpucfg.h <- obj/jsautocfg.h dependency dropped.
make[4]: Circular obj/jsautocfg.h <- obj/jsautocfg.h dependency dropped.
make[4]: *** No rule to make target `obj/jsmathtemp.o'.  Stop.
make[4]: *** Waiting for unfinished jobs....
gcc -o obj/jscpucfg.o -c -pipe -D_REENTRANT -O2 -fomit-frame-pointer -march=i686 -ffast-math -msse -mfpmath=sse -Wall -Wno-format -DGCC_OPT_BUG -O2 -ffast-math -fomit-frame-pointer -mmmx -pipe -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DX86_LINUX  -D_REENTRANT -DEDITLINE -Iobj  -Wall -Wno-format -DGCC_OPT_BUG -O2 -ffast-math -fomit-frame-pointer -mmmx -pipe -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DX86_LINUX  -D_REENTRANT -DEDITLINE -Iobj  jscpucfg.c
make[4]: Leaving directory `/var/tmp/portage/media-video/freej-0.8.1/work/freej-0.8.1/lib/javascript'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-video/freej-0.8.1/work/freej-0.8.1/lib/javascript'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/freej-0.8.1/work/freej-0.8.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/freej-0.8.1/work/freej-0.8.1'
make: *** [all] Error 2

!!! ERROR: media-video/freej-0.8.1 failed.
</snip>
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2006-12-09 15:10:04 UTC
Fix for 0.7 in CVS.