* [gentoo-amd64] gcc 4.1.0, emerge -e world @ 2006-06-23 21:56 Daemon Xavier 2006-06-23 23:47 ` Brian Litzinger 2006-06-24 17:09 ` [gentoo-amd64] " Richard Fish 0 siblings, 2 replies; 11+ messages in thread From: Daemon Xavier @ 2006-06-23 21:56 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 2762 bytes --] when emerge -e system I got no errors, the when emerge -e world came along, well i got past 300 of my 789 packgs for my 64 bit system then i started gettin errors. It stopped on like 306, but i wanted to compile again, but havent found a way to start from where i stopped, OH and i cant post that build error, bc i was in console mode. Now when trying to compile pieces of my system, emerge -uaD world, i got thru until this: ../include/EST_TMatrix.h:107: error: 'p_column_step' was not declared in this scope ../include/EST_TMatrix.h: In member function 'const T& EST_TMatrix<T>::fast_a_m(int, int) const': ../include/EST_TMatrix.h:119: error: 'p_memory' was not declared in this scope ../include/EST_TMatrix.h: In member function 'T& EST_TMatrix<T>::fast_a_m(int, int)': ../include/EST_TMatrix.h:121: error: 'p_memory' was not declared in this scope ../include/EST_TMatrix.h: In member function 'const T& EST_TMatrix<T>::fast_a_1(int, int) const': ../include/EST_TMatrix.h:124: error: 'p_memory' was not declared in this scope ../include/EST_TMatrix.h: In member function 'T& EST_TMatrix<T>::fast_a_1(int, int)': ../include/EST_TMatrix.h:126: error: 'p_memory' was not declared in this scope ../include/EST_TMatrix.h: In member function 'int EST_TMatrix<T>::num_columns() const': ../include/EST_TMatrix.h:178: error: 'p_num_columns' was not declared in this scope ../include/EST_TMatrix.h: In member function 'void EST_TMatrix<T>::fill()': ../include/EST_TMatrix.h:217: error: 'def_val' was not declared in this scope ../include/EST_TSimpleVector.h: In member function 'void EST_TSimpleVector<T>::empty()': ../include/EST_TSimpleVector.h:77: error: 'def_val' was not declared in this scope ../include/EST_TSimpleVector.h:77: error: there are no arguments to 'fill' that depend on a template parameter, so a declaration of 'fill' must be available slib.cc: In function 'void gc_mark_and_sweep()': slib.cc:1088: warning: dereferencing type-punned pointer will break strict-aliasing rules make[1]: *** [slib.o] Error 1 make: *** [siod] Error 2 !!! ERROR: app-accessibility/speech-tools-1.2.3-r3 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile speech-tools-1.2.3-r3.ebuild, line 51: Called die im kinda a noob, but I could tell u what my cflags were, but dont know what they are, I know they are in my make.conf tho. heh so here it is: CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" FEATURES="ccache userpriv usersandbox" CCACHE_SIZE="1G" CCACHE_DIR="/var/tmp/ccache" PORTAGE_NICENESS="15" ALSA_CARDS="intel8x0" -- Karma, It's Real! "No penguins were harmed during the writing, just a bunch of broken windows to let them escape..."-xtacocorex [-- Attachment #2: Type: text/html, Size: 3130 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] gcc 4.1.0, emerge -e world 2006-06-23 21:56 [gentoo-amd64] gcc 4.1.0, emerge -e world Daemon Xavier @ 2006-06-23 23:47 ` Brian Litzinger 2006-06-23 22:50 ` Barry.SCHWARTZ 2006-06-24 11:39 ` [gentoo-amd64] " Duncan 2006-06-24 17:09 ` [gentoo-amd64] " Richard Fish 1 sibling, 2 replies; 11+ messages in thread From: Brian Litzinger @ 2006-06-23 23:47 UTC (permalink / raw To: gentoo-amd64 On Fri, Jun 23, 2006 at 03:56:50PM -0600, Daemon Xavier wrote: > when emerge -e system I got no errors, the when emerge -e world came along, > well i got past 300 of my 789 packgs for my 64 bit system then i started > gettin errors. It stopped on like 306, but i wanted to compile again, but > havent found a way to start from where i stopped, OH and i cant post that > build error, bc i was in console mode. Now when trying to compile pieces > of my system, emerge -uaD world, i got thru until this: I suppose there is a clever way to do this, but here is what I do: emerge -ep world > foo Then I munge foo into a shell script with a bunch of individual emerge commands. Then I just start at wherever it stopped. If no one posts the clever or right way to do it, I'll send along my munging script. -- Brian -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] gcc 4.1.0, emerge -e world 2006-06-23 23:47 ` Brian Litzinger @ 2006-06-23 22:50 ` Barry.SCHWARTZ 2006-06-23 23:12 ` Daemon Xavier 2006-06-24 11:39 ` [gentoo-amd64] " Duncan 1 sibling, 1 reply; 11+ messages in thread From: Barry.SCHWARTZ @ 2006-06-23 22:50 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 937 bytes --] Brian Litzinger <brian@worldcontrol.com> skribis: > On Fri, Jun 23, 2006 at 03:56:50PM -0600, Daemon Xavier wrote: > > when emerge -e system I got no errors, the when emerge -e world came along, > > well i got past 300 of my 789 packgs for my 64 bit system then i started > > gettin errors. It stopped on like 306, but i wanted to compile again, but > > havent found a way to start from where i stopped, OH and i cant post that > > build error, bc i was in console mode. Now when trying to compile pieces > > of my system, emerge -uaD world, i got thru until this: > > I suppose there is a clever way to do this.... emerge --resume --skipfirst -- Barry.SCHWARTZ at chemoelectric.org http://chemoelectric.org Free stuff / Senpagaj varoj: http://crudfactory.com (PDF) 'Democracies don't war; democracies are peaceful countries.' - Bush (http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html) [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] gcc 4.1.0, emerge -e world 2006-06-23 22:50 ` Barry.SCHWARTZ @ 2006-06-23 23:12 ` Daemon Xavier 0 siblings, 0 replies; 11+ messages in thread From: Daemon Xavier @ 2006-06-23 23:12 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1.1: Type: text/plain, Size: 1425 bytes --] although would i not want to try his idea with the scipt, bc as i said earlier i was in console, then went back to kdm, and tried from there. so yes ur idea did help me continue my emerge -uaD world tho thx, but what s that script? On 6/23/06, Barry.SCHWARTZ@chemoelectric.org < Barry.SCHWARTZ@chemoelectric.org> wrote: > > Brian Litzinger <brian@worldcontrol.com> skribis: > > On Fri, Jun 23, 2006 at 03:56:50PM -0600, Daemon Xavier wrote: > > > when emerge -e system I got no errors, the when emerge -e world came > along, > > > well i got past 300 of my 789 packgs for my 64 bit system then i > started > > > gettin errors. It stopped on like 306, but i wanted to compile > again, but > > > havent found a way to start from where i stopped, OH and i cant post > that > > > build error, bc i was in console mode. Now when trying to compile > pieces > > > of my system, emerge -uaD world, i got thru until this: > > > > I suppose there is a clever way to do this.... > > emerge --resume --skipfirst > > -- > Barry.SCHWARTZ at chemoelectric.org http://chemoelectric.org > Free stuff / Senpagaj varoj: http://crudfactory.com (PDF) > 'Democracies don't war; democracies are peaceful countries.' - Bush > (http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html) > > > -- Karma, It's Real! "No penguins were harmed during the writing, just a bunch of broken windows to let them escape..."-xtacocorex [-- Attachment #1.2: Type: text/html, Size: 2190 bytes --] [-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-amd64] Re: gcc 4.1.0, emerge -e world 2006-06-23 23:47 ` Brian Litzinger 2006-06-23 22:50 ` Barry.SCHWARTZ @ 2006-06-24 11:39 ` Duncan 2006-06-24 11:51 ` Barry.SCHWARTZ 1 sibling, 1 reply; 11+ messages in thread From: Duncan @ 2006-06-24 11:39 UTC (permalink / raw To: gentoo-amd64 Brian Litzinger <brian@worldcontrol.com> posted 20060623234720.GB10366@localhost.hit-wireless-diag.org, excerpted below, on Fri, 23 Jun 2006 16:47:21 -0700: > I suppose there is a clever way to do this, but here is what I do: > > emerge -ep world > foo > > Then I munge foo into a shell script with a bunch of individual emerge > commands. > > Then I just start at wherever it stopped. > > If no one posts the clever or right way to do it, I'll send along > my munging script. I do much the same thing sometimes (most recently to rebuild all my kde-base programs), but note that you don't actually have to run each emerge as an individual command. Once you get the list, you can simply trim it to the names, one per line, and use a redirect to feed it back into emerge. This pretty much dumps a list of the packages (make it one line): emerge -ep world|cut -d] -f2|cut -d" " -f2|grep /|sed -e s/^/=/ > pkglst The first cut uses ] as the delimiter (-d]), cutting to the second field (-f2), so everything to the left of ] gets dumped. The second cut uses [space] as a delimiter, again cutting to the second field, so leaves the category/package-version strings only (plus some garbage lines at the top). The grep / filters out the garbage lines (since all the lines we want have a / between the category and package). The sed inserts an "=" at the beginning of each line, as we will be emerging specific versions. The result is redirected to a file, pkglst, which you can then open in your favorite editor and massage manually where necessary. Once you have it right, try this: emerge --nodeps -a1 $(cat pkglst) If you've done it right, you should get a list of what it would merge, and a prompt asking if you want to do it (the -a). The nodeps keeps portage from having to calculate all those dependencies (thus making it spit out the pretend faster), since we know it's right because the list is the same one emerge spit out previously, in the same order. The -1 (same as --oneshot) tells portage not to add all that to the world file. You don't /want/ all that in the world file since some of those are dependencies of what you really want, and dependencies can change. The $(command) sequence simply tells bash to substitute the output of command into the command line, so we are simply using "cat pkglst" in the command line. If it works, you can say yes and start the remerge. There are a couple benefits to doing it this way. One, any time the merge stops (or you decide to stop it), you can simply delete the packages it has completed merging to that point from pkglst, and rerun your merge command to finish the job. emerge --resume works similarly, but if you stop the process and run a different emerge command, the different emerge command will erase the resume info so portage won't know where it left off, while with the list, you track it manually, deleting packages it's already merged before restarting, so emerge can't lose track of where it was. The list method also gives you a bit more flexibility in terms of skipping some packages to remerge later, if desired (see below). Two, the above technique, modified slightly, can be very useful for merging just a certain group of apps. As mentioned, I used it to remerge all of the kde-base packages I had emerged, not long ago. All one has to do is add an appropriate grep to the string of commands making the list. Taking my example (again, one line): emerge -ep world|cut -d] -f2|cut -d" " -f2|grep /|grep kde-base/|sed -e s/^/=/>pkglst The extra "grep kde-base/" filters the list to only the kde-base category packages, which conveniently are all the ones that make up the kde core packages. Note that I mentioned skipping packages, above. If for that emerge --emptytree world, you knew when you were creating the list that you wanted to save all the kde-base packages to merge later, you could either edit the list appropriately, or use the -v (everything /but/) grep option, as below, then when you decided to remerge kde, use the above to get the list of kde-base packages. (The only difference between the above /only/ KDE, and the below /everything/ /but/ KDE, is the -v grep option.) emerge -ep world|cut -d] -f2|cut -d" " -f2|grep /|grep -v kde-base/|sed -e s/^/=/>pkglst -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] Re: gcc 4.1.0, emerge -e world 2006-06-24 11:39 ` [gentoo-amd64] " Duncan @ 2006-06-24 11:51 ` Barry.SCHWARTZ 2006-06-24 13:55 ` Michael Weyershäuser 0 siblings, 1 reply; 11+ messages in thread From: Barry.SCHWARTZ @ 2006-06-24 11:51 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 663 bytes --] Duncan <1i5t5.duncan@cox.net> skribis: > emerge --resume works > similarly, but if you stop the process and run a different emerge command, > the different emerge command will erase the resume info so portage won't > know where it left off... Another thing for the bag of tricks: Run emerge --resume, suspend it, run the different emerge, then continue the emerge --resume. -- Barry.SCHWARTZ at chemoelectric.org http://chemoelectric.org Free stuff / Senpagaj varoj: http://crudfactory.com (PDF) 'Democracies don't war; democracies are peaceful countries.' - Bush (http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html) [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] Re: gcc 4.1.0, emerge -e world 2006-06-24 11:51 ` Barry.SCHWARTZ @ 2006-06-24 13:55 ` Michael Weyershäuser 2006-06-24 14:27 ` Barry.SCHWARTZ 0 siblings, 1 reply; 11+ messages in thread From: Michael Weyershäuser @ 2006-06-24 13:55 UTC (permalink / raw To: gentoo-amd64 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Barry.SCHWARTZ@chemoelectric.org wrote: > Duncan <1i5t5.duncan@cox.net> skribis: >> emerge --resume works >> similarly, but if you stop the process and run a different emerge command, >> the different emerge command will erase the resume info so portage won't >> know where it left off... > > Another thing for the bag of tricks: > > Run emerge --resume, suspend it, run the different emerge, then > continue the emerge --resume. Even easier: 'emerge --ask --resume', leave it asking it's question, do your other emerge and then simply hit return on the asking emerge. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEnURF6q4f+IV6B/wRApJOAJ492muMegS3o2E3zPj08ky1OAZY2ACeMhKz gTJ/K4AwKbQtBthuRWfYuVo= =Lqr+ -----END PGP SIGNATURE----- -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] Re: gcc 4.1.0, emerge -e world 2006-06-24 13:55 ` Michael Weyershäuser @ 2006-06-24 14:27 ` Barry.SCHWARTZ 2006-06-24 14:39 ` John Myers 2006-06-24 15:03 ` Michael Weyershäuser 0 siblings, 2 replies; 11+ messages in thread From: Barry.SCHWARTZ @ 2006-06-24 14:27 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 739 bytes --] Michael Weyershäuser <thedude0001@gmx.de> skribis: > Barry.SCHWARTZ@chemoelectric.org wrote: > > Run emerge --resume, suspend it, run the different emerge, then > > continue the emerge --resume. > > Even easier: 'emerge --ask --resume', leave it asking it's question, > do your other emerge and then simply hit return on the asking emerge. Won’t it continue to ask you things, and so make it harder? Personally, I find --ask extremely annoying. -- Barry.SCHWARTZ at chemoelectric.org http://chemoelectric.org Free stuff / Senpagaj varoj: http://crudfactory.com (PDF) 'Democracies don't war; democracies are peaceful countries.' - Bush (http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html) [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] Re: gcc 4.1.0, emerge -e world 2006-06-24 14:27 ` Barry.SCHWARTZ @ 2006-06-24 14:39 ` John Myers 2006-06-24 15:03 ` Michael Weyershäuser 1 sibling, 0 replies; 11+ messages in thread From: John Myers @ 2006-06-24 14:39 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 726 bytes --] On Saturday 24 June 2006 07:27, Barry.SCHWARTZ@chemoelectric.org wrote: > Michael Weyershäuser <thedude0001@gmx.de> skribis: > > Barry.SCHWARTZ@chemoelectric.org wrote: > > > Run emerge --resume, suspend it, run the different emerge, then > > > continue the emerge --resume. > > > > Even easier: 'emerge --ask --resume', leave it asking it's question, > > do your other emerge and then simply hit return on the asking emerge. > Won’t it continue to ask you things, and so make it harder? I've only ever had --ask ask whether I wanted to continue after the --pretend output at the beginning > > Personally, I find --ask extremely annoying. -- # # electronerd, the electronerdian from electronerdia # [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] Re: gcc 4.1.0, emerge -e world 2006-06-24 14:27 ` Barry.SCHWARTZ 2006-06-24 14:39 ` John Myers @ 2006-06-24 15:03 ` Michael Weyershäuser 1 sibling, 0 replies; 11+ messages in thread From: Michael Weyershäuser @ 2006-06-24 15:03 UTC (permalink / raw To: gentoo-amd64 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Barry.SCHWARTZ@chemoelectric.org wrote: > > Won?t it continue to ask you things, and so make it harder? > > Personally, I find --ask extremely annoying. > - --ask tells you what it would do (the output of --pretend actually), then stops and asks "Do you want to continue?". That's all, no more questions asked after that. So if you usually run --pretend, take a look if it is ok and then continue without --pretend it can save you the time of calculating dependencies once... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEnVQs6q4f+IV6B/wRAsgpAJ9qxiWt2M3nLaC7PX/cW80hUK2QpwCfSvQR kcTX/UYxbYABR8HZjBZWjtc= =9xhu -----END PGP SIGNATURE----- -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-amd64] gcc 4.1.0, emerge -e world 2006-06-23 21:56 [gentoo-amd64] gcc 4.1.0, emerge -e world Daemon Xavier 2006-06-23 23:47 ` Brian Litzinger @ 2006-06-24 17:09 ` Richard Fish 1 sibling, 0 replies; 11+ messages in thread From: Richard Fish @ 2006-06-24 17:09 UTC (permalink / raw To: gentoo-amd64 On 6/23/06, Daemon Xavier <daemon.xavier@gmail.com> wrote: > MAKEOPTS="-j2" Others have already covered the resume options available for you...so I guess I'll jump on the error you see. Parallel makes (MAKEOPTS=-jN with N>1) can occasionally fail with compile or link errors, because one process may try to use a file that is only partially completed by another process. In this case, you should try "MAKEOPTS=-j1emerge --oneshot speech-tools" -Richard -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-06-24 17:13 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-06-23 21:56 [gentoo-amd64] gcc 4.1.0, emerge -e world Daemon Xavier 2006-06-23 23:47 ` Brian Litzinger 2006-06-23 22:50 ` Barry.SCHWARTZ 2006-06-23 23:12 ` Daemon Xavier 2006-06-24 11:39 ` [gentoo-amd64] " Duncan 2006-06-24 11:51 ` Barry.SCHWARTZ 2006-06-24 13:55 ` Michael Weyershäuser 2006-06-24 14:27 ` Barry.SCHWARTZ 2006-06-24 14:39 ` John Myers 2006-06-24 15:03 ` Michael Weyershäuser 2006-06-24 17:09 ` [gentoo-amd64] " Richard Fish
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox