Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602392 - =dev-qt/qtwebkit-5.6.2: build failure
Summary: =dev-qt/qtwebkit-5.6.2: build failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-11 22:26 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2016-12-11 23:18 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,287.57 KB, text/plain)
2016-12-11 22:26 UTC, Kristian Fiskerstrand (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-12-11 22:26:30 UTC
Created attachment 455938 [details]
build.log

( test -e Makefile.LLIntOffsetsExtractor || /usr/lib64/qt5/bin/qmake /var/tmp/portage/dev-qt/qtwebkit-5.6.2/work/qtwebkit-opensource-src-5.6.2/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=-O2 -pipe -march=corei7-avx' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=corei7-avx' 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.6.2/work/qtwebkit-opensource-src-5.6.2/Source/JavaScriptCore'
ruby /var/tmp/portage/dev-qt/qtwebkit-5.6.2/work/qtwebkit-opensource-src-5.6.2/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb llint/LowLevelInterpreter.asm LLIntDesiredOffsets.h
/usr/lib64/ruby/2.0.0/rubygems.rb:15:in `require': cannot load such file -- rubygems/compatibility (LoadError)
        from /usr/lib64/ruby/2.0.0/rubygems.rb:15:in `<top (required)>'
        from <internal:gem_prelude>:1:in `require'
        from <internal:gem_prelude>:1:in `<compiled>'
Makefile.LLIntOffsetsExtractor:336: recipe for target 'LLIntDesiredOffsets.h' failed
make[2]: *** [LLIntDesiredOffsets.h] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebkit-5.6.2/work/qtwebkit-opensource-src-5.6.2/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.6.2/work/qtwebkit-opensource-src-5.6.2/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
 * ERROR: dev-qt/qtwebkit-5.6.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebkit-5.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebkit-5.6.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebkit-5.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebkit-5.6.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebkit-5.6.2/work/qtwebkit-opensource-src-5.6.2'
 * S: '/var/tmp/portage/dev-qt/qtwebkit-5.6.2/work/qtwebkit-opensource-src-5.6.2'
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-12-11 22:27:13 UTC
# emerge --info '=dev-qt/qtwebkit-5.6.2::gentoo'
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r4, 3.18.43-gentoo-kf0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.43-gentoo-kf0-x86_64-Intel-R-_Core-TM-_i7-2820QM_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:    16312544 total,   4063576 free
KiB Swap:   16559308 total,  16559308 free
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

mozilla
    location: /var/lib/layman/mozilla
    masters: gentoo
    priority: 0

mrueg
    location: /var/lib/layman/mrueg
    masters: gentoo
    priority: 1

gentoo
    location: /data/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 2

k_f
    location: /usr/local/portage
    masters: gentoo
    priority: 3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE -AGPL-3 -AGPL-3+ freedist"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7-avx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=corei7-avx"
DISTDIR="/data/gentoo/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6 -l3"
PKGDIR="/data/gentoo/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="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gnutls gpg gpm gtk iconv icu ipv6 jpeg latex lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pcsc-lite pdf png policykit ppds qt3support qt4 readline samba sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 xattr xcb xml xv 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="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" 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" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau intel i915 i965" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2016-12-11 22:36:02 UTC
I believe your ruby setup is broken. You have RUBY_TARGETS="ruby21" but "ruby" points to ruby20.
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-12-11 22:49:15 UTC
(In reply to Davide Pesavento from comment #2)
> I believe your ruby setup is broken. You have RUBY_TARGETS="ruby21" but
> "ruby" points to ruby20.

nThere isn't any specific RUBY_TARGETS in make.conf and 2.1 was not available in eselect ruby list ahead of the pull. That said, upon retry it is available, so this is indeed likely invalid for this package. However the news item "Ruby 2.0 removal; Ruby 2.1 default" does not list the need to install additional packages for a switch, nor is it listed in dependencies.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2016-12-11 23:09:40 UTC
(In reply to Kristian Fiskerstrand from comment #3)
> However the
> news item "Ruby 2.0 removal; Ruby 2.1 default" does not list the need to
> install additional packages for a switch, nor is it listed in dependencies.

I don't follow. AFAIU the default RUBY_TARGETS recently changed from "ruby20 ruby21" to just "ruby21". Therefore all your gems should already be available for both ruby20 and ruby21, so you just need to change the default ruby interpreter via `eselect ruby`. The news item also suggests to run `emerge -uvDNq world`.
Comment 5 Kristian Fiskerstrand (RETIRED) gentoo-dev 2016-12-11 23:18:31 UTC
(In reply to Davide Pesavento from comment #4)
> (In reply to Kristian Fiskerstrand from comment #3)
> > However the
> > news item "Ruby 2.0 removal; Ruby 2.1 default" does not list the need to
> > install additional packages for a switch, nor is it listed in dependencies.
> 
> I don't follow. AFAIU the default RUBY_TARGETS recently changed from "ruby20
> ruby21" to just "ruby21". Therefore all your gems should already be
> available for both ruby20 and ruby21, so you just need to change the default
> ruby interpreter via `eselect ruby`. The news item also suggests to run
> `emerge -uvDNq world`.

yes, this seems mostly a timing issue. the RUBY_TARGETS has been changed at the same time as it reached stable (or within a limited timeframe) so the world upgrade didn't happen until the same time as it was a requirement for qtwebkit instead of it being a two-step process. Hence the world upgrade failes before the available ruby version could be selected. I'm marking this RESOLVED INVALID for the current package, but it is a reminder to ensure proper upgrade path for the ruby team.