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
.yankee
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 194
Location: Polska

PostPosted: Tue Apr 21, 2009 12:18 pm    Post subject: Reply with quote

.yankee wrote:
So now, I've replaced all the occurrences of -march=pentium4 with -march=pentium3m and -msse2 with -msse and started building chrome by hand. Should finish in about half an hour now...


It worked!
I can now run chromium... Not saying it was worth it, though.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Tue Apr 21, 2009 8:59 pm    Post subject: Reply with quote

.yankee wrote:
.yankee wrote:
So now, I've replaced all the occurrences of -march=pentium4 with -march=pentium3m and -msse2 with -msse and started building chrome by hand. Should finish in about half an hour now...


It worked!
I can now run chromium... Not saying it was worth it, though.


its been progressing pretty quickly
_________________
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
.yankee
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 194
Location: Polska

PostPosted: Fri May 01, 2009 12:25 am    Post subject: Reply with quote

Hi again.
Some new problems.
Code:
Updated to revision 15017.
svn: Working copy format is too old; run 'svn cleanup' to upgrade
Traceback (most recent call last):
  File "/usr/bin/gclient.py", line 1681, in <module>
    result = Main(sys.argv)
  File "/usr/bin/gclient.py", line 1676, in Main
    return DispatchCommand(command, options, args)
  File "/usr/bin/gclient.py", line 1607, in DispatchCommand
    return command_map[command](options, args)
  File "/usr/bin/gclient.py", line 1527, in DoUpdate
    return client.RunOnDeps('update', args)
  File "/usr/bin/gclient.py", line 1259, in RunOnDeps
    scm.RunCommand(command, self._options, args, file_list)
  File "/usr/bin/gclient.py", line 706, in RunCommand
    return commands[command](options, args, file_list)
  File "/usr/bin/gclient.py", line 763, in update
    '.')
  File "/usr/bin/gclient.py", line 569, in CaptureSVNInfo
    dom = xml.dom.minidom.parseString(info)
  File "/usr/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1925, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py", line 942, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: no element found: line 3, column 0
 *
 * ERROR: www-client/google-chrome-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2258:  Called gclient_src_unpack
 *             environment, line 1351:  Called gclient_fetch
 *             environment, line 1323:  Called die
 * The specific snippet of code:
 *       ${EGCLIENT_UPDATE_CMD} || die "${EGCLIENT}: can't fetch to ${wc_path} from ${repo_uri}.";
 *  The die message:
 *   gclient: can't fetch to /mnt/windows/dld/.distfiles/gclient-src/google-chrome/src from http://src.chromium.org/svn/trunk/src.


This is happening every time since I started trying to update chromium. I also noted a very worrying behavior - during each svn update, the memory consumption goes insanely high - svn eats up about 1.5g! And no matter, if there were any changes in the repo or not.
Is it chromium, gclient, or subversion maybe?

Also, I've created a modified ebuild for people like me, who have rather old intel processors - earlier than pentium4. But I can't test it,because of the error mentioned.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Sat May 02, 2009 5:45 am    Post subject: Reply with quote

.yankee wrote:
Hi again.
Some new problems.
Code:
Updated to revision 15017.
svn: Working copy format is too old; run 'svn cleanup' to upgrade
Traceback (most recent call last):
  File "/usr/bin/gclient.py", line 1681, in <module>
    result = Main(sys.argv)
  File "/usr/bin/gclient.py", line 1676, in Main
    return DispatchCommand(command, options, args)
  File "/usr/bin/gclient.py", line 1607, in DispatchCommand
    return command_map[command](options, args)
  File "/usr/bin/gclient.py", line 1527, in DoUpdate
    return client.RunOnDeps('update', args)
  File "/usr/bin/gclient.py", line 1259, in RunOnDeps
    scm.RunCommand(command, self._options, args, file_list)
  File "/usr/bin/gclient.py", line 706, in RunCommand
    return commands[command](options, args, file_list)
  File "/usr/bin/gclient.py", line 763, in update
    '.')
  File "/usr/bin/gclient.py", line 569, in CaptureSVNInfo
    dom = xml.dom.minidom.parseString(info)
  File "/usr/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1925, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py", line 942, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: no element found: line 3, column 0
 *
 * ERROR: www-client/google-chrome-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2258:  Called gclient_src_unpack
 *             environment, line 1351:  Called gclient_fetch
 *             environment, line 1323:  Called die
 * The specific snippet of code:
 *       ${EGCLIENT_UPDATE_CMD} || die "${EGCLIENT}: can't fetch to ${wc_path} from ${repo_uri}.";
 *  The die message:
 *   gclient: can't fetch to /mnt/windows/dld/.distfiles/gclient-src/google-chrome/src from http://src.chromium.org/svn/trunk/src.


