Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330945 - [qt overlay] dev-ruby/qt4-qtruby-2.1.0 version bump and problems
Summary: [qt overlay] dev-ruby/qt4-qtruby-2.1.0 version bump and problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 03:06 UTC by Thomas K
Modified: 2012-02-05 09:48 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 Thomas K 2010-08-03 03:06:16 UTC
Hi,

I just renamed the ebuild from version 2.0.3 to version 2.1.0

I had to use MAKEOPTS="-j1" for the package to compile correctly, otherwise it fails here (not sure whether the first line is relevant):
[ 36%] Building CXX object generator/generators/dump/CMakeFiles/generator_dump.dir/generator_dump.cpp.o
"Cannot load library generator_smoke: (libgenerator_smoke.so: cannot open shared object file: No such file or directory)" 
make[2]: *** [smoke/qtcore/smokedata.cpp] Error 1
make[1]: *** [smoke/qtcore/CMakeFiles/smokeqtcore.dir/all] Error 2


But then I got another bug at the end:
[100%] Building CXX object ruby/qttest/CMakeFiles/qttest.dir/qttesthandlers.cpp.o
/var/tmp/portage/dev-ruby/qt4-qtruby-2.1.0/work/qt4-qtruby-2.1.0/ruby/qttest/qttesthandlers.cpp:26:1: error: ‘QTestAccessibilityEvent’ was not declared in this scope
/var/tmp/portage/dev-ruby/qt4-qtruby-2.1.0/work/qt4-qtruby-2.1.0/ruby/qttest/qttesthandlers.cpp:26:1: error: ‘QTestAccessibilityEvent’ was not declared in this scope
/var/tmp/portage/dev-ruby/qt4-qtruby-2.1.0/work/qt4-qtruby-2.1.0/ruby/qttest/qttesthandlers.cpp:26:1: error: template argument 1 is invalid
/var/tmp/portage/dev-ruby/qt4-qtruby-2.1.0/work/qt4-qtruby-2.1.0/ruby/qttest/qttesthandlers.cpp:26:1: error: no matches converting function ‘marshall_ValueListItem’ to type ‘void (*)(class Marshall*)’
/var/tmp/portage/dev-ruby/qt4-qtruby-2.1.0/work/qt4-qtruby-2.1.0/ruby/qtruby/src/marshall_macros.h:166:40: error: candidate is: template<class Item, class ItemList, const char* ItemSTR> void marshall_ValueListItem(Marshall*)
make[2]: *** [ruby/qttest/CMakeFiles/qttest.dir/qttesthandlers.cpp.o] Error 1
make[1]: *** [ruby/qttest/CMakeFiles/qttest.dir/all] Error 2


The problem comes from the fact that on my system, QT_NO_ACCESSIBILITY is defined so using objects from QtTest/qtestaccessible.h is not possible. I guess it's because I compiled x11-libs/qt-gui and x11-libs/qt-qt3support without the USE flag "accessibility".

Reproducible: Always

Steps to Reproduce:
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-02-05 09:48:56 UTC
This is fixed in 2.2.0