Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
www-client/chromium takes too much time to upgrade (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
apinsard
n00b
n00b


Joined: 24 Mar 2012
Posts: 74
Location: France

PostPosted: Thu Jul 12, 2012 10:42 am    Post subject: www-client/chromium takes too much time to upgrade (solved) Reply with quote

Hi all,

Each time I upgrade my system, it takes a very long time to deal with chromium (from 45 minutes to 2 hours).

I wonder what it is due to and how to fix that.

Code:

antoine@Coffee:~$ emerge --info www-client/chromium
Portage 2.1.10.65 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.3.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-AMD_Athlon-tm-_II_P320_Dual-Core_Processor-with-gentoo-2.1
Timestamp of tree: Thu, 12 Jul 2012 09:15:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x-gnome
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB en_US fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/usr/local/portage/gnome-base/gnome"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support readline sdl session socialweb spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xorg xv xvid zlib" 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" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US fr" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" 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, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

www-client/chromium-20.0.1132.43 was built with the following:
USE="cups gnome gnome-keyring (multilib) -bindist -custom-cflags -kerberos (-pulseaudio) (-selinux) -test" LINGUAS="en_GB fr -am -ar -bg -bn -ca -cs -da -de -el -es -es_LA -et -fa -fi -fil -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW"
CFLAGS="-march=amdfam10 -O2 -pipe -O2"
CXXFLAGS="-march=amdfam10 -O2 -pipe -O2"


Code:

1342088345:  >>> emerge (7 of 14) www-client/chromium-20.0.1132.57 to /
1342088345:  === (7 of 14) Cleaning (www-client/chromium-20.0.1132.57::/usr/portage/www-client/chromium/chromium-20.0.1132.57.ebuild)
1342088362:  === (7 of 14) Compiling/Merging (www-client/chromium-20.0.1132.57::/usr/portage/www-client/chromium/chromium-20.0.1132.57.ebuild)

It's already 45 minutes since Compiling/Merging started and my CPUs are both 100% working.

Any idea ?

Thanks


Last edited by apinsard on Thu Jul 12, 2012 12:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
sikpuppy
n00b
n00b


Joined: 12 Jun 2012
Posts: 34
Location: Central Coast, NSW

PostPosted: Thu Jul 12, 2012 11:32 am    Post subject: Reply with quote

Code:
 # genlop chromium -t
 * www-client/chromium

     Tue Jun 19 13:14:09 2012 >>> www-client/chromium-19.0.1084.52
       merge time: 20 minutes and 26 seconds.

This is on a i7 with all systems full speed ahead. (4 cores + 4 HT cores)

So 45 minutes is probably about right. How much memory do you have? The build apparently needs 4Gb according to googlecode, and loads of swapspace, but I am sure that is overkill.
Back to top
View user's profile Send private message
apinsard
n00b
n00b


Joined: 24 Mar 2012
Posts: 74
Location: France

PostPosted: Thu Jul 12, 2012 12:24 pm    Post subject: Reply with quote

I have 3GB RAM and 6GB swap but only 1.5GB RAM was used as I remember.

If this is normal, I struggle to understand why it takes so much time while gnome, for instance, only takes about half an hour.

Could it be a good idea to use a prebuilt package to gain time while upgrading ?
Back to top
View user's profile Send private message
sikpuppy
n00b
n00b


Joined: 12 Jun 2012
Posts: 34
Location: Central Coast, NSW

PostPosted: Thu Jul 12, 2012 12:39 pm    Post subject: Reply with quote

apinsard wrote:
I have 3GB RAM and 6GB swap but only 1.5GB RAM was used as I remember.

If this is normal, I struggle to understand why it takes so much time while gnome, for instance, only takes about half an hour.

Could it be a good idea to use a prebuilt package to gain time while upgrading ?

I would.

Gnome is broken down into discrete parts, whereas chromium is a beast with everything packed into it. The actual source code is massive with chromium, almost 180Mb, which could account for some bloat.

To give you an idea here are some other packages on this system:
Code:
Wed Jul  4 03:02:24 2012 >>> www-client/firefox-13.0
       merge time: 14 minutes and 36 seconds

Wed Jul 11 21:12:04 2012 >>> sys-devel/gcc-4.6.3
       merge time: 8 minutes and 56 seconds.

Thu Jul 12 05:44:29 2012 >>> net-libs/webkit-gtk-1.6.3-r200
       merge time: 10 minutes and 25 seconds.

Webkit-gtk is the browser engine for gnome's browser Epiphany if I recall correctly, to put things in perspective.
Back to top
View user's profile Send private message
apinsard
n00b
n00b


Joined: 24 Mar 2012
Posts: 74
Location: France

PostPosted: Thu Jul 12, 2012 12:49 pm    Post subject: Reply with quote

Thanks for your answers, I'll look for a prebuilt package.
Back to top
View user's profile Send private message
sikpuppy
n00b
n00b


Joined: 12 Jun 2012
Posts: 34
Location: Central Coast, NSW

PostPosted: Thu Jul 12, 2012 12:50 pm    Post subject: Reply with quote

apinsard wrote:
Thanks for your answers, I'll look for a prebuilt package.


www-client/google-chrome is probably what you are after, but it's masked (possibly because it's not a gentoo built package).
Back to top
View user's profile Send private message
apinsard
n00b
n00b


Joined: 24 Mar 2012
Posts: 74
Location: France

PostPosted: Thu Jul 12, 2012 3:10 pm    Post subject: Reply with quote

google-chrome is just the proprietary version of chromium I believe (which is the reason why it is masked).

I was thinking about something like this : http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=3#doc_chap4
Back to top
View user's profile Send private message
majoron
Apprentice
Apprentice


Joined: 12 Oct 2005
Posts: 239
Location: Frankfurt

PostPosted: Wed May 14, 2014 12:09 pm    Post subject: Reply with quote

But chromium and google-chrome aren't the same thing, are they?
It would be great to have stable, beta and stable versions for chromium, as they are for chrome. Is it possible?

Best

PS or should I open a new thread? I didn't do it because sometimes a similar question has been marked as duplicated in favour of the current thread...
_________________
Computers are like air conditioners, they stop working properly if you open Windows
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum