Re: [gentoo-user] emerge @preserved-rebuild loop
Robin Atwood wrote: On Thursday 29 October 2009, Alex Schuster wrote: [...] emerge -a @preserved-rebuild suggests to rebuild two packages, but continues to do so after emerging them. [...] r...@tanja src -- emerge -a @preserved-rebuild These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] app-emulation/emul-linux-x86-gtklibs-20071214 [ebuild R ] kde-base/kalgebra-4.3.2 Would you like to merge these packages? [Yes/No] This has been asked, which may indicate there is something strange about kalgebra or emerge sometimes confuses itself. My solution was eventually to delete /var/lib/portage/preserved_libs_registry and then revdep-rebuild to CYA. :) Okay, I just that, too. No strange rebuild messages any more, emerge output looks more tidy now. Whatever :) Thanks, Wonko
Re: [gentoo-user] Kmplayer, video and audio not syncing.
On Mon, 02 Nov 2009 00:08:01 -0600, Dale rdalek1...@gmail.com wrote: Jesús Guerrero wrote: As far as I know that version of mplayer is bugged. I can't guarantee that your problem is the same one I had, but if I am not mistaken the bug is present in that release. Please, try 1.0_rc4_p20091026-r1 and see if the bug goes away. I will open an STABLEREQ bug to speed up the stabilization of this version, and the masking of older ones. After all, they should be hard masked or at least patched to fix the bug. Well, this opened a can of worms. After doing that upgrade, I get a endless loop of preserved-rebuilds. Here is the list that I keep going in circles with: Sun Nov 1 17:22:11 2009 media-libs/x264-0.0.20091021 Sun Nov 1 17:35:33 2009 media-video/mplayer-1.0_rc4_p20091026-r1 Sun Nov 1 18:25:39 2009 media-libs/x264-0.0.20081006 Sun Nov 1 18:29:09 2009 media-libs/libquicktime-1.1.3 Sun Nov 1 18:47:44 2009 media-video/avidemux-2.4.4-r2 Sun Nov 1 18:58:11 2009 media-video/ffmpeg-0.5-r1 Sun Nov 1 21:35:58 2009 media-libs/x264-0.0.20091021 Sun Nov 1 21:48:19 2009 media-video/mplayer-1.0_rc4_p20091026-r1 Sun Nov 1 22:25:58 2009 media-libs/x264-0.0.20081006 Sun Nov 1 22:29:24 2009 media-libs/libquicktime-1.1.3 Sun Nov 1 22:47:44 2009 media-video/avidemux-2.4.4-r2 Sun Nov 1 22:58:09 2009 media-video/ffmpeg-0.5-r1 r...@smoker / # It just seems to go round and round. Ideas? @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. -- Jesús Guerrero
Re: [gentoo-user] Kmplayer, video and audio not syncing.
On Mon, 02 Nov 2009 13:58:03 +0100, Jesús Guerrero wrote: @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. If it didn't work on ~arch, how would it ever make it into arch? The trouble with revdep-rebuild is that you have to break your system and then fix it. Most of the time this is trivial, but updates like expat-2.0 showed the usefulness of being able to recompile the packages before they were broken. -- Neil Bothwick Ultimate memory manager; Windows, it manages to use it all.. signature.asc Description: PGP signature
Re: [gentoo-user] Kmplayer, video and audio not syncing.
Neil Bothwick wrote: On Mon, 02 Nov 2009 13:58:03 +0100, Jesús Guerrero wrote: @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. If it didn't work on ~arch, how would it ever make it into arch? The trouble with revdep-rebuild is that you have to break your system and then fix it. Most of the time this is trivial, but updates like expat-2.0 showed the usefulness of being able to recompile the packages before they were broken. Whatever it was, a sync and -uvDN world fixeded it. It didn't want to rebuild anything afterwards so I guess I caught the tree in the middle of a time shift or something. I'll do some testing here before to long. Oh, I went to my brothers and watched a couple videos on his rig. He has windoze, poor thang. Anyway, his is a little off too. It may be something other than my box and mplayer. It's off about the same amount too. Is it possible to record them with it off a bit? Dale :-) :-)
Re: [gentoo-user] Kmplayer, video and audio not syncing.
On Mon, 2 Nov 2009 13:25:08 +, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 02 Nov 2009 13:58:03 +0100, Jesús Guerrero wrote: @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. If it didn't work on ~arch, how would it ever make it into arch? I am not the one to answer that, all I can say is that the few times I've tried it, it kept rebuilding the same packages again, and again, and again ad infinitum, as said, I didn't even bother to find what the problem was, because I have a working alternative. Sure it could be better, but that hasn't been the case for me with @preserved-rebuild. I've seen people reporting the same problems in the forums, so I am fairly sure that's a common problem and not just exclusive to my installations. The trouble with revdep-rebuild is that you have to break your system and then fix it. Most of the time this is trivial, but updates like expat-2.0 showed the usefulness of being able to recompile the packages before they were broken. I can't understand that. You CAN'T recompile your packages against the new ABI's until the new ABI is in your system, and hence your system is already broken. There's no preemptive measure against this. Both methods fix the system *after* it's broken. -- Jesús Guerrero
Re: [gentoo-user] Kmplayer, video and audio not syncing.
On Monday 02 November 2009 15:58:57 Jesús Guerrero wrote: On Mon, 2 Nov 2009 13:25:08 +, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 02 Nov 2009 13:58:03 +0100, Jesús Guerrero wrote: @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. If it didn't work on ~arch, how would it ever make it into arch? I am not the one to answer that, all I can say is that the few times I've tried it, it kept rebuilding the same packages again, and again, and again ad infinitum, as said, I didn't even bother to find what the problem was, because I have a working alternative. Sure it could be better, but that hasn't been the case for me with @preserved-rebuild. I've seen people reporting the same problems in the forums, so I am fairly sure that's a common problem and not just exclusive to my installations. The trouble with revdep-rebuild is that you have to break your system and then fix it. Most of the time this is trivial, but updates like expat-2.0 showed the usefulness of being able to recompile the packages before they were broken. I can't understand that. You CAN'T recompile your packages against the new ABI's until the new ABI is in your system, and hence your system is already broken. There's no preemptive measure against this. Both methods fix the system *after* it's broken. Unless the old and the new ABI version are installed side by side. When @preserved-rebuild is run, it deletes the old libs only after everything left that used it is now linked against the new one. There's only one case where this can't work - the developer changes the ABI and does not change the .so version number. That ain't gentoo's fault - shoot the developer. -- alan dot mckinnon at gmail dot com
[gentoo-user] how to set to tor bridge relay?
hi, i am using gentoo x64. i want to setup a tor bridge relay. but i cannot get it to work. in the log file, i can only see notices like this: [notice] No current certificate known for authority moria1; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority tor26; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority dizum; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority ides; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority gabelmoo; launching request. Nov 02 22:21:32.598 [notice] No current certificate known for authority dannenberg; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority moria1; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority tor26; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority dizum; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority ides; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority gabelmoo; launching request. Nov 02 22:22:33.758 [notice] No current certificate known for authority dannenberg; launching request. i have enabled debug log, and whenever i tried to access a web site, i got this in the log: [info] TLS error: unexpected close while handshaking Nov 02 22:20:38.683 [info] connection_tls_continue_handshake(): tls error [unexpected close]. breaking connection. i am behind a router, and i have set a forward rule on the route to route connections to port 443 to my gentoo machine. have i missed something? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/
Re: [gentoo-user] Kmplayer, video and audio not syncing.
On Mon, 02 Nov 2009 14:58:57 +0100, Jesús Guerrero wrote: I can't understand that. You CAN'T recompile your packages against the new ABI's until the new ABI is in your system, and hence your system is already broken. There's no preemptive measure against this. Both methods fix the system *after* it's broken. There's a lot of things I don't understand, it doesn't make then wrong :-O -- Neil Bothwick DOS Tip #17: Add DEVICE=FNGRCROS.SYS to CONFIG.SYS signature.asc Description: PGP signature
Re: [gentoo-user] revdep-rebuild vs. @preserved-rebuild [was: Kmplayer, video and audio not syncing.]
On Mon, 2 Nov 2009 16:12:49 +0200, Alan McKinnon alan.mckin...@gmail.com wrote: On Monday 02 November 2009 15:58:57 Jesús Guerrero wrote: On Mon, 2 Nov 2009 13:25:08 +, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 02 Nov 2009 13:58:03 +0100, Jesús Guerrero wrote: @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. If it didn't work on ~arch, how would it ever make it into arch? I am not the one to answer that, all I can say is that the few times I've tried it, it kept rebuilding the same packages again, and again, and again ad infinitum, as said, I didn't even bother to find what the problem was, because I have a working alternative. Sure it could be better, but that hasn't been the case for me with @preserved-rebuild. I've seen people reporting the same problems in the forums, so I am fairly sure that's a common problem and not just exclusive to my installations. The trouble with revdep-rebuild is that you have to break your system and then fix it. Most of the time this is trivial, but updates like expat-2.0 showed the usefulness of being able to recompile the packages before they were broken. I can't understand that. You CAN'T recompile your packages against the new ABI's until the new ABI is in your system, and hence your system is already broken. There's no preemptive measure against this. Both methods fix the system *after* it's broken. Unless the old and the new ABI version are installed side by side. When @preserved-rebuild is run, it deletes the old libs only after everything left that used it is now linked against the new one. Thanks for the feedback. However there's one thing I can't understand: whether the libraries are kept of removed is decided at the merge time, isn't it? So, whatever breaks, breaks when using emerge to update the offending library, the one that will break the ABI. So, how can using a tool *after that* have any impact over what's broken? It can fix the problem, but so can revdep-rebuild. I mean: if the old libs with the old abi's are kept, how it is relevant if you are using @preserved-rebuild, revdep-rebuild or another method, or none at all? Your programs will continue to work ok without needing to rebuild anything, won't them? And after rebuilding the package it's irrelevant *how* did you rebuild them... I must obviously be missing something here, if you have the time please, direct me to an adequate source of information or explain a bit, I am curious. There's only one case where this can't work - the developer changes the ABI and does not change the .so version number. That ain't gentoo's fault - shoot the developer. Of course, I can understand that. However and even if @preserved-rebuild has some reason to exist, it still doesn't fix the weird behavior that it exhibited for me in the past. But to tell the truth, I haven't tested lately. It just came to mi mind because of the Dale's problem, which seems to be the same one. Please, understand that I'm not complaining, merely describing my experience, I'd rather be filling bugs than complain uselessly, it's just that -as I said- I really didn't see a need to because the old way just works. -- Jesús Guerrero
Re: [gentoo-user] revdep-rebuild vs. @preserved-rebuild
Jesús Guerrero i92gu...@terra.es writes: Thanks for the feedback. However there's one thing I can't understand: whether the libraries are kept of removed is decided at the merge time, isn't it? So, whatever breaks, breaks when using emerge to update the offending library, the one that will break the ABI. So, how can using a tool *after that* have any impact over what's broken? It can fix the problem, but so can revdep-rebuild. I mean: if the old libs with the old abi's are kept, how it is relevant if you are using @preserved-rebuild, revdep-rebuild or another method, or none at all? Your programs will continue to work ok without needing to rebuild anything, won't them? And after rebuilding the package it's irrelevant *how* did you rebuild them... I must obviously be missing something here, if you have the time please, direct me to an adequate source of information or explain a bit, I am curious. The difference is that with the new @preserved-rebuild the 'old' library is not deleted until all of the dependent packages have been successfully rebuilt to use the 'new' library. With the old revdep-rebuild mechanism, the 'old' library was deleted during the upgrade emerge. Therefore after the new library was merged, packages which depended on the old library could not be run[1] until these dependent packages were rebuilt to use the new library. [1] Though any which were running at the time the new library was merged would continue to run.
Re: [gentoo-user] revdep-rebuild vs. @preserved-rebuild [was: Kmplayer, video and audio not syncing.]
On Monday 02 November 2009 17:01:17 Jesús Guerrero wrote: On Mon, 2 Nov 2009 16:12:49 +0200, Alan McKinnon alan.mckin...@gmail.com wrote: On Monday 02 November 2009 15:58:57 Jesús Guerrero wrote: On Mon, 2 Nov 2009 13:25:08 +, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 02 Nov 2009 13:58:03 +0100, Jesús Guerrero wrote: @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. If it didn't work on ~arch, how would it ever make it into arch? I am not the one to answer that, all I can say is that the few times I've tried it, it kept rebuilding the same packages again, and again, and again ad infinitum, as said, I didn't even bother to find what the problem was, because I have a working alternative. Sure it could be better, but that hasn't been the case for me with @preserved-rebuild. I've seen people reporting the same problems in the forums, so I am fairly sure that's a common problem and not just exclusive to my installations. The trouble with revdep-rebuild is that you have to break your system and then fix it. Most of the time this is trivial, but updates like expat-2.0 showed the usefulness of being able to recompile the packages before they were broken. I can't understand that. You CAN'T recompile your packages against the new ABI's until the new ABI is in your system, and hence your system is already broken. There's no preemptive measure against this. Both methods fix the system *after* it's broken. Unless the old and the new ABI version are installed side by side. When @preserved-rebuild is run, it deletes the old libs only after everything left that used it is now linked against the new one. Thanks for the feedback. However there's one thing I can't understand: whether the libraries are kept of removed is decided at the merge time, isn't it? So, whatever breaks, breaks when using emerge to update the offending library, the one that will break the ABI. So, how can using a tool *after that* have any impact over what's broken? It can fix the problem, but so can revdep-rebuild. I mean: if the old libs with the old abi's are kept, how it is relevant if you are using @preserved-rebuild, revdep-rebuild or another method, or none at all? Your programs will continue to work ok without needing to rebuild anything, won't them? And after rebuilding the package it's irrelevant *how* did you rebuild them... I must obviously be missing something here, if you have the time please, direct me to an adequate source of information or explain a bit, I am curious. Easy. Say you have app x which links to lib y: portage knows that x is linked to say y.1.0.0.so portage then upgrades y and puts y.so.1.0.1.so and the system helpfully thinks to itself hang on a bit, I'm about to remove a library that Y is using. I'd better not do that! and tells you so. (In the meantime you can merge anything you like that links to y.1.0.0.so, this does not affect @preserved-rebuild) You read the message, run @preserved-rebuild and x now links to the new y library. When everything in @preserved-rebuild has been rebuilt, portage knows that now nothing links to the old y library, and removes it. Do you see that the intent is to provide a bridging period where needed libs are not missing? And that @preserved-rebuild and revdep-rebuild do essentially the same function, except: 1. Stuff does not break. OK, make that stuff should not break 2. You don't have to hang around waiting for revdep-rebuild to take ages to run It can go south sometimes, the @preserved-rebuild magic is not always perfect and sometimes it gets confused. There's a file in /var somewhere that records this, so you can just delete it and run revdep-rebuild to get the old behaviour. Sometimes devs do stupid things with what they decide libs are called, and there's nothing portage can do about that except get itself confused (it's not a human and can't infer meaning). I've been using @preserved-rebuild for as long as it's been available (more than a year now?) with very very few hitches. I think you were just unlucky to hit a few stupid packages. There's only one case where this can't work - the developer changes the ABI and does not change the .so version number. That ain't gentoo's fault - shoot the developer. Of course, I can understand that. However and even if @preserved-rebuild has some reason to exist, it still doesn't fix the weird behavior that it exhibited for me in the past. But to tell the truth, I haven't tested lately. It just came to mi mind because of the Dale's problem, which seems to be the same one. Please, understand that I'm not complaining, merely describing my experience, I'd rather be filling bugs than complain
[gentoo-user] Re: When masked pkg not in [...]profiles/package.mask, where is it
Alan McKinnon alan.mckin...@gmail.com writes: failing that, look in /etc/portage/package.mask* Sure enough... I masked it.. but like Dick Cheney, I don't recall it. Ahh the joys of senility
[gentoo-user] Re: libsxlt and aclocal/autoconf failing during emerge
Marc Joliet mar...@gmx.de writes: Wait, but those are small 'm's. That means they must have been masked manually. As Alan McKinnon mentioned in your other thread (When masked pkg not in [...]profiles/package.mask, where is it), you might have an entry in /etc/portage/package.mask. My god... I'm really losing it. I masked it apparently but don't remember it.
Re: [gentoo-user] revdep-rebuild vs. @preserved-rebuild [was: Kmplayer, video and audio not syncing.]
Jesús Guerrero writes: On Mon, 2 Nov 2009 16:12:49 +0200, Alan McKinnon alan.mckin...@gmail.com wrote: On Monday 02 November 2009 15:58:57 Jesús Guerrero wrote: On Mon, 2 Nov 2009 13:25:08 +, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 02 Nov 2009 13:58:03 +0100, Jesús Guerrero wrote: @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. I like the preserve-libs FEATURE. With revdep-rebuild, things are fixed after they were broken by an update of a library. And there is a time (in case of the dreaded expat update, a large one, expecially if revdep- rebuilding stuff fails for some packages) in which things do not work. I always hated that and considered it a serious bug. With preserve-libs, things do not break in the first place, because the old libraries are still in place. If it didn't work on ~arch, how would it ever make it into arch? I am not the one to answer that, all I can say is that the few times I've tried it, it kept rebuilding the same packages again, and again, and again ad infinitum, as said, I didn't even bother to find what the problem was, because I have a working alternative. Sure it could be better, but that hasn't been the case for me with @preserved-rebuild. I had the same problem with emerge @preserved-rebuild looping endlessly, but that's probably just a minor issue. Just use emerge @preserved-rebuild once to make sure the new libs are being used, and remove /var/lib/portage/preserved_libs_registry afterwards to get rid of the preserved-libs message. The trouble with revdep-rebuild is that you have to break your system and then fix it. Most of the time this is trivial, but updates like expat-2.0 showed the usefulness of being able to recompile the packages before they were broken. I can't understand that. You CAN'T recompile your packages against the new ABI's until the new ABI is in your system, and hence your system is already broken. There's no preemptive measure against this. Both methods fix the system *after* it's broken. Unless the old and the new ABI version are installed side by side. When @preserved-rebuild is run, it deletes the old libs only after everything left that used it is now linked against the new one. Thanks for the feedback. However there's one thing I can't understand: whether the libraries are kept of removed is decided at the merge time, isn't it? So, whatever breaks, breaks when using emerge to update the offending library, the one that will break the ABI. So, how can using a tool *after that* have any impact over what's broken? It can fix the problem, but so can revdep-rebuild. Again, things do not break in the first place with the preserved-rebuild FEATURE. As a library gets updated, the new library is installed along with the old one. Applications linked to the old one still work. When they are re-compiled, the are linked to the new library, making the old libraries obsolete when this is done for all packages depending on them. I mean: if the old libs with the old abi's are kept, how it is relevant if you are using @preserved-rebuild, revdep-rebuild or another method, or none at all? Your programs will continue to work ok without needing to rebuild anything, won't them? And after rebuilding the package it's irrelevant *how* did you rebuild them... I must obviously be missing something here, if you have the time please, direct me to an adequate source of information or explain a bit, I am curious. I think the revdep-rebuild way would not work here. I assume it uses ldd to check all binaries for existance of their libraries, and rebuild them if there are problems. When the old libraries are still in place, there is no problem for ldd, and nothing gets re-compiled. No big problem, but you clutter your system with old libraries staying in place, and programs still using them do not take possible advantage ob the newer libraries. Wonko
[gentoo-user] Re: revdep-rebuild vs. @preserved-rebuild
Alan McKinnon alan.mckin...@gmail.com writes: You read the message, run @preserved-rebuild and x now links to the new y library. When everything in @preserved-rebuild has been rebuilt, portage knows that now nothing links to the old y library, and removes it. Alan, I haven't followed the introduction of @preserved-rebuild, but you comments make sound like something that happens as emerge is running. Or is it use like its predecessor and ran after a large merge or update?
[gentoo-user] KDE4 Solid a bit wobbly
I have been playing with the solid command since various KCM modules don't show anything. solid-hardware list shows no processor information and solid-network listdevices just hangs. My processor and NIC are bog-standard and should present no problems. Is this a Gentoo distro thing? None of the unselected use flags (-networkmanager, -wicd) seem appropriate, the machine is basically a server. TIA -Robin -- -- Robin Atwood. Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst from Mandalay by Rudyard Kipling --
Re: [gentoo-user] revdep-rebuild vs. @preserved-rebuild [was: Kmplayer, video and audio not syncing.]
Thanks everyone for the input, it's being quite informative and valuable. I guess I'll have to research on this at some point. Still I'd like to keep responses coming if anyone can bring some light into the issue. :) I am responding only to one post, but I've read Alan's one as well, as said, thanks to everyone that answered. On Mon, 2 Nov 2009 16:50:19 +0100, Alex Schuster wo...@wonkology.org wrote: Jesús Guerrero writes: On Mon, 2 Nov 2009 16:12:49 +0200, Alan McKinnon alan.mckin...@gmail.com wrote: On Monday 02 November 2009 15:58:57 Jesús Guerrero wrote: On Mon, 2 Nov 2009 13:25:08 +, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 02 Nov 2009 13:58:03 +0100, Jesús Guerrero wrote: @preserved-rebuild never worked for me, maybe it's just that it doesn't like ~arch. I am just too lazy to work on how to fix a thing when there's an alternative that always worked reliably, revdep-rebuild. I like the preserve-libs FEATURE. With revdep-rebuild, things are fixed after they were broken by an update of a library. And there is a time (in case of the dreaded expat update, a large one, expecially if revdep- rebuilding stuff fails for some packages) in which things do not work. I always hated that and considered it a serious bug. With preserve-libs, things do not break in the first place, because the old libraries are still in place. Ok, well, then the libs are preserved at merge time. Using Alan's analogy, when you update the lib to y.1.0.1.so. It is *at this time* when y.1.0.0 is kept, and that has nothing with using emerge @preserved-rebuild *in the future*. You could still use revdep-rebuild and the effect will be the same (except that old libs will not ever be cleaned if I got it right). Right? So, it's not emerge @preserved-rebuild which fixes the problem (as I said, by the time you run emerge @preserved-rebuild it's already too late, by then the libs are either preserved or broken), but a whole new portage behavior, which is quite different. And maybe only if you have a given FEATURE enabled, which takes this even more far away from the @revdep-rebuild set. So, if this all is correct, this set is intended to *fix* the breakage, just like revdep-rebuild, and *not to prevent* it. It's portage which prevents it by preserving all .so files. Note that revdep-rebuild didn't break anything either. That's false. revdep-rebuild only fixes what portage breaks. It all comes down to one thing: are you using the preserve feature or not? And not the tool you use to fix the binaries. If it didn't work on ~arch, how would it ever make it into arch? I am not the one to answer that, all I can say is that the few times I've tried it, it kept rebuilding the same packages again, and again, and again ad infinitum, as said, I didn't even bother to find what the problem was, because I have a working alternative. Sure it could be better, but that hasn't been the case for me with @preserved-rebuild. I had the same problem with emerge @preserved-rebuild looping endlessly, but that's probably just a minor issue. Just use emerge @preserved-rebuild once to make sure the new libs are being used, and remove /var/lib/portage/preserved_libs_registry afterwards to get rid of the preserved-libs message. That's good to know. However this needs to be fixed, which is probably one of the reasons why portage 2.2 is taking quite a bit to be released. The trouble with revdep-rebuild is that you have to break your system and then fix it. Most of the time this is trivial, but updates like expat-2.0 showed the usefulness of being able to recompile the packages before they were broken. I can't understand that. You CAN'T recompile your packages against the new ABI's until the new ABI is in your system, and hence your system is already broken. There's no preemptive measure against this. Both methods fix the system *after* it's broken. Unless the old and the new ABI version are installed side by side. When @preserved-rebuild is run, it deletes the old libs only after everything left that used it is now linked against the new one. Thanks for the feedback. However there's one thing I can't understand: whether the libraries are kept of removed is decided at the merge time, isn't it? So, whatever breaks, breaks when using emerge to update the offending library, the one that will break the ABI. So, how can using a tool *after that* have any impact over what's broken? It can fix the problem, but so can revdep-rebuild. Again, things do not break in the first place with the preserved-rebuild FEATURE. As a library gets updated, the new library is installed along with the old one. Applications linked to the old one still work. When they are re-compiled, the are linked to the new library, making the old libraries obsolete when this is done for all packages depending on them. I mean: if the old libs with the old abi's are kept, how it
Re: [gentoo-user] Re: revdep-rebuild vs. @preserved-rebuild
On Monday 02 November 2009 18:31:50 Harry Putnam wrote: Alan McKinnon alan.mckin...@gmail.com writes: You read the message, run @preserved-rebuild and x now links to the new y library. When everything in @preserved-rebuild has been rebuilt, portage knows that now nothing links to the old y library, and removes it. Alan, I haven't followed the introduction of @preserved-rebuild, but you comments make sound like something that happens as emerge is running. Or is it use like its predecessor and ran after a large merge or update? It all happens invisibly as packages are merged with no user interaction. I imagine portage runs ldd or similar on the packages just before installing them to the live filesystem - it's quick and I have never noticed any slowdown. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: When masked pkg not in [...]profiles/package.mask, where is it
On Monday 02 November 2009 17:43:49 Harry Putnam wrote: Alan McKinnon alan.mckin...@gmail.com writes: failing that, look in /etc/portage/package.mask* Sure enough... I masked it.. but like Dick Cheney, I don't recall it. Ahh the joys of senility Don't feel too bad about it. At least you didn't forget your girlfriend's name (like I did) :-) -- alan dot mckinnon at gmail dot com
[gentoo-user] Firefox 3.5 without changing entire system to ~arch?
Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! Marcus P.S. Mozilla considers this version to be stable/mature and is pushing out it as the version most people should use. Why hasn't it been marked as stable in the portage tree yet?
[gentoo-user] Re: Firefox 3.5 without changing entire system to ~arch?
On 11/02/2009 07:16 PM, Marcus Wanner wrote: Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! 3.5.3-r1 is actually stable on amd64 but not on x86. You might want to open a bug on bugs.gentoo.org about this.
[gentoo-user] mythfrontend problems: no more keyboard, no window borders
I have to admit that I touched a running system again ;-) My thinkpad runs gentoo linux x86, some unstable packages as well, I upgraded to Gnome 2.28 a few days ago. Yes, this could as well got to the mythtv-users-list but I assume the problem isn't with mythtv ... The symptoms: When I start mythfrontend it opens but somehow kills the display of the window borders ... the windowmanager seems to be hit somehow. Alt-Tab doesn't work anymore, the mythfrontend doesn't react to my keyboard, the mouse moves and selects but doesn't set the focus. When I click a gnome-term-windows it doesn't come upfront. ps -ef shows metacity running, I don't see any particular errors in the usual places (/var/log/messages, Xorg.0.log, etc). I reemerged xorg-server (1.6), xorg-drivers, rebuilt a fresh xorg.conf, rebuilt mythtv etc etc AND: Starting OpenOffice shows similar effects! Window border disappears etc. I assume this might have to do with qt somehow? There were quite some qt-related updates as well done ... I do perfectly understand that using unstable packages *could* lead to such a situation. My q is just: Has anyone here seen this as well? Any hint on what path to follow? Downgrade ... ? Thanks in advance for any help ... Stefan
Re: [gentoo-user] Firefox 3.5 without changing entire system to ~arch?
Marcus Wanner writes: Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! autounmask -p www-client/mozilla-firefox-3.5.3-r1 shows net-libs/xulrunner (for three times which I find strange), but nothing else. Maybe I already have some other stuff in package.keywords, but it's not that much. Wonko
Re: [gentoo-user] Firefox 3.5 without changing entire system to ~arch?
On 11/2/2009 12:16 PM, Marcus Wanner wrote: Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! For mozilla specifically, see below. In general, you would create a file called /etc/portage/package.keywords (or as I prefer, a directory /etc/portage/package.keywords/ and then a file within that directory), and put the package name in it. However, it's generally considered a bad idea to mix and match arch and ~arch on a single system, since the dependencies cascade pretty quickly. You'll eventually end up with the core packages on your system keyworded anyway, which defeats the whole point of running stable. P.S. Mozilla considers this version to be stable/mature and is pushing out it as the version most people should use. Why hasn't it been marked as stable in the portage tree yet? It may just be an oversight; check bugs.gentoo.org to see if there's already a bug report asking it to be stabilized. If there isn't already one, just file a new one. (It may help to mention that it's stable on amd64 already.) --Mike
Re: [gentoo-user] Re: Firefox 3.5 without changing entire system to ~arch?
On 11/2/2009 1:26 PM, Nikos Chantziaras wrote: On 11/02/2009 07:16 PM, Marcus Wanner wrote: Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! 3.5.3-r1 is actually stable on amd64 but not on x86. You might want to open a bug on bugs.gentoo.org about this. OK. I will do that. Marcus
Re: [gentoo-user] Installing an old glibc to run a proprietary commercial tool (would that even help?)
2009/10/30 Volker Armin Hemmann volkerar...@googlemail.com: Virtualbox on the other hand is pretty much hassle free in my experience. Can't talk about vmware - haven't used that in years ;) Thanks for the pointer to Virtualbox... I hadn't heard of it. Looks like the wiki has some help, though. http://en.gentoo-wiki.com/wiki/VirtualBox I'll give it a shot before vmware.
Re: [gentoo-user] Installing an old glibc to run a proprietary commercial tool (would that even help?)
2009/10/31 William Kenworthy bi...@iinet.net.au: I was in a similar position some years ago - grab a copy of the needed libs from somewhere and use ldpreload to load them into memory before running the application. Google will help. In some cases, you can symlink the needed lib names to existing later libs and run ldconfig before trying to run the app. This does work sometimes, but success varies ... BillK Interesting... I may give that a shot. Should be able to crank out a wrapper script to do that automatically. It'd be prudent to have RHEL4 anyway, since that's what some of our customers are running, but it's good to have another option.
Re: [gentoo-user] Re: X crashes with nvidia-173 driver
Black screen, instant total system crash. Well, that suggests a kernel panic, I think. What happens if you use an older kernel? There is no older kernel. I knew there was something I forgot to save. But I saved xorg.conf and it's identical. The sysrecusecd finds the card and X starts fine. The only difference in the config is that on the CD CONFIG_AGP_NVIDIA=y and on the PC it's a module. So I set it to y. Didn't help. mw
Re: [gentoo-user] Firefox 3.5 without changing entire system to ~arch?
On 11/2/2009 1:40 PM, Mike Edenfield wrote: On 11/2/2009 12:16 PM, Marcus Wanner wrote: Could anyone tell me how to install firefox 3.5.x without changing the entire installation to ~arch? I have been looking around on the web for how to do this, but can't find anything that doesn't require being (afaict) very invasive to the rest of the system. Thanks! For mozilla specifically, see below. In general, you would create a file called /etc/portage/package.keywords (or as I prefer, a directory /etc/portage/package.keywords/ and then a file within that directory), and put the package name in it. However, it's generally considered a bad idea to mix and match arch and ~arch on a single system, since the dependencies cascade pretty quickly. You'll eventually end up with the core packages on your system keyworded anyway, which defeats the whole point of running stable. P.S. Mozilla considers this version to be stable/mature and is pushing out it as the version most people should use. Why hasn't it been marked as stable in the portage tree yet? It may just be an oversight; check bugs.gentoo.org to see if there's already a bug report asking it to be stabilized. If there isn't already one, just file a new one. (It may help to mention that it's stable on amd64 already.) --Mike Thank you, I added firefox and xulrunner to package.keywords and that did the trick. Marcus
[gentoo-user] Re: X crashes with nvidia-173 driver
On 11/02/2009 10:55 AM, Maxim Wexler wrote: Black screen, instant total system crash. Well, that suggests a kernel panic, I think. What happens if you use an older kernel? There is no older kernel. I knew there was something I forgot to save. But I saved xorg.conf and it's identical. You can compile one from an older source package and see if it helps. Just use the same kernel config you have now and do make oldconfig to remove any new config items.
[gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders
On 11/02/2009 10:29 AM, Stefan G. Weichinger wrote: I have to admit that I touched a running system again ;-) My thinkpad runs gentoo linux x86, some unstable packages as well, I upgraded to Gnome 2.28 a few days ago. Yes, this could as well got to the mythtv-users-list but I assume the problem isn't with mythtv ... The symptoms: When I start mythfrontend it opens but somehow kills the display of the window borders ... the windowmanager seems to be hit somehow. Alas, I forget the details, but there was something in my ~./gconf that caused problems when I upgraded to 2.28. I created a new user and started with a clean home directory and all worked properly, so I knew something in my home directory was broken. May not help you, but it's worth a try.
Re: [gentoo-user] Firefox 3.5 without changing entire system to ~arch?
On Mon, Nov 2, 2009 at 11:22 AM, Marcus Wanner marc...@cox.net wrote: SNIP Thank you, I added firefox and xulrunner to package.keywords and that did the trick. Marcus You might want to periodically run eix-test-obsolete -d to see if the two packages get marked stable before some other new ~arch version comes out. If that happens, and it often does in my experience, then you can remove the two packages from portage.keywords and you're back to running stable. In general I tend to have 4 or 5 packages in package.keywords at any given time. I don't have too much trouble. Watch out if the list starts getting large though as things get messy and you'll find yourself doing more updates than maybe you want to be doing. good luck, Mark
Re: [gentoo-user] Firefox 3.5 without changing entire system to ~arch?
On 11/2/2009 3:11 PM, Mark Knecht wrote: On Mon, Nov 2, 2009 at 11:22 AM, Marcus Wanner marc...@cox.net wrote: SNIP Thank you, I added firefox and xulrunner to package.keywords and that did the trick. Marcus You might want to periodically run eix-test-obsolete -d to see if the two packages get marked stable before some other new ~arch version comes out. If that happens, and it often does in my experience, then you can remove the two packages from portage.keywords and you're back to running stable. In general I tend to have 4 or 5 packages in package.keywords at any given time. I don't have too much trouble. Watch out if the list starts getting large though as things get messy and you'll find yourself doing more updates than maybe you want to be doing. good luck, Mark Thanks for the tip and the help, I'll make sure to keep that list short. The only program I have this kind problem with is firefox, though, with everything else I can get by with an older version. It's really becuase Mozilla doesn't really support the older versions. Oh well, it will be fixed eventually. Marcus
[gentoo-user] program to solve assignment problem?
Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.)
[gentoo-user] (g)PXE booting
All, Trying to set up a PXE boot solution in a lab environment instead of rebuilding *nix systems repeatedly. I have a few questions, below. - are there any good PXE servers out there? I'm looking for something with an easy-to-use front-end that I can use to easily deploy and build new Linux deployment I want to boot via PXE - what is gPXE all about? I hear it's better (supports boot-from-http, etc.), but I haven't seen any concrete examples on how to set up a gPXE Linux boot Any thoughts / ideas appreciated. -j
Re: [gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders
walt schrieb: Alas, I forget the details, but there was something in my ~./gconf that caused problems when I upgraded to 2.28. I created a new user and started with a clean home directory and all worked properly, so I knew something in my home directory was broken. May not help you, but it's worth a try. thanks for the hint ... although switching the user would be some thing to PLAN somehow here I will simply give it a try now, create another fresh user and testdrive mythtv and OO.org there. Thank you, Stefan
Re: [gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders
Stefan G. Weichinger schrieb: I will simply give it a try now, create another fresh user and testdrive mythtv and OO.org there. update: good information! the new user is able to start mythfrontend and openoffice correctly. Now I have to figure out which files in ~ to remove or recreate my user without too much side-effects ... ;-) Stefan
Re: [gentoo-user] Re: X crashes with nvidia-173 driver
You can compile one from an older source package and see if it helps. Just use the same kernel config you have now and do make oldconfig to remove any new config items. Using linux-2.6.29. Changed symlink, re-emerged nvidia-drivers, ran #modprobe nvidia: FATAL: error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko): No such device ???lspci begs to differ
Re: [gentoo-user] (g)PXE booting
=== On Mon, 11/02, James wrote: === - are there any good PXE servers out there? I'm looking for something with an easy-to-use front-end that I can use to easily deploy and build new Linux deployment I want to boot via PXE === I use dnsmasq, which can also handle PXE booting (it's just a particular setup of DHCP and TFTP). -- Keith Dart -- -- Keith Dart ke...@dartworks.biz ===
Re: [gentoo-user] Firefox 3.5 without changing entire system to ~arch?
Mark Knecht writes: On Mon, Nov 2, 2009 at 11:22 AM, Marcus Wanner marc...@cox.net wrote: SNIP Thank you, I added firefox and xulrunner to package.keywords and that did the trick. You might want to periodically run eix-test-obsolete -d to see if the two packages get marked stable before some other new ~arch version comes out. If that happens, and it often does in my experience, then you can remove the two packages from portage.keywords and you're back to running stable. When I need to unmask something in package.keywords, I prefer to put the package along with its version number in it. I leave out the trailing -rN, and start with ~ instead of =, which means that minor revision updates (increasing the -rN) which often are security fixes are also matched. Talking about firefox, I just added these two lines before I replied to this thread some hours ago: ~www-client/mozilla-firefox-3.5.3 ~net-libs/xulrunner-1.9.1.4 When a newer ~arch xulrunner enters the portage tree, it will not be upgraded. There are also some packages which I like to be always the new version, so I leave out the version number. firefox could be such an application. But for everything I have to unmask additionally, I add the version numbers. I use eix-test-obsolete once in a while in order to clean this of redundant entries. In general I tend to have 4 or 5 packages in package.keywords at any given time. I don't have too much trouble. Watch out if the list starts getting large though as things get messy and you'll find yourself doing more updates than maybe you want to be doing. Oh, my package.keywords is quite large, with about 50 entries. Oh, and the 300 entries for KDE 4.3. Wonko
Re: [gentoo-user] program to solve assignment problem?
On 11/2/2009 3:49 PM, Erik wrote: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) What?
Re: [gentoo-user] program to solve assignment problem?
On Mon, 2009-11-02 at 17:48 -0500, Marcus Wanner wrote: On 11/2/2009 3:49 PM, Erik wrote: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) What? Can't one do this kind of thing in python?
Re: [gentoo-user] revdep-rebuild vs. @preserved-rebuild
On Mon, 02 Nov 2009 15:40:35 +, Graham Murray wrote: The difference is that with the new @preserved-rebuild the 'old' library is not deleted until all of the dependent packages have been successfully rebuilt to use the 'new' library. This also means that if you don't run emerge @preserved-rebuild, the old libraries will still be hanging around, and revdep-rebuild won't rebuild affected packages because the libraries they link against are still there. revdep-rebuild depends on packages being broken to rebuild them. -- Neil Bothwick Lottery: A tax on people who are bad at math. signature.asc Description: PGP signature
Re: [gentoo-user] program to solve assignment problem?
On Mon, 02 Nov 2009 21:49:06 +0100, Erik wrote: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) Have you tried apps-edu/domyhomeworkforme? -- Neil Bothwick Life is pleasant. Death is peaceful. Its the transition thats troublesome. - Isaac Asimov signature.asc Description: PGP signature
Re: [gentoo-user] (g)PXE booting
On Mon, 2 Nov 2009 13:52:05 -0800, Keith Dart wrote: I use dnsmasq, which can also handle PXE booting (it's just a particular setup of DHCP and TFTP). +1 -- Neil Bothwick Work is the curse of the partying class! signature.asc Description: PGP signature
[gentoo-user] Re: X crashes with nvidia-173 driver
On 11/02/2009 01:45 PM, Maxim Wexler wrote: You can compile one from an older source package and see if it helps. Just use the same kernel config you have now and do make oldconfig to remove any new config items. Using linux-2.6.29. Changed symlink, re-emerged nvidia-drivers, ran #modprobe nvidia: FATAL: error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko): No such device ???lspci begs to differ groan I've never seen that error from nvidia, and I've seen lots of errors :o( Are you sure the nvidia module that was actually merged is the same version you thought you were merging? (I'm reduced to silly questions.)
[gentoo-user] new version of gcc
I noticed I've been masking gcc beyond version 4.3.2-r3, and have forgotten why I had it masked. I'm updating world right now, and wondered if I were to move up to most recent gcc (4.4.2), which would be a 5 version jump, what I could expect in the way of problems. Would I need to re-emerge just about everything?
Re: [gentoo-user] program to solve assignment problem?
On Mon, 2009-11-02 at 21:49 +0100, Erik wrote: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) You mean you want a program to do your homework assignment? -a
[gentoo-user] Re: mythfrontend problems: no more keyboard, no window borders
On 11/02/2009 01:34 PM, Stefan G. Weichinger wrote: Stefan G. Weichinger schrieb: I will simply give it a try now, create another fresh user and testdrive mythtv and OO.org there. update: good information! the new user is able to start mythfrontend and openoffice correctly. Now I have to figure out which files in ~ to remove or recreate my user without too much side-effects ... Excellent! I'm almost (52% ;o) positive that it was somewhere in ~/.gconf. But I could be mistaken...
Re: [gentoo-user] new version of gcc
On Dienstag 03 November 2009, Harry Putnam wrote: I noticed I've been masking gcc beyond version 4.3.2-r3, and have forgotten why I had it masked. I'm updating world right now, and wondered if I were to move up to most recent gcc (4.4.2), which would be a 5 version jump, what I could expect in the way of problems. Would I need to re-emerge just about everything? http://lmgtfy.com/?q=gentoo+gcc+upgrade+guidel=1
[gentoo-user] Re: new version of gcc
Volker Armin Hemmann volkerar...@googlemail.com writes: Harry asked: Would I need to re-emerge just about everything? Volker answered: http://lmgtfy.com/?q=gentoo+gcc+upgrade+guidel=1 Quoted from http://www.gentoo.org/doc/en/gcc-upgrading.xml , | To be completely safe that your system is in a sane state, you must | rebuild the toolchain and then world to make use of the new compiler. ` I guess that is a yes.
Re: [gentoo-user] Re: new version of gcc
Harry Putnam wrote: Volker Armin Hemmann volkerar...@googlemail.com writes: Harry asked: Would I need to re-emerge just about everything? Volker answered: http://lmgtfy.com/?q=gentoo+gcc+upgrade+guidel=1 Quoted from http://www.gentoo.org/doc/en/gcc-upgrading.xml , | To be completely safe that your system is in a sane state, you must | rebuild the toolchain and then world to make use of the new compiler. ` I guess that is a yes. That is a decent size upgrade. I know I would rebuild everything but I bet there are some that wouldn't. Since you are planning a emerge world anyway, why not. It makes good sense. By the way, I'm using that version of gcc and I have not had any problems so far. I'm x86. Dale :-) :-)
Re: [gentoo-user] program to solve assignment problem?
On Mon, Nov 02, 2009 at 09:49:06PM +0100, Penguin Lover Erik squawked: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) An odd question deserves an odd answer: try Metafont. Donald Knuth implemented in it a general linear equation solver / inequality optimizer, though learning the syntax can be a little bit tricky. W -- Do you think paper grow on trees? ~Sarah Grant. To Tal Zamir, after Prof Cutts commented on Tal's requesting the third copy of one handout... Sortir en Pantoufles: up 1060 days, 23:36
[gentoo-user] Re: new version of gcc
On 11/02/2009 03:20 PM, Harry Putnam wrote: I noticed I've been masking gcc beyond version 4.3.2-r3, and have forgotten why I had it masked. I'm updating world right now, and wondered if I were to move up to most recent gcc (4.4.2), which would be a 5 version jump, what I could expect in the way of problems. Would I need to re-emerge just about everything? No, just the c++ programs, because they require the correct version of libstdc++, and that library is part of the gcc package. If the new gcc package includes a new version of libstdc++ (not always) then existing c++ apps will break because they can't find the old version of libstdc++. Note that the old libstdc++ will be reincarnated if you use gcc-config to switch back to the old version of gcc. Clear as mud?
Re: [gentoo-user] program to solve assignment problem?
Willie Wong wrote: On Mon, Nov 02, 2009 at 09:49:06PM +0100, Penguin Lover Erik squawked: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) An odd question deserves an odd answer: try Metafont. Donald Knuth implemented in it a general linear equation solver / inequality optimizer, though learning the syntax can be a little bit tricky. W And maybe it will be easier to just do his own homework instead of letting a computer do it for him. I would like to see how he cheats on test day tho. Think he can bring his puter with him? Dale :-) :-)
Re: [gentoo-user] program to solve assignment problem?
On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote: And maybe it will be easier to just do his own homework instead of letting a computer do it for him. Maybe the assignment is to write a program to solve the equation. -- Neil Bothwick What do you have when you have six lawyers buried up to their necks in sand? Not enough sand. signature.asc Description: PGP signature
Re: [gentoo-user] Re: X crashes with nvidia-173 driver
FATAL: error inserting nvidia (/lib/modules/2.6.29/video/nvidia.ko): No such device ???lspci begs to differ groan I've never seen that error from nvidia, and I've seen lots of errors :o( Are you sure the nvidia module that was actually merged is the same version you thought you were merging? (I'm reduced to silly questions.) 173.14.20 was what emerge -pv called for and that's what's in /var/log/portage meanwhile attached greps of (EE) and (WW) in Xorg.0.log, FWIW mw xlog-ee Description: Binary data xlog-ww Description: Binary data
Re: [gentoo-user] program to solve assignment problem?
On 11/2/2009 5:59 PM, Michael Sullivan wrote: On Mon, 2009-11-02 at 17:48 -0500, Marcus Wanner wrote: On 11/2/2009 3:49 PM, Erik wrote: Is there some simple little program to solve assignment problems? Suppose that someone bought k meat (160), m fish (30) and n milk (15) for 700. So it should solve the equation k * 160 + m * 30 + n * 15 = 700. (A solution happens to be k = 4, m = 2, n = 0. An additional condition could be that he bought at most 6 items; k + m + n = 6. That would eliminate solutions like k = 4, m = 0, n = 4.) What? Can't one do this kind of thing in python? That is what I would do, if I couldn't do it on paper... But seriously, this does not belong on this list. Marcus
Re: [gentoo-user] program to solve assignment problem?
Neil Bothwick wrote: On Mon, 02 Nov 2009 19:27:13 -0600, Dale wrote: And maybe it will be easier to just do his own homework instead of letting a computer do it for him. Maybe the assignment is to write a program to solve the equation. That's a idea too. Didn't think of that. Dale :-) :-)
Re: [gentoo-user] new version of gcc
Harry Putnam rea...@newsguy.com writes: I noticed I've been masking gcc beyond version 4.3.2-r3, and have forgotten why I had it masked. I'm updating world right now, and wondered if I were to move up to most recent gcc (4.4.2), which would be a 5 version jump, what I could expect in the way of problems. Would I need to re-emerge just about everything? No. There is no need to re-emerge when upgrading from gcc-4.3.x to 4.4.x, the ABIs did not change.