FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 05-08-2010, 12:04 AM
William Kenworthy
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...



Worked for me on multiple systems



BillK



----- Original message -----

> For the last week or perhaps more, I have been unable to complete an emerge

> update of world because x11-libs/qt-webkit-4.6.2-r1 fails.* I now have just

> the following ebuilds that cannot finish because of qt-webkit:

>

> Calculating dependencies... done!

> [ebuild* * * * U ] x11-libs/qt-webkit-4.6.2-r1 [4.6.2] USE="dbus%* exceptions kde

> (-aqua) -debug -pch" 0 kB

> [ebuild* * * * U ] kde-base/ksplash-4.4.2-r1 [4.4.2] USE="mmx sse sse2 -3dnow (-

> altivec) (-aqua) -debug (-kdeenablefinal) (-kdeprefix) -xinerama" 0 kB

> [ebuild* * R* * ] kde-base/libplasmagenericshell-4.4.2* USE="(-aqua) -debug (-

> kdeenablefinal) (-kdeprefix) -test%" 0 kB* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * [ebuild* * * * U ]

> kde-base/systemsettings-4.4.2-r1 [4.4.2] USE="handbook opengl* usb (-aqua)

> -debug (-kdeenablefinal) (-kdeprefix) -xinerama" 0 kB* * * * * * * * * * * * * * * * * * * * * * * * * *

>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * [ebuild* * * * U ] app-cdr/k3b-1.91.0_rc2

> [1.70.0_beta1] USE="dvd encode flac* handbook%* mad vorbis wav (-aqua) -debug

> -emovix -ffmpeg (-kdeenablefinal) - lame -musepack -musicbrainz -sndfile -sox

> -taglib -vcd" LINGUAS="fr%* -ast% - be% -bg% -ca% -ca@valencia% -cs% -csb% -da%

> -de% -el% -en_GB% -eo% -es% -et% - eu% -fi% -ga% -gl% -he% -hi% -hne% -hr% -hu%

> -is% -it% -ja% -km% -ko% -ku% - lt% -mai% -nb% -nds% -nl% -nn% -oc% -pa% -pl%

> -pt% -pt_BR% -ro% -ru% -se% -sk%* -sl% -sv% -th% -tr% -uk% -zh_CN% -zh_TW%" 0 kB

>

> Total: 5 packages (4 upgrades, 1 reinstall), Size of downloads: 0 kB

>

> Near the end of the emerge, the following error occurs:

>

> compiling .rcc/release-shared/qrc_WebKit.cpp

> rm -f libQtWebKit.so.4.6.2 libQtWebKit.so libQtWebKit.so.4 libQtWebKit.so.4.6

> linking ../../../../lib/libQtWebKit.so.4.6.2

> /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-

> gnu/bin/ldbj/release/HTMLParser.o: file format not recognized; treating as

> linker script

> /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-

> gnu/bin/ldbj/release/HTMLParser.o:1: syntax error

> collect2: ld returned 1 exit status

> make: *** [../../../../lib/libQtWebKit.so.4.6.2] Error 1

>* * ERROR: x11-libs/qt-webkit-4.6.2-r1 failed:

>* ** * emake failed

>

> There was a thread on gentoo forums with this very error listed as solved

> (https://forums.gentoo.org/viewtopic.php?p=6262495), but the ccache solution

> suggested there has no effect on my experience of the problem.* Anyone have a

> suggestion on how to proceed?

>

> Thanks,

> --

> Jim
 
Old 05-08-2010, 06:16 AM
Jim Cunning
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

On Friday 07 May 2010 17:04:22 William Kenworthy wrote:
>
> > For the last week or perhaps more, I have been unable to complete an
> > emerge update of world because x11-libs/qt-webkit-4.6.2-r1 fails. I now
> > have just the following ebuilds that cannot finish because of qt-webkit:
> >
[...]
> >
> > Near the end of the emerge, the following error occurs:
> >
> > compiling .rcc/release-shared/qrc_WebKit.cpp
> > rm -f libQtWebKit.so.4.6.2 libQtWebKit.so libQtWebKit.so.4
> > libQtWebKit.so.4.6 linking ../../../../lib/libQtWebKit.so.4.6.2
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-
> > gnu/bin/ldbj/release/HTMLParser.o: file format not recognized; treating
> > as linker script
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-
> > gnu/bin/ldbj/release/HTMLParser.o:1: syntax error
> > collect2: ld returned 1 exit status
> > make: *** [../../../../lib/libQtWebKit.so.4.6.2] Error 1
> >
> > * ERROR: x11-libs/qt-webkit-4.6.2-r1 failed:
> > * emake failed
> >
> > There was a thread on gentoo forums with this very error listed as solved
> > (https://forums.gentoo.org/viewtopic.php?p=6262495), but the ccache
> > solution suggested there has no effect on my experience of the problem.
> > Anyone have a suggestion on how to proceed?
> >
> > Thanks,
>
> FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...
>
> Worked for me on multiple systems
>
> BillK

Thanks for the tip. It seems to have done the trick, because emerge is running
far longer beyond the point it originally failed with the error above.
--
Jim
 
Old 05-08-2010, 07:18 AM
Neil Bothwick
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

On Fri, 7 May 2010 23:16:47 -0700, Jim Cunning wrote:

> > FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...
> >
> > Worked for me on multiple systems

> Thanks for the tip. It seems to have done the trick, because emerge is
> running far longer beyond the point it originally failed with the error
> above.

I have removed ccache from all my systems, the minutes of computer time
it saved were not worth the hours of my time it consumed when it broke
things.


--
Neil Bothwick

Nothing is illegal if one hundred businessmen decide to do it.
 
Old 05-08-2010, 11:58 AM
Dale
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

Neil Bothwick wrote:

On Fri, 7 May 2010 23:16:47 -0700, Jim Cunning wrote:



FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...

Worked for me on multiple systems



Thanks for the tip. It seems to have done the trick, because emerge is
running far longer beyond the point it originally failed with the error
above.


I have removed ccache from all my systems, the minutes of computer time
it saved were not worth the hours of my time it consumed when it broke
things.




+1 Disabled here a long time ago too. Took up a good bit of space,
caused problems and wasted more time that in saved.


Dale

:-) :-)
 
Old 05-09-2010, 10:28 PM
"Walter Dnes"
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

On Sat, May 08, 2010 at 08:18:23AM +0100, Neil Bothwick wrote
> On Fri, 7 May 2010 23:16:47 -0700, Jim Cunning wrote:
>
> > > FEATURES='-distcc -ccache' MAKEOPTS='-j1' emerge ...
> > >
> > > Worked for me on multiple systems
>
> > Thanks for the tip. It seems to have done the trick, because emerge is
> > running far longer beyond the point it originally failed with the error
> > above.
>
> I have removed ccache from all my systems, the minutes of computer time
> it saved were not worth the hours of my time it consumed when it broke
> things.

Ditto for setting MAKEOPTS to -j1. Every once in a while, somebody
runs into a problem that is solved by it. I finally decided to let the
builds take a little bit longer, in exchange for saving me problems with
"unreproducable errors". This setting does not affect the final binary;
just how long it takes to build.

--
Walter Dnes <waltdnes@waltdnes.org>
 
Old 05-09-2010, 11:33 PM
Neil Bothwick
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

On Sun, 9 May 2010 18:28:31 -0400, Walter Dnes wrote:

> > I have removed ccache from all my systems, the minutes of computer
> > time it saved were not worth the hours of my time it consumed when it
> > broke things.
>
> Ditto for setting MAKEOPTS to -j1. Every once in a while, somebody
> runs into a problem that is solved by it. I finally decided to let the
> builds take a little bit longer, in exchange for saving me problems with
> "unreproducable errors". This setting does not affect the final binary;
> just how long it takes to build.

I can't recall the last time I needed to use MAKEOPTS=-j1, but if you do
set it you can get back the time you lose by using the --jobs option with
emerge. That way you get parallel compilation, but of separate packages.


--
Neil Bothwick

It's not who you know; it's whom you know.
 
Old 05-13-2010, 04:06 AM
"Walter Dnes"
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

On Mon, May 10, 2010 at 12:33:21AM +0100, Neil Bothwick wrote
> On Sun, 9 May 2010 18:28:31 -0400, Walter Dnes wrote:
>
> > Ditto for setting MAKEOPTS to -j1. Every once in a while, somebody
> > runs into a problem that is solved by it. I finally decided to let
> > the builds take a little bit longer, in exchange for saving me problems
> > with "unreproducable errors". This setting does not affect the final
> > binary; just how long it takes to build.
>
> I can't recall the last time I needed to use MAKEOPTS=-j1, but if you
> do set it you can get back the time you lose by using the jobs option
> with emerge. That way you get parallel compilation, but of separate
> packages.

Something just occured to me. At the risk of sounding paranoid, is
there an absolute guarantee that...
- if package A has dependancies Y and Z...
- the compile for A won't start before Y and Z are built and installed

This could be especially ugly for my new system installs. I usually
install text-console mode only, followed by "emerge gimp", which pulls
in X and a whole bunch of other stuff as dependancies. Portage handles
this process very well right now.

--
Walter Dnes <waltdnes@waltdnes.org>
 
Old 05-13-2010, 07:44 AM
Alan McKinnon
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

On Thursday 13 May 2010 06:06:17 Walter Dnes wrote:
> On Mon, May 10, 2010 at 12:33:21AM +0100, Neil Bothwick wrote
>
> > On Sun, 9 May 2010 18:28:31 -0400, Walter Dnes wrote:
> > > Ditto for setting MAKEOPTS to -j1. Every once in a while, somebody
> > >
> > > runs into a problem that is solved by it. I finally decided to let
> > > the builds take a little bit longer, in exchange for saving me problems
> > > with "unreproducable errors". This setting does not affect the final
> > > binary; just how long it takes to build.
> >
> > I can't recall the last time I needed to use MAKEOPTS=-j1, but if you
> > do set it you can get back the time you lose by using the jobs option
> > with emerge. That way you get parallel compilation, but of separate
> > packages.
>
> Something just occured to me. At the risk of sounding paranoid, is
> there an absolute guarantee that...
> - if package A has dependancies Y and Z...
> - the compile for A won't start before Y and Z are built and installed

Yes. This is easy to do, IIRC Python even ships with the necessary library
routines for the data structures required.

One builds a data graph that represents dependencies, when finished you are
guaranteed that if the graph is read from the bottom up then your conditions
are met.

Elementary my dear Watson, we cover this in first year Comp Sci courses

> This could be especially ugly for my new system installs. I usually
> install text-console mode only, followed by "emerge gimp", which pulls
> in X and a whole bunch of other stuff as dependancies. Portage handles
> this process very well right now.

It is this way because Gentoo is unusuable without it


--
alan dot mckinnon at gmail dot com
 
Old 05-13-2010, 08:17 AM
Neil Bothwick
 
Default Cannot emerge x11-libs/qt-webkit-4.6.2-r1

On Thu, 13 May 2010 00:06:17 -0400, Walter Dnes wrote:

> > I can't recall the last time I needed to use MAKEOPTS=-j1, but if you
> > do set it you can get back the time you lose by using the jobs option
> > with emerge. That way you get parallel compilation, but of separate
> > packages.
>
> Something just occured to me. At the risk of sounding paranoid, is
> there an absolute guarantee that...
> - if package A has dependancies Y and Z...
> - the compile for A won't start before Y and Z are built and installed

Yes, and sometimes portage will only build one package before installing
the subsequent one. If a build fails, portage completes any other ongoing
emerges and then recalculates the dependencies, dropping any packages
that depend on the failed build.


--
Neil Bothwick

Windows Error:01F Reserved for future mistakes.
 

Thread Tools




All times are GMT. The time now is 03:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org