[gentoo-user] /usr/lib/pkgconfig collisions

2009-08-03 Thread Roy Wright

Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1), I  
copied the 0.19.0 ebuilds to my local overlay then renamed them to the  
new version.  I then downloaded the ruby-gnome2-all-0.19.1.tar.gz,  
placed it in /usr/portage/distfiles, then used ebuild ruby-...  
digest for each of the packages to create the Manifest file.


When I attempt to emerge the updated packages, the first package, ruby- 
glib2-0.19.1, errors with a detected file collision on /usr/lib/ 
pkgconfig.  This is a directory and thus emerge finds every package  
that has installed a file in it.


Now my guess is that some code that attempts to check for conflicts  
within the /usr/lib/pkgconfig directory is being given an blank  
package name, thus is checking the directory.  My problem is I don't  
see where the conflict code is even called.  Anyone have any hints or  
know where the documentation is?


TIA,
Roy




Re: [gentoo-user] /usr/lib/pkgconfig collisions

2009-08-03 Thread Roy Wright

Oops, sorry for the duplicate post.

On Aug 3, 2009, at 2:20 AM, Roy Wright wrote:


Howdy,

While attempting to try the latest version of ruby-gnome2 (0.19.1),  
I copied the 0.19.0 ebuilds to my local overlay





Re: [gentoo-user] Re: make.conf MAKEOPTS=-j2

2009-08-03 Thread Walter Dnes
On Sun, Aug 02, 2009 at 09:10:49PM +0300, Nikos Chantziaras wrote

 Note that by doing so you will be using -j1 for every future version
 of duma.  That means, if the problem gets fixed, you'll still be
 using -j1.

  Actually, I put -j1 into my make.conf after being bitten by -j2 a few
times.  It doesn't slow down the emerge that much, and doesn't slow down
the compiled program at all.  And the big thing is that it has probably
saved me from wasting time trying to track down weird emerge failures.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Re: Java jdk

2009-08-03 Thread James
Dale rdalek1967 at gmail.com writes:


 Same here.  Have you tried renaming the config directory and letting it
 recreate it fresh?  Sometimes that helps.  You know, the /home/≤user
 name/.ooo3 directory?  You can rename it, move it or something then
 restart OOo and see if it works. 

OK,

Well I tried that,
new .0003 dir created but same fault:

terminate called after throwing an instance of
'com::sun::star::uno::RuntimeException'


 If that fails, kick it.  LOL

If only that would help.





Re: [gentoo-user] Re: Java jdk

2009-08-03 Thread Mike Kazantsev
On Mon, 3 Aug 2009 00:38:32 + (UTC)
James wirel...@tampabay.rr.com wrote:

 Mike Kazantsev mk.fraggod at gmail.com writes:
 
 
emerge -1 dev-util/strace  strace -f ooffice 2strace.log
grep -2 -e EACCES -e EPERM strace.log
tail -500 strace.log | less (to see what happened last)
 
 
 
 OK,  Here are the bottom lines:

...

 access(/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/
 com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/
 data/org/openoffice,
 F_OK) = -1 EACCES (Permission denied)

Why is that?


 stat(/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/
 com.sun.star.comp.deployment.configuration.PackageRegistryBackend/
 registry/data/org/openoffice/Setup.xcu,
 0x7fff6244bd80) = -1 EACCES (Permission denied)

...same file again and (shortly) a crash.


Prehaps you should check if it has some 0600 or 0640 mode and correct
it to 644. Prehaps it's one of the parent dirs, just try to stat it as a
user.


-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Re: Java jdk

2009-08-03 Thread James
Mike Kazantsev mk.fraggod at gmail.com writes:


  access(/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/
  com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/
  data/org/openoffice,
  F_OK) = -1 EACCES (Permission denied)

 Why is that?


Good question, dunno


  stat(/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/
  com.sun.star.comp.deployment.configuration.PackageRegistryBackend/
  registry/data/org/openoffice/Setup.xcu,
  0x7fff6244bd80) = -1 EACCES (Permission denied)

 ...same file again and (shortly) a crash.

 Prehaps you should check if it has some 0600 or 0640 mode and correct
 it to 644. Prehaps it's one of the parent dirs, just try to stat it as a
 user.


Well here's what I found:

# ls -alg /usr/lib64/openoffice/share/uno_packages/cache
total 13
drwxr-xr-x 4 root   168 Aug  2 16:34 .
drwxr-xr-x 3 root72 Mar 26 02:33 ..
drwx-- 8 root   520 Jul 17 08:13 registry
-rw--- 1 root 1 Aug  2 16:34 stamp.sys
drwx-- 2 root48 Jul 17 08:13 uno_packages
-rw--- 1 root 12288 Jul 17 08:13 uno_packages.db


so from that cache dir
chmod -R 755 *

fix it!

Thanks,


James











[gentoo-user] Python 2.4.6 getting pulled in

2009-08-03 Thread Chris Lieb
I have been running Python 2.5* on my Gentoo system ever since it went
stable x86.  Today I ran an `emerge --update --deep --newuse
--with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
into a new slot.  I have no idea why an old version of python is being
pulled in since python is showing up at the root of a dependency tree,
marked in bold (I'm pretty sure that means it's pulled in from world).

I can't for the life of me find any package that requires python that
forces version 2.4.6 or 2.5.  I have Django installed, which requires
=python-2.5[sqlite], but I have the sqlite use flag enabled on my
current install of Python.  No combination of equery depends and
qdepends will show me any packages that would be pulling in this old Python.

Does anyone know what might be pulling in this old python?

Thanks,
Chris



[gentoo-user] Re: Java jdk

2009-08-03 Thread James
walt w41ter at gmail.com writes:


 And 'grep -r 1.4.2 /etc/*' may turn up obsolete config files that you don't
 know you have.  It's like rummaging through your attic :)

Hello Walt,

fixing the file permission under:

/usr/lib64/openoffice/share/uno_packages/cache
 

did the trick for me.


thanks,
James





[gentoo-user] Re: Python 2.4.6 getting pulled in

2009-08-03 Thread Chris Lieb
On 8/3/2009 8:56 AM, Chris Lieb wrote:
 I have been running Python 2.5* on my Gentoo system ever since it went
 stable x86.  Today I ran an `emerge --update --deep --newuse
 --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
 into a new slot.  I have no idea why an old version of python is being
 pulled in since python is showing up at the root of a dependency tree,
 marked in bold (I'm pretty sure that means it's pulled in from world).
 
 I can't for the life of me find any package that requires python that
 forces version 2.4.6 or 2.5.  I have Django installed, which requires
 =python-2.5[sqlite], but I have the sqlite use flag enabled on my
 current install of Python.  No combination of equery depends and
 qdepends will show me any packages that would be pulling in this old Python.
 
 Does anyone know what might be pulling in this old python?
 
 Thanks,
 Chris

A little more digging (ie, masking Python 2.5 and watching the carnage)
revealed that the culprit is the new django-1.0.3.  The diff for the
DEPEND and RDEPEND is:

 RDEPEND=dev-python/imaging
sqlite? ( || (
+   =dev-lang/python-2.5[sqlite] )
( dev-python/pysqlite:2 dev-lang/python-2.5 )
-   =dev-lang/python-2.5[sqlite] ) )
-   test? ( || (
-   ( dev-python/pysqlite:2 dev-lang/python-2.5 )
-   =dev-lang/python-2.5[sqlite] ) )
+   )
postgres? ( dev-python/psycopg )
mysql? ( =dev-python/mysql-python-1.2.1_p2 )
 DEPEND=${RDEPEND}
-   doc? ( =dev-python/sphinx-0.3 )
+   doc? ( =dev-python/sphinx-0.3 )
+   test? ( || (
+   =dev-lang/python-2.5[sqlite] )
+   ( dev-python/pysqlite:2 dev-lang/python-2.5 )
+   )

Does anyone know why these changes would cause python-2.5 to get pulled
in when I already have python-2.5[sqlite] installed?

Chris



[gentoo-user] Re: make.conf MAKEOPTS=-j2

2009-08-03 Thread Nikos Chantziaras

On 08/03/2009 03:11 PM, Walter Dnes wrote:

On Sun, Aug 02, 2009 at 09:10:49PM +0300, Nikos Chantziaras wrote


Note that by doing so you will be using -j1 for every future version
of duma.  That means, if the problem gets fixed, you'll still be
using -j1.


   Actually, I put -j1 into my make.conf after being bitten by -j2 a few
times.  It doesn't slow down the emerge that much, and doesn't slow down
the compiled program at all.  And the big thing is that it has probably
saved me from wasting time trying to track down weird emerge failures.


Well, that's you.  -j2 needs only 1/2 of the time to emerge things on 
this machine, and -j4 only 1/4 on a 4 core machine.


So my advice for others is to not take Walter's advice and use -j1 
because it doesn't slow down the emerge that much.  It can slow it 
down. Up to four times slower.





Re: [gentoo-user] Re: make.conf MAKEOPTS=-j2

2009-08-03 Thread Nevynxxx
Nikos Chantziaras wrote:
 On 08/03/2009 03:11 PM, Walter Dnes wrote:

Actually, I put -j1 into my make.conf after being bitten by -j2 a few
 times.  It doesn't slow down the emerge that much, and doesn't slow down
 the compiled program at all.  And the big thing is that it has probably
 saved me from wasting time trying to track down weird emerge failures.

 Well, that's you.  -j2 needs only 1/2 of the time to emerge things on
 this machine, and -j4 only 1/4 on a 4 core machine.

 So my advice for others is to not take Walter's advice and use -j1
 because it doesn't slow down the emerge that much.  It can slow it
 down. Up to four times slower.


It'll actually be somewhere inbetween the two of you. None of the steps
in an emerge *except* the compilation stage will be affected by the -J
option. That compile stage though will be affected as you said. For some
packages, that will mean that the J option has almost no effect (becuase
they have multiple ./configure runs that take far longer than the
compile part anyway, or because they are so small the install stage
takes longer or whatever).

For most packages it will show an improvement, but almost never x2 or x4

For me, a kernel make with the -j=2 option is a lot quicker than
without



signature.asc
Description: OpenPGP digital signature


[gentoo-user] copying the / partition

2009-08-03 Thread Alan E. Davis
I wish to move the / partition, and separate /usr into a separate
partition.  One reason is to take advantage of a faster 10,000 RPM drive for
system files.

I am stuck on one issue (at least): do I need to copy /sys to the new /
partition?

Thank you for recent help with other issues.

Alan

You can know the name of a bird in all the languages of the world,  but when
you're finished, you'll know absolutely nothing whatever about the bird...
So let's look at the bird and see what it's doing---that's what counts.

   Richard Feynman


Re: [gentoo-user] copying the / partition

2009-08-03 Thread Xavier Parizet
On Tue, 4 Aug 2009 00:33:22 +1000, Alan E. Davis lngn...@gmail.com
wrote:
 I wish to move the / partition, and separate /usr into a separate
 partition.  One reason is to take advantage of a faster 10,000 RPM drive
 for
 system files.
 
 I am stuck on one issue (at least): do I need to copy /sys to the new /
 partition?

No need to copy /sys and /proc, they are virtual filesystems filled up by
the kernel.
You have also to copy /dev, but to do so, you have to reboot into a livecd,
as the mounted /dev is filled in by udev in a running system.

HTH.

 Thank you for recent help with other issues.
 
 Alan
 
 You can know the name of a bird in all the languages of the world,  but
 when
 you're finished, you'll know absolutely nothing whatever about the
bird...
 So let's look at the bird and see what it's doing---that's what counts.
 
Richard Feynman

-- 
Xavier Parizet
YaGB :   http://gentooist.com
GPG  :DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408



Re: [gentoo-user] Re: Java jdk

2009-08-03 Thread Dale
James wrote:
 Mike Kazantsev mk.fraggod at gmail.com writes:


   
 access(/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/
 com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/
 data/org/openoffice,
 F_OK) = -1 EACCES (Permission denied)
   

   
 Why is that?
 


 Good question, dunno


   
 stat(/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/
 com.sun.star.comp.deployment.configuration.PackageRegistryBackend/
 registry/data/org/openoffice/Setup.xcu,
 0x7fff6244bd80) = -1 EACCES (Permission denied)
   

   
 ...same file again and (shortly) a crash.
 

   
 Prehaps you should check if it has some 0600 or 0640 mode and correct
 it to 644. Prehaps it's one of the parent dirs, just try to stat it as a
 user.
 


 Well here's what I found:

 # ls -alg /usr/lib64/openoffice/share/uno_packages/cache
 total 13
 drwxr-xr-x 4 root   168 Aug  2 16:34 .
 drwxr-xr-x 3 root72 Mar 26 02:33 ..
 drwx-- 8 root   520 Jul 17 08:13 registry
 -rw--- 1 root 1 Aug  2 16:34 stamp.sys
 drwx-- 2 root48 Jul 17 08:13 uno_packages
 -rw--- 1 root 12288 Jul 17 08:13 uno_packages.db


 so from that cache dir
 chmod -R 755 *

 fix it!

 Thanks,


 James


   

So it was a permissions issue.  I suspected that.  If you didn't change
that, you may want to file a bug so it can be fixed.

Dale

:-)  :-) 



Re: [gentoo-user] Re: make.conf MAKEOPTS=-j2

2009-08-03 Thread Dale
Nikos Chantziaras wrote:
 On 08/03/2009 03:11 PM, Walter Dnes wrote:
 On Sun, Aug 02, 2009 at 09:10:49PM +0300, Nikos Chantziaras wrote

 Note that by doing so you will be using -j1 for every future version
 of duma.  That means, if the problem gets fixed, you'll still be
 using -j1.

Actually, I put -j1 into my make.conf after being bitten by -j2 a few
 times.  It doesn't slow down the emerge that much, and doesn't slow down
 the compiled program at all.  And the big thing is that it has probably
 saved me from wasting time trying to track down weird emerge failures.

 Well, that's you.  -j2 needs only 1/2 of the time to emerge things on
 this machine, and -j4 only 1/4 on a 4 core machine.

 So my advice for others is to not take Walter's advice and use -j1
 because it doesn't slow down the emerge that much.  It can slow it
 down. Up to four times slower.




But if he has a single CPU system, it won't matter that much.  I have
always heard that it should be set to number of CPU's plus 1.  Mine is
set to 2 since I have a single CPU rig.

This is one of those situations where it depends on the system you have. 

Dale

:-)  :-) 



[gentoo-user] Re: Java jdk

2009-08-03 Thread walt

On 08/03/2009 06:54 AM, James wrote:


Well here's what I found:

# ls -alg /usr/lib64/openoffice/share/uno_packages/cache
total 13
drwxr-xr-x 4 root   168 Aug  2 16:34 .
drwxr-xr-x 3 root72 Mar 26 02:33 ..
drwx-- 8 root   520 Jul 17 08:13 registry
-rw--- 1 root 1 Aug  2 16:34 stamp.sys
drwx-- 2 root48 Jul 17 08:13 uno_packages
-rw--- 1 root 12288 Jul 17 08:13 uno_packages.db


so from that cache dir
chmod -R 755 *

fix it!


Hmm. Both my x86 machine and my ~amd64 machine have *nothing* in that
directory.  All of those files and directories are in my ~/.ooo3 instead.

And /root doesn't even have a .ooo3 directory.

Beats me :-/




Re: [gentoo-user] copying the / partition

2009-08-03 Thread Alex Schuster
Xavier Parizet writes:

 On Tue, 4 Aug 2009 00:33:22 +1000, Alan E. Davis lngn...@gmail.com
 wrote:
  I wish to move the / partition, and separate /usr into a separate
  partition.  One reason is to take advantage of a faster 10,000 RPM
  drive for system files.
 
  I am stuck on one issue (at least): do I need to copy /sys to the new /
  partition?

 No need to copy /sys and /proc, they are virtual filesystems filled up by
 the kernel.

Just make sure to create these directories.

 You have also to copy /dev, but to do so, you have to reboot into a
 livecd, as the mounted /dev is filled in by udev in a running system.

Or you bind-mount the root file system to somewhere else, this gives you the 
original system without the things mounted on top of it:

mount -o bind / /mnt
cp -a /mnt/dev /newroot/

Or create the device nodes by hand, it's only two that are needed for udev 
to come up:

mknod -m 660 /newroot/dev/console c 5 1
mknod -m 660 /newroot/dev/nullc 1 3

I _think_ you also could just copy the populated /dev, but I like to have 
only the necessary things in there, not everything that udev creates.

Alex



[gentoo-user] Re: Python 2.4.6 getting pulled in

2009-08-03 Thread walt

On 08/03/2009 07:03 AM, Chris Lieb wrote:

On 8/3/2009 8:56 AM, Chris Lieb wrote:

