Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55914 - Failed compile on KOffice 1.3.1 (Related to bug 50210)
Summary: Failed compile on KOffice 1.3.1 (Related to bug 50210)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High critical
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-02 14:44 UTC by Justace Clutter
Modified: 2005-06-02 10:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justace Clutter 2004-07-02 14:44:16 UTC
The presented patch does fix the problem for GCC 3.4 I am sure.  It however breaks builds based on gcc 3.3.3.  So, the patch needs to be redone to have a #define in it so that the code change only takes place on 3.4 gcc versions.
I was only able to get 1.3.1 to compile by commenting out the epatch line in the ebuild.

Reproducible: Always
Steps to Reproduce:
1. Ensure you have gcc 3.3.3
2. Emerge koffice
3.

Actual Results:  
vcanvas.cc: In member function `void VCanvas::repaintAll(const KoRect&)':  
 vcanvas.cc:314: error: request for member `x' in `this->rect', which is of  
    non-aggregate type `<unknown type>'  
 vcanvas.cc:314: error: request for member `y' in `this->rect', which is of  
    non-aggregate type `<unknown type>'  
 vcanvas.cc:314: error: request for member `width' in `this->rect', which is of  
    non-aggregate type `<unknown type>'  
 vcanvas.cc:314: error: request for member `height' in `this->rect', which is 
of  
    non-aggregate type `<unknown type>'  
 make[3]: *** [vcanvas.lo] Error 1  
 make[3]: *** Waiting for unfinished jobs....  
 make[3]: Leaving directory 
`/var/tmp/portage/koffice-1.3.1-r1/work/koffice-1.3.1/karbon/widgets'  
 make[2]: *** [all-recursive] Error 1  
 make[2]: Leaving directory 
`/var/tmp/portage/koffice-1.3.1-r1/work/koffice-1.3.1/karbon'  
 make[1]: *** [all-recursive] Error 1  
 make[1]: Leaving directory 
`/var/tmp/portage/koffice-1.3.1-r1/work/koffice-1.3.1'  
 make: *** [all] Error 2  
  
 !!! ERROR: app-office/koffice-1.3.1-r1 failed.  
 !!! Function kde_src_compile, Line 129, Exitcode 2  
 !!! died running emake, kde_src_compile:make  
  
 
 
  
 

Expected Results:  
 

This is realted to bug 50210. 
 
The fix for that bug was a patch that fixed koffice for gcc 3.4 and greater.   
Well, it breaks the builds where gcc <3.4 is used.   
I fixed it by removing the epatch line in the ebuild and all worked well. 
 
The patch needs to be redone to have some defines around the code change so 
that the code is only changed for gcc version 3.4 and higher.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-02 10:20:23 UTC
I assume this old bug is not valid anymore.