Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546958 - dev-qt/qtwebkit-4.8.6-r1 fails to compile
Summary: dev-qt/qtwebkit-4.8.6-r1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-18 01:39 UTC by SeeSun
Modified: 2015-04-19 07:12 UTC (History)
0 users

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


Attachments
End of build log (build.log,23.92 KB, text/x-log)
2015-04-18 01:39 UTC, SeeSun
Details
Head of build.log (head_of_build.log,999.00 KB, text/x-log)
2015-04-19 03:23 UTC, SeeSun
Details
tail of build.og (tail_of_build.log,999.00 KB, text/x-log)
2015-04-19 03:25 UTC, SeeSun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SeeSun 2015-04-18 01:39:59 UTC
Created attachment 401494 [details]
End of build log

emerge -Duq dev-qt/qtwebkit

.obj/release-shared/JSSVGStringList.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
Makefile:1210: recipe for target '../../../../../../lib/libQtWebKit.so.4.9.4' failed
make: *** [../../../../../../lib/libQtWebKit.so.4.9.4] Error 1
 * ERROR: dev-qt/qtwebkit-4.8.6-r1::gentoo failed (compile phase):
 *   emake failed
 * 

emerge --info '=dev-qt/qtwebkit-4.8.6-r1::gentoo'                                                                                                                  <
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.4, glibc-2.20-r2, 3.18.11-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-3612QM_CPU_@_2.10GHz-with-gentoo-2.2
KiB Mem:     8067160 total,     73352 free
KiB Swap:    4524284 total,   4495992 free
Timestamp of tree: Fri, 17 Apr 2015 23:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.2
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
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"
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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/ http://gentoo.gg3.net/ http://tux.rainside.sk/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10 --load-average=15"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aes alsa amd64 avx bash-completion berkdb bindist bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cscope cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gif gimp git glamor gmp gnutls gpm gstreamer gtk hal iconv icu ipv6 java jpeg jpeg2k kde kipi lame lcms ldap libnotify libsamplerate mad mmx mmxext mng modules mozilla mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qt3support qt4 readline samba sdl semantic-desktop session speex spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg synaptics tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vdpau vim-syntax vorbis vpx wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="64 32" 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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

#package.accept_keywords
=dev-qt/qtcore-4.8.6-r1 ~amd64
=dev-qt/qtdbus-4.8.6-r1 ~amd64
=dev-qt/qttranslations-4.8.6-r1 ~amd64
=dev-qt/qtchooser-0_p20150102 ~amd64
=dev-qt/qtgui-4.8.6-r2 ~amd64
=dev-qt/qtwebkit-4.8.6-r1 ~amd64
=dev-qt/qtxmlpatterns-4.8.6-r1 ~amd64
=dev-qt/qt3support-4.8.6-r1 ~amd64
=dev-qt/qtsql-4.8.6-r1 ~amd64
=dev-qt/qtscript-4.8.6-r1 ~amd64
=dev-qt/qtsvg-4.8.6-r1 ~amd64
=dev-qt/qttest-4.8.6-r1 ~amd64
=dev-qt/qtdeclarative-4.8.6-r1 ~amd64
=dev-qt/qtmultimedia-4.8.6-r1 ~amd64
=dev-qt/qtopengl-4.8.6-r1 ~amd64
=dev-qt/designer-4.8.6-r1 ~amd64
Comment 1 SeeSun 2015-04-18 01:43:28 UTC
 * Working directory: '/var/tmp/portage/dev-qt/qtwebkit-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/src/3rdparty/webkit/Source/WebKit/qt'
 * S: '/var/tmp/portage/dev-qt/qtwebkit-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6'
Comment 2 SeeSun 2015-04-18 01:44:18 UTC
This blocks Skype from installing
Comment 3 Rafał Mużyło 2015-04-18 09:59:33 UTC
> KiB Mem:     8067160 total,     73352 free
> MAKEOPTS="-j10 --load-average=15"

Seriously ? No, your hardware isn't that strong if you leave it that little.

Hard to tell without the full log, but most likely you've run out of disk space / memory.
Comment 4 SeeSun 2015-04-19 03:09:57 UTC
df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/dm-0       235G  196G   37G  85% /
Comment 5 SeeSun 2015-04-19 03:23:44 UTC
Created attachment 401582 [details]
Head of build.log
Comment 6 SeeSun 2015-04-19 03:25:27 UTC
Created attachment 401584 [details]
tail of build.og

I've attached head and tail of build.log. The whole build.log is too big to attach here.
Comment 7 SeeSun 2015-04-19 03:27:57 UTC
obj/release-shared/JSSVGStringList.o is empty file (i.e. size 0)
Comment 8 SeeSun 2015-04-19 04:10:17 UTC
I've compiled JSSVGStringList.cpp manually i.e.
- cd /var/tmp/portage/dev-qt/qtwebkit-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/src/3rdparty/webkit/Source/WebKit/qt
- and copy/past very long command "x86_64-pc-linux-gnu-g++ -m32  ..." from the log.

ll .*/**/*JSSVGStringList*            
-rw-r--r-- 1 portage portage 83388 Apr 18 21:05 .obj/release-shared/JSSVGStringList.o
Comment 9 SeeSun 2015-04-19 04:10:53 UTC
I've compiled JSSVGStringList.cpp manually i.e.
- cd /var/tmp/portage/dev-qt/qtwebkit-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/src/3rdparty/webkit/Source/WebKit/qt
- and copy/past very long command "x86_64-pc-linux-gnu-g++ -m32  ..." from the log.

ll .*/**/*JSSVGStringList*            
-rw-r--r-- 1 portage portage 83388 Apr 18 21:05 .obj/release-shared/JSSVGStringList.o
Comment 10 SeeSun 2015-04-19 04:12:37 UTC
These files also look incorrect:

-rw-r--r-- 1 portage portage      0 Apr 18 20:59 .obj/release-shared/JSSVGStyleElement.o
-rw-r--r-- 1 portage portage      0 Apr 18 20:59 .obj/release-shared/JSSVGSVGElement.o
-rw-r--r-- 1 portage portage      0 Apr 18 20:59 .obj/release-shared/JSSVGSwitchElement.o
-rw-r--r-- 1 portage portage      0 Apr 18 20:59 .obj/release-shared/JSSVGSymbolElement.o
-rw-r--r-- 1 portage portage      0 Apr 18 20:59 .obj/release-shared/JSSVGTextContentElement.o
-rw-r--r-- 1 portage portage      0 Apr 18 20:59 .obj/release-shared/JSSVGTextElement.o
-rw-r--r-- 1 portage portage      0 Apr 18 20:59 .obj/release-shared/JSSVGTextPathElement.o
Comment 11 SeeSun 2015-04-19 04:56:28 UTC
Cleaning /var/tmp/ccache solved the problem.