Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495082 - [gamerlay overlay] dev-games/openscenegraph-3.2.0 tries to use qt5 moc instead of qt4 and fails
Summary: [gamerlay overlay] dev-games/openscenegraph-3.2.0 tries to use qt5 moc instea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vadim A. Misbakh-Soloviov (mva)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-23 03:53 UTC by Thomas Capricelli
Modified: 2016-07-21 19:02 UTC (History)
3 users (show)

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


Attachments
build.log (trimmed unimportant compilation stuff to fit 1mb) (build.log,156.20 KB, text/x-log)
2013-12-23 03:55 UTC, Thomas Capricelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2013-12-23 03:53:21 UTC
i have both qt4 and qt5 installed :

When trying to emerge openscenegraph from the gamerlay overlay, it fails on moc. It uses the one from qt5 while i'm pretty sure it's supposed to use qt4. Stuff on autoconf at start mentions qt4.

Reproducible: Always




% equery  belongs  /usr/lib64/qt5/bin/moc /usr/bin/moc
* Searching for /usr/lib64/qt5/bin/moc,/usr/bin/moc ... 
dev-qt/qtcore-4.8.5 (/usr/bin/moc)
dev-qt/qtcore-5.2.9999 (/usr/lib64/qt5/bin/moc)

(last one from qt overlay..)
Comment 1 Thomas Capricelli 2013-12-23 03:55:25 UTC
Created attachment 365954 [details]
build.log (trimmed unimportant compilation stuff to fit 1mb)
Comment 2 Julian Ospald 2013-12-23 10:42:04 UTC
don't assign gamerlay bugs to games team. It's an unsupported overlay
Comment 3 Thomas Capricelli 2013-12-23 13:24:35 UTC
I just tested, and I don't have the problem with dev-games/openscenegraph-3.0.1-r1 (last version in gentoo tree)
Comment 4 Thomas Capricelli 2013-12-23 14:41:52 UTC
(In reply to Julian Ospald (hasufell) from comment #2)
> don't assign gamerlay bugs to games team. It's an unsupported overlay

Was it for me ? I did not assign anything to anyone. I choose a "component" in the bug report dialog. The indications are "The area where the problem occurs."
Comment 5 Nikita Zlobin 2014-02-18 03:36:04 UTC
Confirming.
I have qt5 from qt overlay, and one time it tries to use qt5 moc (as says its output) with wrong arguments, as it just prints help output in log.
Comment 6 Nikita Zlobin 2014-02-18 03:40:20 UTC
Thomas Capricelli: that was about version 3.2.0. Version 3.0.1 seems to be from gentoo. Hm... may be try to bump _this_ one?

I also have OSG from gamerlay. It was installed before i decided to try qt5, now it is in @preserved-rebuild list due to upgrade of its deps, including libpng, jpeg and some other.
Comment 7 Thomas Capricelli 2014-02-18 08:42:00 UTC
(In reply to Nikita Zlobin from comment #6)
> Thomas Capricelli: that was about version 3.2.0. Version 3.0.1 seems to be
> from gentoo. Hm... may be try to bump _this_ one?

I don't understand what you say. I have 3.0.1-r1 installed (from main tree, +qt4), and the failure happens when gentoo tries to update to 3.2.0 (from overlay)
Comment 8 Thomas Capricelli 2014-03-01 12:10:05 UTC
I can confirm the bug is still there.
I tried the turnaround from bug #479046 (defining MOC5=), but this doesn't work.
Comment 9 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2014-03-02 13:46:12 UTC
I've tried to contac original package maintainer via email and ask him to take a look on this bug.

Let's give him few days to react, then I'd try to do something.
Comment 10 Christian Schmitt 2014-03-05 20:56:48 UTC
Thanks for the heads up. I'll look into this and have to install qt5 first ;)