1 |
I seem to be hitting this bug: |
2 |
|
3 |
https://bugs.gentoo.org/show_bug.cgi?id=513386 |
4 |
|
5 |
webkit-gtk fails: |
6 |
|
7 |
|
8 |
GNUmakefile:40431: recipe for target 'Programs/GtkLauncher' failed |
9 |
make[1]: *** [Programs/GtkLauncher] Error 1 |
10 |
make[1]: *** Waiting for unfinished jobs.... |
11 |
Source/WebKit/gtk/webkit/webkitversion.h:37: Warning: WebKit: |
12 |
symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol |
13 |
'WEBKITGTK_API_VERSION' |
14 |
/var/tmp/portage/net-libs/webkit- |
15 |
gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined reference |
16 |
to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19' |
17 |
/var/tmp/portage/net-libs/webkit- |
18 |
gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libjavascriptcoregtk-3.0.so: undefined |
19 |
reference to `_ZNSt6chrono3_V212system_clock3nowEv@GLIBCXX_3.4.19' |
20 |
collect2: error: ld returned 1 exit status |
21 |
linking of temporary binary failed: Command '['/bin/sh', './libtool', '-- |
22 |
mode=link', '--tag=CC', '--silent', 'i686-pc-linux-gnu-gcc', '-o', |
23 |
'/var/tmp/portage/net-libs/webkit-gtk-2.4.8/work/webkitgtk-2.4.8/tmp- |
24 |
introspectdaQWqM/WebKit-3.0', '-export-dynamic', '-O2', '-march=i686', '- |
25 |
pipe', '-pthread', '-std=c99', '-Wno-deprecated-declarations', '-Wl,-O1', '- |
26 |
Wl,--as-needed', '-Wl,--no-keep-memory', '-Wl,--reduce-memory-overheads', '- |
27 |
Wl,--no-demangle', '/var/tmp/portage/net-libs/webkit- |
28 |
gtk-2.4.8/work/webkitgtk-2.4.8/tmp-introspectdaQWqM/WebKit-3.0.o', '-L.', '- |
29 |
lwebkitgtk-3.0', '-ljavascriptcoregtk-3.0', '-Wl,--export-dynamic', '- |
30 |
lgmodule-2.0', '-pthread', '-lgtk-3', '-lgdk-3', '-lpangocairo-1.0', '- |
31 |
lpango-1.0', '-latk-1.0', '-lcairo-gobject', '-lcairo', '-lgdk_pixbuf-2.0', '- |
32 |
lsoup-2.4', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0']' returned non-zero |
33 |
exit status 1 |
34 |
GNUmakefile:82193: recipe for target 'WebKit-3.0.gir' failed |
35 |
make[1]: *** [WebKit-3.0.gir] Error 1 |
36 |
|
37 |
|
38 |
|
39 |
If I'm reading the bug correctly, it seems to be caused there by having gcc |
40 |
4.8 installed and having 4.7 active. From comment #30: |
41 |
|
42 |
<quote> |
43 |
gcc ebuild adds /etc/ld.so.conf.d/05gcc-i686-pc-linux-gnu.conf entries, sorted |
44 |
by version. |
45 |
During compilation, API from *active* version is used. |
46 |
During linking, ABI from the first *listed* version is used. |
47 |
|
48 |
If those two disagree, like it's the case here for c++11, you'll getting |
49 |
various funny results. |
50 |
</quote> |
51 |
|
52 |
|
53 |
That's not the case on my system. I only have version 4.8 installed |
54 |
|
55 |
root@kushiel ~ # gcc-config -l |
56 |
[1] i686-pc-linux-gnu-4.8.3 * |
57 |
root@kushiel ~ # |
58 |
|
59 |
root@kushiel ~ # cat /etc/ld.so.conf.d/05gcc-i686-pc-linux-gnu.conf |
60 |
/usr/lib/gcc/i686-pc-linux-gnu/4.8.3 |
61 |
root@kushiel ~ # |
62 |
|
63 |
There's only one line in the above file, so it should be compiling and linking |
64 |
from the same source. I've reemerged libtool, reemerged glibc and run revdep- |
65 |
rebuild. The two packages built with no errors and revdep comes up with |
66 |
nothing required. Emerging @preserved-rebuilds tries to rebuild webkit-gtk |
67 |
and fails. The full build log for webkit-gtk is WAY to big to post here but |
68 |
I've included emerge --info and -pvq below. Any help or suggestions greatly |
69 |
appreciated. |
70 |
|
71 |
|
72 |
|
73 |
|
74 |
root@kushiel ~ # emerge --info '=net-libs/webkit-gtk-2.4.8::gentoo' |
75 |
Portage 2.2.14 (python 2.7.9-final-0, default/linux/x86/13.0/desktop/kde, |
76 |
gcc-4.8.3, glibc-2.19-r1, 3.18.9-gentoo i686) |
77 |
================================================================= |
78 |
System Settings |
79 |
================================================================= |
80 |
System uname: Linux-3.18.9-gentoo-i686-Intel-R-_Core-TM- |
81 |
_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2 |
82 |
KiB Mem: 16609028 total, 12465696 free |
83 |
KiB Swap: 2097148 total, 2097092 free |
84 |
Timestamp of tree: Thu, 26 Mar 2015 05:30:01 +0000 |
85 |
ld GNU ld (Gentoo 2.24 p1.4) 2.24 |
86 |
app-shells/bash: 4.2_p53 |
87 |
dev-java/java-config: 2.2.0 |
88 |
dev-lang/perl: 5.20.1-r4 |
89 |
dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.1 |
90 |
dev-util/cmake: 2.8.12.2-r1 |
91 |
dev-util/pkgconfig: 0.28-r1 |
92 |
sys-apps/baselayout: 2.2 |
93 |
sys-apps/openrc: 0.13.11 |
94 |
sys-apps/sandbox: 2.6-r1 |
95 |
sys-devel/autoconf: 2.13, 2.69 |
96 |
sys-devel/automake: 1.11.6-r1, 1.13.4 |
97 |
sys-devel/binutils: 2.24-r3 |
98 |
sys-devel/gcc: 4.6.4, 4.7.3-r1, 4.8.3 |
99 |
sys-devel/gcc-config: 1.7.3 |
100 |
sys-devel/libtool: 2.4.4 |
101 |
sys-devel/make: 4.1-r1 |
102 |
sys-kernel/linux-headers: 3.16 (virtual/os-headers) |
103 |
sys-libs/glibc: 2.19-r1 |
104 |
Repositories: gentoo retroshare-overlay desktop-effects |
105 |
ACCEPT_KEYWORDS="x86" |
106 |
ACCEPT_LICENSE="*" |
107 |
CBUILD="i686-pc-linux-gnu" |
108 |
CFLAGS="-O2 -march=i686 -pipe" |
109 |
CHOST="i686-pc-linux-gnu" |
110 |
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config |
111 |
/usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/munin-async/.ssh" |
112 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d |
113 |
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild |
114 |
/etc/sandbox.d /etc/terminfo" |
115 |
CXXFLAGS="-O2 -march=i686 -pipe" |
116 |
DISTDIR="/usr/portage/distfiles" |
117 |
FCFLAGS="-O2 -march=i686 -pipe" |
118 |
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks |
119 |
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect- |
120 |
owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge- |
121 |
orphans userfetch userpriv usersandbox usersync" |
122 |
FFLAGS="-O2 -march=i686 -pipe" |
123 |
GENTOO_MIRRORS="rsync://212.219.56.132/www.ibiblio.org/gentoo/ |
124 |
ftp://ftp.klid.dk/gentoo/ rsync://128.61.111.10/gentoo" |
125 |
LANG="en_US.UTF-8" |
126 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
127 |
MAKEOPTS="-j8" |
128 |
PKGDIR="/usr/portage/packages" |
129 |
PORTAGE_CONFIGROOT="/" |
130 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit- |
131 |
dir-times --compress --force --whole-file --delete --stats --human-readable -- |
132 |
timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" |
133 |
PORTAGE_TMPDIR="/var/tmp" |
134 |
PORTDIR="/usr/portage" |
135 |
PORTDIR_OVERLAY="/var/lib/layman/retroshare-overlay /var/lib/layman/desktop- |
136 |
effects" |
137 |
USE="3dnow 3dnowext X a52 aac acl acpi additions aio alsa berkdb bluetooth |
138 |
branding bsf bzip2 cairo cdda cdr cgraph cli consolekit cracklib crypt cuda |
139 |
cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss emerald encode |
140 |
exif extras fam ffmpeg firefox flac flash fontconfig fortran gd gdbm gif glamor |
141 |
gnutls gpm graphviz gstreamer gtk gtk3 gudev h323 hwdb iconv icu introspection |
142 |
ipv6 ithreads java joystick jpeg kde kdepim keymap kipi lame lcms ldap libav |
143 |
libkms libnotify mad mikmod minizip mmx mmxext mng mod modules mp3 mp4 mpeg |
144 |
mpg123 mudflap mysql ncurses nls nptl nptlonly nsplugin nss nvidia ofx ogg |
145 |
opengl openmp opus pam pango pcre pdf perl phonon plasma png policykit ppds |
146 |
pppd python qt3support qt4 readline reports samba sasl script sdl semantic- |
147 |
desktop session sip sipim soprano spell sql sqlite sse sse2 ssl ssse3 startup- |
148 |
notification static-libs subversion svg sysfs system-ffmpeg tcpd theora threads |
149 |
tiff tk truetype udev udisks unicode upower usb uvm vhost-net video vim-syntax |
150 |
vlc vorbis wav webkit win32codecs wxwidgets x264 x86 xcb xcomposite xinerama |
151 |
xml xmp xorg xscreensaver xulrunner xv xvid zlib" ABI_X86="32" |
152 |
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 |
153 |
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m |
154 |
maestro3 trident usb-audio via82xx via82xx-modem ymfpci" |
155 |
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias |
156 |
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm |
157 |
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache |
158 |
cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter |
159 |
file_cache filter headers include info log_config logio mem_cache mime mime_magic |
160 |
negotiation rewrite setenvif speling status unique_id userdir usertrack |
161 |
vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita |
162 |
karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq |
163 |
load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse |
164 |
sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm |
165 |
earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip |
166 |
navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing |
167 |
tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev wacom" |
168 |
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 |
169 |
mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter- |
170 |
minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" |
171 |
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" |
172 |
RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" |
173 |
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface |
174 |
geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac |
175 |
delude chaos account" |
176 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, |
177 |
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
178 |
PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON |
179 |
|
180 |
|
181 |
|
182 |
root@kushiel ~ # emerge -pqv '=net-libs/webkit-gtk-2.4.8::gentoo' |
183 |
|
184 |
[ebuild U ] net-libs/webkit-gtk-2.4.8 [2.4.7] USE="X egl geoloc gstreamer |
185 |
introspection jit opengl spell webgl (-aqua) -coverage -debug -gles2 - |
186 |
libsecret {-test} -wayland" |
187 |
|
188 |
-- |
189 |
"When a thing is funny, search it for a hidden truth." - George Bernard Shaw |