Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348738 - www-client/chromium-bin-8.0.552.224: startup error, depends on GLIBCXX_3.4.14
Summary: www-client/chromium-bin-8.0.552.224: startup error, depends on GLIBCXX_3.4.14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
: 348777 348824 349249 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-14 19:57 UTC by Juan Pablo Aroztegi
Modified: 2011-05-15 05:57 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Pablo Aroztegi 2010-12-14 19:57:40 UTC
Starting www-client/chromium-bin-8.0.552.224 fails with this error:

/opt/chromium.org/chrome: /lib/libz.so.1: no version information available (required by /opt/chromium.org/chrome)
/opt/chromium.org/chrome: /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /opt/chromium.org/chrome

GLIBCXX_3.4.14 seems to be GCC 4.5.0, but I have the last stable version available in portage: 4.4.4-r2.

If this is the root case then the ebuild should depend on GCC 4.5 or the package should be built using GCC 4.4.4-r2.

Reproducible: Always

Steps to Reproduce:
1. Set GCC 4.4.4-r2 as your default GCC version.
2. Emerge www-client/chromium-bin-8.0.552.224.
3. Start chromium-bin.



Portage 2.1.9.24 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r12-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-gentoo-1.12.14
Timestamp of tree: Tue, 14 Dec 2010 18:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /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 -march=pentium-m -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/ http://mirror.bytemark.co.uk/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv jpeg lcms libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support readline sdl session spell sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" 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, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-12-14 20:29:35 UTC
chromium-bin is not stable for any arch, and it seems you're using a stable system.

It's non-trivial to get this binary package right for both stable and ~arch, so for now it's expected to work only for ~arch systems.
Comment 2 Juan Pablo Aroztegi 2010-12-14 20:31:02 UTC
I can understand that. But shouldn't it depend on GCC 4.5 at least?
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-12-14 20:36:40 UTC
(In reply to comment #2)
> I can understand that. But shouldn't it depend on GCC 4.5 at least?

I'm not sure yet. I still consider chromium-bin a work in progress.
Comment 4 Mike Gilbert gentoo-dev 2010-12-15 06:08:54 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I can understand that. But shouldn't it depend on GCC 4.5 at least?
> 
> I'm not sure yet. I still consider chromium-bin a work in progress.
> 

I agree with the reporter; regardless of your long-term goals for the package, I think the current version could use an RDEPEND on gcc-4.5.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-12-15 10:25:40 UTC
*** Bug 348777 has been marked as a duplicate of this bug. ***
Comment 6 Mike Gilbert gentoo-dev 2010-12-16 02:32:36 UTC
*** Bug 348824 has been marked as a duplicate of this bug. ***
Comment 7 András 2010-12-20 11:39:37 UTC
I use mainly a stable system with some ~x86 apps like kde and chromium-bin.
I keyworded chromium-bin, because I wanted to use it, even though it's a "work in progress". The bigger problem is that now, after I have successfully upgraded to 8*, I cannot put 7* version back, because it has been removed from portage since then.
Please, consider putting it back.
Please, consider putting an RDEPEND on gcc-4.5.
Thanks.
Comment 8 Anton Bolshakov 2010-12-21 02:02:36 UTC
Paweł, I intend to agree with your blog post:
http://phajdan-jr.blogspot.com/2010/12/www-clientchromium-bin-supporting-both.html

Let's use stable (arch) build environment and stabilize chromium-bin.
I use {openoffice,opera,chromium,xx}-bin version because I have stable gentoo on my old laptop and I just want to make it run.

There is no point to run it in unstable env where you want to play around with different patches, combination of packages, USE flags and have cpu power and free time to mess with it.

ps. Posted using Opera browser. 
Comment 9 Mike Gilbert gentoo-dev 2010-12-21 06:22:29 UTC
*** Bug 349249 has been marked as a duplicate of this bug. ***
Comment 10 Camille Huot (RETIRED) gentoo-dev 2010-12-26 11:08:20 UTC
Could you just put back the working ebuild, was it 6* or 7*?
Comment 11 Mike Gilbert gentoo-dev 2010-12-26 19:03:40 UTC
(In reply to comment #10)
> Could you just put back the working ebuild, was it 6* or 7*?
> 

It looks like older versions have already been purged from the mirrors. If you still have the tarball in /usr/portage/distfiles, you can grab the ebuild from the attic and use if from an overlay.

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/chromium-bin/?hideattic=0

If you need additional help getting that working, ask in the forums or irc.
Comment 12 Jack 2010-12-30 00:49:03 UTC
This doesn't make sense.  I understand than an unstable package can depend on other unstable packages.  For months, I chose not to upgrade chromium-bin because I chose not to upgrade another package to the unstable version which it required.  I finally upgraded when I had already emerged everything it depended on - and it doesn't work.  If it needs a newer version of gcc, shouldn't it be made a requirement?  If nothing else, can someone please make clear here what package upgrade will avoid this error?  (I'm going to emerge gcc 4.5.2 - hopefully someone will let me know if I'm likely to be going down a bad path.)
Comment 13 Mike Gilbert gentoo-dev 2010-12-30 01:06:06 UTC
(In reply to comment #12)
> If nothing else, can someone please make clear here what
> package upgrade will avoid this error?

I think it is pretty clear from previous comments that >=gcc-4.5 will resolve this. I have yet to see any evidence to the contrary.

I will also point out that the source-based www-client/chromium is much better supported on Gentoo. It works on completely stable system.
Comment 14 Jack 2010-12-30 16:19:04 UTC
I suppose it should have been obvious, but you not only have to emerge >=gcc-4.5, it has to remain the active gcc.  I was hoping I could emerge gcc-4.5.2, set it active, emerge chromium-bin, and then set the active gcc back to 4.4, but that leads to the original error.
Comment 15 Simon Shapiro 2011-05-15 04:35:16 UTC
Perhaps it works for you, but as of tonight (20110515) it is still
there, and it affects the source build, not the -bin (which is masked off)

O/S: Linux nomis 2.6.38-gentoo-r4_nomis-20110505-0 #1 SMP PREEMPT Thu May 5 12:01:37 EDT 2011 x86_64 AMD Phenom(tm) II X4 940 Processor AuthenticAMD GNU/Linux

I have tried every sensible permutation to get it to work, but it will not.
The entire system is built from /usr/portaged.  No hacking present.

gcc-config -l:

 [1] i686-pc-linux-gnu-4.1.2 *

 [2] x86_64-pc-linux-gnu-4.2.4
 [3] x86_64-pc-linux-gnu-4.3.3
 [4] x86_64-pc-linux-gnu-4.3.4
 [5] x86_64-pc-linux-gnu-4.3.5
 [6] x86_64-pc-linux-gnu-4.4.3
 [7] x86_64-pc-linux-gnu-4.4.4
 [8] x86_64-pc-linux-gnu-4.4.5
 [9] x86_64-pc-linux-gnu-4.5.0
 [10] x86_64-pc-linux-gnu-4.5.1
 [11] x86_64-pc-linux-gnu-4.5.2 *

ls -al /usr/portage/www-client/chromium:

drwxr-xr-x  3 root root 4.0K May 13 18:31 .
drwxr-xr-x 39 root root 4.0K May 14 01:31 ..
-rw-r--r--  1 root root  79K May 13 06:31 ChangeLog
-rw-r--r--  1 root root 4.6K May 13 06:31 Manifest
-rw-r--r--  1 root root  11K May  8 17:01 chromium-11.0.696.65.ebuild
-rw-r--r--  1 root root  11K May 13 04:31 chromium-11.0.696.68.ebuild
-rw-r--r--  1 root root  12K May  9 13:01 chromium-12.0.742.21.ebuild
-rw-r--r--  1 root root  12K May 13 04:20 chromium-12.0.742.53.ebuild
-rw-r--r--  1 root root  12K May 13 06:20 chromium-13.0.761.0.ebuild
-rw-r--r--  1 root root  14K May 11 11:01 chromium-9999-r1.ebuild
drwxr-xr-x  2 root root 4.0K May  9 03:01 files
-rw-r--r--  1 root root  267 May  3 06:31 metadata.xml

Error Message:

# which chromium
/usr/bin/chromium

# /usr/bin/chromium
chromium-browser: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by chromium-browser)

There are other severe portage problems.  Separate bug
Comment 16 Mike Gilbert gentoo-dev 2011-05-15 05:57:47 UTC
(In reply to comment #15)

Please create a separate bug if you are having problems with www-client/chromium. Be sure to include:

1. emerge --info
2. The version of gcc that was selected when chromium was built.
3. The version of gcc that is selected when running chromium.