This is happening every time since I started trying to update chromium. I also noted a very worrying behavior - during each svn update, the memory consumption goes insanely high - svn eats up about 1.5g! And no matter, if there were any changes in the repo or not.
Is it chromium, gclient, or subversion maybe?

Also, I've created a modified ebuild for people like me, who have rather old intel processors - earlier than pentium4. But I can't test it,because of the error mentioned.


sorry i have just been really busy the past few weeks, I have a patch that I am working on to use gentoo cflags instead of the hardcoded p4 flags

im not sure about that error you are getting, try updating gclient or run the svn cleanup command like it suggests
_________________
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
.yankee
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 194
Location: Polska

PostPosted: Sat May 02, 2009 11:21 am    Post subject: Reply with quote

rmh3093 wrote:

sorry i have just been really busy the past few weeks, I have a patch that I am working on to use gentoo cflags instead of the hardcoded p4 flags


Then have a look at my modifications - I'd be glad if this helps. Here's a diff:
Code:
--- google-chrome-9999.ebuild   2009-04-30 18:29:55.000000000 +0200
+++ google-chrome-9999-r1.ebuild   2009-04-30 20:38:22.000000000 +0200
@@ -17,7 +17,7 @@
 LICENSE="GPL-2"
 SLOT="live"
 
-IUSE=""
+IUSE="-custom-arch -nosse2"
 
 DEPEND="
    >=dev-lang/python-2.4
@@ -59,6 +59,14 @@
    cd ${S}
    src/tools/gyp/gyp_dogfood src/build/all.gyp || die "gpy failed"
 
