Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245219 - Celestia fails to compile
Summary: Celestia fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-02 01:10 UTC by Robert T Childers
Modified: 2008-11-06 00:08 UTC (History)
1 user (show)

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


Attachments
output of paludis -i celestia and paludis --info celestia (paludis_info.txt,190.13 KB, text/plain)
2008-11-04 22:46 UTC, Robert T Childers
Details
proposed fix for kde-3.5 compilation failure (celestia-1.5.1-kde-3.5.patch,1018 bytes, patch)
2008-11-05 13:57 UTC, Markus Dittrich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert T Childers 2008-11-02 01:10:13 UTC
I am getting a multitude of error messages during the compilation of Celestia. I have tried both the stable version of 1.4.1 and the ~x86 marked version of 1.5.1.

I have upgraded to the latest version of qt and installed kde 4.1.2
Follows is a small selection of the errors.
eclipsefinderdlg.cpp:25: error: 'class KIntSpinBox' has no member named 'setValue' 
/usr/include/ksharedptr.h:80: error: 'class KSharedConfig' has no member named 'ref' 

Is this being caused by the kdelibs-4.1.2 or by
qt-4.4.2

Note before I installed kde 4.1.2 I had celestia installed.


Reproducible: Always

Steps to Reproduce:
1. Install celestia (I believe the problem is related to either kdelibs or qt.)
2.
3.

Actual Results:  
program fails to compile

Expected Results:  
program should compile and install.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-02 01:33:35 UTC
Hi, 

Do you have kde-base/kdelibs:3.5 (version 3.5.x) installed on your system? 
If not could you please resync your portage-tree and try to emerge celestia again? Before bug #241392 was fixed, celestia could exhibit exactly that problem you describe here...

Cheers
Poly-C
Comment 2 Robert T Childers 2008-11-03 22:36:40 UTC
Yes i still have kde 3.5 installed. I am not using it at the moment, because for some reason 4.1.2 seems to be stepping on my setttings for 3.5. I will though try a rsync and emerge celestia again. Also I am using paludis instead of portage to handle my installs.
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2008-11-04 14:01:23 UTC
As Lars correctly pointed out, Celestia needs kde-3*.
It shouldn't matter if you have kde-4* installed on top of
that. If you are still having trouble after a resync, 
could you please post your full emerge --info as well as 
the emerge log so I can have a closer look.

Thanks,
Markus
Comment 4 Robert T Childers 2008-11-04 22:46:26 UTC
Created attachment 170757 [details]
output of paludis -i celestia and paludis --info celestia

Included is the output of paludis -i celestia and paludis --info celestia. Yes I am using paludis instead of portage to install my programs.
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2008-11-05 13:57:49 UTC
Created attachment 170806 [details, diff]
proposed fix for kde-3.5 compilation failure

Could you please try the above patch and see if it works. Just apply
it in the ebuild right after the other ones *before* the eautoreconf
line.

Best,
Markus
Comment 6 Robert T Childers 2008-11-05 23:31:13 UTC
Patch applied. Still getting the following warning. 

cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++. 

Maybe this warning should be forwarded upstream to the celestia maintainers.

The patch by the way did work. 1.5.1 compiled with only the above warnings. And the program did run.
Comment 7 Markus Dittrich (RETIRED) gentoo-dev 2008-11-06 00:08:34 UTC
Thank you very much for testing and I am glad the 
patch works. I've added it to portage and will
let upstream know about the warnings.

cheers,
Markus