Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580438 - dev-qt/qtwebkit-5.5.1-r1 - cannot load such file -- rubygems/compatibility (LoadError)
Summary: dev-qt/qtwebkit-5.5.1-r1 - cannot load such file -- rubygems/compatibility (L...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-18 14:59 UTC by Pryka
Modified: 2016-04-19 15:57 UTC (History)
1 user (show)

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


Attachments
build.log (file_580438.txt,287.88 KB, text/plain)
2016-04-18 14:59 UTC, Pryka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pryka 2016-04-18 14:59:50 UTC
Created attachment 431134 [details]
build.log

make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WTF'
cd Source/JavaScriptCore/ && ( test -e Makefile.JavaScriptCore || /usr/lib64/qt5/bin/qmake /var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/JavaScriptCore.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc-linux-gnu-strip 'QMAKE_CFLAGS=-march=native -O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= -o Makefile.JavaScriptCore ) && make -f Makefile.JavaScriptCore 
make[1]: Entering directory '/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore'
( test -e Makefile.LLIntOffsetsExtractor || /usr/lib64/qt5/bin/qmake /var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/LLIntOffsetsExtractor.pro CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc-linux-gnu-strip 'QMAKE_CFLAGS=-march=native -O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= -o Makefile.LLIntOffsetsExtractor ) && make -f Makefile.LLIntOffsetsExtractor 
make[2]: Entering directory '/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore'
ruby /var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb llint/LowLevelInterpreter.asm LLIntDesiredOffsets.h
/usr/lib64/ruby/2.2.0/rubygems.rb:16:in `require': cannot load such file -- rubygems/compatibility (LoadError)
        from /usr/lib64/ruby/2.2.0/rubygems.rb:16:in `<top (required)>'
        from <internal:gem_prelude>:1:in `require'
        from <internal:gem_prelude>:1:in `<compiled>'
Makefile.LLIntOffsetsExtractor:523: recipe for target 'LLIntDesiredOffsets.h' failed
make[2]: *** [LLIntDesiredOffsets.h] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore'
Makefile.JavaScriptCore:42: recipe for target 'sub-LLIntOffsetsExtractor-pro-make_first-ordered' failed
make[1]: *** [sub-LLIntOffsetsExtractor-pro-make_first-ordered] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore'
Makefile:92: recipe for target 'sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered' failed
make: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2



emerge --info
Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.23-r2, 4.4.3 x86_64)
=================================================================
System uname: Linux-4.4.3-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-gentoo-2.2
KiB Mem:     4047048 total,   1045572 free
KiB Swap:    2016120 total,   1727616 free
Timestamp of repository gentoo: Mon, 18 Apr 2016 04:15:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://ftp.vectranet.pl/gentoo-portage
    priority: -1000

foo-overlay
    location: /var/lib/layman/foo-overlay
    sync-type: laymansync
    sync-uri: git://github.com/slashbeast/foo-overlay.git
    masters: gentoo
    priority: 50

roslin
    location: /var/lib/layman/roslin
    sync-type: laymansync
    sync-uri: https://gitlab.com/roslin-uberlay/roslin.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 googleearth google-chrome Oracle-BCLA-JavaSE skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit X a52 aac accessibility acl acpi alsa amd64 bash-completion bazaar berkdb binary-drivers bluetooth branding bzip2 cairo cdda cdr cjk cli color consolekit cracklib crashreporter crypt css cups cxx dbus declarative device-mapper dri dts dvd dvdnav dvdr embedded emboss encode exif fam fat fbcon fbcondecor ffmpeg firefox flac fontconfig fortran gcj gdbm gif glamor gpm gtk handbook hddtemp iconv idn imlib ipv6 java jpeg kde kipi lame lcms ldap legacy-systray libnotify lua mad mercurial mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nss ntfs ogg opengl openmp pam pango pcre pdf phonon plasma png policykit postproc ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session slang spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink sync-plugin-portage syslog tcpd tiff truetype udev udisks unicode upower usb vorbis webm widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvfb xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" CURL_SSL="openssl" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


eselect ruby list
Available Ruby profiles:
  [1]   ruby19
  [2]   ruby20 (with Rubygems)
  [3]   ruby21 (with Rubygems)
  [4]   ruby22 *
  [5]   ruby23 (with Rubygems)
Comment 1 Pryka 2016-04-18 16:02:19 UTC
I have ruby only because qtwebkit depend on in. So i don't really now how to properly set this thing, so sorry for being a dumbass.

I think the issue is in my config. 3 places, 4 different ruby versions selected.

- RUBY_TARGETS="ruby20 ruby21"(via profile)
- eselect ruby list ruby22
- package.use ruby_targets_ruby23

I mange to do some changes and its look like this now:
- RUBY_TARGETS="ruby20 ruby21 ruby23"(added 23 to make.conf, 20, 21 still set via profile)
- eselect ruby list ruby23(with Rubygems)
- removed since is already set in eselect.
Comment 2 Pryka 2016-04-18 16:06:51 UTC
I will check this tomorrow, sadly i don't have time today for recompiling qtwebkit.

I will let u know if it fixed the issue. In the meantime please be free to "quide" me what else i can do to solve this. And sorry for the bug report i think its just my ignorance in ruby topic and not a real bug... :(
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2016-04-19 01:16:58 UTC
(In reply to Pryka from comment #1)
> I think the issue is in my config. 3 places, 4 different ruby versions
> selected.
> 
> - RUBY_TARGETS="ruby20 ruby21"(via profile)
> - eselect ruby list ruby22
> - package.use ruby_targets_ruby23

Yeah this is all messed up. You should never eselect a ruby version that is not listed in RUBY_TARGETS.

> I mange to do some changes and its look like this now:
> - RUBY_TARGETS="ruby20 ruby21 ruby23"(added 23 to make.conf, 20, 21 still
> set via profile)
> - eselect ruby list ruby23(with Rubygems)
> - removed since is already set in eselect.

Not sure what the "removed..." refers to, but the rest looks correct and should begin to work after an `emerge -uDN @world`.

I think ruby23 is still experimental though. A safer move is: remove all custom RUBY_TARGETS from make.conf, eselect ruby21, and emerge -uDN @world.

In the future, follow this mini-guide for ruby upgrades https://wiki.gentoo.org/wiki/Ruby#Upgrades
Comment 4 Pryka 2016-04-19 15:57:12 UTC
Yep its working now. Thx for help.