+   if use custom-arch; then
+      march="${CFLAGS#*march=}"
+      march=${march%% *}
+      find ${S}/src/ -type f -name *.scons -exec sed -i "s/march=pentium4/march=${march}/" {} \;
+   fi
+
+   use nosse2 && find ${S}/src/ -type f -name *.scons -exec sed -i "s/-msse2/-msse/" {} \;
+
 }
 
 src_compile() {


rmh3093 wrote:

im not sure about that error you are getting, try updating gclient or run the svn cleanup command like it suggests

I did both, several times. What version of subversion are you using?
Back to top
View user's profile Send private message
.yankee
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 194
Location: Polska

PostPosted: Wed May 06, 2009 1:45 am    Post subject: Reply with quote

Ok, It looks like it was subversion after all. I downgraded to 1.6.1 and it emerged nicely.

And my ebuild works fine :D

Here it is, in case someone wanted to test chromium on a pre-pentium4 cpu (or any other not supporting sse2).
google-chrome-9999-r1.ebuild:

# 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

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="custom-arch nosse2"

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
"
RDEPEND="${DEPEND}"

S="${S}/src"
pkg_setup() {
    use amd64 && die "No 64bit support at this time!"
}

src_prepare() {

    cd ${S}/src
    einfo "Updating file_version_info_linux.h"
    sed -i -e "s,svn info,svn info ${EGCLIENT_STORE_DIR}/${EGCLIENT_PROJECT}/src," \
        chrome/tools/build/linux/version.sh || die
    cd ${S}/src/base
    ../chrome/tools/build/linux/version.sh file_version_info_linux.h.version file_version_info_linux.h || die

    cd ${S}/src/build
    epatch ${FILESDIR}/disable_warnings.patch

    cd ${S}
    src/tools/gyp/gyp_dogfood src/build/all.gyp || die "gpy failed"

    if use custom-arch; then
        march="${CFLAGS#*march=}"
        march=${march%% *}
        find ${S}/src/ -type f -name *.scons -exec sed -i "s/march=pentium4/march=${march}/" {} \;
    fi

    use nosse2 && find ${S}/src/ -type f -name *.scons -exec sed -i "s/-msse2/-msse/" {} \;

}

src_compile() {

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

}

src_install() {

    cd ${S}/src/sconsbuild/Release

    dodir /opt/google-chrome
    dodir /opt/google-chrome/locales
    dodir /opt/google-chrome/themes

    insinto /opt/google-chrome
    doins chrome.pak

    insinto /opt/google-chrome/locales
    doins -r locales/*

    insinto /opt/google-chrome/themes
    doins -r themes/*

    exeinto /opt/google-chrome
    doexe chrome
    dosym /opt/google-chrome/chrome /opt/bin/chrome

    insinto /usr/share/applications
    doins ${FILESDIR}/google-chrome.desktop

    insinto /usr/share/applications
    doins ${FILESDIR}/google-chrome-icon.png
}


Modifications I've made:
- add custom-arch and nosse2 useflags
- fix scons version dependency
- remove leftover line containing a lone, meaningless "pkg" string
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Wed May 06, 2009 5:23 pm    Post subject: Reply with quote

.yankee wrote:
Ok, It looks like it was subversion after all. I downgraded to 1.6.1 and it emerged nicely.

And my ebuild works fine :D

Here it is, in case someone wanted to test chromium on a pre-pentium4 cpu (or any other not supporting sse2).
google-chrome-9999-r1.ebuild:

# 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

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="custom-arch nosse2"

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
"
RDEPEND="${DEPEND}"

S="${S}/src"
pkg_setup() {
    use amd64 && die "No 64bit support at this time!"
}

src_prepare() {

    cd ${S}/src
    einfo "Updating file_version_info_linux.h"
    sed -i -e "s,svn info,svn info ${EGCLIENT_STORE_DIR}/${EGCLIENT_PROJECT}/src," \
        chrome/tools/build/linux/version.sh || die
    cd ${S}/src/base
    ../chrome/tools/build/linux/version.sh file_version_info_linux.h.version file_version_info_linux.h || die

    cd ${S}/src/build
    epatch ${FILESDIR}/disable_warnings.patch

    cd ${S}
    src/tools/gyp/gyp_dogfood src/build/all.gyp || die "gpy failed"

    if use custom-arch; then
        march="${CFLAGS#*march=}"
        march=${march%% *}
        find ${S}/src/ -type f -name *.scons -exec sed -i "s/march=pentium4/march=${march}/" {} \;
    fi

    use nosse2 && find ${S}/src/ -type f -name *.scons -exec sed -i "s/-msse2/-msse/" {} \;

}

src_compile() {

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

}

src_install() {

    cd ${S}/src/sconsbuild/Release

    dodir /opt/google-chrome
    dodir /opt/google-chrome/locales
    dodir /opt/google-chrome/themes

    insinto /opt/google-chrome
    doins chrome.pak

    insinto /opt/google-chrome/locales
    doins -r locales/*

    insinto /opt/google-chrome/themes
    doins -r themes/*

    exeinto /opt/google-chrome
    doexe chrome
    dosym /opt/google-chrome/chrome /opt/bin/chrome

    insinto /usr/share/applications
    doins ${FILESDIR}/google-chrome.desktop

    insinto /usr/share/applications
    doins ${FILESDIR}/google-chrome-icon.png
}


Modifications I've made:
- add custom-arch and nosse2 useflags
- fix scons version dependency
- remove leftover line containing a lone, meaningless "pkg" string


thanks for your cflag hack... if you want to help on a proper fix look at line 177 of src/build/common.gypi

that is where the cflags are hardcoded, if you can do some sed magic on that file to replace the default flags with the system cflags that would be the best fix, do that before gyp_dogfood is run and those changes will propagate to all the scons files[/list]
_________________
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
rmh3093
Advocate
Advocate


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

PostPosted: Wed May 06, 2009 10:38 pm    Post subject: Reply with quote

Ok there has been a big update I renamed google-chrome ebuild to chromium. Move gclient-src/google-chrome folder to gclient-src/chromium to avoid re-downloading all the code. The new ebuild should use your systems cflags and ldflags. The ebuild also installs the official chromium icon for use in the .desktop file. The ebuild deps were also updated to require the correct scons and a new enough sandbox which fixes the scons stall.
_________________
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
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Thu May 07, 2009 12:13 pm    Post subject: Reply with quote

i noticed that the ebuild still does not build on amd64 (i removed the check from the ebuild and the patch).
are there any efforts ATM to make it work, at least with the multilib-overlay?
can i do anything?
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


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

PostPosted: Thu May 07, 2009 5:55 pm    Post subject: Reply with quote

alex.blackbit wrote:
i noticed that the ebuild still does not build on amd64 (i removed the check from the ebuild and the patch).
are there any efforts ATM to make it work, at least with the multilib-overlay?
can i do anything?


it should build with the multilib overlay... but most people i know dont want to rebuild their whole system with dual libs.... I have been finishing up my masters thesis which I defend on May 15... that is why I have been so busy. After May 15 I will work on getting 64bit working. To get 64bit working, a new emul-linux-x86-xlibs package needs to be created built against a newer freetype. I just haven't had the time lately to do this my self.
_________________
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
vmk
n00b
n00b


Joined: 25 May 2004
Posts: 31

PostPosted: Sun May 10, 2009 12:47 pm    Post subject: Reply with quote

I checked the overlay yesterday out and tried to compile. The building breaks with the gentoo-cflags.patch. I commented that line out and now it compiles fine. I has also the stripes on the tabes which were named somewhere earlier in this(?) thread.

Thanks for a live ebuild! :)
_________________
"Security is like an onion - the more you dig in the more you want to cry"
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 May 10, 2009 7:59 pm    Post subject: Reply with quote

great work guys,

thanks rmh3093 for providing the ebuild / the overlay :D


so the ebuild does compile in an amd64 environment with multilib and runs ?

I'll try it ...
_________________
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: Sun May 10, 2009 8:09 pm    Post subject: Reply with quote

pilla wrote:
uaeb wrote:
Anyone able to tell me how large the current source is before I decide to take a dip ?

Thanks.


About 2 GiB. I've compiled it and currently it does nothing but showing a window. You cannot access a site, for example. YMMV.



:?: :?: :?:

2 GiB ???

this will take days or Weeks to fetch 8O

what is the best way to get it ?

download the source tarball, extract most of it in the src directory and then again fetch ? (the tarball alone weighs in 644 MB ! )
_________________
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
vmk
n00b
n00b


Joined: 25 May 2004
Posts: 31

PostPosted: Sun May 10, 2009 8:32 pm    Post subject: Reply with quote

kernelOfTruth wrote:

2 GiB ???

this will take days or Weeks to fetch 8O


No, everything is beeing compressed while sending. I get around 1MB on new data on disk while having only a 2MBit-Line here at home.
_________________
"Security is like an onion - the more you dig in the more you want to cry"
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 May 10, 2009 8:42 pm    Post subject: Reply with quote

vmk wrote:
kernelOfTruth wrote:

2 GiB ???

this will take days or Weeks to fetch 8O


No, everything is beeing compressed while sending. I get around 1MB on new data on disk while having only a 2MBit-Line here at home.


ah that's nonetheless much

how long did it take for you at the first time ?
_________________
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
balkira
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2004
Posts: 116
Location: /local/pub

PostPosted: Sun May 10, 2009 8:52 pm    Post subject: Reply with quote

kernelOfTruth wrote:
vmk wrote:
kernelOfTruth wrote:

2 GiB ???

this will take days or Weeks to fetch 8O


No, everything is beeing compressed while sending. I get around 1MB on new data on disk while having only a 2MBit-Line here at home.


ah that's nonetheless much

how long did it take for you at the first time ?


for me it took 3 to 4 hours with let's say 6 to 7 connection cuts.
_________________
no way to happiness, happiness is the way
Back to top
View user's profile Send private message
vmk
n00b
n00b


Joined: 25 May 2004
Posts: 31

PostPosted: Sun May 10, 2009 8:57 pm    Post subject: Reply with quote

balkira wrote:
for me it took 3 to 4 hours with let's say 6 to 7 connection cuts.


dito
_________________
"Security is like an onion - the more you dig in the more you want to cry"
Back to top
View user's profile Send private message
balkira
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2004
Posts: 116
Location: /local/pub

PostPosted: Sun May 10, 2009 9:00 pm    Post subject: Reply with quote

vmk wrote:
balkira wrote:
for me it took 3 to 4 hours with let's say 6 to 7 connection cuts.


dito


I know, good thing we do it once :wink:
_________________
no way to happiness, happiness is the way
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 May 10, 2009 9:58 pm    Post subject: Reply with quote

balkira wrote:
vmk wrote:
balkira wrote:
for me it took 3 to 4 hours with let's say 6 to 7 connection cuts.


dito


I know, good thing we do it once :wink:


yeah - I couldn't stand doing that EVERY day :P

Quote:
du -hs /home/distfiles/gclient-src/
1.5G /home/distfiles/gclient-src/


8O

and still fetching ...

update:

finally !

Quote:
* Failed Patch: gentoo-cflags.patch !
* ( /usr/gentoo/overlays/THE/www-client/chromium/files/gentoo-cflags.patch )


they broke it :?
_________________
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
rmh3093
Advocate
Advocate


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

PostPosted: Sun May 10, 2009 10:35 pm    Post subject: Reply with quote

kernelOfTruth wrote:
balkira wrote:
vmk wrote:
balkira wrote:
for me it took 3 to 4 hours with let's say 6 to 7 connection cuts.


dito


I know, good thing we do it once :wink:


yeah - I couldn't stand doing that EVERY day :P

Quote:
du -hs /home/distfiles/gclient-src/
1.5G /home/distfiles/gclient-src/


8O

and still fetching ...

update:

finally !

Quote:
* Failed Patch: gentoo-cflags.patch !
* ( /usr/gentoo/overlays/THE/www-client/chromium/files/gentoo-cflags.patch )


they broke it :?


i will try and convert the cflags patch to a sed command so that it dont break in the future
_________________
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
.yankee
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 194
Location: Polska

PostPosted: Mon May 11, 2009 1:22 am    Post subject: Reply with quote

rmh3093 wrote:
kernelOfTruth wrote:

Quote:
* Failed Patch: gentoo-cflags.patch !
* ( /usr/gentoo/overlays/THE/www-client/chromium/files/gentoo-cflags.patch )


they broke it :?


i will try and convert the cflags patch to a sed command so that it dont break in the future


In the meantime, you can try my ebuild (few posts above), renaming it to chromium-9999-r1.ebuild
- build it with USE="custom-arch nosse2" for pre-pentium4 cpus or USE="custom-arch" for sse2-capable ones.
It might show less intrusive, since it only modifies two cflags (-msse2 and -march=pentium4) in the scons files.
As I can see, it builds fine; the only change that needs to be made is commenting out lines 54 and 55:
Code:

 54 #   cd ${S}/src/build
 55 #   epatch ${FILESDIR}/disable_warnings.patch


@rmh3093:
I have an idea regarding sandbox - but I'm not sure if you'll like it: How about making the dependency useflag-dependent? In this way, if you'd build with "-sandbox" USEflag, you wouldn't have to pull sanbox>=1.8 in. And you surely don't actually need sandbox to build chromium!
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: Mon May 11, 2009 7:54 am    Post subject: Reply with quote

thanks .yankee and rmh3093 :)

I just found out that it doesn't build due to strict aliasing in gcc 4.4 so until cflags can't be set manually <gcc-4.4 should be fine

now hopefully it builds fine *crossing fingers*

update:

NOT for me :roll:

Quote:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/nss/libssl3.so when searching for -lssl3
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lssl3
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
cp /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/third_party/WebKit/WebCore/inspector/front-end/utilities.js /var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/src/src/sconsbuild/Release/resources/inspector/utilities.js
scons: building terminated because of errors.


I'll try at a later point - nevertheless thanks
_________________
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
Spaulding
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 159
Location: /dev/vagina

PostPosted: Mon May 11, 2009 3:02 pm    Post subject: Reply with quote

Hi guys, I found this ebuild:
http://shellex-overlay.googlecode.com/svn/trunk/www-client/google-chromium-bin/google-chromium-bin-9999.ebuild
this can be helped.
Cheers.
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: Mon May 11, 2009 4:20 pm    Post subject: Reply with quote

Spaulding wrote:
Hi guys, I found this ebuild:
http://shellex-overlay.googlecode.com/svn/trunk/www-client/google-chromium-bin/google-chromium-bin-9999.ebuild
this can be helped.
Cheers.


thanks Spaulding !

if those tarballs weren't that big I would go this route

anyways the following section could be pretty helpful:

Quote:
# Create symbol links for necessary libraries

_________________
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
Spaulding
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 159
Location: /dev/vagina

PostPosted: Mon May 11, 2009 5:48 pm    Post subject: Reply with quote

but this ebuild doesn't work, maybe in free time I fix that. But Binaries packages are very good because I don't have to compile that.
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 2 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