Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135235 - mutella-0.4.5 is not compiling
Summary: mutella-0.4.5 is not compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-01 23:24 UTC by Dirk
Modified: 2006-06-06 12:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc 4.1 compatiblity patch (mutella-0.4.5-gcc41.patch,226 bytes, patch)
2006-06-03 10:24 UTC, Piotr Jaroszyński (RETIRED)
Details | Diff
gcc 4.1 compatiblity patch (mutella-0.4.5-gcc41.patch,259 bytes, patch)
2006-06-03 10:59 UTC, Piotr Jaroszyński (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk 2006-06-01 23:24:24 UTC
fter upgrade to gcc-4.1.1 and emerge -e world mutella-0.4.5 is not compiling

The first error message is :

gnushare.h:67: error: ISO C++ forbids declaration of 'MShareThread' with no type
gnushare.h:67: error: expected ';' before '*' token

emerge --info :

Portage 2.1_rc3-r4 (default-linux/ppc/ppc32/2006.0/G4, gcc-4.1.1, glibc-2.4-r3,
2.6.16-gentoo-r8 ppc)
=================================================================
System uname: 2.6.16-gentoo-r8 ppc 7450, altivec supported
Gentoo Base System version 1.12.0
dev-lang/python:     2.3.5, 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-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-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 /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://pandemonium.tiscali.de/pub/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo
http://gentoo.mirror.solnet.ch http://mir.zyrianes.net/gentoo/
ftp://mir.zyrianes.net/gentoo/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apache2 apm arts berkdb bitmap-fonts bonobo bzip2 cdr
cli crypt cups dri dvd eds emboss encode esd fam ffmpeg foomaticdb fortran gdbm
gif gpm gstreamer gtk gtk2 gtkhtml imap imlib ipv6 isdnlog jpeg libg++ libwww
mad maildir matroska mikmod motif mozilla mp3 mpeg mpeg2 mysql ncurses nls nptl
nptlonly ogg opengl pam pam-mysql pcre pdflib perl php png pppd python
quicktime readline reflection ruby sasl sdl session spell spl ssl tcpd tiff
truetype truetype-fonts type1-fonts udev unicode utf8 vhosts vorbis xml xmms
xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse
kernel_linux userland_GNU video_cards_vga video_cards_fbdev video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-03 10:24:10 UTC
Created attachment 88276 [details, diff]
gcc 4.1 compatiblity patch
Comment 2 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-03 10:57:38 UTC
Comment on attachment 88276 [details, diff]
gcc 4.1 compatiblity patch

>--- mutella-0.4.5-orig/mutella/gnushare.h	2002-11-15 21:22:57.000000000 +0100
>+++ mutella-0.4.5/mutella/gnushare.h	2006-06-03 19:18:23.000000000 +0200
>@@ -26,6 +26,7 @@
> #include "mthread.h"
> 
> class MGnuDirector;
>+class MShareThread;
> 
> class MGnuShare  
> {
Comment 3 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-06-03 10:59:46 UTC
Created attachment 88278 [details, diff]
gcc 4.1 compatiblity patch

fixed paths, sorry for unnecessary comments - my first steps :D
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-06-03 11:06:14 UTC
Looks fine to me :)
Comment 5 Karol Wojtaszek (RETIRED) gentoo-dev 2006-06-06 12:57:12 UTC
Patch added to portage, thanks.