Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306067 - =kde-base/kdebindings-ruby-4.4.0 fails to build
Summary: =kde-base/kdebindings-ruby-4.4.0 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-20 15:02 UTC by W. Grunewald
Modified: 2010-02-21 12:43 UTC (History)
0 users

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


Attachments
build.log (build.log,92.17 KB, text/plain)
2010-02-21 09:46 UTC, W. Grunewald
Details
emerge --info (emerge.info,4.19 KB, text/plain)
2010-02-21 09:48 UTC, W. Grunewald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description W. Grunewald 2010-02-20 15:02:43 UTC
# emerge fails:

[ 42%] Building CXX object ruby/korundum/src/CMakeFiles/krubypluginfactory.dir/krubypluginfactory.o
[ 44%] Building CXX object ruby/qtruby/tools/rbuic/CMakeFiles/rbuic4_bin.dir/main.o                                                                          
Linking CXX shared module ../../../lib/krubypluginfactory.so
Linking CXX executable rbuic4
[ 44%] Built target krubypluginfactory
Scanning dependencies of target rbkconfig_compiler4
[ 44%] Built target rbuic4_bin                                                                                                                               
[ 46%] Building CXX object ruby/korundum/tools/rbkconfig_compiler/CMakeFiles/rbkconfig_compiler4.dir/rbkconfig_compiler4_automoc.o
[ 48%] Building CXX object ruby/korundum/tools/rbkconfig_compiler/CMakeFiles/rbkconfig_compiler4.dir/rbkconfig_compiler.o
In file included from /var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/work/ruby18/kdebindings-ruby-4.4.0/ruby/qtruby/src/handlers.cpp:83:
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/work/ruby18/kdebindings-ruby-4.4.0/ruby/qtruby/src/qtruby.h:47: Fehler: expected unqualified-id before »&« token
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/work/ruby18/kdebindings-ruby-4.4.0/ruby/qtruby/src/qtruby.h:47: Fehler: expected »,« or »...« before »&« token
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/work/ruby18/kdebindings-ruby-4.4.0/ruby/qtruby/src/qtruby.h: In function »uint qHash()«:
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/work/ruby18/kdebindings-ruby-4.4.0/ruby/qtruby/src/qtruby.h:48: Fehler: »mi« wurde in diesem Gültigkeitsbereich nicht definiert
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/work/ruby18/kdebindings-ruby-4.4.0/ruby/qtruby/src/qtruby.h: At global scope:
[...]
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/work/ruby18/kdebindings-ruby-4.4.0/ruby/qtruby/src/handlers.cpp:2255: Fehler: Abfrage des Elementes »index« in »m->Marshall::smoke()->Smoke::idClass(((const char*)"QColor"))«, das vom Nicht-Klassentyp »short int« ist
make[2]: *** [ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/handlers.o] Fehler 1
make[1]: *** [ruby/qtruby/src/CMakeFiles/qtruby4shared.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
Linking CXX executable rbkconfig_compiler4
[ 48%] Built target rbkconfig_compiler4
make: *** [all] Fehler 2
 * ERROR: kde-base/kdebindings-ruby-4.4.0 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4501:  Called ruby-ng_src_compile
 *   environment, line 4306:  Called _ruby_each_implementation 'each_ruby_compile'
 *   environment, line  724:  Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile'
 *   environment, line  752:  Called each_ruby_compile
 *   environment, line 1491:  Called kde4-meta_src_compile
 *   environment, line 3439:  Called kde4-base_src_compile
 *   environment, line 3119:  Called cmake-utils_src_compile
 *   environment, line 1228:  Called _execute_optionaly 'src_compile'
 *   environment, line  569:  Called enable_cmake-utils_src_compile
 *   environment, line 1624:  Called cmake-utils_src_make
 *   environment, line 1247:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =kde-base/kdebindings-ruby-4.4.0',
 * the complete build log and the output of 'emerge -pqv =kde-base/kdebindings-ruby-4.4.0'.
 * The complete build log is located at '/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/temp/environment'.
 * S: '/var/tmp/portage/kde-base/kdebindings-ruby-4.4.0/work/ruby18//kdebindings-ruby-4.4.0'

>>> Failed to emerge kde-base/kdebindings-ruby-4.4.0, Log file:



Reproducible: Always
Comment 1 Kevin Morgan 2010-02-21 01:49:43 UTC
Post the complete build log, the output of emerge --info, and the output of emerge -pvq =kde-base/kdebindings-ruby-4.4.0
Comment 2 W. Grunewald 2010-02-21 09:46:53 UTC
Created attachment 220581 [details]
build.log
Comment 3 W. Grunewald 2010-02-21 09:48:53 UTC
Created attachment 220583 [details]
emerge --info
Comment 4 W. Grunewald 2010-02-21 09:50:52 UTC
# emerge -pvq =kde-base/kdebindings-ruby-4.4.0
[ebuild  N    ] kde-base/kdebindings-ruby-4.4.0  USE="-akonadi (-aqua) -debug (-kdeenablefinal) (-kdeprefix) -kdevplatform -okular -phonon -plasma -qscintilla -qwt -semantic-desktop -webkit" RUBY_TARGETS="ruby18"
# _
Comment 5 Franz Trischberger 2010-02-21 11:10:29 UTC
One problem could be the include of smoke in qtruby.h

#include <smoke/smoke.h>

But there is no smoke.h in /usr/include/smoke, it is /usr/include/smoke.h.
So smoke probably should install smoke.h in /usr/include/smoke, too.

The only problem with this explanation: The error does not match ;)
There should be something like "qtruby.h:47: Error: smoke/smoke.h: File not found"
Or similar.

Could it be you have an empty (or incompatible) smoke.h lying around in your system?
Comment 6 W. Grunewald 2010-02-21 12:41:18 UTC
I got an old smoke installation (from 2007) in /usr/local. (Don't ask me why ;))

Since I removed the old files kdebindings-4.4.0 builds fine.

Thank you!
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-02-21 12:43:30 UTC
Reopen for correct resolution.