Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Neil Bothwick
On Thu, 27 Jan 2011 07:12:24 +0200, Nikos Chantziaras wrote: I'm aware that portage uses locking mechanism before modifying 'world' file, but what about the actual building process ? I'd expect emerge to check if dependency package is already build/installed (or currently being build by

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Dale
Neil Bothwick wrote: On Thu, 27 Jan 2011 07:12:24 +0200, Nikos Chantziaras wrote: I'm aware that portage uses locking mechanism before modifying 'world' file, but what about the actual building process ? I'd expect emerge to check if dependency package is already build/installed (or

[gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Nikos Chantziaras
On 01/27/2011 03:11 PM, Dale wrote: [...] I am using the -j option for the first time now. I'm updating KDE. It seems to work fine. It doesn't scroll all the stuff like with a regular emerges but this new rig is so fast, I can't read it anyway. I did have a package to fail and it spit out the

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread YoYo Siska
On Thu, Jan 27, 2011 at 03:33:21PM +0200, Nikos Chantziaras wrote: On 01/27/2011 03:11 PM, Dale wrote: [...] I am using the -j option for the first time now. I'm updating KDE. It seems to work fine. It doesn't scroll all the stuff like with a regular emerges but this new rig is so fast, I

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread J. Roeleveld
On Thursday 27 January 2011 15:05:25 YoYo Siska wrote: On Thu, Jan 27, 2011 at 03:33:21PM +0200, Nikos Chantziaras wrote: On 01/27/2011 03:11 PM, Dale wrote: [...] I am using the -j option for the first time now. I'm updating KDE. It seems to work fine. It doesn't scroll all the stuff

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Neil Bothwick
On Thu, 27 Jan 2011 15:33:21 +0200, Nikos Chantziaras wrote: I am using the -j option for the first time now. I'm updating KDE. It seems to work fine. It doesn't scroll all the stuff like with a regular emerges but this new rig is so fast, I can't read it anyway. I did have a package to

[gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Nikos Chantziaras
On 01/27/2011 04:16 PM, Neil Bothwick wrote: On Thu, 27 Jan 2011 15:33:21 +0200, Nikos Chantziaras wrote: I am using the -j option for the first time now. I'm updating KDE. It seems to work fine. It doesn't scroll all the stuff like with a regular emerges but this new rig is so fast, I can't

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Neil Bothwick
On Thu, 27 Jan 2011 16:30:30 +0200, Nikos Chantziaras wrote: Using --jobs does a better job of making use of your CPU because one package can use it fully for compiling while another is configuring. And what about the last package? The time you gained for faster configure and install

[gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Nikos Chantziaras
On 01/27/2011 04:53 PM, Neil Bothwick wrote: On Thu, 27 Jan 2011 16:30:30 +0200, Nikos Chantziaras wrote: Using --jobs does a better job of making use of your CPU because one package can use it fully for compiling while another is configuring. And what about the last package? The time you

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Paul Hartman
On Thu, Jan 27, 2011 at 7:33 AM, Nikos Chantziaras rea...@arcor.de wrote: On 01/27/2011 03:11 PM, Dale wrote: [...] I am using the -j option for the first time now. I'm updating KDE. It seems to work fine. It doesn't scroll all the stuff like with a regular emerges but this new rig is so

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Alan McKinnon
Apparently, though unproven, at 17:09 on Thursday 27 January 2011, Nikos Chantziaras did opine thusly: On 01/27/2011 04:53 PM, Neil Bothwick wrote: On Thu, 27 Jan 2011 16:30:30 +0200, Nikos Chantziaras wrote: Using --jobs does a better job of making use of your CPU because one package can

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread PK
On Thu, Jan 27, 2011 at 5:12 AM, Nikos Chantziaras rea...@arcor.de wrote: You can try, but the second instance with simply block until the lock has been removed. I'm not aware of any package system that supports this. I don't think adding support for this justifies the added complexity.

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Neil Bothwick
On Thu, 27 Jan 2011 17:09:27 +0200, Nikos Chantziaras wrote: So on a 20 package world update, only 19 are faster while the 20th runs at the same speed? Where's the loss there? Even if the last were slower, it would be worth it. Given the amount of time unpack/configure/install of most

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Dale
Alan McKinnon wrote: Apparently, though unproven, at 17:09 on Thursday 27 January 2011, Nikos Chantziaras did opine thusly: Given the amount of time unpack/configure/install of most packages needs (very short), my observation is that it would not be worth it. KDE.

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread David W Noon
On Thu, 27 Jan 2011 11:10:02 +0100, Neil Bothwick wrote about Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies: On Thu, 27 Jan 2011 07:12:24 +0200, Nikos Chantziaras wrote: [snip] You can try, but the second instance with simply block until the lock has

[gentoo-user] Doubt about Python.

2011-01-27 Thread Carlos Sura
Hello, I'm running a Gentoo Box ~amd64, so, upgrading my system I could notice that there was 3 python versions. I have: Python 2.6 Python 2.7 Python 3.1 It is safe if I use as main Python 2.7 and as active version of Python; Python 3.1??? Or should I stay in Python 2.6? Regards, -- Carlos

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread YoYo Siska
On Thu, Jan 27, 2011 at 03:12:49PM +0100, J. Roeleveld wrote: On Thursday 27 January 2011 15:05:25 YoYo Siska wrote: On Thu, Jan 27, 2011 at 03:33:21PM +0200, Nikos Chantziaras wrote: On 01/27/2011 03:11 PM, Dale wrote: [...] I am using the -j option for the first time now. I'm

Re: [gentoo-user] Doubt about Python.

2011-01-27 Thread Dale
Carlos Sura wrote: Hello, I'm running a Gentoo Box ~amd64, so, upgrading my system I could notice that there was 3 python versions. I have: Python 2.6 Python 2.7 Python 3.1 It is safe if I use as main Python 2.7 and as active version of Python; Python 3.1??? Or should I stay in Python

[gentoo-user] Re: Doubt about Python.

2011-01-27 Thread Grant Edwards
On 2011-01-27, Carlos Sura carlos.su...@googlemail.com wrote: I'm running a Gentoo Box ~amd64, so, upgrading my system I could notice that there was 3 python versions. I have: Python 2.6 Python 2.7 Python 3.1 It is safe if I use as main Python 2.7 and as active version of Python;

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Allan Gottlieb
On Thu, Jan 27 2011, Neil Bothwick wrote: On Thu, 27 Jan 2011 17:09:27 +0200, Nikos Chantziaras wrote: So on a 20 package world update, only 19 are faster while the 20th runs at the same speed? Where's the loss there? Even if the last were slower, it would be worth it. Given the

[gentoo-user] Paste into vim keeping indention or original?

2011-01-27 Thread Mark Knecht
What is the solution to begin able to paste code I find on the web into a file in vim and being able to keep the indentation from changing? For instance, here's the first few lines of code from a web page: #define ARRAYSIZE(x) (sizeof(x)/sizeof(*(x))) int main(void) { const char filename[]

Re: [gentoo-user] Doubt about Python.

2011-01-27 Thread Mike Gilbert
On Thu, Jan 27, 2011 at 1:00 PM, Carlos Sura carlos.su...@googlemail.com wrote: It is safe if I use as main Python 2.7 and as active version of Python; Python 3.1??? 2.7 is pretty safe at this point; I use this as my main version I haven't hit an issue in a while. 3.1 is probably not such a

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread J. Roeleveld
On Thursday 27 January 2011 19:56:23 Allan Gottlieb wrote: On Thu, Jan 27 2011, Neil Bothwick wrote: On Thu, 27 Jan 2011 17:09:27 +0200, Nikos Chantziaras wrote: So on a 20 package world update, only 19 are faster while the 20th runs at the same speed? Where's the loss there? Even if the

[gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-27 Thread Mark Knecht
On Thu, Jan 27, 2011 at 11:07 AM, Mark Knecht markkne...@gmail.com wrote: What is the solution to begin able to paste code I find on the web into a file in vim and being able to keep the indentation from changing? For instance, here's the first few lines of code from a web page: #define

Re: [gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-27 Thread Mike Gilbert
On Thu, Jan 27, 2011 at 2:22 PM, Mark Knecht markkne...@gmail.com wrote: I solved it by creating a .vimrc file and putting set pastetoggle=F2 Running :set paste will do the job as well if you don't want to assign a hot key for it.

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Dale
YoYo Siska wrote: Yes. It might not be perfect, but mostly it works pretty well. Once make started 10 or so process, which ate all my ram, because I forgot to reenable swap, when I was playing with something before that :) yoyo I noticed the same thing with mine. It used a LOT of ram. I

Re: [gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-27 Thread Petri Rosenström
On Thu, Jan 27, 2011 at 9:28 PM, Mike Gilbert floppymas...@gmail.com wrote: On Thu, Jan 27, 2011 at 2:22 PM, Mark Knecht markkne...@gmail.com wrote: I solved it by creating a .vimrc file and putting set pastetoggle=F2 Running :set paste will do the job as well if you don't want to assign a

[gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Nikos Chantziaras
On 01/27/2011 09:41 PM, Dale wrote: YoYo Siska wrote: Yes. It might not be perfect, but mostly it works pretty well. Once make started 10 or so process, which ate all my ram, because I forgot to reenable swap, when I was playing with something before that :) yoyo I noticed the same thing

Re: [gentoo-user] Re: Doubt about Python.

2011-01-27 Thread Neil Bothwick
On Thu, 27 Jan 2011 18:31:13 + (UTC), Grant Edwards wrote: You can use any version you want for your own apps, but as of a couple weeks ago, I know that switching the Gentoo system apps to Python 3 would break things. If the system apps are still using 2.6 insteadof 2.7, there's probably

Re: [gentoo-user] Re: Doubt about Python.

2011-01-27 Thread Carlos Sura
On 27 January 2011 14:21, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 27 Jan 2011 18:31:13 + (UTC), Grant Edwards wrote: You can use any version you want for your own apps, but as of a couple weeks ago, I know that switching the Gentoo system apps to Python 3 would break things.

Re: [gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-27 Thread YoYo Siska
On Thu, Jan 27, 2011 at 02:28:47PM -0500, Mike Gilbert wrote: On Thu, Jan 27, 2011 at 2:22 PM, Mark Knecht markkne...@gmail.com wrote: I solved it by creating a .vimrc file and putting set pastetoggle=F2 Running :set paste will do the job as well if you don't want to assign a hot key

[gentoo-user] Compiz-Fusion does not show windows border

2011-01-27 Thread Carlos Sura
Hello mates, I'm running Gentoo ~amd64 I try to install compiz-fusion, following the wiki, everything seems to be fine, but when I try to run compiz-fusion, it works but not so well, because does not show me windows border, also I put compiz-fusion to use indirect rendering and loose binding but

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread YoYo Siska
On Thu, Jan 27, 2011 at 08:18:34PM +0100, J. Roeleveld wrote: On Thursday 27 January 2011 19:56:23 Allan Gottlieb wrote: On Thu, Jan 27 2011, Neil Bothwick wrote: On Thu, 27 Jan 2011 17:09:27 +0200, Nikos Chantziaras wrote: So on a 20 package world update, only 19 are faster while the

Re: [gentoo-user] Compiz-Fusion does not show windows border

2011-01-27 Thread PK
Don't forget to enable window decoration feature (run ccsm) and select your decorator. I'd recommend using fusion-icon, makes things much more accessible. Cheers, P. On Thu, Jan 27, 2011 at 9:01 PM, Carlos Sura carlos.su...@googlemail.comwrote: Hello mates, I'm running Gentoo ~amd64 I try

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Bill Longman
On 01/27/2011 12:15 PM, Nikos Chantziaras wrote: Btw, if you're using more instances than the amount of CPUs, the result will be slow-down. With the default kernel scheduler, best if amount of CPUs + 1. (On a 4-core, that's -j5). And if you use emerge's --jobs 2, each of those jobs will

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Paul Hartman
On Thu, Jan 27, 2011 at 2:15 PM, Nikos Chantziaras rea...@arcor.de wrote: On 01/27/2011 09:41 PM, Dale wrote: YoYo Siska wrote: Yes. It might not be perfect, but mostly it works pretty well. Once make started 10 or so process, which ate all my ram, because I forgot to reenable swap, when I

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread J. Roeleveld
On Thursday 27 January 2011 21:25:02 Paul Hartman wrote: On Thu, Jan 27, 2011 at 2:15 PM, Nikos Chantziaras rea...@arcor.de wrote: On 01/27/2011 09:41 PM, Dale wrote: YoYo Siska wrote: Yes. It might not be perfect, but mostly it works pretty well. Once make started 10 or so process,

[gentoo-user] from web-cyradm to postfixadmin

2011-01-27 Thread Stefan G. Weichinger
I have to migrate mailusers from web-cyradm to postfixadmin (sure, on a gentoo-server - on-topic ;-) ). Has anyone done that already? AFAI understand I have to export user/pws and import it in postfixadmin ... I am unsure about the encryption etc. Maybe someone could help me with infos or a

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread J. Roeleveld
On Thursday 27 January 2011 22:06:30 YoYo Siska wrote: On Thu, Jan 27, 2011 at 08:18:34PM +0100, J. Roeleveld wrote: On Thursday 27 January 2011 19:56:23 Allan Gottlieb wrote: On Thu, Jan 27 2011, Neil Bothwick wrote: On Thu, 27 Jan 2011 17:09:27 +0200, Nikos Chantziaras wrote: So

Re: [gentoo-user] from web-cyradm to postfixadmin

2011-01-27 Thread Stefan G. Weichinger
Am 27.01.2011 22:52, schrieb Stefan G. Weichinger: I have to migrate mailusers from web-cyradm to postfixadmin (sure, on a gentoo-server - on-topic ;-) ). Has anyone done that already? AFAI understand I have to export user/pws and import it in postfixadmin ... I am unsure about the

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Paul Hartman
On Thu, Jan 27, 2011 at 3:46 PM, J. Roeleveld jo...@antarean.org wrote: On Thursday 27 January 2011 21:25:02 Paul Hartman wrote: On Thu, Jan 27, 2011 at 2:15 PM, Nikos Chantziaras rea...@arcor.de wrote: On 01/27/2011 09:41 PM, Dale wrote: YoYo Siska wrote: Yes. It might not be perfect,

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread J. Roeleveld
On Thursday 27 January 2011 22:06:30 YoYo Siska wrote: On Thu, Jan 27, 2011 at 08:18:34PM +0100, J. Roeleveld wrote: On Thursday 27 January 2011 19:56:23 Allan Gottlieb wrote: On Thu, Jan 27 2011, Neil Bothwick wrote: On Thu, 27 Jan 2011 17:09:27 +0200, Nikos Chantziaras wrote: So

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread J. Roeleveld
On Thursday 27 January 2011 23:05:22 Paul Hartman wrote: On Thu, Jan 27, 2011 at 3:46 PM, J. Roeleveld jo...@antarean.org wrote: On Thursday 27 January 2011 21:25:02 Paul Hartman wrote: On Thu, Jan 27, 2011 at 2:15 PM, Nikos Chantziaras rea...@arcor.de wrote: On 01/27/2011 09:41 PM, Dale

[gentoo-user] Re: Paste into vim keeping indention or original?

2011-01-27 Thread James
Mark Knecht markknecht at gmail.com writes: What is the solution to begin able to paste code I find on the web into a file in vim and being able to keep the indentation from changing? Well, if you want to keep it simple, here is what I do: edit /etc/vim/vimrc set ai

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Mick
On Thursday 27 January 2011 22:18:22 J. Roeleveld wrote: On Thursday 27 January 2011 23:05:22 Paul Hartman wrote: On Thu, Jan 27, 2011 at 3:46 PM, J. Roeleveld jo...@antarean.org wrote: Once, when building my kernel, I accidentally forgot to specify the number of makes and ran make -j

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread Dale
Nikos Chantziaras wrote: On 01/27/2011 09:41 PM, Dale wrote: I noticed the same thing with mine. It used a LOT of ram. I have 4Gbs and it was up to about 3Gbs at one point and using some swap as well. I'm hoping to max out to 16Gbs as soon as I can. May upgrade to a 6 core CPU too. I wonder

Re: [gentoo-user] Re: Doubt about Python.

2011-01-27 Thread Neil Bothwick
On Thu, 27 Jan 2011 14:50:57 -0600, Carlos Sura wrote: So It is safe or not? I'm currently using python 2.7 with no problems right now or at least I think so... 2.6 and 2.7 are safe, right. 2.6 and 2.7 are safe, either alone or together. I removed 2.6 from my desktop nearly four months

[gentoo-user] kmix/sound broken

2011-01-27 Thread James
kmix will not run. The icon just bounces and then terminates. Previously, installed kde4 using kde-meta. Rebuilding kde-meta does not go into all of the individual packages. I've never had trouble with kmix before, so any guidance as to what package(s) to rebuild, would be appreciated.

[gentoo-user] Re: Doubt about Python.

2011-01-27 Thread walt
On 01/27/2011 12:21 PM, Neil Bothwick wrote: I am NOT a NUMBER! I am a DEMOGRAPHIC! I am NOT a HUSBAND! I am a MARITAL SERVICES PROVIDER! sigh

Re: [gentoo-user] kmix/sound broken

2011-01-27 Thread Mick
On Thursday 27 January 2011 23:08:55 James wrote: kmix will not run. The icon just bounces and then terminates. Previously, installed kde4 using kde-meta. Rebuilding kde-meta does not go into all of the individual packages. I've never had trouble with kmix before, so any guidance as to

Re: [gentoo-user] kmix/sound broken

2011-01-27 Thread Florian Philipp
Am 28.01.2011 00:08, schrieb James: kmix will not run. The icon just bounces and then terminates. Previously, installed kde4 using kde-meta. Rebuilding kde-meta does not go into all of the individual packages. [...] Ideas or suggestions are most welcome. The machine runs an identical

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread J. Roeleveld
On Thursday 27 January 2011 23:59:24 Mick wrote: I'm running i7 Q 720 (4 cores, hyperthreaded) and have MAKEOPTS=-j9 without any slowdown. One or two packages (like OpenOffice) will fail and need -j=1 to emerge. Otherwise no noticeable drop in desktop responsiveness. I have not set up

Re: [gentoo-user] Re: Simultaneously emerging multiple packages with same dependencies

2011-01-27 Thread J. Roeleveld
On Thursday 27 January 2011 23:53:04 Dale wrote: Nikos Chantziaras wrote: On 01/27/2011 09:41 PM, Dale wrote: I noticed the same thing with mine. It used a LOT of ram. I have 4Gbs and it was up to about 3Gbs at one point and using some swap as well. I'm hoping to max out to 16Gbs as soon