public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] webkit-gtk-2.4.8 fails to compile
@ 2015-03-27  9:56 ddjones
  2015-03-27 23:05 ` [gentoo-user] " walt
  0 siblings, 1 reply; 8+ messages in thread
From: ddjones @ 2015-03-27  9:56 UTC (permalink / raw
  To: gentoo-user

I seem to be hitting this bug:

https://bugs.gentoo.org/show_bug.cgi?id=513386

webkit-gtk fails:


GNUmakefile:40431: recipe for target 'Programs/GtkLauncher' failed
make[1]: *** [Programs/GtkLauncher] Error 1
make[1]: *** Waiting for unfinished jobs....
Source/WebKit/gtk/webkit/webkitversion.h:37: Warning: WebKit: 
symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 
'WEBKITGTK_API_VERSION'
/var/tmp/portage/net-libs/webkit-
gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined reference 
to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'
/var/tmp/portage/net-libs/webkit-
gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libjavascriptcoregtk-3.0.so: undefined 
reference to `_ZNSt6chrono3_V212system_clock3nowEv@GLIBCXX_3.4.19'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', './libtool', '--
mode=link', '--tag=CC', '--silent', 'i686-pc-linux-gnu-gcc', '-o', 
'/var/tmp/portage/net-libs/webkit-gtk-2.4.8/work/webkitgtk-2.4.8/tmp-
introspectdaQWqM/WebKit-3.0', '-export-dynamic', '-O2', '-march=i686', '-
pipe', '-pthread', '-std=c99', '-Wno-deprecated-declarations', '-Wl,-O1', '-
Wl,--as-needed', '-Wl,--no-keep-memory', '-Wl,--reduce-memory-overheads', '-
Wl,--no-demangle', '/var/tmp/portage/net-libs/webkit-
gtk-2.4.8/work/webkitgtk-2.4.8/tmp-introspectdaQWqM/WebKit-3.0.o', '-L.', '-
lwebkitgtk-3.0', '-ljavascriptcoregtk-3.0', '-Wl,--export-dynamic', '-
lgmodule-2.0', '-pthread', '-lgtk-3', '-lgdk-3', '-lpangocairo-1.0', '-
lpango-1.0', '-latk-1.0', '-lcairo-gobject', '-lcairo', '-lgdk_pixbuf-2.0', '-
lsoup-2.4', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0']' returned non-zero 
exit status 1
GNUmakefile:82193: recipe for target 'WebKit-3.0.gir' failed
make[1]: *** [WebKit-3.0.gir] Error 1



If I'm reading the bug correctly, it seems to be caused there by having gcc 
4.8 installed and having 4.7 active.  From comment #30:

<quote>
gcc ebuild adds /etc/ld.so.conf.d/05gcc-i686-pc-linux-gnu.conf entries, sorted 
by version.
During compilation, API from *active* version is used.
During linking, ABI from the first *listed* version is used.

If those two disagree, like it's the case here for c++11, you'll getting 
various funny results.
</quote>


That's not the case on my system.  I only have version 4.8 installed

root@kushiel ~ # gcc-config -l
 [1] i686-pc-linux-gnu-4.8.3 *
root@kushiel ~ # 

root@kushiel ~ # cat /etc/ld.so.conf.d/05gcc-i686-pc-linux-gnu.conf
/usr/lib/gcc/i686-pc-linux-gnu/4.8.3
root@kushiel ~ # 

There's only one line in the above file, so it should be compiling and linking 
from the same source.  I've reemerged libtool, reemerged glibc and run revdep-
rebuild.  The two packages built with no errors and revdep comes up with 
nothing required.  Emerging @preserved-rebuilds tries to rebuild webkit-gtk 
and fails.  The full build log for webkit-gtk is WAY to big to post here but 
I've included emerge --info and -pvq below.  Any help or suggestions greatly 
appreciated.




