Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282829 - sci-astronomy/celestia-1.6.0 fails to compile if a KDE4 is installed
Summary: sci-astronomy/celestia-1.6.0 fails to compile if a KDE4 is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kde3-on-kde4
  Show dependency tree
 
Reported: 2009-08-26 19:52 UTC by Torsten Kaiser
Modified: 2009-09-06 18:24 UTC (History)
4 users (show)

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


Attachments
complete build.log from sci-astronomy/celestia-1.6.0 (build.log,193.04 KB, text/plain)
2009-08-26 19:53 UTC, Torsten Kaiser
Details
patch for celestia-1.6.0.ebuild (celestia-1.6.0.ebuild.patch,491 bytes, patch)
2009-09-05 21:18 UTC, johannis
Details | Diff
celestia-1.6.0-kde-3.5.patch (celestia-1.6.0-kde-3.5.patch,962 bytes, patch)
2009-09-05 21:18 UTC, johannis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Kaiser 2009-08-26 19:52:33 UTC
Error from build.log:
In file included from /usr/include/kdecore_export.h:24,
                 from /usr/include/klocale.h:25,
                 from eclipsefinderdlg.cpp:2:
/usr/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such file or directory
In file included from /usr/include/klocale.h:26,
                 from eclipsefinderdlg.cpp:2:
/usr/include/klocalizedstring.h:25:24: error: QtCore/QChar: No such file or directory
/usr/include/klocalizedstring.h:26:30: error: QtCore/QLatin1Char: No such file or directory
/usr/include/klocalizedstring.h:27:30: error: QtCore/QStringList: No such file or directory
In file included from /usr/include/kconfig.h:27,
                 from /usr/include/ksharedconfig.h:25,
                 from /usr/include/klocale.h:27,
                 from eclipsefinderdlg.cpp:2:
/usr/include/kconfigbase.h:29:27: error: QtCore/QtGlobal: No such file or directory
In file included from /usr/include/ksharedconfig.h:25,
                 from /usr/include/klocale.h:27,
                 from eclipsefinderdlg.cpp:2:
/usr/include/kconfig.h:31:26: error: QtCore/QString: No such file or directory
/usr/include/kconfig.h:32:27: error: QtCore/QVariant: No such file or directory
/usr/include/kconfig.h:33:29: error: QtCore/QByteArray: No such file or directory
/usr/include/kconfig.h:34:24: error: QtCore/QList: No such file or directory

And many, many more such errors.

celestia depends on kdelibs:3.5, so the error is probaly caused by using the kconfig.h etc. from KDE4 instead of the KDE3 version.

treogen ~ # locate klocale.h
/usr/kde/3.5/include/klocale.h
/usr/include/klocale.h
treogen ~ # locate -r .*/kconfig.h
/usr/kde/3.5/include/kconfig.h
/usr/include/kconfig.h
/usr/share/doc/howto/html/SCSI-2.4-HOWTO/kconfig.html


Reproducible: Always

Steps to Reproduce:
1. install kde-meta:3.5
2. install kde-meta:4.3
3. try to install celestia-1.6.0




I will attach the complete build.log
Comment 1 Torsten Kaiser 2009-08-26 19:53:43 UTC
Created attachment 202342 [details]
complete build.log from sci-astronomy/celestia-1.6.0
Comment 2 Alexey Shildyakov 2009-08-28 16:21:22 UTC
Confirm it on ~amd64
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-01 04:48:53 UTC
Hi,

Sorry I won't be able to test it since I don't use kde or have the time to play with 2 kde slots. I'm cc'ing the kde herd in the hope they can help on the matter.

Comment 4 johannis 2009-09-05 21:18:00 UTC
Created attachment 203236 [details, diff]
patch for celestia-1.6.0.ebuild

Patch for ebuild and a patch to correct the problem for kde. Tested on AMD64.
Comment 5 johannis 2009-09-05 21:18:49 UTC
Created attachment 203237 [details, diff]
celestia-1.6.0-kde-3.5.patch
Comment 6 Alexey Shildyakov 2009-09-06 05:43:26 UTC
Work for me on ~amd64
Comment 7 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-06 18:24:37 UTC
in cvs. thanks.