I have been running Python 2.5* on my Gentoo system ever since it went
stable x86.  Today I ran an `emerge --update --deep --newuse
--with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
into a new slot.  I have no idea why an old version of python is being
pulled in since python is showing up at the root of a dependency tree,
marked in bold (I'm pretty sure that means it's pulled in from world).

I can't for the life of me find any package that requires python that
forces version 2.4.6 or2.5.  I have Django installed, which requires

=python-2.5[sqlite], but I have the sqlite use flag enabled on my

current install of Python.  No combination of equery depends and
qdepends will show me any packages that would be pulling in this old Python.

Does anyone know what might be pulling in this old python?

Thanks,
Chris


A little more digging (ie, masking Python2.5 and watching the carnage)
revealed that the culprit is the new django-1.0.3.  The diff for the
DEPEND and RDEPEND is:

  RDEPEND=dev-python/imaging
 sqlite? ( || (
+=dev-lang/python-2.5[sqlite] )
 ( dev-python/pysqlite:2dev-lang/python-2.5 )
-=dev-lang/python-2.5[sqlite] ) )
-   test? ( || (
-   ( dev-python/pysqlite:2dev-lang/python-2.5 )
-=dev-lang/python-2.5[sqlite] ) )
+   )
 postgres? ( dev-python/psycopg )
 mysql? (=dev-python/mysql-python-1.2.1_p2 )
  DEPEND=${RDEPEND}
-   doc? (=dev-python/sphinx-0.3 )
+   doc? (=dev-python/sphinx-0.3 )
+   test? ( || (
+=dev-lang/python-2.5[sqlite] )
+   ( dev-python/pysqlite:2dev-lang/python-2.5 )
+   )

Does anyone know why these changes would causepython-2.5 to get pulled
in when I already have python-2.5[sqlite] installed?


Frankly, no.  But have you run python-updater yet?  Is there anything left
in /usr/lib/python2.4?  Are /usr/bin/python and /usr/bin/python2 both pointing
to /usr/bin/python2.5?

Maybe try re-emerging those dependencies that you already have installed?
Does eselect python list show anything unexpected?





[gentoo-user] Yahoo Messenger replacement

2009-08-03 Thread Matt Harrison
Hi guys,

I've recently needed to communicate with some people using Yahoo Messenger.
It's not ideal but i'm unable to migrate them to something more open.

I've got it working fine on my windows machine at work, but unfortunately
I'm unable to get it working on my gentoo laptop. 

I've so far tried Pidgin, which seems to hang eternally when I try to
connect, and I've tried looking for alternatives such as ymessenger but it
seems they have been retired from portage.

Does anyone have any advice on this subject? At the moment I'm having to VNC
into my desktop machine just to use messenger when I'm out and about.

Thanks in advance

Matt



[gentoo-user] Re: Java jdk

2009-08-03 Thread James
walt w41ter at gmail.com writes:



  # ls -alg /usr/lib64/openoffice/share/uno_packages/cache

 Hmm. Both my x86 machine and my ~amd64 machine have *nothing* in that
 directory.  All of those files and directories are in my ~/.ooo3 instead.


That's certainly not consistent?

Here's the files under my (user) .ooo3 dir:
~/.ooo3/user/registry/cache

org.openoffice.LDAP.dat
org.openoffice.Office.Accelerators.dat
org.openoffice.Office.Addons.dat
org.openoffice.Office.Calc.dat
org.openoffice.Office.CalcAddIns.dat
org.openoffice.Office.Commands.dat
org.openoffice.Office.Common.dat
org.openoffice.Office.Compatibility.dat
org.openoffice.Office.Events.dat
org.openoffice.Office.Histories.dat
org.openoffice.Office.Impress.dat
org.openoffice.Office.Jobs.dat
org.openoffice.Office.Linguistic.dat
org.openoffice.Office.Logging.dat
org.openoffice.Office.Paths.dat
org.openoffice.Office.ProtocolHandler.dat
org.openoffice.Office.Recovery.dat
org.openoffice.Office.SFX.dat
org.openoffice.Office.Substitution.dat
org.openoffice.Office.TabBrowse.dat
org.openoffice.Office.TypeDetection.dat
org.openoffice.Office.UI.CalcCommands.dat
org.openoffice.Office.UI.CalcWindowState.dat
org.openoffice.Office.UI.Controller.dat
org.openoffice.Office.UI.Factories.dat
org.openoffice.Office.UI.GenericCommands.dat
org.openoffice.Office.UI.GlobalSettings.dat
org.openoffice.Office.UI.WriterCommands.dat
org.openoffice.Office.UI.WriterWindowState.dat
org.openoffice.Office.UI.dat
org.openoffice.Office.Views.dat
org.openoffice.Office.Writer.dat
org.openoffice.Office.WriterWeb.dat
org.openoffice.Setup.dat
org.openoffice.System.dat
org.openoffice.TypeDetection.Filter.dat
org.openoffice.TypeDetection.Misc.dat
org.openoffice.TypeDetection.Types.dat
org.openoffice.UserProfile.dat
org.openoffice.VCL.dat
org.openoffice.ucb.Configuration.dat
org.openoffice.ucb.Store.dat


Not the same. Nor are the files under the 
/usr/lib64/openoffice/share/uno_packages/cache/registry
found under my .ooo3 dir.



 And /root doesn't even have a .ooo3 directory.

Nor does my root dir contain the .ooo3 dir.



Anyway, I'm done.
thanks for the help.


James








[gentoo-user] Re: Yahoo Messenger replacement

2009-08-03 Thread Nikos Chantziaras

On 08/03/2009 06:19 PM, Matt Harrison wrote:

Hi guys,

I've recently needed to communicate with some people using Yahoo Messenger.
It's not ideal but i'm unable to migrate them to something more open.

I've got it working fine on my windows machine at work, but unfortunately
I'm unable to get it working on my gentoo laptop.

I've so far tried Pidgin, which seems to hang eternally when I try to
connect, and I've tried looking for alternatives such as ymessenger but it
seems they have been retired from portage.

Does anyone have any advice on this subject? At the moment I'm having to VNC
into my desktop machine just to use messenger when I'm out and about.

Thanks in advance


You might want to try Kopete (it's a KDE app though so if you don't have 
KDE installed it will pull-in kdelibs.)





Re: [gentoo-user] Yahoo Messenger replacement

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 10:19 AM, Matt
Harrisoniwasinnamuk...@genestate.com wrote:
 Hi guys,

 I've recently needed to communicate with some people using Yahoo Messenger.
 It's not ideal but i'm unable to migrate them to something more open.

 I've got it working fine on my windows machine at work, but unfortunately
 I'm unable to get it working on my gentoo laptop.

 I've so far tried Pidgin, which seems to hang eternally when I try to
 connect, and I've tried looking for alternatives such as ymessenger but it
 seems they have been retired from portage.

 Does anyone have any advice on this subject? At the moment I'm having to VNC
 into my desktop machine just to use messenger when I'm out and about.

 Thanks in advance

 Matt

I've used Pidgin (formerly Gaim) with Yahoo for years and it works
fine for me. Be sure you're using the very latest version, as Yahoo
(and others) change their protocol often and the pidgin team needs to
adapt to it. You may need to unmask it if you're not using ~arch.
Check www.pidgin.im to see what the latest version is.

Kopete should work, too. It even does video.



Re: [gentoo-user] Yahoo Messenger replacement

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 10:27 AM, Paul
Hartmanpaul.hartman+gen...@gmail.com wrote:
 On Mon, Aug 3, 2009 at 10:19 AM, Matt
 Harrisoniwasinnamuk...@genestate.com wrote:
 Hi guys,

 I've recently needed to communicate with some people using Yahoo Messenger.
 It's not ideal but i'm unable to migrate them to something more open.

 I've got it working fine on my windows machine at work, but unfortunately
 I'm unable to get it working on my gentoo laptop.

 I've so far tried Pidgin, which seems to hang eternally when I try to
 connect, and I've tried looking for alternatives such as ymessenger but it
 seems they have been retired from portage.

 Does anyone have any advice on this subject? At the moment I'm having to VNC
 into my desktop machine just to use messenger when I'm out and about.

 Thanks in advance

 Matt

 I've used Pidgin (formerly Gaim) with Yahoo for years and it works
 fine for me. Be sure you're using the very latest version, as Yahoo
 (and others) change their protocol often and the pidgin team needs to
 adapt to it. You may need to unmask it if you're not using ~arch.
 Check www.pidgin.im to see what the latest version is.

 Kopete should work, too. It even does video.

I will also add that you can use the web-based version of yahoo
messenger and avoid software: http://webmessenger.yahoo.com



Re: [gentoo-user] Yahoo Messenger replacement

2009-08-03 Thread Matt Harrison
On Mon, Aug 03, 2009 at 10:28:20AM -0500, Paul Hartman wrote:
 On Mon, Aug 3, 2009 at 10:27 AM, Paul
 Hartmanpaul.hartman+gen...@gmail.com wrote:
  On Mon, Aug 3, 2009 at 10:19 AM, Matt
  Harrisoniwasinnamuk...@genestate.com wrote:
  Hi guys,
 
  I've recently needed to communicate with some people using Yahoo Messenger.
  It's not ideal but i'm unable to migrate them to something more open.
 
  I've got it working fine on my windows machine at work, but unfortunately
  I'm unable to get it working on my gentoo laptop.
 
  I've so far tried Pidgin, which seems to hang eternally when I try to
  connect, and I've tried looking for alternatives such as ymessenger but it
  seems they have been retired from portage.
 
  Does anyone have any advice on this subject? At the moment I'm having to 
  VNC
  into my desktop machine just to use messenger when I'm out and about.
 
  Thanks in advance
 
  Matt
 
  I've used Pidgin (formerly Gaim) with Yahoo for years and it works
  fine for me. Be sure you're using the very latest version, as Yahoo
  (and others) change their protocol often and the pidgin team needs to
  adapt to it. You may need to unmask it if you're not using ~arch.
  Check www.pidgin.im to see what the latest version is.
 
  Kopete should work, too. It even does video.
 
 I will also add that you can use the web-based version of yahoo
 messenger and avoid software: http://webmessenger.yahoo.com
 

Thanks for the reply,

Thats very interesting, I wasn't aware of the web based messenger and I will
investigate it.

I would try out kopete, but I really don't want to have to build kdelibs on
this machine and I don't have a build host available right now.

I'll also try the latest pidgin, as I'm not currently running ~arch.

Thanks for the tips.

Matt



Re: [gentoo-user] Yahoo Messenger replacement

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 10:33 AM, Matt
Harrisoniwasinnamuk...@genestate.com wrote:
 On Mon, Aug 03, 2009 at 10:28:20AM -0500, Paul Hartman wrote:
 On Mon, Aug 3, 2009 at 10:27 AM, Paul
 Hartmanpaul.hartman+gen...@gmail.com wrote:
  On Mon, Aug 3, 2009 at 10:19 AM, Matt
  Harrisoniwasinnamuk...@genestate.com wrote:
  Hi guys,
 
  I've recently needed to communicate with some people using Yahoo 
  Messenger.
  It's not ideal but i'm unable to migrate them to something more open.
 
  I've got it working fine on my windows machine at work, but unfortunately
  I'm unable to get it working on my gentoo laptop.
 
  I've so far tried Pidgin, which seems to hang eternally when I try to
  connect, and I've tried looking for alternatives such as ymessenger but it
  seems they have been retired from portage.
 
  Does anyone have any advice on this subject? At the moment I'm having to 
  VNC
  into my desktop machine just to use messenger when I'm out and about.
 
  Thanks in advance
 
  Matt
 
  I've used Pidgin (formerly Gaim) with Yahoo for years and it works
  fine for me. Be sure you're using the very latest version, as Yahoo
  (and others) change their protocol often and the pidgin team needs to
  adapt to it. You may need to unmask it if you're not using ~arch.
  Check www.pidgin.im to see what the latest version is.
 
  Kopete should work, too. It even does video.

 I will also add that you can use the web-based version of yahoo
 messenger and avoid software: http://webmessenger.yahoo.com


 Thanks for the reply,

 Thats very interesting, I wasn't aware of the web based messenger and I will
 investigate it.

I just thought of a couple more :)

If full-screen flash isn't your thing (or your PC can't handle it),
you can use the Yahoo Mobile website which has (or at least used to
have) a fully HTML web-based messenger. http://m.yahoo.com

Also, I am pretty sure you can talk to Yahoo messenger contacts via
MSN Messenger, so you can also check out any MSN-compatible apps such
as aMSN.



Re: [gentoo-user] Yahoo Messenger replacement

2009-08-03 Thread sean

What version of Pidgin?
I am running 2.5.8 and it connects to yahoo without problems.
Did you emerge with the yahoo flag enabled, maybe that could be the culprit?



Re: [gentoo-user] {OT} SSD instead of RAID1?

2009-08-03 Thread Grant
 Anyway, the point of all this is to prevent an HD failure from
 stopping the system.  An SSD is much safer, right?

 SSDs are still relatively new technology, so predicting failure rates is
 less reliable. What's wrong with using RAID-1? It's proven technology and
 totally resistant to a single HD failure.

 This was Grant's original question - whether SSD / flash technology is more
 reliable than RAID-1 of conventional disks? - and one to which no-one
 appeared comfortable giving a categorical answer.

 Stroller.

 I've come up with a couple reasons to wait a bit longer to switch my
 important systems to SSD.

 1. SLC is faster and (more importantly) should last much longer than
 MLC.  The Super Talent Ultradrive 32GB drives are priced ~$120 for MLC
 and ~$350 for SLC, so I'd like to wait for that SLC price to drop.
 It's worth mentioning though, that even conservative estimates of MLC
 lifetimes put them far beyond that of HD drives.

 2. SSD fIrmware is being updated relatively frequently right now
 (especially newer SSDs) and all data is lost during a firmware update.

 I'm sold on SSDs as RAID1 replacements though.

 BTW, I read that Samsung manufactures the memory for all major brand
 SSDs (including Super Talent).

 - Grant

An interesting read here:

http://blogs.gentoo.org/nightmorph/2009/08/02/ssds-and-filesystems

- Grant



Re: [gentoo-user] copying the / partition

2009-08-03 Thread Alan E. Davis
Very interesting.  Thank you.

It worked swell.

Alan

You can know the name of a bird in all the languages of the world,  but when
you're finished, you'll know absolutely nothing whatever about the bird...
So let's look at the bird and see what it's doing---that's what counts.

   Richard Feynman


[gentoo-user] KDE-4.2.4 shortcut for previous desktop

2009-08-03 Thread Daniel Iliev

Hi,

The subject says it all, but let me be a little more specific.

I want a hot key combination for the previous desktop that was
active, not previous by number. So I'd be able to to bind, eg
alt-p, and use it to toggle between Desktop1 and Desktop3 
many times.
Is it possible and how?

-- 
Best regards,
Daniel




[gentoo-user] Re: Java jdk

2009-08-03 Thread walt

On 08/03/2009 08:25 AM, James wrote:

waltw41terat  gmail.com  writes:




# ls -alg /usr/lib64/openoffice/share/uno_packages/cache



Hmm. Both my x86 machine and my ~amd64 machine have *nothing* in that
directory.  All of those files and directories are in my ~/.ooo3 instead.



That's certainly not consistent?

Here's the files under my (user) .ooo3 dir:
~/.ooo3/user/registry/cache...


Sorry, I meant this directory:

$l .ooo3/user/uno_packages/cache/
-rw-r--r-- 1 wa1ter users  9511 2009-08-02 09:29 log.txt
drwxr-xr-x 8 wa1ter users  4096 2008-10-19 18:13 registry/
-rw-r--r-- 1 wa1ter users 1 2009-08-02 09:29 stamp.sys
drwxr-xr-x 3 wa1ter users  4096 2008-12-07 15:30 uno_packages/
-rw-r--r-- 1 wa1ter users 12288 2008-12-07 15:30 uno_packages.db




[gentoo-user] Re: Java jdk

2009-08-03 Thread James
walt w41ter at gmail.com writes:

 $l .ooo3/user/uno_packages/cache/
 -rw-r--r-- 1 wa1ter users  9511 2009-08-02 09:29 log.txt
 drwxr-xr-x 8 wa1ter users  4096 2008-10-19 18:13 registry/
 -rw-r--r-- 1 wa1ter users 1 2009-08-02 09:29 stamp.sys
 drwxr-xr-x 3 wa1ter users  4096 2008-12-07 15:30 uno_packages/
 -rw-r--r-- 1 wa1ter users 12288 2008-12-07 15:30 uno_packages.db



Here it is:

drwxr-xr-x 4 james   192 Aug  3 10:03 .
drwxr-xr-x 3 james72 Aug  3 09:58 ..
-rw-r--r-- 1 james   106 Aug  3 10:03 log.txt
drwxr-xr-x 8 james   520 Aug  3 09:58 registry
-rw-r--r-- 1 james 1 Aug  3 10:03 stamp.sys
drwxr-xr-x 2 james48 Aug  3 09:58 uno_packages
-rw-r--r-- 1 james 12288 Aug  3 09:58 uno_packages.db


The .ooo3/user/uno_packages/cache/uno_packages is empty, 
the dir registry contains these files:


drwxr-xr-x 2 james  48 Aug  3 09:58
com.sun.star.comp.deployment.component.PackageRegistryBackend
drwxr-xr-x 3 james 112 Aug  3 09:58
com.sun.star.comp.deployment.configuration.PackageRegistryBackend
drwxr-xr-x 2 james  48 Aug  3 09:58
com.sun.star.comp.deployment.executable.PackageRegistryBackend
drwxr-xr-x 2 james  48 Aug  3 09:58
com.sun.star.comp.deployment.help.PackageRegistryBackend
drwxr-xr-x 2 james  48 Aug  3 09:58
com.sun.star.comp.deployment.script.PackageRegistryBackend
drwxr-xr-x 2 james  48 Aug  3 09:58
com.sun.star.comp.deployment.sfwk.PackageRegistryBackend





James




[gentoo-user] Re: Python 2.4.6 getting pulled in

2009-08-03 Thread Chris Lieb
On 8/3/2009 10:14 AM, walt wrote:
 On 08/03/2009 07:03 AM, Chris Lieb wrote:
 On 8/3/2009 8:56 AM, Chris Lieb wrote:
 I have been running Python 2.5* on my Gentoo system ever since it went
 stable x86.  Today I ran an `emerge --update --deep --newuse
 --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
 into a new slot.  I have no idea why an old version of python is being
 pulled in since python is showing up at the root of a dependency tree,
 marked in bold (I'm pretty sure that means it's pulled in from world).

 I can't for the life of me find any package that requires python that
 forces version 2.4.6 or2.5.  I have Django installed, which requires
 =python-2.5[sqlite], but I have the sqlite use flag enabled on my
 current install of Python.  No combination of equery depends and
 qdepends will show me any packages that would be pulling in this old
 Python.

 Does anyone know what might be pulling in this old python?

 Thanks,
 Chris

 A little more digging (ie, masking Python2.5 and watching the carnage)
 revealed that the culprit is the new django-1.0.3.  The diff for the
 DEPEND and RDEPEND is:

   RDEPEND=dev-python/imaging
  sqlite? ( || (
 +=dev-lang/python-2.5[sqlite] )
  ( dev-python/pysqlite:2dev-lang/python-2.5 )
 -=dev-lang/python-2.5[sqlite] ) )
 -   test? ( || (
 -   ( dev-python/pysqlite:2dev-lang/python-2.5 )
 -=dev-lang/python-2.5[sqlite] ) )
 +   )
  postgres? ( dev-python/psycopg )
  mysql? (=dev-python/mysql-python-1.2.1_p2 )
   DEPEND=${RDEPEND}
 -   doc? (=dev-python/sphinx-0.3 )
 +   doc? (=dev-python/sphinx-0.3 )
 +   test? ( || (
 +=dev-lang/python-2.5[sqlite] )
 +   ( dev-python/pysqlite:2dev-lang/python-2.5 )
 +   )

 Does anyone know why these changes would causepython-2.5 to get pulled
 in when I already have python-2.5[sqlite] installed?
 
 Frankly, no.  But have you run python-updater yet?  Is there anything left
 in /usr/lib/python2.4?  Are /usr/bin/python and /usr/bin/python2 both
 pointing to /usr/bin/python2.5?
 
 Maybe try re-emerging those dependencies that you already have installed?
 Does eselect python list show anything unexpected?

I upgraded these systems right after python 2.5 went stable, complete
with python-updater.  Looking around confirms this as `eselect python
list` shows only python 2.5, there is no python2.4 directory on my
system anywhere, and /usr/bin/python and /usr/bin/python2 both point to
/usr/bin/python2.5.  I'm starting a run of `python-updater -o 2.5` to
cause all python-touching packages to re-merge, though I doubt that will
fix anything.




Re: [gentoo-user] KDE-4.2.4 shortcut for previous desktop

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 10:58 AM, Daniel Ilievdaniel.il...@gmail.com wrote:

 Hi,

 The subject says it all, but let me be a little more specific.

 I want a hot key combination for the previous desktop that was
 active, not previous by number. So I'd be able to to bind, eg
 alt-p, and use it to toggle between Desktop1 and Desktop3
 many times.
 Is it possible and how?

There is a Switch to previous desktop hotkey available. Go to
keyboard settings, global hotkeys, kwin, and assign some key
combination to it. Does that do what you want? (I am not at home so I
can't try it right now)



[gentoo-user] Re: KDE-4.2.4 shortcut for previous desktop

2009-08-03 Thread Daniel Iliev
On Mon, 3 Aug 2009 13:52:52 -0500
Paul Hartman paul.hartman+gen...@gmail.com wrote:

 On Mon, Aug 3, 2009 at 10:58 AM, Daniel Ilievdaniel.il...@gmail.com
 wrote:
 
  Hi,
 
  The subject says it all, but let me be a little more specific.
 
  I want a hot key combination for the previous desktop that was
  active, not previous by number. So I'd be able to to bind, eg
  alt-p, and use it to toggle between Desktop1 and Desktop3
  many times.
  Is it possible and how?
 
 There is a Switch to previous desktop hotkey available. Go to
 keyboard settings, global hotkeys, kwin, and assign some key
 combination to it. Does that do what you want? (I am not at home so I
 can't try it right now)
 
 

Thanks, but that's not it.

If I had bound alt-p to this action, pressing alt-p would switch
desktops like this:
Desktop4alt-pDesktop3alt-pDesktop2alt-pDesktop1
(it's  like doing cd .. ; cd .. ; cd .. in the shell)

Given that the current active Desktop is  #4 and the previous active
Desktop was #1, what I'm looking for is:
Desktop4alt-pDesktop1alt-pDesktop4alt-pDesktop1
(like doing cd - ; cd  - ; cd - ; cd - in the shell)


-- 
Best regards,
Daniel




Re: [gentoo-user] Re: make.conf MAKEOPTS=-j2

2009-08-03 Thread Stroller


On 3 Aug 2009, at 15:56, Dale wrote:

But if he has a single CPU system, it won't matter that much.  I have
always heard that it should be set to number of CPU's plus 1.  Mine is
set to 2 since I have a single CPU rig.


It should be set to at least the number of *cores*, not CPUs.

Back in ye olde days one used to talk about MAKEOPTS in terms of the  
number of CPUs, but that's when CPUs each had only one core. Now mutli- 
core CPUs are common.


You probably intended this, but I thought I should point it out, lest  
any newcomers get confused.


Stroller.




Re: [gentoo-user] Yahoo Messenger replacement

2009-08-03 Thread Dave Jones
Hi Matt,

Matt Harrison wrote on 03/08/09 17:19:
 I've recently needed to communicate with some people using Yahoo Messenger.
 It's not ideal but i'm unable to migrate them to something more open.

 I've got it working fine on my windows machine at work, but unfortunately
 I'm unable to get it working on my gentoo laptop. 
 
 I've so far tried Pidgin, which seems to hang eternally when I try to
 connect, and I've tried looking for alternatives such as ymessenger but it
 seems they have been retired from portage.
 
 Does anyone have any advice on this subject? At the moment I'm having to VNC
 into my desktop machine just to use messenger when I'm out and about.

Installing Pidgin 2.5.8 fixed the hanging session initiation problems
caused by recent Yahoo network changes.

Cheers, Dave



Re: [gentoo-user] Re: make.conf MAKEOPTS=-j2

2009-08-03 Thread Dale
Stroller wrote:

 On 3 Aug 2009, at 15:56, Dale wrote:
 But if he has a single CPU system, it won't matter that much.  I have
 always heard that it should be set to number of CPU's plus 1.  Mine is
 set to 2 since I have a single CPU rig.

 It should be set to at least the number of *cores*, not CPUs.

 Back in ye olde days one used to talk about MAKEOPTS in terms of the
 number of CPUs, but that's when CPUs each had only one core. Now
 mutli-core CPUs are common.

 You probably intended this, but I thought I should point it out, lest
 any newcomers get confused.

 Stroller.




You are right.  I did mean cores not CPU's.  Thanks for pointing that out.

I do wish Google would send me copies of my emails.  That's when I
usually catch my boo boos.  :/

Dale

:-)  :-) 



Re: [gentoo-user] Re: KDE-4.2.4 shortcut for previous desktop

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 2:38 PM, Daniel Ilievdaniel.il...@gmail.com wrote:
 On Mon, 3 Aug 2009 13:52:52 -0500
 Paul Hartman paul.hartman+gen...@gmail.com wrote:

 On Mon, Aug 3, 2009 at 10:58 AM, Daniel Ilievdaniel.il...@gmail.com
 wrote:
 
  Hi,
 
  The subject says it all, but let me be a little more specific.
 
  I want a hot key combination for the previous desktop that was
  active, not previous by number. So I'd be able to to bind, eg
  alt-p, and use it to toggle between Desktop1 and Desktop3
  many times.
  Is it possible and how?

 There is a Switch to previous desktop hotkey available. Go to
 keyboard settings, global hotkeys, kwin, and assign some key
 combination to it. Does that do what you want? (I am not at home so I
 can't try it right now)



 Thanks, but that's not it.

 If I had bound alt-p to this action, pressing alt-p would switch
 desktops like this:
 Desktop4alt-pDesktop3alt-pDesktop2alt-pDesktop1
 (it's  like doing cd .. ; cd .. ; cd .. in the shell)

 Given that the current active Desktop is  #4 and the previous active
 Desktop was #1, what I'm looking for is:
 Desktop4alt-pDesktop1alt-pDesktop4alt-pDesktop1
 (like doing cd - ; cd  - ; cd - ; cd - in the shell)

I understood, I just wasn't sure what their definition of previous
was, but it's apparently not the actual previous but current desktop
minus one. I'm not sure there are any shortcuts that do it the way
you want...

As a workaround, you could set it to have only 2 desktops :)



Re: [gentoo-user] Remove stranded gcc-config's?

2009-08-03 Thread Mark Knecht
On Sat, Aug 1, 2009 at 2:33 PM, Jacob Toddjaketodd...@gmail.com wrote:
 On Sat, Aug 01, 2009 at 04:41:51PM -0700, Mark Knecht wrote:
 I was updating my wife's machine today and noticed that there are a
 number of older/stranded gcc-config's left on the machine. I still
 have gcc-4.1.2 but the other 3.3/3.4 versions should not remain.

 How would I remove these?

 Thanks,
 Mark

 dragonfly ~ # gcc-config -l
  [1] i686-pc-linux-gnu-3.3.3
  [2] i686-pc-linux-gnu-3.4.4
  [3] i686-pc-linux-gnu-3.4.4-hardened
  [4] i686-pc-linux-gnu-3.4.4-hardenednopie
  [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp
  [6] i686-pc-linux-gnu-3.4.4-hardenednossp
  [7] i686-pc-linux-gnu-4.1.2
  [8] i686-pc-linux-gnu-4.3.2 *
 dragonfly ~ #


 emerge -C =cat/pack-ver

 --
 Jake Todd
 // If it isn't broke, tweak it!


So far I've been unable to get this working. Tried to Google around
for more info on this but found nothing so possibly it's just a
spelling problem I haven't figured out?

I've finished updating the machine and this is one of the last things
I'd like to take care of. No rush. Doesn't hurt anything that they are
there, but would be nice to clean up.

Thanks,
Mark

dragonfly ~ # emerge -Cp =cat/pack-ver
!!! '=cat/pack-ver' is not a valid package atom.
!!! Please check ebuild(5) for full details.
dragonfly ~ #

dragonfly ~ # eix pack-ver
No matches found.
dragonfly ~ #



Re: [gentoo-user] Remove stranded gcc-config's?

2009-08-03 Thread Willie Wong
On Mon, Aug 03, 2009 at 01:03:39PM -0700, Penguin Lover Mark Knecht squawked:
 dragonfly ~ # emerge -Cp =cat/pack-ver
 !!! '=cat/pack-ver' is not a valid package atom.
 !!! Please check ebuild(5) for full details.
 dragonfly ~ #
 
 dragonfly ~ # eix pack-ver
 No matches found.
 dragonfly ~ #

The OP meant cat as in category, pack as in package name and ver
as in version. You are supposed to supply the correct package and
version and category for the command. 

For example, to unmerge gcc-4.3.0 would be

emerge --unmerge =sys-devel/gcc-4.3.0

substitute the package you want to remove as applicable. 

W

-- 
Pintsize: I'm always naked!
Sortir en Pantoufles: up 969 days, 19:07



[gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Grant
My HD is getting noisier during access and I wonder if it's a
fragmentation issue.  I have:

# df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda3960872076 754795944 157266648  83% /

I know Linux systems aren't supposed to become fragmented, but I've
also read that it can happen eventually.  I'm on ext3.  I've read that
ext4 will have a defragmenter but that it doesn't have one yet.  Has
anyone tried the shake defragmenter?

- Grant



Re: [gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Albert Hopkins
On Mon, 2009-08-03 at 13:22 -0700, Grant wrote:
 My HD is getting noisier during access and I wonder if it's a
 fragmentation issue. 

Are you sure it's not a HD-about-to-die issue?

-a





[gentoo-user] Virtual terminals dissapears in a 2 weeks

2009-08-03 Thread Alexander
Hello.

My Gentoo box lose ability to work with virtual terminals on ctl+alt+fN in 
about two weeks of uptime (it seems exactly 14 days after booting). I can 
switch between terminals, but there is no signal on cable on VT except X.

I'm using proprietary nvidia drivers for xorg. 

Does anyone know hot to fix or what is guilty for that?



[gentoo-user] Re: Anybody tried shake defragmenter?

2009-08-03 Thread Grant Edwards
On 2009-08-03, Grant emailgr...@gmail.com wrote:
 My HD is getting noisier during access and I wonder if it's a
 fragmentation issue.  I have:

 # df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/sda3960872076 754795944 157266648  83% /

 I know Linux systems aren't supposed to become fragmented,

Not true.  They become fragmented.  However, it's not supposed
to matter.

-- 
Grant Edwards   grante Yow! The FALAFEL SANDWICH
  at   lands on my HEAD and I
   visi.combecome a VEGETARIAN ...




Re: [gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Thierry de Coulon
On Monday 03 August 2009, Grant wrote:
 # df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/sda3960872076 754795944 157266648  83% /

The partition is fairly full, probably the system has a hard time finding a 
spot to create an unfragmented file. I remember I read a partition should not 
be more than 50% used, maybe I'm wrong.

Anyway, I would not use such a full partition for / or /home. When it happend 
I moved /usr to another partition.

Thierry




[gentoo-user] bash stopped running python scripts...

2009-08-03 Thread Mike Edenfield
I dunno what I did, but I've managed to break python shell scripts, 
which of course is playing havoc with portage.  Bash no longer wants to 
execute the scripts with python as the interpreter, but insists on 
executing them as bash scripts.  Python itself is still functioning 
properly, when invoked directly.   Since I happen to have ImageMagick on 
this machine, the result is this:


kut...@apollo ~ $ cat test.py
#!/usr/bin/python
import sys
print Python Ok.
kut...@apollo ~ $ ./test.py
X connection to localhost:11.0 broken (explicit kill or server shutdown).
./test.py: line 3: print: command not found
kut...@apollo ~ $ python ./test.py
Python Ok.
kut...@apollo ~ $

Perl and Tcl both still work as expected, and by invoking python 
directly I can still get portage to merge things.  For example:


r...@apollo ~ $ python -O /usr/lib/portage/bin/ebuild 
/usr/portage/dev-lang/python/python-2.6.2-r1.ebuild install


will re-merge python successfully, which I have now done for both python 
and bash, to no effect.


Any ideas?

--Mike



Re: [gentoo-user] bash stopped running python scripts...

2009-08-03 Thread Alan McKinnon
On Monday 03 August 2009 22:56:51 Mike Edenfield wrote:
 I dunno what I did, but I've managed to break python shell scripts,
 which of course is playing havoc with portage.  Bash no longer wants to
 execute the scripts with python as the interpreter, but insists on
 executing them as bash scripts.  Python itself is still functioning
 properly, when invoked directly.   Since I happen to have ImageMagick on
 this machine, the result is this:

 kut...@apollo ~ $ cat test.py
 #!/usr/bin/python
 import sys
 print Python Ok.
 kut...@apollo ~ $ ./test.py
 X connection to localhost:11.0 broken (explicit kill or server shutdown).
 ./test.py: line 3: print: command not found
 kut...@apollo ~ $ python ./test.py
 Python Ok.
 kut...@apollo ~ $

 Perl and Tcl both still work as expected, and by invoking python
 directly I can still get portage to merge things.  For example:

 r...@apollo ~ $ python -O /usr/lib/portage/bin/ebuild
 /usr/portage/dev-lang/python/python-2.6.2-r1.ebuild install

 will re-merge python successfully, which I have now done for both python
 and bash, to no effect.

 Any ideas?

 --Mike

Did you recently merge python-3 and were so foolish as to make it the 
default?

What is /usr/bin/python? and what version is it (-V)?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 3:22 PM, Grantemailgr...@gmail.com wrote:
 I know Linux systems aren't supposed to become fragmented, but I've
 also read that it can happen eventually.  I'm on ext3.  I've read that
 ext4 will have a defragmenter but that it doesn't have one yet.

It's not that they aren't supposed to become fragmented, it is that
they try to avoid it. There is a big difference, and things like
streaming writes (downloads, bittorrents, etc) can cause extreme
fragmentation.

The time-honored way of fixing this is backup, delete, restore. In
my case my simple defragmenter is to move a file to tmpfs and then
move it back to the hard drive. I always do this to files I'm about to
burn to a CD/DVD to ensure the read speed is optimal.

 Has anyone tried the shake defragmenter?

Yes, nothing has blown up yet. :)



Re: [gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Alan McKinnon
On Monday 03 August 2009 22:51:58 Thierry de Coulon wrote:
 On Monday 03 August 2009, Grant wrote:
  # df
  Filesystem   1K-blocks  Used Available Use% Mounted on
  /dev/sda3960872076 754795944 157266648  83% /

 The partition is fairly full, probably the system has a hard time finding a
 spot to create an unfragmented file. I remember I read a partition should
 not be more than 50% used, maybe I'm wrong.

Well, that is just flat out wrong and simple logic tells you why.

If it were true, you could never use more than half your disk space. So you 
buy a 1T disk to get 500G. Doesn't make sense right?

The world is full of people who talk through holes in their arses. You seem to 
have read one of their missives.

 Anyway, I would not use such a full partition for / or /home. When it
 happend I moved /usr to another partition.

You do want some breathing space, at least as big as the largest chunk of data 
the fs layer is going to move around in one operation. This of course is a 
highly variable amount. About 5% is a reasonable rule of thumb, modified by 
benchmarks you do on your own data.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Alan McKinnon
On Monday 03 August 2009 23:05:02 Paul Hartman wrote:
 On Mon, Aug 3, 2009 at 3:22 PM, Grantemailgr...@gmail.com wrote:
  I know Linux systems aren't supposed to become fragmented, but I've
  also read that it can happen eventually.  I'm on ext3.  I've read that
  ext4 will have a defragmenter but that it doesn't have one yet.

 It's not that they aren't supposed to become fragmented, it is that
 they try to avoid it. There is a big difference, and things like
 streaming writes (downloads, bittorrents, etc) can cause extreme
 fragmentation.

 The time-honored way of fixing this is backup, delete, restore. In
 my case my simple defragmenter is to move a file to tmpfs and then
 move it back to the hard drive. I always do this to files I'm about to
 burn to a CD/DVD to ensure the read speed is optimal.

Until one day someone write a super-duper disk cache algorithm that delays 
writes safely, notices that you are putting back unmodified something you just 
deleted, then reverts to be deleted flag on the block pointers. meaning that 
nothing has changed.

Lucky for us, I do not believe that such a driver has been written yet.
Unlucky for us, I believe that such a driver is entirely possible.

:-)

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: bash stopped running python scripts...

2009-08-03 Thread Remy Blank
Mike Edenfield wrote:
 I dunno what I did, but I've managed to break python shell scripts, 
 which of course is playing havoc with portage.

http://bugs.gentoo.org/show_bug.cgi?id=279915

The whole issue seems to be handled quite strangely IMO. You would think
breaking Python for all ~x86 is a major offense...

-- Remy



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: Anybody tried shake defragmenter?

2009-08-03 Thread Grant Edwards
On 2009-08-03, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Monday 03 August 2009 23:05:02 Paul Hartman wrote:

 The time-honored way of fixing this is backup, delete,
 restore. In my case my simple defragmenter is to move a file
 to tmpfs and then move it back to the hard drive. I always do
 this to files I'm about to burn to a CD/DVD to ensure the read
 speed is optimal.

 Until one day someone write a super-duper disk cache algorithm
 that delays writes safely, notices that you are putting back
 unmodified something you just deleted, then reverts to be
 deleted flag on the block pointers. meaning that nothing has
 changed.

 Lucky for us, I do not believe that such a driver has been
 written yet. Unlucky for us, I believe that such a driver is
 entirely possible.

And actually quite simple once the
content-addressable-disk-drive is invented.

-- 
Grant Edwards   grante Yow! Didn't I buy a 1951
  at   Packard from you last March
   visi.comin Cairo?




Re: [gentoo-user] bash stopped running python scripts...

2009-08-03 Thread Mike Edenfield

On 8/3/2009 5:03 PM, Alan McKinnon wrote:

On Monday 03 August 2009 22:56:51 Mike Edenfield wrote:



kut...@apollo ~ $ cat test.py
#!/usr/bin/python
import sys
print Python Ok.
kut...@apollo ~ $ ./test.py
X connection to localhost:11.0 broken (explicit kill or server shutdown).
./test.py: line 3: print: command not found
kut...@apollo ~ $ python ./test.py
Python Ok.
kut...@apollo ~ $



Did you recently merge python-3 and were so foolish as to make it the
default?


I did emerge python-3, but then unmerged it almost immediately, and it 
was never the default.  Python was already broken when I merged python 
3.1, which I did to see if it fixed anything, which of course it didn't.



What is /usr/bin/python? and what version is it (-V)?


r...@apollo ~ # /usr/bin/python -V
Python 2.6.2
r...@apollo ~ # cat /usr/bin/python
#!/bin/bash
# Gentoo Python wrapper script

[[ ${EPYTHON} =~ (/|^python$) ]]  EPYTHON=python2.6
${0%/*}/${EPYTHON:-python2.6} $@

Is that supposed to be that way?  I vaguely recall from my Tcl days that 
tclsh used to cause problems with the #! lines when it was a shell 
script, and that you had to use some odd exec trick to get tcl shell 
scripts to run.  Is that still true?


Looking back through my emerge.log it appears that the last thing to 
successfully run through emerge was eselect-python, if that makes a 
difference.


--Mike



Re: [gentoo-user] Re: bash stopped running python scripts...

2009-08-03 Thread Mike Edenfield

On 8/3/2009 5:14 PM, Remy Blank wrote:

Mike Edenfield wrote:

I dunno what I did, but I've managed to break python shell scripts,
which of course is playing havoc with portage.


http://bugs.gentoo.org/show_bug.cgi?id=279915

The whole issue seems to be handled quite strangely IMO. You would think
breaking Python for all ~x86 is a major offense...


Ah, thanks.  Usually my google searches pick up stuff from 
bugs.gentoo.org but this time it didn't, guess it was too new :\


And yes, reverting /usr/bin/python to a symlink instead of a shell 
script does solve the problem.  I'll just follow the bug for now and 
mask off eselect-python.


--Mike



[gentoo-user] Re: Python 2.4.6 getting pulled in

2009-08-03 Thread Chris Lieb
On 8/3/2009 1:28 PM, Chris Lieb wrote:
 On 8/3/2009 10:14 AM, walt wrote:
 On 08/03/2009 07:03 AM, Chris Lieb wrote:
 On 8/3/2009 8:56 AM, Chris Lieb wrote:
 I have been running Python 2.5* on my Gentoo system ever since it went
 stable x86.  Today I ran an `emerge --update --deep --newuse
 --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
 into a new slot.  I have no idea why an old version of python is being
 pulled in since python is showing up at the root of a dependency tree,
 marked in bold (I'm pretty sure that means it's pulled in from world).

 I can't for the life of me find any package that requires python that
 forces version 2.4.6 or2.5.  I have Django installed, which requires
 =python-2.5[sqlite], but I have the sqlite use flag enabled on my
 current install of Python.  No combination of equery depends and
 qdepends will show me any packages that would be pulling in this old
 Python.

 Does anyone know what might be pulling in this old python?

 Thanks,
 Chris

 A little more digging (ie, masking Python2.5 and watching the carnage)
 revealed that the culprit is the new django-1.0.3.  The diff for the
 DEPEND and RDEPEND is:

   RDEPEND=dev-python/imaging
  sqlite? ( || (
 +=dev-lang/python-2.5[sqlite] )
  ( dev-python/pysqlite:2dev-lang/python-2.5 )
 -=dev-lang/python-2.5[sqlite] ) )
 -   test? ( || (
 -   ( dev-python/pysqlite:2dev-lang/python-2.5 )
 -=dev-lang/python-2.5[sqlite] ) )
 +   )
  postgres? ( dev-python/psycopg )
  mysql? (=dev-python/mysql-python-1.2.1_p2 )
   DEPEND=${RDEPEND}
 -   doc? (=dev-python/sphinx-0.3 )
 +   doc? (=dev-python/sphinx-0.3 )
 +   test? ( || (
 +=dev-lang/python-2.5[sqlite] )
 +   ( dev-python/pysqlite:2dev-lang/python-2.5 )
 +   )

 Does anyone know why these changes would causepython-2.5 to get pulled
 in when I already have python-2.5[sqlite] installed?

 Frankly, no.  But have you run python-updater yet?  Is there anything left
 in /usr/lib/python2.4?  Are /usr/bin/python and /usr/bin/python2 both
 pointing to /usr/bin/python2.5?

 Maybe try re-emerging those dependencies that you already have installed?
 Does eselect python list show anything unexpected?
 
 I upgraded these systems right after python 2.5 went stable, complete
 with python-updater.  Looking around confirms this as `eselect python
 list` shows only python 2.5, there is no python2.4 directory on my
 system anywhere, and /usr/bin/python and /usr/bin/python2 both point to
 /usr/bin/python2.5.  I'm starting a run of `python-updater -o 2.5` to
 cause all python-touching packages to re-merge, though I doubt that will
 fix anything.

A full remerge of all Python-touching packages did not fix it.  I ended
up creating my own ebuild for django-1.0.3 by taking the 1.0.3 ebuild
and replacing the dependency section with that of the 1.0.2-r1, which
worked beautifully.




Re: [gentoo-user] Re: make.conf MAKEOPTS=-j2

2009-08-03 Thread Neil Bothwick
On Mon, 03 Aug 2009 17:16:18 +0300, Nikos Chantziaras wrote:

 So my advice for others is to not take Walter's advice and use -j1 
 because it doesn't slow down the emerge that much.  It can slow it 
 down. Up to four times slower.

Personaly, I've never had an ebuild fail due to setting MAKEOPTS=-j1 but
if you want to set -j1 in make.conf, you can regain a significant part of
the time loss, by running emerge with --jobs=2 (or more) to run multiple
compiles in parallel while keeping each package's compilation
single-threaded. 


-- 
Neil Bothwick

Did you know that eskimos have 17 different words for linguist?


signature.asc
Description: PGP signature


Re: [gentoo-user] bash stopped running python scripts...

2009-08-03 Thread Alan McKinnon
On Monday 03 August 2009 23:22:08 Mike Edenfield wrote:
 On 8/3/2009 5:03 PM, Alan McKinnon wrote:
  On Monday 03 August 2009 22:56:51 Mike Edenfield wrote:
  kut...@apollo ~ $ cat test.py
  #!/usr/bin/python
  import sys
  print Python Ok.
  kut...@apollo ~ $ ./test.py
  X connection to localhost:11.0 broken (explicit kill or server
  shutdown). ./test.py: line 3: print: command not found
  kut...@apollo ~ $ python ./test.py
  Python Ok.
  kut...@apollo ~ $
 
  Did you recently merge python-3 and were so foolish as to make it the
  default?

 I did emerge python-3, but then unmerged it almost immediately, and it
 was never the default.  Python was already broken when I merged python
 3.1, which I did to see if it fixed anything, which of course it didn't.

  What is /usr/bin/python? and what version is it (-V)?

 r...@apollo ~ # /usr/bin/python -V
 Python 2.6.2
 r...@apollo ~ # cat /usr/bin/python
 #!/bin/bash
 # Gentoo Python wrapper script

 [[ ${EPYTHON} =~ (/|^python$) ]]  EPYTHON=python2.6
 ${0%/*}/${EPYTHON:-python2.6} $@

 Is that supposed to be that way?  I vaguely recall from my Tcl days that
 tclsh used to cause problems with the #! lines when it was a shell
 script, and that you had to use some odd exec trick to get tcl shell
 scripts to run.  Is that still true?

I have the identical file, it works here. 

 Looking back through my emerge.log it appears that the last thing to
 successfully run through emerge was eselect-python, if that makes a
 difference.

Your original post has a X connection to localhost:11.0 broken error, 
which is mighty unusual. The error is common enough, but has nothing to do 
with python.

Try some brief out-of-the-box tests:

1. Does test.py run OK from a virtual console?
2. Have you logged out and back in to X since merging python?
3. Have you re-merged python-2.6 just in case your sys lib is damaged?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 4:33 PM, Dalerdalek1...@gmail.com wrote:
 Paul Hartman wrote:
 On Mon, Aug 3, 2009 at 3:22 PM, Grantemailgr...@gmail.com wrote:

 Has anyone tried the shake defragmenter?


 Yes, nothing has blown up yet. :)




 I used it a while back but couldn't really see a whole lot of
 difference.  The numbers said it helped but not much else changed.  I
 think logging into KDE was a little faster is about all.  I'm with Alan
 on this one.  It just doesn't get fragmented like windoze does.

I think it really depends on the situation. For example I have a fast
connection (20 megabit) so to maximize it I will often have several
downloads in parallel, which causes files to be very fragmented. I
have experienced a noticeable slowdown reading really fragmented files
(2 or 3Mbyte/sec, when normal reads are around 45Mbyte/sec). At speeds
that slow it can be slower than the burn speed of a DVD, which is not
good, and it just slows everything down in gernal.

Small files (less than 1 megabyte) are rarely fragmented and even when
they are, it isn't going to have any significant effect on
performance.

I would defrag large files or files that are downloaded/appended, such
as /usr/portage/distfiles and /var/log. If you're dealing with large
digital camera pictures, audio or video then I would definitely defrag
those files. Everything else in /usr/bin and so on are probably not
fragmented to begin with since the files are are written at-once and
whole when you emerge packages.



Re: [gentoo-user] Re: Anybody tried shake defragmenter?

2009-08-03 Thread Alan McKinnon
On Monday 03 August 2009 23:16:05 Grant Edwards wrote:
 On 2009-08-03, Alan McKinnon alan.mckin...@gmail.com wrote:
  On Monday 03 August 2009 23:05:02 Paul Hartman wrote:
  The time-honored way of fixing this is backup, delete,
  restore. In my case my simple defragmenter is to move a file
  to tmpfs and then move it back to the hard drive. I always do
  this to files I'm about to burn to a CD/DVD to ensure the read
  speed is optimal.
 
  Until one day someone write a super-duper disk cache algorithm
  that delays writes safely, notices that you are putting back
  unmodified something you just deleted, then reverts to be
  deleted flag on the block pointers. meaning that nothing has
  changed.
 
  Lucky for us, I do not believe that such a driver has been
  written yet. Unlucky for us, I believe that such a driver is
  entirely possible.

 And actually quite simple once the
 content-addressable-disk-drive is invented.

We tried that already, it was called WinFS.

Unfortunately, it was an idea ahead of it's time and technology was not quite 
ready for it yet :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] bash stopped running python scripts...

2009-08-03 Thread Mike Edenfield

On 8/3/2009 5:48 PM, Alan McKinnon wrote:

On Monday 03 August 2009 23:22:08 Mike Edenfield wrote:

On 8/3/2009 5:03 PM, Alan McKinnon wrote:

On Monday 03 August 2009 22:56:51 Mike Edenfield wrote:

kut...@apollo ~ $ cat test.py
#!/usr/bin/python
import sys
print Python Ok.
kut...@apollo ~ $ ./test.py
X connection to localhost:11.0 broken (explicit kill or server
shutdown). ./test.py: line 3: print: command not found
kut...@apollo ~ $ python ./test.py
Python Ok.
kut...@apollo ~ $


Did you recently merge python-3 and were so foolish as to make it the
default?


I did emerge python-3, but then unmerged it almost immediately, and it
was never the default.  Python was already broken when I merged python
3.1, which I did to see if it fixed anything, which of course it didn't.


What is /usr/bin/python? and what version is it (-V)?


r...@apollo ~ # /usr/bin/python -V
Python 2.6.2
r...@apollo ~ # cat /usr/bin/python
#!/bin/bash
# Gentoo Python wrapper script

[[ ${EPYTHON} =~ (/|^python$) ]]  EPYTHON=python2.6
${0%/*}/${EPYTHON:-python2.6} $@

Is that supposed to be that way?  I vaguely recall from my Tcl days that
tclsh used to cause problems with the #! lines when it was a shell
script, and that you had to use some odd exec trick to get tcl shell
scripts to run.  Is that still true?


I have the identical file, it works here.


That's very odd, as everything I've read over the past hour indicates 
that it's not *supposed* to work if you put a shell script in that line, 
but that's clearly not always true.


What's the #! line in your /usr/bin/emerge file?


Your original post has a X connection to localhost:11.0 broken error,
which is mighty unusual. The error is common enough, but has nothing to do
with python.


I know where that particular error is coming from.  The first 
non-comment line in /usr/bin/emerge is import sys.  Since bash is 
interpreting the script instead of python, when it gets to that line, it 
runs ImageMagick's import command.  It just indicates that bash 
ignored the #! line and kept going.


The bug Remy sent me to did have two working solutions: replacing the 
shell script with a symlink, or replacing #!/usr/bin/python with 
#!/usr/bin/env python in emerge/ebuild, both of which point the #! 
line at a real executable.  I'm now curious why that shell script works 
for anyone.


--Mike



Re: [gentoo-user] Remove stranded gcc-config's?

2009-08-03 Thread Mark Knecht
On Mon, Aug 3, 2009 at 1:22 PM, Willie Wongww...@math.princeton.edu wrote:
 On Mon, Aug 03, 2009 at 01:03:39PM -0700, Penguin Lover Mark Knecht squawked:
 dragonfly ~ # emerge -Cp =cat/pack-ver
 !!! '=cat/pack-ver' is not a valid package atom.
 !!! Please check ebuild(5) for full details.
 dragonfly ~ #

 dragonfly ~ # eix pack-ver
 No matches found.
 dragonfly ~ #

 The OP meant cat as in category, pack as in package name and ver
 as in version. You are supposed to supply the correct package and
 version and category for the command.

 For example, to unmerge gcc-4.3.0 would be

 emerge --unmerge =sys-devel/gcc-4.3.0

 substitute the package you want to remove as applicable.

 W

Please Willie, that's too obvious and was attempted before I posted
the first time. ;-)

I repeat that the suggestion from Jacob doesn't work:

dragonfly ~ # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.3
 [2] i686-pc-linux-gnu-3.4.4
 [3] i686-pc-linux-gnu-3.4.4-hardened
 [4] i686-pc-linux-gnu-3.4.4-hardenednopie
 [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [6] i686-pc-linux-gnu-3.4.4-hardenednossp
 [7] i686-pc-linux-gnu-4.3.2 *
dragonfly ~ # emerge -Cp =sys-devel/gcc-3.4.4

 These are the packages that would be unmerged:

--- Couldn't find '=sys-devel/gcc-3.4.4' to unmerge.

 No packages selected for removal by unmerge
dragonfly ~ # emerge -Cp =sys-devel/gcc-3.3.3

 These are the packages that would be unmerged:

--- Couldn't find '=sys-devel/gcc-3.3.3' to unmerge.

 No packages selected for removal by unmerge
dragonfly ~ #

Again as history, I first noticed this issue when emerging gcc-4.3.2.
I had 4.1.2 on the system, in use, as well as these old line items in
gcc-config. Once I had rebuilt the system with 4.3.2 I did an emerge
-C =sys-devel/gcc-4.1.2 and got rid of that one both from the system
and this list, but this thread was about 'stranded' options which are
the 3.3.3 and 3.4.4 selections.

Are these options held in a file somewhere that can be edited by hand?
Is there some option to gcc-config that can clean them up?

Thanks,
Mark



[gentoo-user] emerge mythtv fails

2009-08-03 Thread Shawn Haggett
Some recent updates have broken my mythtv (missing libraries) so I'm of course 
trying to recompile it. Whenever I try however, the following happens:

sgc ~ # emerge -va mythtv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] media-tv/mythtv-0.21_p18314-r1  USE=aac alsa dvd ieee1394 mmx 
opengl perl python xvmc 
(-altivec) -autostart -debug -directv -dvb -fftw -jack -lcd -lirc 
VIDEO_CARDS=nvidia 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

 Verifying ebuild manifests

 Emerging (1 of 1) media-tv/mythtv-0.21_p18314-r1
 * mythtv-0.21_p18314.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...[ 
ok ]
 * checking ebuild checksums ;-) ... [ 
ok ]
 * checking auxfile checksums ;-) ...[ 
ok ]
 * checking miscfile checksums ;-) ...   [ 
ok ]
 * This ebuild now uses a heavily stripped down version of your CFLAGS
 *
 * For NVIDIA based cards, the XvMC renderer only works on
 * the NVIDIA 4, 5, 6  7 series cards.
 Unpacking source...
 Unpacking mythtv-0.21_p18314.tar.bz2 
to /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work
/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment: line 3924: 
cd: 
/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv:
 
No such file or directory
sed: can't 
read 
/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv/version.pro:
 
No such file or directory
 *
 * ERROR: media-tv/mythtv-0.21_p18314-r1 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_unpack
 * environment, line 3925:  Called die
 * The specific snippet of code:
 *   sed -e s:\`(svnversion \$\${SVNTREEDIR} 2\/dev\/null) || echo 
Unknown\`:${MYTHTV_REV}: -i ${S}/version.pro || die svnversion sed 
failed;
 *  The die message:
 *   svnversion sed failed
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located 
at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log'.
 * The ebuild environment file is located 
at '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment'.
 *

 Failed to emerge media-tv/mythtv-0.21_p18314-r1, Log file:

  '/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/build.log'
sgc ~ # 


The error seems to be in the line: 
/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment: line 3924: 
cd: 
/var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-21-fixes/mythtv:
 
No such file or directory

There's a folder missing somewhere, and when I look, sure enough:

sgc ~ # ls /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/
mythtv-0.21_p18314
sgc ~ #  

It seems the work folder has a 'mythtv-0.21_p18314' folder, which has the 
branches folder inside that.

This has been broken for over a week now (normally I just wait, resync and 
these things go away if they're an ebuild problem) but I'm starting to think 
it's a problem on my end. Anyone have any suggestions on how to track down 
where the error is coming from. It the environment file, but I'm not sure if 
that's a distributed file, or generated by portage (I suspect the later). So 
where does that file get its contents from?

Thanks
Shawn



[gentoo-user] Re: Remove stranded gcc-config's?

2009-08-03 Thread walt

On 08/03/2009 03:51 PM, Mark Knecht wrote:


Again as history, I first noticed this issue when emerging gcc-4.3.2.
I had 4.1.2 on the system, in use, as well as these old line items in
gcc-config. Once I had rebuilt the system with 4.3.2 I did an emerge
-C =sys-devel/gcc-4.1.2 and got rid of that one both from the system
and this list, but this thread was about 'stranded' options which are
the 3.3.3 and 3.4.4 selections.

Are these options held in a file somewhere that can be edited by hand?
Is there some option to gcc-config that can clean them up?


Have a look in /etc/env.d/gcc/ and /usr/libexec/gcc/ and /usr/lib/gcc/
for any old files or directories that shouldn't be there. Particular
attention to /etc/env.d/gcc.





Re: [gentoo-user] Re: Remove stranded gcc-config's?

2009-08-03 Thread Mark Knecht
On Mon, Aug 3, 2009 at 4:35 PM, waltw41...@gmail.com wrote:
 On 08/03/2009 03:51 PM, Mark Knecht wrote:

 Again as history, I first noticed this issue when emerging gcc-4.3.2.
 I had 4.1.2 on the system, in use, as well as these old line items in
 gcc-config. Once I had rebuilt the system with 4.3.2 I did an emerge
 -C =sys-devel/gcc-4.1.2 and got rid of that one both from the system
 and this list, but this thread was about 'stranded' options which are
 the 3.3.3 and 3.4.4 selections.

 Are these options held in a file somewhere that can be edited by hand?
 Is there some option to gcc-config that can clean them up?

 Have a look in /etc/env.d/gcc/ and /usr/libexec/gcc/ and /usr/lib/gcc/
 for any old files or directories that shouldn't be there. Particular
 attention to /etc/env.d/gcc.

Thanks Walt. slocate 3.3.3/3.4.4 sort of spreads out across the system
and shows a lot of stuff that probably shouldn't be around anymore.
/etc/env.d/gcc looks like the list of things I want to get rid of.
I'll try to double check against a system that's not having this
problem and experiement a bit with just deleting this stuff. (After
doing some backups first.)

Cheers,
Mark



Re: [gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Grant
 I know Linux systems aren't supposed to become fragmented, but I've
 also read that it can happen eventually.  I'm on ext3.  I've read that
 ext4 will have a defragmenter but that it doesn't have one yet.

 It's not that they aren't supposed to become fragmented, it is that
 they try to avoid it. There is a big difference, and things like
 streaming writes (downloads, bittorrents, etc) can cause extreme
 fragmentation.

Yeah, that's when I'm hearing the HD access I didn't hear before.  I
run miro and it's downloading several torrents all the time.  It never
made a sound before, but now there's a rhythmic grinding sound when
miro is running, maybe because the HD is more full now.  Could shake
help with this?  To find out, should I be running it on the partially
downloaded torrents?

- Grant


 The time-honored way of fixing this is backup, delete, restore. In
 my case my simple defragmenter is to move a file to tmpfs and then
 move it back to the hard drive. I always do this to files I'm about to
 burn to a CD/DVD to ensure the read speed is optimal.

 Has anyone tried the shake defragmenter?

 Yes, nothing has blown up yet. :)



Re: [gentoo-user] emerge mythtv fails

2009-08-03 Thread Alex Schuster
Shawn Haggett writes:

 Some recent updates have broken my mythtv (missing libraries) so I'm of
 course trying to recompile it. Whenever I try however, the following
 happens:

 sgc ~ # emerge -va mythtv
[...]
 /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/temp/environment: line
 3924: cd:
 /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-2
1-fixes/mythtv: No such file or directory
 sed: can't
 read
 /var/tmp/portage/media-tv/mythtv-0.21_p18314-r1/work/branches/release-0-2
1-fixes/mythtv/version.pro: No such file or directory

[...]
 It seems the work folder has a 'mythtv-0.21_p18314' folder, which has the
 branches folder inside that.

 This has been broken for over a week now (normally I just wait, resync
 and these things go away if they're an ebuild problem) but I'm starting
 to think it's a problem on my end. Anyone have any suggestions on how to
 track down where the error is coming from. It the environment file, but
 I'm not sure if that's a distributed file, or generated by portage (I
 suspect the later). So where does that file get its contents from?

I just had the same problem with a fresh install of mythtv. I tried other 
versions, 0.21_p19961-r2 showed the same problem, but 0.21_p20877 did 
compile. So give that one a try.

No idea where the exact problem lies, I did not even use mythtv yet. Other 
things to do first.

Wonko



Re: [gentoo-user] emerge mythtv fails

2009-08-03 Thread Stroller


On 4 Aug 2009, at 00:07, Shawn Haggett wrote:

...
This has been broken for over a week now (normally I just wait,  
resync and
these things go away if they're an ebuild problem) but I'm starting  
to think

it's a problem on my end.


I don't yet use MythTV myself, but had reason to investigate it again  
this week.


I saw this mentioned on the MythTV-users list (probably a more useful  
resource for you than this list, TBH). Perhaps you may find it useful:


http://wiki.github.com/MarcT/mt-mythtv

Stroller.





Re: [gentoo-user] emerge mythtv fails

2009-08-03 Thread Brandon Vargo
On Tue, 2009-08-04 at 08:37 +0930, Shawn Haggett wrote:
 This has been broken for over a week now (normally I just wait, resync
 and these things go away if they're an ebuild problem) but I'm
 starting to think it's a problem on my end. Anyone have any
 suggestions on how to track down where the error is coming from. It
 the environment file, but I'm not sure if that's a distributed file,
 or generated by portage (I suspect the later). So where does that file
 get its contents from?

I ran into this same problem approximately two weeks ago on my amd64 box
with the same version. I also needed to rebuild mythtv due to a library
upgrade. I originally thought that the problem arose when the ebuild
switched from using a SVN checkout to a tarball download. However, the
changelog shows that this happened on March 2nd, but I successfully
emerged mythtv-0.21_p18314-r1 on April 24th.

I upgraded mythtv to 0.21_p20877. It builds correctly on my system and
also corrects an issue I was having with the backend process
occasionally segfaulting when the frontend exited. Sorry I do not know
how to fix this particular issue, but so far 0.21_p20877 has been
working great for me on amd64 after a few days of light usage.

Regards,

Brandon Vargo




[gentoo-user] glxinfo not found

2009-08-03 Thread Kevin O'Gorman
The Gentoo page http://www.gentoo.org/doc/en/dri-howto.xml calls for
the use of a utility called glxinfo.  It does not exist on my system,
and I have been unable to determine what needs to be emerged for it to
appear.

Anybody who has it, please tell me what package it belongs to.

TIA

++ kevin

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] Anybody tried shake defragmenter?

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 6:48 PM, Grantemailgr...@gmail.com wrote:
 I know Linux systems aren't supposed to become fragmented, but I've
 also read that it can happen eventually.  I'm on ext3.  I've read that
 ext4 will have a defragmenter but that it doesn't have one yet.

 It's not that they aren't supposed to become fragmented, it is that
 they try to avoid it. There is a big difference, and things like
 streaming writes (downloads, bittorrents, etc) can cause extreme
 fragmentation.

 Yeah, that's when I'm hearing the HD access I didn't hear before.  I
 run miro and it's downloading several torrents all the time.  It never
 made a sound before, but now there's a rhythmic grinding sound when
 miro is running, maybe because the HD is more full now.  Could shake
 help with this?  To find out, should I be running it on the partially
 downloaded torrents?

Well, bittorent does not download in sequential order, so it is
constantly doing random reads and writes. You may not be able to avoid
the HD grinding during this kind of activity. Download to a RAM drive
or SSD or something perhaps.

Fragmentation definitely gets worse the nearer you are to full (which
for me is always). I have seen very small files with hundreds of
fragments as I live at 99% of my space used. They say a hard drive has
2 states: new and full :)

It certainly wouldn't hurt to defrag the partial files, though you may
want to pause your download before doing it (I don't know how much
locking/blocking may occur on in-use files). Some bittorrent clients
have an option to write a placeholder file; this is supposed to
prevent fragmentation since it's allocating the space for the whole
file immediately. Vuze is what I use, it calls this option allocate
and zero new files on creation. The down-side is it could take a
while to initialize if you're downloading something huge, especially
if you're saving to a network or USB hard drive that's not very fast.



Re: [gentoo-user] glxinfo not found

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 7:54 PM, Kevin O'Gormankogor...@gmail.com wrote:
 The Gentoo page http://www.gentoo.org/doc/en/dri-howto.xml calls for
 the use of a utility called glxinfo.  It does not exist on my system,
 and I have been unable to determine what needs to be emerged for it to
 appear.

 Anybody who has it, please tell me what package it belongs to.

It is in x11-apps/mesa-progs