root@kushiel ~ # emerge --info '=net-libs/webkit-gtk-2.4.8::gentoo'
Portage 2.2.14 (python 2.7.9-final-0, default/linux/x86/13.0/desktop/kde, 
gcc-4.8.3, glibc-2.19-r1, 3.18.9-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.9-gentoo-i686-Intel-R-_Core-TM-
_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16609028 total,  12465696 free
KiB Swap:    2097148 total,   2097092 free
Timestamp of tree: Thu, 26 Mar 2015 05:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1                                                                                                                                                                                          
dev-util/cmake:           2.8.12.2-r1                                                                                                                                                                                                        
dev-util/pkgconfig:       0.28-r1                                                                                                                                                                                                            
sys-apps/baselayout:      2.2                                                                                                                                                                                                                
sys-apps/openrc:          0.13.11                                                                                                                                                                                                            
sys-apps/sandbox:         2.6-r1                                                                                                                                                                                                             
sys-devel/autoconf:       2.13, 2.69                                                                                                                                                                                                         
sys-devel/automake:       1.11.6-r1, 1.13.4                                                                                                                                                                                                  
sys-devel/binutils:       2.24-r3                                                                                                                                                                                                            
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.3                                                                                                                                                                                             
sys-devel/gcc-config:     1.7.3                                                                                                                                                                                                              
sys-devel/libtool:        2.4.4                                                                                                                                                                                                              
sys-devel/make:           4.1-r1                                                                                                                                                                                                             
sys-kernel/linux-headers: 3.16 (virtual/os-headers)                                                                                                                                                                                          
sys-libs/glibc:           2.19-r1                                                                                                                                                                                                            
Repositories: gentoo retroshare-overlay desktop-effects                                                                                                                                                                                      
ACCEPT_KEYWORDS="x86"                                                                                                                                                                                                                        
ACCEPT_LICENSE="*"                                                                                                                                                                                                                           
CBUILD="i686-pc-linux-gnu"                                                                                                                                                                                                                   
CFLAGS="-O2 -march=i686 -pipe"                                                                                                                                                                                                               
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config 
/usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/munin-async/.ssh"
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/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-
owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-
orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="rsync://212.219.56.132/www.ibiblio.org/gentoo/ 
ftp://ftp.klid.dk/gentoo/ rsync://128.61.111.10/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="/var/lib/layman/retroshare-overlay /var/lib/layman/desktop-
effects"
USE="3dnow 3dnowext X a52 aac acl acpi additions aio alsa berkdb bluetooth 
branding bsf bzip2 cairo cdda cdr cgraph cli consolekit cracklib crypt cuda 
cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss emerald encode 
exif extras fam ffmpeg firefox flac flash fontconfig fortran gd gdbm gif glamor 
gnutls gpm graphviz gstreamer gtk gtk3 gudev h323 hwdb iconv icu introspection 
ipv6 ithreads java joystick jpeg kde kdepim keymap kipi lame lcms ldap libav 
libkms libnotify mad mikmod minizip mmx mmxext mng mod modules mp3 mp4 mpeg 
mpg123 mudflap mysql ncurses nls nptl nptlonly nsplugin nss nvidia ofx ogg 
opengl openmp opus pam pango pcre pdf perl phonon plasma png policykit ppds 
pppd python qt3support qt4 readline reports samba sasl script sdl semantic-
desktop session sip sipim soprano spell sql sqlite sse sse2 ssl ssse3 startup-
notification static-libs subversion svg sysfs system-ffmpeg tcpd theora threads 
tiff tk truetype udev udisks unicode upower usb uvm vhost-net video vim-syntax 
vlc vorbis wav webkit win32codecs wxwidgets x264 x86 xcb xcomposite xinerama 
xml xmp xorg xscreensaver xulrunner xv xvid zlib" ABI_X86="32" 
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" 
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 wacom" 
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-
minimizer" 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="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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, 
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON



root@kushiel ~ # emerge -pqv '=net-libs/webkit-gtk-2.4.8::gentoo'

[ebuild     U ] net-libs/webkit-gtk-2.4.8 [2.4.7] USE="X egl geoloc gstreamer 
introspection jit opengl spell webgl (-aqua) -coverage -debug -gles2 -
libsecret {-test} -wayland" 

-- 
"When a thing is funny, search it for a hidden truth." - George Bernard Shaw



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
  2015-03-27  9:56 [gentoo-user] webkit-gtk-2.4.8 fails to compile ddjones
@ 2015-03-27 23:05 ` walt
  2015-03-28 10:42   ` Alan McKinnon
  2015-06-17 20:54   ` ddjones
  0 siblings, 2 replies; 8+ messages in thread
From: walt @ 2015-03-27 23:05 UTC (permalink / raw
  To: gentoo-user

On 03/27/2015 02:56 AM, ddjones wrote:
> I seem to be hitting this bug:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=513386
> 
> webkit-gtk fails:
> 
> gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined reference 
> to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'

I don't know if you understand the concepts discussed in that bug report, but
this this is basic idea:

You see that the undefined symbol includes the string "GLIBCXX".  From this you
can tell that the program uses the well-known c++ standard library, which happens
to be installed separately by each version of gcc you have on your computer.

The error you are seeing is caused by using a different version of gcc to compile
webkit-gtk than you used to compile some other package that webkit-gtk depends on.

The tedious but necessary fix is to find every package on your computer that needs
libstdc++ and then recompile all of them with the same version of gcc.  Yup, boring.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
  2015-03-27 23:05 ` [gentoo-user] " walt
@ 2015-03-28 10:42   ` Alan McKinnon
  2015-06-17 20:54   ` ddjones
  1 sibling, 0 replies; 8+ messages in thread
From: Alan McKinnon @ 2015-03-28 10:42 UTC (permalink / raw
  To: gentoo-user

On 28/03/2015 01:05, walt wrote:
> On 03/27/2015 02:56 AM, ddjones wrote:
>> I seem to be hitting this bug:
>>
>> https://bugs.gentoo.org/show_bug.cgi?id=513386
>>
>> webkit-gtk fails:
>>
>> gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined reference 
>> to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'
> 
> I don't know if you understand the concepts discussed in that bug report, but
> this this is basic idea:
> 
> You see that the undefined symbol includes the string "GLIBCXX".  From this you
> can tell that the program uses the well-known c++ standard library, which happens
> to be installed separately by each version of gcc you have on your computer.
> 
> The error you are seeing is caused by using a different version of gcc to compile
> webkit-gtk than you used to compile some other package that webkit-gtk depends on.
> 
> The tedious but necessary fix is to find every package on your computer that needs
> libstdc++ and then recompile all of them with the same version of gcc.  Yup, boring.


I ran into the same thing with one of my machines a few months back, and
I did try the approach you suggest. It got to be so tedious and boring
that I decided stuff it, gave up and did

emerge -e world

Took 12 hours or so. The payoff was that I could just walk away and let
the machine get on with it, without having to sit there and fiddle after
every package was built




-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
  2015-03-27 23:05 ` [gentoo-user] " walt
  2015-03-28 10:42   ` Alan McKinnon
@ 2015-06-17 20:54   ` ddjones
  2015-06-17 22:47     ` walt
  2015-06-19  4:03     ` Walter Dnes
  1 sibling, 2 replies; 8+ messages in thread
From: ddjones @ 2015-06-17 20:54 UTC (permalink / raw
  To: gentoo-user

On Friday, March 27, 2015 04:05:16 PM walt wrote:
> On 03/27/2015 02:56 AM, ddjones wrote:
> > I seem to be hitting this bug:
> > 
> > https://bugs.gentoo.org/show_bug.cgi?id=513386
> > 
> > webkit-gtk fails:
> > 
> > gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined
> > reference to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'
> 
> I don't know if you understand the concepts discussed in that bug report,
> but this this is basic idea:
> 
> You see that the undefined symbol includes the string "GLIBCXX".  From this
> you can tell that the program uses the well-known c++ standard library,
> which happens to be installed separately by each version of gcc you have on
> your computer.
> 
> The error you are seeing is caused by using a different version of gcc to
> compile webkit-gtk than you used to compile some other package that
> webkit-gtk depends on.
> 
> The tedious but necessary fix is to find every package on your computer that
> needs libstdc++ and then recompile all of them with the same version of
> gcc.  Yup, boring.

I am still fighting this.  Yes, I've been fighting it since March.

emerge -e world

fails with this error.  I've done it at least a half dozen times.  emerge -e 
world starts out with over 1400 packages.  When webkitgtk fails, this is 
what's left:

root@kushiel /etc/conf.d # emerge --ask --resume

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] net-libs/webkit-gtk-2.4.8 [2.4.7]
[ebuild   R    ] media-libs/phonon-gstreamer-4.7.2 
[ebuild     U  ] net-libs/webkit-gtk-2.4.8-r200 [2.4.7-r200]
[ebuild  NS    ] net-libs/webkit-gtk-2.6.5 [2.4.7, 2.4.7-r200] USE="egl geoloc 
gstreamer introspection jit opengl spell webgl -coverage -doc -libsecret {-
test}" 
[ebuild   R    ] net-libs/libproxy-0.4.11-r2 
[ebuild   R    ] dev-java/swt-3.7.2-r1 
[ebuild   R    ] net-libs/glib-networking-2.42.1 
[ebuild   R    ] media-video/cheese-3.14.2 
[ebuild   R    ] net-p2p/vuze-4.8.1.2-r1 
[ebuild   R    ] net-p2p/vuze-coreplugins-4.8.1.2 

Any suggesting other than format the hard drive and start over greatly 
appreciated, because I've tried everything else I can think of or find 
suggested online.

-- 
"Wherever they burn books they will also, in the end, burn human beings." - 
Heinrich Heine



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
  2015-06-17 20:54   ` ddjones
@ 2015-06-17 22:47     ` walt
  2015-06-17 22:55       ` Canek Peláez Valdés
  2015-06-17 23:15       ` walt
  2015-06-19  4:03     ` Walter Dnes
  1 sibling, 2 replies; 8+ messages in thread
From: walt @ 2015-06-17 22:47 UTC (permalink / raw
  To: gentoo-user

On 06/17/2015 01:54 PM, ddjones wrote:
> On Friday, March 27, 2015 04:05:16 PM walt wrote:
>> On 03/27/2015 02:56 AM, ddjones wrote:
>>> I seem to be hitting this bug:
>>>
>>> https://bugs.gentoo.org/show_bug.cgi?id=513386
>>>
>>> webkit-gtk fails:
>>>
>>> gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined
>>> reference to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'
>>
>> I don't know if you understand the concepts discussed in that bug report,
>> but this this is basic idea:
>>
>> You see that the undefined symbol includes the string "GLIBCXX".  From this
>> you can tell that the program uses the well-known c++ standard library,
>> which happens to be installed separately by each version of gcc you have on
>> your computer.
>>
>> The error you are seeing is caused by using a different version of gcc to
>> compile webkit-gtk than you used to compile some other package that
>> webkit-gtk depends on.
>>
>> The tedious but necessary fix is to find every package on your computer that
>> needs libstdc++ and then recompile all of them with the same version of
>> gcc.  Yup, boring.
> 
> I am still fighting this.  Yes, I've been fighting it since March.
> 
> emerge -e world
> 
> fails with this error.  I've done it at least a half dozen times.  emerge -e 
> world starts out with over 1400 packages.  When webkitgtk fails, this is 
> what's left:
> 
> root@kushiel /etc/conf.d # emerge --ask --resume
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild     U  ] net-libs/webkit-gtk-2.4.8 [2.4.7]
> [ebuild   R    ] media-libs/phonon-gstreamer-4.7.2 
> [ebuild     U  ] net-libs/webkit-gtk-2.4.8-r200 [2.4.7-r200]
> [ebuild  NS    ] net-libs/webkit-gtk-2.6.5 [2.4.7, 2.4.7-r200] USE="egl geoloc 
> gstreamer introspection jit opengl spell webgl -coverage -doc -libsecret {-
> test}" 
> [ebuild   R    ] net-libs/libproxy-0.4.11-r2 
> [ebuild   R    ] dev-java/swt-3.7.2-r1 
> [ebuild   R    ] net-libs/glib-networking-2.42.1 
> [ebuild   R    ] media-video/cheese-3.14.2 
> [ebuild   R    ] net-p2p/vuze-4.8.1.2-r1 
> [ebuild   R    ] net-p2p/vuze-coreplugins-4.8.1.2 
> 
> Any suggesting other than format the hard drive and start over greatly 
> appreciated, because I've tried everything else I can think of or find 
> suggested online.

This is a trick that works occasionally: (Don't ask me why. I try it only out
of desperation when I don't know what else to try)

#quickpkg =webkit-gtk-2.4.7-r200

#quickpkg =webkit-gtk-2.4.7

#emerge -C =webkit-gtk-2.4.7-r200 =webkit-gtk-2.4.7

Removing webkit will break any other packages that depend on it, but now that
you've saved your existing webkit packages with quickpkg, you can reinstall them
using emerge -K if my trick doesn't work for you.

Here's another desperation move I make sometimes when I'm out of ideas:

#cd /usr/lib

#ls -lSr  (this sorts your libraries with the oldest ones at the end)

#qfile ./my-geriatric-lib.so.<whatever>

Then start emerging the oldest packages first, but do it one at a time instead
of using emerge -e to do everything with one giant step.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
  2015-06-17 22:47     ` walt
@ 2015-06-17 22:55       ` Canek Peláez Valdés
  2015-06-17 23:15       ` walt
  1 sibling, 0 replies; 8+ messages in thread
From: Canek Peláez Valdés @ 2015-06-17 22:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3444 bytes --]

On Wed, Jun 17, 2015 at 5:47 PM, walt <w41ter@gmail.com> wrote:
>
> On 06/17/2015 01:54 PM, ddjones wrote:
> > On Friday, March 27, 2015 04:05:16 PM walt wrote:
> >> On 03/27/2015 02:56 AM, ddjones wrote:
> >>> I seem to be hitting this bug:
> >>>
> >>> https://bugs.gentoo.org/show_bug.cgi?id=513386
> >>>
> >>> webkit-gtk fails:
> >>>
> >>> gtk-2.4.8/work/webkitgtk-2.4.8/.libs/libwebkitgtk-3.0.so: undefined
> >>> reference to `_ZNSt6chrono3_V212steady_clock3nowEv@GLIBCXX_3.4.19'
> >>
> >> I don't know if you understand the concepts discussed in that bug
report,
> >> but this this is basic idea:
> >>
> >> You see that the undefined symbol includes the string "GLIBCXX".  From
this
> >> you can tell that the program uses the well-known c++ standard library,
> >> which happens to be installed separately by each version of gcc you
have on
> >> your computer.
> >>
> >> The error you are seeing is caused by using a different version of gcc
to
> >> compile webkit-gtk than you used to compile some other package that
> >> webkit-gtk depends on.
> >>
> >> The tedious but necessary fix is to find every package on your
computer that
> >> needs libstdc++ and then recompile all of them with the same version of
> >> gcc.  Yup, boring.
> >
> > I am still fighting this.  Yes, I've been fighting it since March.
> >
> > emerge -e world
> >
> > fails with this error.  I've done it at least a half dozen times.
 emerge -e
> > world starts out with over 1400 packages.  When webkitgtk fails, this is
> > what's left:
> >
> > root@kushiel /etc/conf.d # emerge --ask --resume
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies... done!
> > [ebuild     U  ] net-libs/webkit-gtk-2.4.8 [2.4.7]
> > [ebuild   R    ] media-libs/phonon-gstreamer-4.7.2
> > [ebuild     U  ] net-libs/webkit-gtk-2.4.8-r200 [2.4.7-r200]
> > [ebuild  NS    ] net-libs/webkit-gtk-2.6.5 [2.4.7, 2.4.7-r200] USE="egl
geoloc
> > gstreamer introspection jit opengl spell webgl -coverage -doc
-libsecret {-
> > test}"
> > [ebuild   R    ] net-libs/libproxy-0.4.11-r2
> > [ebuild   R    ] dev-java/swt-3.7.2-r1
> > [ebuild   R    ] net-libs/glib-networking-2.42.1
> > [ebuild   R    ] media-video/cheese-3.14.2
> > [ebuild   R    ] net-p2p/vuze-4.8.1.2-r1
> > [ebuild   R    ] net-p2p/vuze-coreplugins-4.8.1.2
> >
> > Any suggesting other than format the hard drive and start over greatly
> > appreciated, because I've tried everything else I can think of or find
> > suggested online.
>
> This is a trick that works occasionally: (Don't ask me why. I try it only
out
> of desperation when I don't know what else to try)
>
> #quickpkg =webkit-gtk-2.4.7-r200
>
> #quickpkg =webkit-gtk-2.4.7
>
> #emerge -C =webkit-gtk-2.4.7-r200 =webkit-gtk-2.4.7
>
> Removing webkit will break any other packages that depend on it, but now
that
> you've saved your existing webkit packages with quickpkg, you can
reinstall them
> using emerge -K if my trick doesn't work for you.
>
> Here's another desperation move I make sometimes when I'm out of ideas:
>
> #cd /usr/lib
>
> #ls -lSr  (this sorts your libraries with the oldest ones at the end)

Nitpicking, but isn't -S for sorting by size? The -t flag is for
modification time.

Regards.
--
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México

[-- Attachment #2: Type: text/html, Size: 4387 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
  2015-06-17 22:47     ` walt
  2015-06-17 22:55       ` Canek Peláez Valdés
@ 2015-06-17 23:15       ` walt
  1 sibling, 0 replies; 8+ messages in thread
From: walt @ 2015-06-17 23:15 UTC (permalink / raw
  To: gentoo-user

On 06/17/2015 03:47 PM, walt wrote:
> #ls -lSr  (this sorts your libraries with the oldest ones at the end)

<<sigh> senility sucks> that should have been ls -lt




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: webkit-gtk-2.4.8 fails to compile
  2015-06-17 20:54   ` ddjones
  2015-06-17 22:47     ` walt
@ 2015-06-19  4:03     ` Walter Dnes
  1 sibling, 0 replies; 8+ messages in thread
From: Walter Dnes @ 2015-06-19  4:03 UTC (permalink / raw
  To: gentoo-user

On Wed, Jun 17, 2015 at 04:54:45PM -0400, ddjones wrote

> I am still fighting this.  Yes, I've been fighting it since March.
> 
> emerge -e world
> 
> fails with this error.  I've done it at least a half dozen times.  emerge -e 
> world starts out with over 1400 packages.  When webkitgtk fails, this is 
> what's left:
> 
> root@kushiel /etc/conf.d # emerge --ask --resume
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild     U  ] net-libs/webkit-gtk-2.4.8 [2.4.7]
> [ebuild   R    ] media-libs/phonon-gstreamer-4.7.2 
> [ebuild     U  ] net-libs/webkit-gtk-2.4.8-r200 [2.4.7-r200]
> [ebuild  NS    ] net-libs/webkit-gtk-2.6.5 [2.4.7, 2.4.7-r200] USE="egl geoloc gstreamer introspection jit opengl spell webgl -coverage -doc -libsecret {-test}" 
> [ebuild   R    ] net-libs/libproxy-0.4.11-r2 
> [ebuild   R    ] dev-java/swt-3.7.2-r1 
> [ebuild   R    ] net-libs/glib-networking-2.42.1 
> [ebuild   R    ] media-video/cheese-3.14.2 
> [ebuild   R    ] net-p2p/vuze-4.8.1.2-r1 
> [ebuild   R    ] net-p2p/vuze-coreplugins-4.8.1.2 
> 
> Any suggesting other than format the hard drive and start over greatly 
> appreciated, because I've tried everything else I can think of or find 
> suggested online.

  Try emerging the packages 1 at a time manually.  First...

emerge -1 =net-libs/webkit-gtk-2.4.8

  ...then

emerge -1 =media-libs/phonon-gstreamer-4.7.2

etc, etc.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-06-19  4:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-27  9:56 [gentoo-user] webkit-gtk-2.4.8 fails to compile ddjones
2015-03-27 23:05 ` [gentoo-user] " walt
2015-03-28 10:42   ` Alan McKinnon
2015-06-17 20:54   ` ddjones
2015-06-17 22:47     ` walt
2015-06-17 22:55       ` Canek Peláez Valdés
2015-06-17 23:15       ` walt
2015-06-19  4:03     ` Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox