Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Chromium Live Ebuild] last-update: 2009-05-31-04-20
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Sun Aug 16, 2009 2:33 pm    Post subject: Reply with quote

thanks to .yankee suggestion chromium compiles fine, but fails to install:

scons: *** [/var/tmp/paludis/www-client-chromium-9999/work/chromium-9999/src/src/sconsbuild/Release/libavcodec.so.52] Source `/var/tmp/paludis/www-client-chromium-9999/work/chromium-9999/src/src/sconsbuild/Release/obj/third_party/ffmpeg/binaries/chromium/libavcodec.so.52' not found, needed by target `/var/tmp/paludis/www-client-chromium-9999/work/chromium-9999/src/src/sconsbuild/Release/libavcodec.so.52'.
scons: building terminated because of errors.

and it's really weird that third_party dir has just a few subdirs, and third_party from /usr/distfiles has many more subdirs, why they didn't get copied over?

what ebuild do you use? the one that was removed from THE?
Back to top
View user's profile Send private message
soya
Guru
Guru


Joined: 29 Jan 2004
Posts: 425

PostPosted: Mon Aug 17, 2009 6:47 pm    Post subject: Reply with quote

Is there any way to make it compile on a 64 bits system? thx
_________________
Si el tonto te alaba lamentalo, si el listo te censura piensalo...
Back to top
View user's profile Send private message
pluribus
n00b
n00b


Joined: 28 Sep 2008
Posts: 6

PostPosted: Wed Aug 19, 2009 10:03 pm    Post subject: Reply with quote

Soya: Look at this document: http://code.google.com/p/chromium/wiki/LinuxChromium64

.yankee: I just ran memtest86+ for 1 pass with no errors. I'll let it run overnight pretty soon, but if it crashes it might be because my
laptop has some overheating problems. My GCC version is 4.3.2. I use -Os for most programs but some of them I compile with -O2 or
-O3. I haven't done anything with ldflags. I'm pretty sure I don't have any unusual kernel settings, but I'm going to compile a new kernel
as soon as gentoo-sources gets the 2.6.30.5 patchset which has an important security fix. Here is my latest error from the latest
chromium-bin (0_p22046):

[6416:6419:225804116:FATAL:/b/slave/chromium-rel-linux/build/src/chrome/browser/renderer_host/async_resource_handler.cc(86)] Check failed: read_buffer_->data().

This happens as soon as the browser opens. The (non-bin) chromium ebuild didn't compile for me last time I tried it.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Thu Aug 20, 2009 1:04 am    Post subject: Reply with quote

pluribus wrote:
Soya: Look at this document: http://code.google.com/p/chromium/wiki/LinuxChromium64

.yankee: I just ran memtest86+ for 1 pass with no errors. I'll let it run overnight pretty soon, but if it crashes it might be because my
laptop has some overheating problems. My GCC version is 4.3.2. I use -Os for most programs but some of them I compile with -O2 or
-O3. I haven't done anything with ldflags. I'm pretty sure I don't have any unusual kernel settings, but I'm going to compile a new kernel
as soon as gentoo-sources gets the 2.6.30.5 patchset which has an important security fix. Here is my latest error from the latest
chromium-bin (0_p22046):

[6416:6419:225804116:FATAL:/b/slave/chromium-rel-linux/build/src/chrome/browser/renderer_host/async_resource_handler.cc(86)] Check failed: read_buffer_->data().

This happens as soon as the browser opens. The (non-bin) chromium ebuild didn't compile for me last time I tried it.


sorry i havent been posting much on here lately, I got a Palm Pre is and fu*king awesome and been working on hacking/developing it....

...idk if i pushed the latest version of this... i still have it building for 32bit, i have no idea what 64bit status is, gentoo userland is still probably lacking something for it, if people are having 32bit issues let me know.
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Aug 20, 2009 3:21 am    Post subject: Reply with quote

bah...yeah, I'm having seemingly unrelated issues on 64bit

was hoping to get it built at least, even if using a shred of 32bit libs

Code:

Updated to revision 47528.

________ running '/usr/bin/python src/tools/gyp/gyp_chromium' in '/usr/portage/distfiles/gclient-src/chromium'
Updating projects from gyp files...

 *    working copy: /usr/portage/distfiles/gclient-src/chromium/src

>>> Source unpacked in /var/tmp/portage/www-client/chromium-9999/work
>>> Preparing source in /var/tmp/portage/www-client/chromium-9999/work/chromium-9999/src ...
/var/tmp/portage/www-client/chromium-9999/temp/environment: line 2675: src/tools/gyp/gyp_dogfood: No such file or directory
 *
 * ERROR: www-client/chromium-9999 failed.


operative bit being

Code:

gyp_dogfood: No such file or directory


google sez: "your shit is out of date"

but I don't know what to do besides

Code:

laptop02 ~ # layman -s THE
* Running command "cd "/usr/local/portage/layman/THE" && /usr/bin/git pull"...
Already up-to-date.
*
* Success:
* ------
*
* Successfully synchronized overlay "THE".

_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Fri Aug 21, 2009 11:24 pm    Post subject: Reply with quote

cach0rr0 wrote:
bah...yeah, I'm having seemingly unrelated issues on 64bit

was hoping to get it built at least, even if using a shred of 32bit libs

Code:

Updated to revision 47528.

________ running '/usr/bin/python src/tools/gyp/gyp_chromium' in '/usr/portage/distfiles/gclient-src/chromium'
Updating projects from gyp files...

 *    working copy: /usr/portage/distfiles/gclient-src/chromium/src

>>> Source unpacked in /var/tmp/portage/www-client/chromium-9999/work
>>> Preparing source in /var/tmp/portage/www-client/chromium-9999/work/chromium-9999/src ...
/var/tmp/portage/www-client/chromium-9999/temp/environment: line 2675: src/tools/gyp/gyp_dogfood: No such file or directory
 *
 * ERROR: www-client/chromium-9999 failed.


operative bit being

Code:

gyp_dogfood: No such file or directory


google sez: "your shit is out of date"

but I don't know what to do besides

Code:

laptop02 ~ # layman -s THE
* Running command "cd "/usr/local/portage/layman/THE" && /usr/bin/git pull"...
Already up-to-date.
*
* Success:
* ------
*
* Successfully synchronized overlay "THE".


sorry, i had that fix on my box and never pushed it... its pushed now
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sat Aug 22, 2009 3:06 am    Post subject: Reply with quote

ah, neat. Cheers mate, I'll sync and have a go.

EDIT: is mine buggered, or is the manifest not updated?

Code:

laptop02 THE # git pull
Updating 90dd3f9..06ff98d
error: Entry 'www-client/chromium/Manifest' not uptodate. Cannot merge.


