Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96569 - some packages from KDE 3.4.1 series failed to compile by gcc4
Summary: some packages from KDE 3.4.1 series failed to compile by gcc4
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-19 20:46 UTC by Chen Xiangyang
Modified: 2005-06-21 05:20 UTC (History)
0 users

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


Attachments
patch for kdebase (kdebase-3.4.1-kate.patch,409 bytes, patch)
2005-06-19 20:47 UTC, Chen Xiangyang
Details | Diff
patch for kdeedu (kdeedu-3.4.1-gcc4.patch,302 bytes, patch)
2005-06-19 20:47 UTC, Chen Xiangyang
Details | Diff
patch for kdegraphics (kdegraphics-3.4.1-gcc4.patch,901 bytes, patch)
2005-06-19 20:48 UTC, Chen Xiangyang
Details | Diff
patch for kdemultimedia (kdemultimedia-3.4.1-gcc4.patch,326 bytes, patch)
2005-06-19 20:49 UTC, Chen Xiangyang
Details | Diff
patch for kdewebdev (kdewebdev-3.4.1-gcc4.patch,333 bytes, patch)
2005-06-19 20:49 UTC, Chen Xiangyang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.