Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349696 - kde-base/kdebindings-ruby-4.5.4 build fails
Summary: kde-base/kdebindings-ruby-4.5.4 build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-25 16:51 UTC by Andrea Franceschini
Modified: 2011-01-22 21:19 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 Andrea Franceschini 2010-12-25 16:51:55 UTC
Launching emerge kdebindings-ruby results in "correctly" installing smoke, and the following error when compiling the actual bindings package:

Scanning dependencies of target calendar
[ 56%] Generating calendar.rb
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:779:in `report_activate_error': Could not find RubyGem qtbindings (>= 0) (Gem::LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:214:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
        from /usr/bin/rbuic4:18
make[2]: *** [ruby/plasma/examples/applets/analog-clock/calendar.rb] Error 1
make[1]: *** [ruby/plasma/examples/applets/analog-clock/CMakeFiles/calendar.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 56%] Built target rubysolid
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/kdebindings-ruby-4.5.4 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4614:  Called ruby-ng_src_compile
 *   environment, line 4376:  Called _ruby_each_implementation 'each_ruby_compile'
 *   environment, line  754:  Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile'
 *   environment, line  783:  Called each_ruby_compile
 *   environment, line 1570:  Called kde4-meta_src_compile
 *   environment, line 3497:  Called kde4-base_src_compile
 *   environment, line 3131:  Called cmake-utils_src_compile
 *   environment, line 1299:  Called _execute_optionaly 'src_compile'
 *   environment, line  580:  Called enable_cmake-utils_src_compile
 *   environment, line 1703:  Called cmake-utils_src_make
 *   environment, line 1318:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";

Then I tried to install qtbindings via gem:

# gem install qtbindings
Building native extensions.  This could take a while...
ERROR:  Error installing qtbindings:
        ERROR: Failed to build gem native extension.

/usr/bin/ruby18 extconf.rb

[.........]

-- --------FindRuby.cmake debug------------
-- _RUBY_POSSIBLE_EXECUTABLE_NAMES: ruby;ruby1.9;ruby19;ruby1.9.1;ruby191;ruby1.9.2;ruby192;ruby1.8;ruby18
-- _RUBY_POSSIBLE_LIB_NAMES: ruby;ruby-static;ruby1.8;ruby-1.8.7
-- RUBY_ARCH_DIR: /usr/lib/ruby/1.8/i686-linux
-- RUBY_HDR_DIR: nil
-- RUBY_POSSIBLE_LIB_DIR: /usr/lib
-- Found RUBY_VERSION: "1.8.7" , short: "1.8", nodot: "18"
-- _RUBY_REQUIRED_VARS: RUBY_EXECUTABLE;RUBY_INCLUDE_DIR;RUBY_LIBRARY
-- --------------------
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
  Could NOT find Ruby (missing: RUBY_LIBRARY)
Call Stack (most recent call first):
  cmake/modules/FindRuby.cmake:249 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:18 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
make: [build] Error 1 (ignored)
cd ext/build; make
make[1]: Entering directory `/usr/lib/ruby/gems/1.8/gems/qtbindings-4.6.3.2/ext/build'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/usr/lib/ruby/gems/1.8/gems/qtbindings-4.6.3.2/ext/build'
make: *** [build] Error 2

and here I am. Here's my emerge --info

# emerge --info =kde-base/kdebindings-ruby-4.5.4
Portage 2.1.9.25 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-zen1 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.36-zen1-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-1.12.14
Timestamp of tree: Tue, 21 Dec 2010 15:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/dev-zero /var/lib/layman/kde /var/lib/layman/mozilla /var/lib/layman/pro-audio /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/zugaina"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amr avi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dga dri dts dv dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif gpm hal iconv ipv6 jpeg jpeg2k juju kde kdehiddenvisibility lame lcms ldap libnotify libsamplerate mad matroska midi mikmod mmx mng modules mp3 mp4 mpeg mtp mudflap ncurses network nls nptl nptlonly offensive ogg openal opengl openmp pam pango pcre pdf perl plasma png policykit ppds pppd python qt qt3support qt4 quicktime readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l2 vorbis webkit win32codecs x264 x86 xcb xcomposite xml xmlpatterns xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics wacom keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
emerge kdebindings-ruby
Comment 1 Andrea Franceschini 2011-01-09 17:27:46 UTC
Anyone?
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-01-22 18:44:50 UTC
Going to be fixed in 4.6.0. Soon. :)
Comment 3 Andrea Franceschini 2011-01-22 21:19:20 UTC
(In reply to comment #2)
> Going to be fixed in 4.6.0. Soon. :)

So this means in a few days, when kde 4.6 is going to be released? That's good news, thanks :)