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

Bug 96569

Summary: some packages from KDE 3.4.1 series failed to compile by gcc4
Product: Gentoo Linux Reporter: Chen Xiangyang <chenxy>
Component: [OLD] GCC PortingAssignee: Gentoo KDE team <kde>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for kdebase
patch for kdeedu
patch for kdegraphics
patch for kdemultimedia
patch for kdewebdev

Description Chen Xiangyang 2005-06-19 20:46:39 UTC
The compilation errors are due to:

1. friend class not declared ahead.

kdebase-3.4.1: kate
kdeedu-3.4.1: libkdeedu
kdemultimedia-3.4.1: juk
kdewebdev-3.4.1: kommander

2. some QT header files not included when needed:

kdegraphics-3.4.1: kghostview, kiconedit

The packages are compiled by gcc-4.0.1-pre20050616 on a fresh system using
kernel gentoo-sources-2.6.11-r1, glibc-2.3.5.20050421, binutils-2.16.1.

Please see the attached patch files for more information.


Reproducible: Always
Steps to Reproduce:
1.emerge kde
2.
3.

Actual Results:  
Compilation errors on the packages described.

Expected Results:  
Compiled successfully.
Comment 1 Chen Xiangyang 2005-06-19 20:47:29 UTC
Created attachment 61536 [details, diff]
patch for kdebase
Comment 2 Chen Xiangyang 2005-06-19 20:47:52 UTC
Created attachment 61537 [details, diff]
patch for kdeedu
Comment 3 Chen Xiangyang 2005-06-19 20:48:29 UTC
Created attachment 61538 [details, diff]
patch for kdegraphics
Comment 4 Chen Xiangyang 2005-06-19 20:49:00 UTC
Created attachment 61539 [details, diff]
patch for kdemultimedia
Comment 5 Chen Xiangyang 2005-06-19 20:49:25 UTC
Created attachment 61540 [details, diff]
patch for kdewebdev
Comment 6 Chen Xiangyang 2005-06-19 20:51:31 UTC
Sorry, kernel package version error in the original post:) It should be
2.6.11-r11, not 2.6.11-r1:

The packages are compiled by gcc-4.0.1-pre20050616 on a fresh system using
kernel gentoo-sources-2.6.11-r11, glibc-2.3.5.20050421, binutils-2.16.1.
Comment 7 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-21 05:20:18 UTC
Most of these patches are already included for 3.4.2, I think we can just wait 
for that version. Make sure you submit the patches at KDE if they are not 
still applied.