(done directly rather than through layman for clarity's sake - cant sync)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Aug 22, 2009 9:17 am    Post subject: Reply with quote

cach0rr0 wrote:
ah, neat. Cheers mate, I'll sync and have a go.

EDIT: is mine buggered, or is the manifest not updated?

Code:

laptop02 THE # git pull
Updating 90dd3f9..06ff98d
error: Entry 'www-client/chromium/Manifest' not uptodate. Cannot merge.


(done directly rather than through layman for clarity's sake - cant sync)

Quote:
Sync THE
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 6 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (6/6), done.
From git://zen-sources.org/zen/THE
90dd3f9..06ff98d master -> origin/master
Updating 90dd3f9..06ff98d
Fast forward
www-client/chromium/Manifest | 2 +-
www-client/chromium/chromium-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Sync THE completed


works here :)

thanks for the overlay-update !
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
FireBurn
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 167
Location: Edinburgh, UK

PostPosted: Sat Aug 22, 2009 11:09 am    Post subject: Reply with quote

For 64 bit support use this ebuild:


Code:

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

EGCLIENT_REPO_URI="http://src.chromium.org/svn/trunk/src/"
EGCLIENT_CONFIG="${FILESDIR}/.gclient"

inherit gclient eutils flag-o-matic

RESTRICT="mirror"

DESCRIPTION="Chromium is the open-source project behind Google Chrome."
HOMEPAGE="http://code.google.com:80/chromium/"

LICENSE="GPL-2"
SLOT="live"

IUSE=""

DEPEND="
   >=dev-lang/python-2.4
   >=dev-lang/perl-5.0
   >=sys-devel/gcc-4.2
   >=sys-devel/bison-2.3
   >=sys-devel/flex-2.5.34
   >=dev-util/gperf-3.0.3
   >=dev-util/pkgconfig-0.20
   >=dev-libs/nss-3.12
   dev-libs/glib:2
   x11-libs/gtk+:2
   >=dev-libs/nspr-4.7.1
   media-fonts/corefonts
   >=dev-util/scons-1.2.0
   >=sys-apps/sandbox-1.8
"
RDEPEND="${DEPEND}"

S="${S}/src"

src_prepare() {

   cd ${S}/src/chrome/browser

   filter-ldflags -Wl,--as-needed

   export HOME=${S}
   mkdir ~/.gyp
   echo "{"               > ~/.gyp/include.gypi
   echo " 'variables': {"             >> ~/.gyp/include.gypi
   echo "  'branding': 'Chromium-Gentoo',"    >> ~/.gyp/include.gypi
   #echo "  'library': 'shared_library',"       >> ~/.gyp/include.gypi
   echo " },"                >> ~/.gyp/include.gypi
   echo " 'target_defaults': {"          >> ~/.gyp/include.gypi
   echo "  'cflags': [ '${CFLAGS// /','}' ],"      >> ~/.gyp/include.gypi
   echo "  'ldflags': [ '${LDFLAGS// /','}' ],"    >> ~/.gyp/include.gypi
   echo " },"                >> ~/.gyp/include.gypi
   echo "}"                >> ~/.gyp/include.gypi

   cd ${S}
      src/tools/gyp/gyp_chromium src/build/all.gyp -Dtarget_arch=x64 -Dno_strict_aliasing=1 -Dgcc_version=44 || die "gpy failed"

}

src_compile() {

   cd ${S}/src/chrome
   scons --mode=Release --site-dir=../site_scons ${MAKEOPTS} chrome || die "scons build failed"

}

src_install() {

   cd ${S}/src/sconsbuild/Release

   dodir /opt/${PN}
   dodir /opt/${PN}/locales
   dodir /opt/${PN}/themes

   insinto /opt/${PN}
   doins chrome.pak

   insinto /opt/${PN}/locales
   doins -r locales/*

   insinto /opt/${PN}/themes
   doins -r themes/*

   exeinto /opt/${PN}
   doexe chrome || die "no chrome bin?"
   dosym /opt/${PN}/chrome /opt/bin/chrome   

   newicon "${S}/src/chrome/app/theme/chromium/product_logo_256.png"
   make_desktop_entry "/opt/bin/chrome" "chromium-browser.png" "Network;WebBrowser;"

}
Back to top
View user's profile Send private message
FireBurn
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 167
Location: Edinburgh, UK

PostPosted: Sat Aug 22, 2009 11:13 am    Post subject: Reply with quote

pluribus wrote:
I edited the old ebuild and it compiles fine, but it crashes whenever I try to run it, even if I add replace-flags -Os -O2 to the ebuild. Here is the error:

rogue@ProximaCentauri ~ $ chrome
[31957:31960:81549474710:FATAL:browser/renderer_host/async_resource_handler.cc(88)] Check failed: read_buffer_->data().
45f2265b-f8b5-ac7d-2519c1a2-4ac67256 is dumped
[31969:31970:81560380424:ERROR:/var/tmp/portage/www-client/chromium-9999/work/chromium-9999/src/src/ipc/ipc_channel_posix.cc(420)] pipe error (7): Connection reset by peer

I thought it might be caused by glib and gtk+ being compiled with ICC, but I get a similar error with chromium-bin, which is statically compiled. Here is the error:

rogue@ProximaCentauri ~ $ chromium-bin
./chrome: Symbol `SSL_ImplementedCiphers' has different size in shared object, consider re-linking
/opt/chromium.org/chrome-linux/chrome: Symbol `SSL_ImplementedCiphers' has different size in shared object, consider re-linking
[32043:32043:84180801784:ERROR:/b/slave/chromium-rel-linux/build/src/chrome/browser/search_engines/template_url_prepopulate_data.cc(2788)] Not implemented reached in int<unnamed>::GetCurrentCountryID()
[32043:32046:84203931097:FATAL:/b/slave/chromium-rel-linux/build/src/chrome/browser/dom_ui/chrome_url_data_manager.cc(350)] Check failed: buf->data().
444aada6-bbb1-60af-0f227b5a-165f22e5 is dumped.

This one only appears when I try to open a new tab, and somtimes when I enter a URL. URL's won't load either. So what could be the problem?


I had this problem too, I think its got something to do with SHM memory

A simple reboot fixed it for me
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Aug 22, 2009 11:43 am    Post subject: Reply with quote

FireBurn wrote:
For 64 bit support use this ebuild:

[snip] ... [snip]


trying it out - now !

thanks Fireburn :D

edit:

scons and/or chromium don't seem to like hardened stuff:

Quote:
Generating manpage
Creating library /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/lib/libplugin.a
Indexing /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/lib/libplugin.a
Linking /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/chrome
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/lib/libsandbox.a(library.o): relocation R_X86_64_32S against `.bss._ZZN10playground7Library8getBytesEPcPKclE13helper_socket' can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/lib/libsandbox.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
scons: *** [/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/chrome] Error 1
scons: building terminated because of errors.
*
* ERROR: www-client/chromium-9999-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2715: Called die
* The specific snippet of code:
* scons --mode=Release --site-dir=../site_scons ${MAKEOPTS} chrome || die "scons build failed"
* The die message:
* scons build failed

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Aug 22, 2009 2:11 pm    Post subject: Reply with quote

switching to the vanilla specs and adding -DfPIC to the ebuild didn't fix it:
Quote:
Generating manpage
Creating library /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/lib/libplugin.a
Indexing /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/lib/libplugin.a
Linking /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/chrome
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/lib/libsandbox.a(library.o): relocation R_X86_64_32S against `.bss._ZZN10playground7Library8getBytesEPcPKclE13helper_socket' can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/lib/libsandbox.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
scons: *** [/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/chrome] Error 1


Fireburn - does it work for you or even finished compiling ?

thanks

update:

success ! :D

it does build with gcc 4.3 but NOT with gcc 4.4 (for me it NEVER has :( )

it's also much slower than the i686 build:

(afaik for the pure webkit it's quite the opposite)

Quote:
google chromium (dev, 4.0.203.0) (64 bit build)
Score: 2848
Richards: 3196
DeltaBlue: 2188
Crypto: 3068
RayTrace: 2377
EarleyBoyer: 5226
RegExp: 1233
Splay: 4620

google chromium, June 17th 2009 (3.0.189.0) (32 bit build)
Score: 3370
Richards: 3883
DeltaBlue: 3562
Crypto: 3225
RayTrace: 3216
EarleyBoyer: 5836
RegExp: 952
Splay: 6193

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sat Aug 22, 2009 8:13 pm    Post subject: Reply with quote

kernelOfTruth wrote:

works here :)

thanks for the overlay-update !


cool, so it was me then.
Rather than fiddling, just layman -d layman -a and we're rockin

trying out the x64 ebuild now. So far so good, building as we speak, no errors thus far :D
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sat Aug 22, 2009 9:10 pm    Post subject: Reply with quote

FireBurn wrote:
For 64 bit support use this ebuild:

<snip>


This ebuild worked beautifully for me. Chrome operational, all sorted.
All that's left is getting its icon functional in E17's menus; everything else, went through without a hitch.

Thanks to everyone involved for your work on this.


NB: if this is useful for anyone else

Code:

meat@laptop02 ~ $ sudo emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Pentium-R-_Dual-Core_CPU_T4200_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 20 Aug 2009 21:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.8
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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/custom /usr/local/portage/layman/sunrise /usr/local/portage/layman/enlightenment /usr/local/portage/layman/arcon /usr/local/portage/layman/devnull /usr/local/portage/layman/THE"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amd64 berkdb branding bzip2 cli cracklib crypt css cups dbus dri dts dvd dvdcss esd firefox flac flag fortran gdbm gnome gnome-keyring gpm gstreamer gtk hal iconv isdnlog jpeg libnotify libv4l2 lvm2 matroska mmx mp3 mpeg mudflap multilib ncurses networkmanager nls nonfsv4 nptl nptlonly nsplugin offensive ogg openmp pam pcre perl png pppd python readline reflection rtsp session skins spl sse sse2 ssl stream svg sysfs tcpd truetype unicode v4l v4l2 vorbis wxwidgets x264 xorg 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
yokem55
Guru
Guru


Joined: 18 Apr 2002
Posts: 360
Location: Oregon

PostPosted: Sun Aug 23, 2009 2:52 pm    Post subject: Reply with quote

The 64-bit ebuild built chome perfectly. That said, chome (the whole browser, not just tabs) crashes left right and center, especially on javascript heavy sites, and I couldn't even finish typing up this post in it without crashing before a submit. No real surprise there as the 64-bit version of V8 is probably quite raw. I'm definitely looking forward to some serious stability fixes down the road.

I was however quite stunned at how big the svn checkout of chromium was:
Code:
[~]>du -csh /usr/portage/distfiles/gclient-src/chromium/
3.0G    /usr/portage/distfiles/gclient-src/chromium/
3.0G    total

Why in the heck does google need 3 gigs of source to compile 32 megs worth of binary? That just seems insane.
Back to top
View user's profile Send private message
Almad
n00b
n00b


Joined: 29 Apr 2005
Posts: 17

PostPosted: Sun Aug 23, 2009 6:57 pm    Post subject: Reply with quote

[quote="FireBurn"]For 64 bit support use this ebuild:[/quote]

How do I obtain gclient eclass? I've installed gclient, but it's not enough :(

[Sorry for asking for basics...]
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Aug 23, 2009 7:09 pm    Post subject: Reply with quote

Almad wrote:
FireBurn wrote:
For 64 bit support use this ebuild:


How do I obtain gclient eclass? I've installed gclient, but it's not enough :(

[Sorry for asking for basics...]


sync the "THE"-overlay via layman, paludis, etc.

then replace the provided chromium-9999.ebuild with the above posted
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Leocifre
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2006
Posts: 139

PostPosted: Mon Aug 24, 2009 2:13 pm    Post subject: emerge fail Reply with quote

hi, I am just trying to emerge chromium, and get this error:

Code:
Exception: /var/tmp/portage/www-client/chromium-9999/work/chromium-9999/src/src/third_party/WebKit/JavaScriptCore/JavaScriptCore.gypi not found while reading includes of /var/tmp/portage/www-client/chromium-9999/work/chromium-9999/src/src/webkit/webkit.gyp while loading dependencies of /var/tmp/portage/www-client/chromium-9999/work/chromium-9999/src/src/chrome/chrome.gyp while loading dependencies of /var/tmp/portage/www-client/chromium-9999/work/chromium-9999/src/src/build/all.gyp while trying to load src/build/all.gyp
 *
 * ERROR: www-client/chromium-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_prepare
 *             environment, line 2614:  Called die
 * The specific snippet of code:
 *       src/tools/gyp/gyp_chromium src/build/all.gyp || die "gpy failed"
 *  The die message:
 *   gpy failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-client/chromium-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-9999/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/local/portage/layman/THE/eclass/gclient.eclass
 * This ebuild is from an overlay named 'THE': '/usr/local/portage/layman/THE/'
 *



anyone know what my problem is?
Back to top
View user's profile Send private message
FireBurn
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 167
Location: Edinburgh, UK

PostPosted: Mon Aug 24, 2009 7:35 pm    Post subject: Reply with quote

Try going to the effected folder any type svn cleanup

IF this doesn't fix it you may need to start deleting stuff :(
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Wed Aug 26, 2009 7:58 am    Post subject: Reply with quote

When I start chromium it crashes immediately with this error :

Quote:
[14450:14450:5067265259:ERROR:/b/slave/chromium-rel-linux/build/src/net/proxy/proxy_config_service_linux.cc(559)] Not implemented reached in void net::ProxyConfigServiceLinux::Delegate::SetupAndFetchInitialConfig(MessageLoop*, MessageLoop*)Bug 17363: obey KDE proxy settings.
[14461:14462:5067460144:ERROR:/b/slave/chromium-rel-linux/build/src/ipc/ipc_channel_posix.cc(420)] pipe error (8): Connection reset by peer
[1] 14450 segmentation fault chromium-bin


Do you know what to do ?
Back to top
View user's profile Send private message
lost-distance
n00b
n00b


Joined: 10 Apr 2003
Posts: 73

PostPosted: Wed Aug 26, 2009 2:24 pm    Post subject: Reply with quote

Those experiencing chromium crashing on startup might want to consider this bug report:

http://code.google.com/p/chromium/issues/detail?id=20280

If you build from source then a fix for that bug is to edit src/chrome/browser/zygote_main_linux.cc and simply delete the functions localtime() and localtime_r().
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Wed Aug 26, 2009 11:02 pm    Post subject: Reply with quote

lost-distance wrote:
Those experiencing chromium crashing on startup might want to consider this bug report:

http://code.google.com/p/chromium/issues/detail?id=20280

If you build from source then a fix for that bug is to edit src/chrome/browser/zygote_main_linux.cc and simply delete the functions localtime() and localtime_r().


nice find, i will try and include this tonight
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
pluribus
n00b
n00b


Joined: 28 Sep 2008
Posts: 6

PostPosted: Sun Aug 30, 2009 6:51 pm    Post subject: Reply with quote

After removing the source directory and redownloading, chromium now compiles for me. I'm still getting the runtime errors though.
Rmh, can you add a working debug use flag to the ebuild so we can debug chromium runtime errors with gdb? And if you are going to add that patch, could you make it only apply with the 'patch' use flag set? Thanks.
Back to top
View user's profile Send private message
Voyageur
Developer
Developer


Joined: 06 Mar 2005
Posts: 342
Location: Paris, France

PostPosted: Thu Sep 03, 2009 6:40 pm    Post subject: Reply with quote

Those that experience the crash at startup problem, can you compile and run the test program located at http://code.google.com/p/chromium/issues/detail?id=16800#c38 ? I think it's highly unlikely the dynamic linker is responsible for this, but this may help finding the problem if we can at least confirm this is not the cause

On my boxes (~x86 and ~amd64), I can't reproduce the problem...
_________________
Routinely breaking NX, GNUstep, net-ftp, miscellaneous (llvm, filezilla, rdesktop, chromium, ...) packages
Back to top
View user's profile Send private message
lost-distance
n00b
n00b


Joined: 10 Apr 2003
Posts: 73

PostPosted: Tue Sep 08, 2009 4:47 pm    Post subject: Reply with quote

Those that experience the crash at startup problem, are you using the nvidia OpenGL implementation?

Code:
# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
#


If so, does switching to the xorg-x11 OpenGL implementation fix the problem?

Code:
# eselect opengl set 2
Switching to xorg-x11 OpenGL interface... done
#


It does for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 7 of 8

 
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