Bug 135635 - app-arch/karchiver-3.1.1-r1 fails to compile GCC 4.1.1
Bug#: 135635 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: kde@gentoo.org Reported By: bobspencer123@yahoo.com
Component: GCC Porting
URL: 
Summary: app-arch/karchiver-3.1.1-r1 fails to compile GCC 4.1.1
Keywords:  
Status Whiteboard: 
Opened: 2006-06-05 07:52 0000
Description:   Opened: 2006-06-05 07:52 0000
here is error:
!!! ERROR: app-arch/karchiver-3.1.1-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called kde_src_compile
  kde.eclass, line 144:   Called kde_src_compile 'all'
  kde.eclass, line 279:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 275:   Called die

!!! died running emake, kde_src_compile:make

Here is my emerge --info
Portage 2.1_rc4 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.16-gento                                                                    
o-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Mobile Intel(R) Pentium(R) 4 - M CPU
1.90GHz
Gentoo Base System version 1.12.0
dev-lang/python:     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="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shu                                                                
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-ident
-fvisibility                                                                    
-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/                                            
distributions/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='/d                                                                   
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups
dri                                                                             
 dvd dvdr dvdread eds emboss encode esd ffmpeg firefox flac foomaticdb
footmatic                                                                       
db fortran gdbm gif gimp gimpprint gpm gstreamer imlib ipv6 isdnlog jpeg kde
lib                                                                             
g++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly nsplugin
offe                                                                            
nsive ogg opengl oss pam pcre pdflib perl png ppds pppd python qt quicktime
read                                                                            
line reflection sane scanner sdl session spell spl sse sse2 ssl tcpd truetype
tr                                                                              
uetype-fonts type1-fonts udev unicode usb vorbis win32codecs xinerama xml xmms
x                                                                               
org xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard
input_devices_m                                                                 
ouse kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGU                                                                           
AS, PORTAGE_RSYNC_EXTRA_OPTS

any other information you need please let me know this is my first bug report.

------- Comment #1 From Jakub Moc (RETIRED) 2006-06-05 07:58:33 0000 -------
Please, post the actual errors (scroll above) like the message told you, this
stack is not really useful in itself. ;)

------- Comment #2 From Robert Spencer 2006-06-05 12:55:43 0000 -------
(In reply to comment #1)
Sorry about that I wasn't sure what exactly to post. I think this is what you
are looking for.

make[3]: *** [karchiveurpart.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/karchiver-3.1.1-r1/work/karchiver-3.1.1/karchiver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/karchiver-3.1.1-r1/work/karchiver-3.1.1/karchiver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/karchiver-3.1.1-r1/work/karchiver-3.1.1'
make: *** [all] Error 2

there are no other errors beside this one.

------- Comment #3 From Jakub Moc (RETIRED) 2006-06-05 13:08:22 0000 -------
Nope, we need the part _above_ this one:

> make[3]: *** [karchiveurpart.lo] Error 1

If there's nothing, re-emerge with MAKEOPTS="-j1"; we can't fix something if we
don't see the errors.

------- Comment #4 From Robert Spencer 2006-06-05 13:47:26 0000 -------
(In reply to comment #3)
> Nope, we need the part _above_ this one:
> 
> > make[3]: *** [karchiveurpart.lo] Error 1
> 
> If there's nothing, re-emerge with MAKEOPTS="-j1"; we can't fix something if we
> don't see the errors.
> 
using MAKEOPTS="-j1" I get this error. If this doesn't provide any relevant
information then feel free to close bug and thanks for your time and sorry for
uncessarily filing a bug.

 karchiveurpart.lo `test -f 'karchiveurpart.cpp' || echo
'./'`karchiveurpart.cpp
cpreferences.h:74: error: extra qualification 'CPreferences::' on member
'getHeaderEncryption'

------- Comment #5 From Jakub Moc (RETIRED) 2006-06-05 13:56:53 0000 -------
Much better now :)

------- Comment #6 From Piotr Jaroszyński 2006-06-05 15:09:10 0000 -------
I hope i will fix that in a moment - saying just not to double work.

------- Comment #7 From Piotr Jaroszyński 2006-06-05 15:20:26 0000 -------
Created an attachment (id=88478) [details]
karchiver-3.1.1-gcc41.patch

I am getting better and better at such bugs :P

------- Comment #8 From Robert Spencer 2006-06-05 15:47:23 0000 -------
(In reply to comment #7)
> Created an attachment (id=88478) [edit] [details]
> karchiver-3.1.1-gcc41.patch
> 
> I am getting better and better at such bugs :P
> 

worked perfectly! Thank you.

------- Comment #9 From Diego E. 'Flameeyes' Pettenò 2006-06-05 15:55:33 0000 -------
Thanks Piotr for the patch and thanks Robert for reporting, committing now :)