[gentoo-user] Problem with Portage profile override

2010-02-21 Thread hb-xxl
Hi!

I do have a problem using /etc/portage/profile/package.provided. At
first I added some other packages to this file and got the expected
functionality. Then I added sys-apps/busybox-1.16 to package.provided.
It works and portage detects the entry on an emerge, but it prints a big
fat warning, that busybox has been excluded and suggests deleting from
worlds file or removing from the package.provided file. But busybox
isn't in the worlds file. And removing it from the package.provided
files leeds to emerge trying to install busybox 1.15.3 which conflicts
with my manual installation of busybox 1.16.0 (or daily snapshot).

How is it possible to disable this warning message from emerge, because
it's half a screen full of text on every merge and scrolls off a lot of
other wanted information from the screen?

If any additional Information required please feel free to ask. I'm new
to gentoo and portage but otherwise a C programmer and more or less an
linux expert.

Thx for your help.

Harald




Re: [gentoo-user] recovering RAID from an old server

2010-02-21 Thread Andrea Conti
 Agreed, however Iain also said that he tried to mount individual
 partitions and this failed. This should work with RAID1

Only if you force the filesystem type (i.e. mount -t xxx, or use
mount.xxx directly).

However, while I know this works with ext2/ext3/ext4, I have no idea if
xfs is also smart enough to ignore the raid superblock and mount the
filesystem anyway in this case.

andrea



Re: [gentoo-user] Amarok won't play my mp3's anymore

2010-02-21 Thread Dan Johansson
On Saturday 20 February 2010 18.57:20 Stroller wrote:
 On 20 Feb 2010, at 16:45, Dan Johansson wrote:
  ...
  If I start Amarok with the --debug flag I see the following output:
  --8
  -
  amarok:   [EngineController] [WARNING!] Phonon failed to play this
  URL. Error:
 
  17:24:15: input_file: File not found:
  file:///var/Music/mp3/Wilmer%20X/Den%20bl%C3%83%C2%A5%20v%C3%83%C2%A4gen
 %20hem%20-%20En%20samling/06%20-%20Teddys%20rum.mp3 
 
  
  --8
  -
 
  The file is there:
  $ ll /var/Music/mp3/Wilmer\ X/Den\ blå\ vägen\ hem\ -\ En\ samling/
  06\ -\
  Teddys\ rum.mp3
  -rwxr--r-- 1 dan users 5645291 Jul  2  2002 /var/Music/mp3/Wilmer X/
  Den bl??
  v??gen hem - En samling/06 - Teddys rum.mp3
 
 Have you even tried copying this file to the current working directory
 and naming it with no non-English characters?
 
 Try a foo.mp3 file with no tags. Does it work?
Playing a mp3-file containing no non-ascii characters works OK, but as soon as 
Amarok tries to play a file containing UTF8 characters it fails. I have found 
the following KDE bug https://bugs.kde.org/show_bug.cgi?id=198008 which is the 
same problem as I have. I am now playing with convmv to see if changing the 
encoding to/from UTF8 changes anything.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] [X11] radeonhd not working

2010-02-21 Thread pk
Andrey Vul wrote:

 According to git, all the r7xx except for rs880 are on the
 working/testing list. Which sucks, tbh: why did I bother to get
 integrated when I could've gotten a better motherboard (with 1394
 support) and a $50 graphics card?

According to this RS880 should be supported but I don't know how much
works:
http://www.x.org/wiki/radeonhd#RecentChanges

 What's the point of getting acceleration to work if the kernel can't
 modeset correctly? Is it worth compiling radeon_drm + r700 fw into the
 kernel?

You could always ask for support on xorg mailing list. Or open a bug
report if you think your specific chipset isn't working. I would
recommend to put up as much information (kernel logs, xorg logs, chipset
pci ID etc.) as possible and not cut away such info that you think/deem
unnecessary.

Best regards

Peter K





[gentoo-user] MySQL 5.1 and Amarok

2010-02-21 Thread Nikos Chantziaras
It's not possible to use Amarok with the embedded USE flag with the 
newly released MySQL 5.1.  Why is that?  Can we expect it to work at 
some point?





Re: [gentoo-user] recovering RAID from an old server

2010-02-21 Thread Iain Buchanan
On Sat, 2010-02-20 at 16:22 +0100, Andrea Conti wrote:

 AFAICT this is all you need to know -- you definitely have two software
 (mdraid) RAID 1 volumes:
 
 md100 with hda2, hde2 and hdg2 as members
 md101 with hda5, hde5 and hdg5 as members
 
 Both arrays seem to have lost a member (I guess hdc2 and hdc5 respectively).
 
 Honestly I don't know what is the point of running RAID1 volumes with
 four mirrors, but that seems to be the way it was configured.

strange, I'm pretty sure I didn't configure it like this - however it
has an inbuilt snapshot feature so maybe that's what the mirrors are
for...

I'm having some luck chasing up the original CDs so I think I'll try
that first.

thanks :)
-- 
Iain Buchanan iaindb at netspace dot net dot au

If it smells it's chemistry, if it crawls it's biology, if it doesn't work
it's physics.




[gentoo-user] how to emerge mldonkey?

2010-02-21 Thread Xi Shen
hi,

i got a wired problem. when i was trying to emerge net-p2p/mldonkey,
the process hanged at this step:


 Checking Ocaml compiler.

checking for ocamlc.opt... /usr/bin/ocamlc.opt
checking for x86_64-pc-linux-gnu-ocamlc... /usr/bin/ocamlc.opt
checking for camlp4... /usr/bin/camlp4
Need build
  Objective-Caml 3.10 is required  *
***  Check http://caml.inria.fr/  
Do you want this script to try to download and install ocaml
LOCALLY in mldonkey directory ?


i tried to type 'y'/'yes' and press enter, but it takes no effect.
what should i do? i never got questioned when emerging something.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



[gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation

2010-02-21 Thread Mick
I know that some of you have been using reiser4 for some years now.
How does it compare in performance and reliability in terms to
reiserfs and xfs?

A few years ago I remember there were problems compiling or running
some applications/libraries on reiser4 - are these problems now over?
Any gotchas?

-- 
Regards,
Mick



Re: [gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation

2010-02-21 Thread Volker Armin Hemmann
On Sonntag 21 Februar 2010, Mick wrote:
 I know that some of you have been using reiser4 for some years now.
 How does it compare in performance and reliability in terms to
 reiserfs and xfs?
 
they don't even come close in performance. XFS sucks with files who are not 
multi megabyte in size.

 A few years ago I remember there were problems compiling or running
 some applications/libraries on reiser4 - are these problems now over?
 Any gotchas?

a lng time ago there was a bug when compiling kde and without compression. 
Fixed shortly afterwards, never had a problem again.




Re: [gentoo-user] how to emerge mldonkey?

2010-02-21 Thread Volker Armin Hemmann
On Sonntag 21 Februar 2010, Xi Shen wrote:
 hi,
 
 i got a wired problem. when i was trying to emerge net-p2p/mldonkey,
 the process hanged at this step:
 
 
  Checking Ocaml compiler.
 
 checking for ocamlc.opt... /usr/bin/ocamlc.opt
 checking for x86_64-pc-linux-gnu-ocamlc... /usr/bin/ocamlc.opt
 checking for camlp4... /usr/bin/camlp4
 Need build
   Objective-Caml 3.10 is required  *
 ***  Check http://caml.inria.fr/  
 Do you want this script to try to download and install ocaml
 LOCALLY in mldonkey directory ?
 
 
 i tried to type 'y'/'yes' and press enter, but it takes no effect.

you were lucky. Never let some stupid package install some stuff.

 what should i do? i never got questioned when emerging something.

emerge dev-lang/ocaml



Re: [gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation

2010-02-21 Thread Mick
On 21 February 2010 14:03, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
 On Sonntag 21 Februar 2010, Mick wrote:
 I know that some of you have been using reiser4 for some years now.
 How does it compare in performance and reliability in terms to
 reiserfs and xfs?

 they don't even come close in performance. XFS sucks with files who are not
 multi megabyte in size.

 A few years ago I remember there were problems compiling or running
 some applications/libraries on reiser4 - are these problems now over?
 Any gotchas?

 a lng time ago there was a bug when compiling kde and without compression.
 Fixed shortly afterwards, never had a problem again.

Thanks Volker for a prompt reply.  Is reiser4 still being developed,
or is Linux now moving towards ext4?

Some googling has shown me that reiser4 gives better performance than
ext4, although not across the board.
-- 
Regards,
Mick



Re: [gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation

2010-02-21 Thread Volker Armin Hemmann
On Sonntag 21 Februar 2010, Mick wrote:
 On 21 February 2010 14:03, Volker Armin Hemmann
 
 volkerar...@googlemail.com wrote:
  On Sonntag 21 Februar 2010, Mick wrote:
  I know that some of you have been using reiser4 for some years now.
  How does it compare in performance and reliability in terms to
  reiserfs and xfs?
  
  they don't even come close in performance. XFS sucks with files who are
  not multi megabyte in size.
  
  A few years ago I remember there were problems compiling or running
  some applications/libraries on reiser4 - are these problems now over?
  Any gotchas?
  
  a lng time ago there was a bug when compiling kde and without
  compression. Fixed shortly afterwards, never had a problem again.
 
 Thanks Volker for a prompt reply.  Is reiser4 still being developed,
 or is Linux now moving towards ext4?

linux is moving toward btrfs. ext4 is just a stop gap measure. One that is 
only a good alternative if you don't care about your data.

btw, the one point that kept resier4 out was 'layer violations'. 
Interesstingly btrfs is nothing but a huge 'violation' ...

And yes, Edward is still working on it.




Re: [gentoo-user] how to emerge mldonkey?

2010-02-21 Thread Crístian Viana
then how was this ebuild (net-p2p/mldonkey-3.0.0) considered stable?

On Sun, Feb 21, 2010 at 11:05 AM, Volker Armin Hemmann 
volkerar...@googlemail.com wrote:

 On Sonntag 21 Februar 2010, Xi Shen wrote:
  hi,
 
  i got a wired problem. when i was trying to emerge net-p2p/mldonkey,
  the process hanged at this step:
  
  
   Checking Ocaml compiler.
  
  checking for ocamlc.opt... /usr/bin/ocamlc.opt
  checking for x86_64-pc-linux-gnu-ocamlc... /usr/bin/ocamlc.opt
  checking for camlp4... /usr/bin/camlp4
  Need build
    Objective-Caml 3.10 is required  *
  ***  Check http://caml.inria.fr/  
  Do you want this script to try to download and install ocaml
  LOCALLY in mldonkey directory ?
  
 
  i tried to type 'y'/'yes' and press enter, but it takes no effect.

 you were lucky. Never let some stupid package install some stuff.

  what should i do? i never got questioned when emerging something.

 emerge dev-lang/ocaml




-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil


Re: [gentoo-user] how to emerge mldonkey?

2010-02-21 Thread Volker Armin Hemmann
On Sonntag 21 Februar 2010, Crístian Viana wrote:
 then how was this ebuild (net-p2p/mldonkey-3.0.0) considered stable?

a) LTQ
b) read the ebuild

thank you.





[gentoo-user] Xmonad, beagle-search, and mime types

2010-02-21 Thread Damian
Hello,

I don't consider myself a smart person. Even my mom used to say that I
wasn't so bright. But still, should this be so damn difficult?

'beagle-search' is a front end for the beagle desktop search engine.
When you issue a query, the application shows you icons (which
represent files) with the result of the query. If you click on the
icon, the file will be opened with the default application. The
problem is that I cannot set the default application by any means. For
instance I would like to open jpeg image files using geeqie.

I've failed miserably in trying to associate filetypes to
applications, using beagle search. The application beagle-search uses
xdg-open to open applications. If a filetype has no application
associated, then the default handler is firefox (don't ask me why).

So I tried to see how xdg-open works, but the man page didn't give me
any useful information. The related command, xdg-mime, doesn't work as
I expected.

I've created a file called geeqie.desktop in the directory
/home/damian/.local/share/applications with the following contents:
 [Desktop Entry]
 Encoding=UTF-8
 Name=Geeqie
 Exec=geeqie
 MimeType=image/jpeg
 Icon=exec
 NoDisplay=true

Then I've tried to associate geeqie with jpeg files by running:
   xdg-mime default geeqie.desktop image/jpeg

The command terminates successfully, and after running
   xdg-mime query default image/jpeg
I get as output geeqie.desktop.

But xdg-open (and therefore beagle-search) still refuses to open jpeg
images with geeqie.

Any ideas?

Thanks in advance.



Re: [gentoo-user] Resizing ntfs creates a hidden partition

2010-02-21 Thread Mick
On Saturday 20 February 2010 13:59:38 Stefan Schulte wrote:
 Hi Mick,
 
 AFAIK the asterisk behind the partition just indicates, that it is not
 aligned to a cylinder boundary. I think this doesnt have any effect (or
 maybe some old OS like DOS depend on it). If you use cfdisk for
 partitioning you can avoid that by given the space in c(ylinders). e.g.
 New Partition with a size of '100c'.
 
 I guess your hidden partition has something to do with Windows
 behaviour, because if you install Windows and create partitions during
 the installation process, it also creates an extra 8MB partition.
 Maybe gparted adopted that behaviour.
 
 But I can't tell you the reason why. Some people say it's for temp data
 (which I doubt) and others say it's used to store metadatas if the user
 decides to use flexible disks or software RAIDs.
 
 I just can say that windows is running fine without it on my computer,
 because i decided to partition with cfdisk before running the
 installation.

Thank you both for your responses.  I failed to notice that gparted now has a 
handy 'align on cylinder' tick box.  That's what I think shifts partitions 
along until there is alignment with the cylinder boundary.
-- 
Regards,
Mick



[gentoo-user] gnupg fails to decrypt on kmail

2010-02-21 Thread Mick
Yesterday I updated my system and after a series of:

 revdep-rebuild --library libjpeg.so.7

and

 revdep-rebuild -v -i
 
I thought all was good to go.  Unfortunately, I now noticed that I cannot open 
encrypted messages anymore and signing mail fails.  This points towards gnupg 
which I remerged along with all packages I thought might me relevant.  I 
haven't yet remerged openssl (will try that in a minute) but I am not sure 
that will help.  It's not just smime but also openpgp that fails.

Has anyone else noticed this and have you found any fixes for it?
-- 
Regards,
Mick



Re: [gentoo-user] Xmonad, beagle-search, and mime types

2010-02-21 Thread Willie Wong
On Sun, Feb 21, 2010 at 03:45:14PM +0100, Damian wrote:
 So I tried to see how xdg-open works, but the man page didn't give me
 any useful information. The related command, xdg-mime, doesn't work as
 I expected.

I asked a similar question a week or so back. 

 But xdg-open (and therefore beagle-search) still refuses to open jpeg
 images with geeqie.
 
 Any ideas?

xdg-open is just a shell script. If you are interested, take a look at 
  less `which xdg-open`
and you will be enlightened as to why it is a complete piece of crap
unless you are using KDE, GNOME, or XFCE. (Hint, notice how nowhere in
the script does it read whatever you modified with xdg-mime.)

A possible way to work around it (depends on your application, which,
in your case, is beagle, which I am not familiar with) is to go into
the offending application that is calling xdg-open and see if you can
configure MIME types in there yourself. The application that made me
look this up, Jabref, does allow that configuration. Your mileage can
of course vary. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-21 Thread Willie Wong
On Sun, Feb 21, 2010 at 02:50:09PM +, Mick wrote:
 Yesterday I updated my system and after a series of:
 
  revdep-rebuild --library libjpeg.so.7
 
 and
 
  revdep-rebuild -v -i
  
 I thought all was good to go.  Unfortunately, I now noticed that I cannot 
 open 
 encrypted messages anymore and signing mail fails.  This points towards gnupg 
 which I remerged along with all packages I thought might me relevant.  I 
 haven't yet remerged openssl (will try that in a minute) but I am not sure 
 that will help.  It's not just smime but also openpgp that fails.
 
 Has anyone else noticed this and have you found any fixes for it?

Just a random guess: maybe revdep-rebuild updated to a new version and
configuration files changed? Did you look at the elogs of whatever you
re-emerged yesterday?

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Problem with Portage profile override

2010-02-21 Thread Neil Bothwick
On Sun, 21 Feb 2010 08:54:16 +0100, hb-...@web.de wrote:

 I do have a problem using /etc/portage/profile/package.provided. At
 first I added some other packages to this file and got the expected
 functionality. Then I added sys-apps/busybox-1.16 to package.provided.
 It works and portage detects the entry on an emerge, but it prints a big
 fat warning, that busybox has been excluded and suggests deleting from
 worlds file or removing from the package.provided file. But busybox
 isn't in the worlds file. And removing it from the package.provided
 files leeds to emerge trying to install busybox 1.15.3 which conflicts
 with my manual installation of busybox 1.16.0 (or daily snapshot).

package.provided is the wrong file. Your problem is caused by busybox
being in @system, which is a subset of @world. That's why you see the
message about it being in world even though it is not in the world file.
To remove it from @system, add

-sys-apps/busybox

in /etc/portage/profile/packages.


-- 
Neil Bothwick

Everything takes longer than expected, even when you take
  into account Hoffstead's Law. - Hoffstead's Law


signature.asc
Description: PGP signature


Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-21 Thread Mick
On Sunday 21 February 2010 15:08:28 Willie Wong wrote:
 On Sun, Feb 21, 2010 at 02:50:09PM +, Mick wrote:
  Yesterday I updated my system and after a series of:
 
   revdep-rebuild --library libjpeg.so.7
 
  and
 
   revdep-rebuild -v -i
 
  I thought all was good to go.  Unfortunately, I now noticed that I cannot
  open encrypted messages anymore and signing mail fails.  This points
  towards gnupg which I remerged along with all packages I thought might me
  relevant.  I haven't yet remerged openssl (will try that in a minute) but
  I am not sure that will help.  It's not just smime but also openpgp that
  fails.
 
  Has anyone else noticed this and have you found any fixes for it?
 
 Just a random guess: maybe revdep-rebuild updated to a new version and
 configuration files changed? Did you look at the elogs of whatever you
 re-emerged yesterday?

Yes and I ran dispatch-conf for a couple of changes.  However, nothing that I 
recall was related to encryption:

 Sat Feb 20 08:05:50 2010  media-libs/jpeg-8
 Sat Feb 20 08:20:29 2010  media-sound/phonon-4.3.80-r1
 Sat Feb 20 08:36:37 2010  media-libs/tiff-3.9.2
 Sat Feb 20 08:39:24 2010  media-libs/libquicktime-1.1.3
 Sat Feb 20 08:42:15 2010  media-libs/gd-2.0.35-r1

Anything else I could look into?
-- 
Regards,
Mick



Re: [gentoo-user] recovering RAID from an old server

2010-02-21 Thread Neil Bothwick
On Sun, 21 Feb 2010 09:10:41 +0100, Andrea Conti wrote:

  Agreed, however Iain also said that he tried to mount individual
  partitions and this failed. This should work with RAID1  
 
 Only if you force the filesystem type (i.e. mount -t xxx, or use
 mount.xxx directly).

Not in my experience.

 However, while I know this works with ext2/ext3/ext4, I have no idea if
 xfs is also smart enough to ignore the raid superblock and mount the
 filesystem anyway in this case.

The RAID superblock is at the end of the filesystem, to avoid any
conflicts with the filesystem superblock.


-- 
Neil Bothwick

Never get into fights with ugly people because they have nothing to lose.


signature.asc
Description: PGP signature


Re: [gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation

2010-02-21 Thread Alan McKinnon
On Sunday 21 February 2010 16:16:51 Volker Armin Hemmann wrote:
 On Sonntag 21 Februar 2010, Mick wrote:
  On 21 February 2010 14:03, Volker Armin Hemmann
  
  volkerar...@googlemail.com wrote:
   On Sonntag 21 Februar 2010, Mick wrote:
   I know that some of you have been using reiser4 for some years now.
   How does it compare in performance and reliability in terms to
   reiserfs and xfs?
   
   they don't even come close in performance. XFS sucks with files who are
   not multi megabyte in size.
   
   A few years ago I remember there were problems compiling or running
   some applications/libraries on reiser4 - are these problems now over?
   Any gotchas?
   
   a lng time ago there was a bug when compiling kde and without
   compression. Fixed shortly afterwards, never had a problem again.
  
  Thanks Volker for a prompt reply.  Is reiser4 still being developed,
  or is Linux now moving towards ext4?
 
 linux is moving toward btrfs. ext4 is just a stop gap measure. One that is
 only a good alternative if you don't care about your data.

I know what you meant, and I know what Mick meant, but the question is 
nonsensical.

In terms of filesystems, linux does not move anywhere. There are too many 
variables, too many options, too many scenarios to consider one fs the 
favoured one.

The correct question is Is this thing supported?. The answer is that btrfs, 
reiser4 and ext4fs are all supported.

The other question is Is this things at least somewhat stable? The answer is 
yes, except for ext4fs, for which I have yet to see a statement from it's devs 
that the on-disk format is not indeed frozen.



 
 btw, the one point that kept resier4 out was 'layer violations'.
 Interesstingly btrfs is nothing but a huge 'violation' ...
 
 And yes, Edward is still working on it.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] MySQL 5.1 and Amarok

2010-02-21 Thread Alan McKinnon
On Sunday 21 February 2010 11:44:18 Nikos Chantziaras wrote:
 It's not possible to use Amarok with the embedded USE flag with the
 newly released MySQL 5.1.  Why is that?  Can we expect it to work at
 some point?


Do you mean it doesn't work, or the upgrade is dogdy with blocker messages 
that seem to have no source, make no sense, and no reason given?

My update this morning would not proceed with amarok-2.2.2 installed, and 
portage could not work it's automagic. Unmerging amarok, emergeing world, then 
merging amarok-2.2.2.90 seems to be proceeding fine, it's building as I type.

No guarantees it will succeed though...
Or that it will work in any sane fashion.

I'm starting to get really ticked off with amarok. The trials the devs have 
put me through defy belief, and for some stupid reason, I persist with the 
thing. I've removed it 3 times over the last 2 years and each time given it a 
chance again and put it back. I really do like it's feature set, and I really 
want it to succeed. My these infernal eternal cockups with mysql will be the 
end of me.

But I dunno, I think I'm flogging a dead horse with this music player


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] MySQL 5.1 and Amarok

2010-02-21 Thread Volker Armin Hemmann
On Sonntag 21 Februar 2010, Alan McKinnon wrote:
 On Sunday 21 February 2010 11:44:18 Nikos Chantziaras wrote:
  It's not possible to use Amarok with the embedded USE flag with the
  newly released MySQL 5.1.  Why is that?  Can we expect it to work at
  some point?
 
 Do you mean it doesn't work, or the upgrade is dogdy with blocker messages
 that seem to have no source, make no sense, and no reason given?
 
 My update this morning would not proceed with amarok-2.2.2 installed, and
 portage could not work it's automagic. Unmerging amarok, emergeing world,
 then merging amarok-2.2.2.90 seems to be proceeding fine, it's building as
 I type.
 
 No guarantees it will succeed though...
 Or that it will work in any sane fashion.
 
 I'm starting to get really ticked off with amarok. The trials the devs have
 put me through defy belief, 

what is so bad about typing emerge amarok?

openoffice - now that is a real bitch...



Re: [gentoo-user] how to emerge mldonkey?

2010-02-21 Thread Stroller


On 21 Feb 2010, at 14:37, Volker Armin Hemmann wrote:


On Sonntag 21 Februar 2010, Crístian Viana wrote:

then how was this ebuild (net-p2p/mldonkey-3.0.0) considered stable?


a) LTQ


Love that quiche, too, dude!


b) read the ebuild


Which part?

Stroller.




Re: [gentoo-user] how to emerge mldonkey?

2010-02-21 Thread Volker Armin Hemmann
On Sonntag 21 Februar 2010, Stroller wrote:
 On 21 Feb 2010, at 14:37, Volker Armin Hemmann wrote:
  On Sonntag 21 Februar 2010, Crístian Viana wrote:
  then how was this ebuild (net-p2p/mldonkey-3.0.0) considered stable?
  
  a) LTQ
 
 Love that quiche, too, dude!
 
  b) read the ebuild
 
 Which part?
 
 Stroller.

all of it



Re: [gentoo-user] zsh and sudo

2010-02-21 Thread daid kahl
 I just installed zsh recently and was working on making the switch
 over from bash for my daily user, provided I can get a few things
 worked out.

 The biggest problem that I can't find useful results googling is zsh
 interaction with sudo.

 I'm noticing some strange behavior with the PATH and also the
 interpretation of '='.

[snip]
 So sudo has the PATH set correctly, but it doesn't actually use the
 correct path.  Fishy!

 Nope. If you do

 sudo echo $PATH

 $PATH is replaced by the calling shell before sudo even sees it, so no wonder
 you see the right one (btw, this should also answer your other question on why
 doing the same on a second instance of the shell seems to work).
 To test what path is seen when sudoing, do

 sudo zsh -c 'echo $PATH'

 that should be more accurate. But you already had an indication of what $PATH
 is in your first command above.

Yes, that's true!


 This might be a good read about where to define PATH:

 http://zsh.sourceforge.net/FAQ/zshfaq03.html#l19

 As for interpretation of '=' I really don't understand what's
 happening.  It seems indiscriminate of the case in terms of mucking
 about, but the exact result it not always the same.  Consider the
 monstrous output in the following simple case of making a new
 environment variable:

[snip]

 This looks strange, and would indeed require more investigation. For some
 reason, sudo is running /bin/env instead of erroring out (as no command to run
 has been specified). However, I doubt that has anything to do with zsh.

 Or if I want to emerge a specific package, instead I get:

 d...@flux log % sudo emerge =sudo-1.7.2_p2-r2
 zsh: sudo-1.7.2_p2-r2 not found

 This is expected. See

 http://zsh.sourceforge.net/Doc/Release/Expansion.html#SEC78

 unsetopt EQUALS

 should cure it. Unless, of course, you DO want to take advantage of zsh's
 special handling of =, in which case read the documentation.

Excellent!

 Zsh is a wonderfull shell, but it does have a steep learning curve, due to its
 many features. Yes, you will bang your head on the wall many and many times if
 you don't read the documentation and continue to think in bash terms.
 Reading the manual (or the user friendly documentation) is a must. Zsh is an
 example of an open source project with a massive and excellent documentation,
 so no excuses for not reading it! :)

Etaoin -- your response gave me probably all the tools and conviction
I need.  I should read documentation before hitting user lists, but I
like the gentoo user list for good reasons.  The notes about zsh are
greatly appreciated, but as long as I command the ability to take the
time to learn well documented things, then if nothing else, it's a
great learning experience.  Using gentoo for me is largely motivated
by this personal philosophy, and I changed from bash not because I
dislike it but because I wanted to try something new.  For example,
just reading your response I've learned more about how the path works
that I didn't know.

I'm over my head right now for other work that's more pressing, but it
seems like I should be able to get zsh running properly by next week.

Regarding Helmut's comment:

 What is   echo $SHELL  saying?

 Here, is says /bin/zsh
 and your examples works just fine.

This is a useful suggestion, but I had tried this and confirmed the
same output you report.  So the problem is buried deeper in my lack of
knowledge about the operation of shells.  Thanks!

~daid



Re: [gentoo-user] Xmonad, beagle-search, and mime types

2010-02-21 Thread Damian
On Sun, Feb 21, 2010 at 4:05 PM, Willie Wong ww...@math.princeton.edu wrote:
 On Sun, Feb 21, 2010 at 03:45:14PM +0100, Damian wrote:
 So I tried to see how xdg-open works, but the man page didn't give me
 any useful information. The related command, xdg-mime, doesn't work as
 I expected.

 I asked a similar question a week or so back.
I searched in my mails but I couldn't find it. Sorry, I probably
didn't enter a relevant search string.

 But xdg-open (and therefore beagle-search) still refuses to open jpeg
 images with geeqie.

 Any ideas?

 xdg-open is just a shell script. If you are interested, take a look at
  less `which xdg-open`
 and you will be enlightened as to why it is a complete piece of crap
 unless you are using KDE, GNOME, or XFCE. (Hint, notice how nowhere in
 the script does it read whatever you modified with xdg-mime.)

 A possible way to work around it (depends on your application, which,
 in your case, is beagle, which I am not familiar with) is to go into
 the offending application that is calling xdg-open and see if you can
 configure MIME types in there yourself. The application that made me
 look this up, Jabref, does allow that configuration. Your mileage can
 of course vary.
Thanks Willie for your answer.

Sadly beagle-search doesn't offer any option. The developers must use
only gnome.

I guess I will have so find another beagle front end, or choose a
different desktop search engine.



 Cheers,

 W
 --
 Willie W. Wong                                     ww...@math.princeton.edu
 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
         et vice versa   ~~~  I. Newton





Re: [gentoo-user] reiser4 Vs reiserfs for / on new Gentoo isntallation

2010-02-21 Thread Mick
On Sunday 21 February 2010 15:59:56 Alan McKinnon wrote:
 On Sunday 21 February 2010 16:16:51 Volker Armin Hemmann wrote:
  On Sonntag 21 Februar 2010, Mick wrote:
   On 21 February 2010 14:03, Volker Armin Hemmann
  
   volkerar...@googlemail.com wrote:
On Sonntag 21 Februar 2010, Mick wrote:
I know that some of you have been using reiser4 for some years now.
How does it compare in performance and reliability in terms to
reiserfs and xfs?
   
they don't even come close in performance. XFS sucks with files who
are not multi megabyte in size.
   
A few years ago I remember there were problems compiling or running
some applications/libraries on reiser4 - are these problems now
over? Any gotchas?
   
a lng time ago there was a bug when compiling kde and without
compression. Fixed shortly afterwards, never had a problem again.
  
   Thanks Volker for a prompt reply.  Is reiser4 still being developed,
   or is Linux now moving towards ext4?
 
  linux is moving toward btrfs. ext4 is just a stop gap measure. One that
  is only a good alternative if you don't care about your data.
 
 I know what you meant, and I know what Mick meant, but the question is
 nonsensical.
 
 In terms of filesystems, linux does not move anywhere. There are too many
 variables, too many options, too many scenarios to consider one fs the
 favoured one.
 
 The correct question is Is this thing supported?. The answer is that
  btrfs, reiser4 and ext4fs are all supported.

I think that on this occasion (new laptop) I will try reiser4 and wave goodbye 
to reiserfs for now.

-- 
Regards,
Mick



Re: [gentoo-user] Problem with Portage profile override

2010-02-21 Thread hb-xxl
On 21.02.2010 16:31, Neil Bothwick wrote:
 package.provided is the wrong file. Your problem is caused by busybox
 being in @system, which is a subset of @world. That's why you see the
 message about it being in world even though it is not in the world file.
 To remove it from @system, add

 -sys-apps/busybox

 in /etc/portage/profile/packages.

   
I tried this before I posted my question and did it again now ... sorry,
no ... this doesn't solve the problem. It doesn't matter if
/etc/portage/profile/packages (tried packages. too, just to be sure)
contains -sys-apps/busybox or not, as soon as I do remove busybox from
package.provided emerge tries to install busybox-1.15.3, and if I add it
back to provided the warning reappears.

What's wrong? Did any change of the system installation I made break
portage? ... but everything else seems to work fine.

... but thx for that fast try to help.

Harald




Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-21 Thread Willie Wong
On Sun, Feb 21, 2010 at 03:32:00PM +, Mick wrote:
 On Sunday 21 February 2010 15:08:28 Willie Wong wrote:
  On Sun, Feb 21, 2010 at 02:50:09PM +, Mick wrote:
   Yesterday I updated my system and after a series of:
  
revdep-rebuild --library libjpeg.so.7
  
   and
  
revdep-rebuild -v -i
  
   I thought all was good to go.  Unfortunately, I now noticed that I cannot
   open encrypted messages anymore and signing mail fails.  This points
   towards gnupg which I remerged along with all packages I thought might me
   relevant.  I haven't yet remerged openssl (will try that in a minute) but
   I am not sure that will help.  It's not just smime but also openpgp that
   fails.
  
   Has anyone else noticed this and have you found any fixes for it?
  
  Just a random guess: maybe revdep-rebuild updated to a new version and
  configuration files changed? Did you look at the elogs of whatever you
  re-emerged yesterday?
 
 Yes and I ran dispatch-conf for a couple of changes.  However, nothing that I 
 recall was related to encryption:
 
  Sat Feb 20 08:05:50 2010  media-libs/jpeg-8
  Sat Feb 20 08:20:29 2010  media-sound/phonon-4.3.80-r1
  Sat Feb 20 08:36:37 2010  media-libs/tiff-3.9.2
  Sat Feb 20 08:39:24 2010  media-libs/libquicktime-1.1.3
  Sat Feb 20 08:42:15 2010  media-libs/gd-2.0.35-r1
 
 Anything else I could look into?

Then I am kind of out of ideas. You mentioned that you remerged gnupg:
was there any warnings or logs at the end of the merge? (If you have
it enabled, the logs maybe stored in /var/log/portage/elog/)

You say that smime and openpgp fails, do you have the error message?
It may help other people who know more about this to answer your
question.

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



[gentoo-user] Konqueror and Cyclic Link Detection

2010-02-21 Thread ubiquitous1980
I cannot log into my bank website (Westpac Banking Corporation) due to a
Cyclic Link Detection in Konqueror.  Any ideas on how to resolve?



Re: [gentoo-user] Konqueror and Cyclic Link Detection

2010-02-21 Thread Volker Armin Hemmann
On Sonntag 21 Februar 2010, ubiquitous1980 wrote:
 I cannot log into my bank website (Westpac Banking Corporation) due to a
 Cyclic Link Detection in Konqueror.  Any ideas on how to resolve?

tell them their webpage is broken?



Re: [gentoo-user] Xmonad, beagle-search, and mime types

2010-02-21 Thread YoYo siska
On Sun, Feb 21, 2010 at 05:33:35PM +0100, Damian wrote:
 On Sun, Feb 21, 2010 at 4:05 PM, Willie Wong ww...@math.princeton.edu wrote:
  On Sun, Feb 21, 2010 at 03:45:14PM +0100, Damian wrote:
  So I tried to see how xdg-open works, but the man page didn't give me
  any useful information. The related command, xdg-mime, doesn't work as
  I expected.
 
  I asked a similar question a week or so back.
 I searched in my mails but I couldn't find it. Sorry, I probably
 didn't enter a relevant search string.
 
  But xdg-open (and therefore beagle-search) still refuses to open jpeg
  images with geeqie.
 
  Any ideas?
 
  xdg-open is just a shell script. If you are interested, take a look at
   less `which xdg-open`
  and you will be enlightened as to why it is a complete piece of crap
  unless you are using KDE, GNOME, or XFCE. (Hint, notice how nowhere in
  the script does it read whatever you modified with xdg-mime.)
 
  A possible way to work around it (depends on your application, which,
  in your case, is beagle, which I am not familiar with) is to go into
  the offending application that is calling xdg-open and see if you can
  configure MIME types in there yourself. The application that made me
  look this up, Jabref, does allow that configuration. Your mileage can
  of course vary.
 Thanks Willie for your answer.
 
 Sadly beagle-search doesn't offer any option. The developers must use
 only gnome.
 
 I guess I will have so find another beagle front end, or choose a
 different desktop search engine.

xdg-open tries to determine the desktop enviroment you are running and
uses its way to open files...
If you are in a kde session, it will just run kfmclient XXX (kde way to
open files in their application), for gnome it will use gnome-open or
something...

So even if you are not logged in a full gnome or kde session, but have
some of its packages installed, you can trick xdg-open to use that
enviroment
for kde just export KDE_FULL_SESSION=true,
for gnome GNOME_DESKTOP_SESSION_ID=something

so you can run beagle-search with
GNOME_DESKTOP_SESSION_ID=something beagle-search

you have to  set which applications to use in corresponding config
(for kde, just run konqueror/dolphin and right click a file, don't know
for gnome)

for kde, you need the package kde-base/kfmclient, which should depend
juast on kdelibs, for gnome-open you need gnome-base/libgnome, which
shouldn't have much dependences that you don't have allready if you have
some gtk app..

btw, gnome-open/kfcmclient will open files in any available program that
correctly registers its mime-types, not only in kde/gnome apps..., so
you really need only kfmclient/libnome to use it...


one last remark, if set KDE_FULL_SESSION/GNOME_DESKTOP_SESSION_ID for
xdg-open and it starts a gnome/kde app, that app might think that there
are some desktop specific things running, that are not, though I haven't
seen any real problems with it...
You might however just edit the detectDE function in xdg-open to
always behave like gnome/kde without settings the variables...

yoyo


PS the idea of xdg-open using a browser, when it cannont detect which DE
are you running, is that a browser usually knows how to open which
files... and you should have your preffered browser set in $BROWSER...




Re: [gentoo-user] MySQL 5.1 and Amarok

2010-02-21 Thread Volker Armin Hemmann
On Sonntag 21 Februar 2010, Nikos Chantziaras wrote:
 It's not possible to use Amarok with the embedded USE flag with the
 newly released MySQL 5.1.  Why is that?  Can we expect it to work at
 some point?

you can use amarok with embedded useflag. just unmerge it and emerge it again - 
I just tried it.
It is not much of a difference if you have to do it or revdep-rebuilt is doing 
it

It works.



Re: [gentoo-user] KDE 3 and Kconvert

2010-02-21 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Sat, Feb 20, 2010 at 05:43:11PM -0600, Dale wrote:
   

Keep your hat on.  I don't have those thoughts very often.  I do have my
hal moments tho.  lol  I'm starting to have some KDE moments to tho.  o_O

Dale

:-)  :-)

 

In a future not far from now, Dale has moments about every scrap of software 
save the kernel... ;-)


   


Actually, I just like to move from something stable to something new but 
stable.  I don't like going from something stable to something that 
doesn't work or do at least as much as the old version does.  KDE and 
Seamonkey fall into that hole at the moment.  Seamonkey 1 doesn't access 
my banks website anymore since it is not being updated.  Seamonkey 2 has 
problems with emails.  If you want some proof of that, look at the very 
top.  Unless your name is 
chrome://messenger/locale/messengercompose/composeMsgs.properties then 
it ain't working right.  Seamonkey 1 quotes correctly tho.


So, Seamonkey 1 isn't usable and Seamonkey 2 has a few bugs up its but 
too.  KDE is about the same.  Now hal is another story.  It just plain 
didn't work here.  There was no stable or anything close to it.  It just 
plain fell flat on its face.


Dale

:-)  :-)



Re: [gentoo-user] Problem with Portage profile override

2010-02-21 Thread Paul Colquhoun
On Mon, 22 Feb 2010 03:58:33 hb-...@web.de wrote:
 On 21.02.2010 16:31, Neil Bothwick wrote:
  package.provided is the wrong file. Your problem is caused by busybox
  being in @system, which is a subset of @world. That's why you see the
  message about it being in world even though it is not in the world file.
  To remove it from @system, add
  
  -sys-apps/busybox
  
  in /etc/portage/profile/packages.
 
 I tried this before I posted my question and did it again now ... sorry,
 no ... this doesn't solve the problem. It doesn't matter if
 /etc/portage/profile/packages (tried packages. too, just to be sure)
 contains -sys-apps/busybox or not, as soon as I do remove busybox from
 package.provided emerge tries to install busybox-1.15.3, and if I add it
 back to provided the warning reappears.
 
 What's wrong? Did any change of the system installation I made break
 portage? ... but everything else seems to work fine.
 
 ... but thx for that fast try to help.


Have you tried making an ebuild for 1.16 and putting it in /usr/local/portage 
directory?

That way you won't be fighting with portage about what version to install.


-- 
Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol
 Before you criticize someone, you should walk a mile in their shoes.
Then, when you do, you'll be a mile away, and you'll have their shoes.



Re: [gentoo-user] Problem with Portage profile override

2010-02-21 Thread Neil Bothwick
On Sun, 21 Feb 2010 17:58:33 +0100, hb-...@web.de wrote:

 I tried this before I posted my question and did it again now ... sorry,
 no ... this doesn't solve the problem. It doesn't matter if
 /etc/portage/profile/packages (tried packages. too, just to be sure)
 contains -sys-apps/busybox or not, as soon as I do remove busybox from
 package.provided emerge tries to install busybox-1.15.3, and if I add it
 back to provided the warning reappears.

Does --tree show what is trying to pull it in?


-- 
Neil Bothwick

Press Return to Continue - known as The Mail Menupause.


signature.asc
Description: PGP signature


Re: [gentoo-user] Xmonad, beagle-search, and mime types

2010-02-21 Thread Damian
On Sun, Feb 21, 2010 at 6:50 PM, YoYo siska y...@gl.ksp.sk wrote:
 On Sun, Feb 21, 2010 at 05:33:35PM +0100, Damian wrote:
 On Sun, Feb 21, 2010 at 4:05 PM, Willie Wong ww...@math.princeton.edu 
 wrote:
  On Sun, Feb 21, 2010 at 03:45:14PM +0100, Damian wrote:
  So I tried to see how xdg-open works, but the man page didn't give me
  any useful information. The related command, xdg-mime, doesn't work as
  I expected.
 
  I asked a similar question a week or so back.
 I searched in my mails but I couldn't find it. Sorry, I probably
 didn't enter a relevant search string.

  But xdg-open (and therefore beagle-search) still refuses to open jpeg
  images with geeqie.
 
  Any ideas?
 
  xdg-open is just a shell script. If you are interested, take a look at
   less `which xdg-open`
  and you will be enlightened as to why it is a complete piece of crap
  unless you are using KDE, GNOME, or XFCE. (Hint, notice how nowhere in
  the script does it read whatever you modified with xdg-mime.)
 
  A possible way to work around it (depends on your application, which,
  in your case, is beagle, which I am not familiar with) is to go into
  the offending application that is calling xdg-open and see if you can
  configure MIME types in there yourself. The application that made me
  look this up, Jabref, does allow that configuration. Your mileage can
  of course vary.
 Thanks Willie for your answer.

 Sadly beagle-search doesn't offer any option. The developers must use
 only gnome.

 I guess I will have so find another beagle front end, or choose a
 different desktop search engine.

 xdg-open tries to determine the desktop enviroment you are running and
 uses its way to open files...
 If you are in a kde session, it will just run kfmclient XXX (kde way to
 open files in their application), for gnome it will use gnome-open or
 something...

 So even if you are not logged in a full gnome or kde session, but have
 some of its packages installed, you can trick xdg-open to use that
 enviroment
 for kde just export KDE_FULL_SESSION=true,
 for gnome GNOME_DESKTOP_SESSION_ID=something

 so you can run beagle-search with
 GNOME_DESKTOP_SESSION_ID=something beagle-search

 you have to  set which applications to use in corresponding config
 (for kde, just run konqueror/dolphin and right click a file, don't know
 for gnome)

 for kde, you need the package kde-base/kfmclient, which should depend
 juast on kdelibs, for gnome-open you need gnome-base/libgnome, which
 shouldn't have much dependences that you don't have allready if you have
 some gtk app..

 btw, gnome-open/kfcmclient will open files in any available program that
 correctly registers its mime-types, not only in kde/gnome apps..., so
 you really need only kfmclient/libnome to use it...


 one last remark, if set KDE_FULL_SESSION/GNOME_DESKTOP_SESSION_ID for
 xdg-open and it starts a gnome/kde app, that app might think that there
 are some desktop specific things running, that are not, though I haven't
 seen any real problems with it...
 You might however just edit the detectDE function in xdg-open to
 always behave like gnome/kde without settings the variables...

 yoyo


 PS the idea of xdg-open using a browser, when it cannont detect which DE
 are you running, is that a browser usually knows how to open which
 files... and you should have your preffered browser set in $BROWSER...
Thanks a lot for that nice explanation.

I've exported  export BROWSER=gnome-open, and this way I could fix my problem.

Regards,
Damian.



Re: [gentoo-user] MySQL 5.1 and Amarok

2010-02-21 Thread Alan McKinnon
On Sunday 21 February 2010 18:18:18 Volker Armin Hemmann wrote:
 On Sonntag 21 Februar 2010, Alan McKinnon wrote:
  On Sunday 21 February 2010 11:44:18 Nikos Chantziaras wrote:
   It's not possible to use Amarok with the embedded USE flag with the
   newly released MySQL 5.1.  Why is that?  Can we expect it to work at
   some point?
  
  Do you mean it doesn't work, or the upgrade is dogdy with blocker
  messages that seem to have no source, make no sense, and no reason
  given?
  
  My update this morning would not proceed with amarok-2.2.2 installed, and
  portage could not work it's automagic. Unmerging amarok, emergeing world,
  then merging amarok-2.2.2.90 seems to be proceeding fine, it's building
  as I type.
  
  No guarantees it will succeed though...
  Or that it will work in any sane fashion.
  
  I'm starting to get really ticked off with amarok. The trials the devs
  have put me through defy belief,
 
 what is so bad about typing emerge amarok?

Initiating the build is not the problem. When the build fails like today, and 
it is eerily familiar to errors of the past (see later), then that is a 
problem. Today's error:

Linking CXX shared module ../../../../lib/amarok_collection-
mysqlecollection.so 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: 
/usr/lib64/mysql/libmysqld.a(client.o): relocation R_X86_64_32 against 
`mysql_server_last_error' can not be used when making a shared object; 
recompile with -fPIC   
/usr/lib64/mysql/libmysqld.a: could not read symbols: Bad value 

collect2: ld returned 1 exit status 


Until recently, the entire amarok-2.0 range was beset with build trouble, most 
often related to mysql. It all comes down to the really odd things the amarok 
devs are doing with mysql, which causes problems for us gentoo users. Binary 
distros don't have this problem, the maintainers there simply adjust their 
build farms to cope and then ship the result. Which the user will not 
recompile and all is good.

We can look at amarok's history of randomly crashing for no good reason when 
loading playlists, or loading internet streaming services under some 
conditions. Our how about the long period when it just steadfastly refused to 
even try to read and build a collection, despite the devs declaring it to be a 
useable stable release

I'm not making this up, it's all there is in the bugzillas, every ugly 
embarrassing bit of it.

Like I said, I'd like this app to succeed. But the evidence shows that the 
devs are probably not capable of making it so, given the numbers of 
showstoppers it's had in it's basic functionality and backend. 

It just ain't there yet.
Ye gods, I'm starting to sound like Dale :-)

 openoffice - now that is a real bitch...

Can't argue with that. But at least 3.2.0 built here today first time (after 
I'd given it 6G free in /var/tmp/portage/)

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Sandbox violation emerging media-gfx/dcraw-8.73

2010-02-21 Thread John H. Moe
When trying to emerge the Thunar thumbnailer plugin, it pulls in dcraw. 
However, after successfully compiling dcraw, I get the following error
when make gets to the install phase:

**

 Source compiled.
 Test phase [not enabled]: media-gfx/dcraw-8.73

 Install dcraw-8.73 into /var/tmp/portage/media-gfx/dcraw-8.73/image/
category media-gfx
make -j5 DESTDIR=/var/tmp/portage/media-gfx/dcraw-8.73/image/ install
/usr/bin/install -d /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcraw /var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install dcparse
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/bin
/usr/bin/install -d
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
/usr/bin/install dcraw.1
/var/tmp/portage/media-gfx/dcraw-8.73/image//usr/share/man/man1
cp rawphoto /usr/lib/gimp/2.0/plug-ins
ACCESS DENIED  open_wr:  /usr/lib/gimp/2.0/plug-ins/rawphoto
cp: cannot create regular file `/usr/lib/gimp/2.0/plug-ins/rawphoto':
Permission denied
 Completed installing dcraw-8.73 into
/var/tmp/portage/media-gfx/dcraw-8.73/image/

--- ACCESS VIOLATION SUMMARY
---
LOG FILE /var/log/sandbox/sandbox-9890.log

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/lib/gimp/2.0/plug-ins/rawphoto
A: /usr/lib/gimp/2.0/plug-ins/rawphoto
R: /usr/lib/gimp/2.0/plug-ins/rawphoto
C: cp rawphoto /usr/lib/gimp/2.0/plug-ins


 Failed to emerge media-gfx/dcraw-8.73, Log file:

  '/var/tmp/portage/media-gfx/dcraw-8.73/temp/build.log'

**

From the looks of things, it's trying to install a file directly to the
filesystem outside the /var/tmp sandbox.  I believe this is a bug that
needs reporting, but before I did that, I thought I'd check to be sure
it wasn't something I was doing wrong.  Can can someone more
knowledgeable than me advise?

I've attached emerge --info and the full build log file for reference.

John Moe
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 
2.6.31-gentoo-r6 i686)
=
System uname: 
Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 21 Feb 2010 20:15:02 +
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:   4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=x86
ACCEPT_LICENSE=* -...@eula
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=native -fomit-frame-pointer -O2 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/config
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/udev/rules.d
CXXFLAGS=-march=native -fomit-frame-pointer -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests distcc distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://jhb5970 ftp://ftp.swin.edu.au/gentoo 
ftp://ftp.planetmirror.com/pub/gentoo;
LANG=en_AU
LC_ALL=en_AU
LDFLAGS=-Wl,-O1
LINGUAS=en_AU en en_GB en_US
MAKEOPTS=-j5
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage/layman/sunrise
SYNC=rsync://jhb5970/gentoo-portage
USE=X a52 aac acl acpi aim alsa apache2 bash-completion berkdb branding bzip2 
cdda cddb cdinstall cdr cli cracklib crypt css cups cxx dbus dri dvd dvdr 
encode exif ffmpeg firefox flac fortran ftp gdbm gif gimp gpm gtk gzip hal 
hddtemp iconv icq imap jbig joystick jpeg jpeg2k kde libnotify lm_sensors lzo 
matroska mng modules mp3 mp4 mpeg mplayer msn mudflap mysql mysqli ncurses nls 
nptl nptlonly nsplugin offensive ogg openexr opengl openmp oscar pam pcre pdf 
perl php plasma png pppd python qt3support qt4 quicktime raw rdesktop readline 
reflection samba semantic-desktop session spl sql ssl startup-notification svg 
sysfs szip taglib tcpd theora tiff truetype unicode usb v4l v4l2 vcd vnc vorbis 
wavpack 

[gentoo-user] building pdftk (needs gcj)

2010-02-21 Thread Michael P. Soulier
So, I need pdftk to build some documents, so I emerge it and it tells me that
I need to update my USE flags and rebuild gcc with gcj support.

So, I do. I added gcj to my global make.conf and ran the emerge, and gcc was
rebuilt. 

 Installing (1 of 2) sys-devel/gcc-4.3.4
 * The current gcc config appears valid, so it will not be
 * automatically switched for you.  If you would like to
 * switch to the newly installed gcc version, do the
 * following:

 * gcc-config i686-pc-linux-gnu-4.3.4
 * source /etc/profile

 * No profile selected, unable to utilize --use-old

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

But now pdftk fails to build because there's no gcj command.

make[2]: Entering directory
`/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/com/lowagie/text'
gcj -O2 -march=athlon-xp -pipe -w --encoding=UTF-8
--classpath=/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs
-c Anchor.java -o Anchor.o
/bin/sh: gcj: command not found
make[2]: *** [Anchor.o] Error 127

I'm confused.

Mike
-- 
Michael P. Soulier msoul...@digitaltorque.ca
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpHiI7NGuaYO.pgp
Description: PGP signature


Re: [gentoo-user] building pdftk (needs gcj)

2010-02-21 Thread Alan McKinnon
On Monday 22 February 2010 00:56:47 Michael P. Soulier wrote:
 So, I need pdftk to build some documents, so I emerge it and it tells me
 that I need to update my USE flags and rebuild gcc with gcj support.
 
 So, I do. I added gcj to my global make.conf and ran the emerge, and gcc
 was rebuilt.
 
  Installing (1 of 2) sys-devel/gcc-4.3.4
 
  * The current gcc config appears valid, so it will not be
  * automatically switched for you.  If you would like to
  * switch to the newly installed gcc version, do the
  * following:
 
  * gcc-config i686-pc-linux-gnu-4.3.4
  * source /etc/profile

   ^

Did you do this?


 
  * No profile selected, unable to utilize --use-old
 
  * If you have issues with packages unable to locate libstdc++.la,
  * then try running 'fix_libtool_files.sh' on the old gcc versions.
 
 But now pdftk fails to build because there's no gcj command.
 
 make[2]: Entering directory
 `/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/com/lowa
 gie/text' gcj -O2 -march=athlon-xp -pipe -w --encoding=UTF-8
 --classpath=/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_l
 ibs -c Anchor.java -o Anchor.o
 /bin/sh: gcj: command not found
 make[2]: *** [Anchor.o] Error 127
 
 I'm confused.
 
 Mike

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] building pdftk (needs gcj)

2010-02-21 Thread Stroller


On 21 Feb 2010, at 22:56, Michael P. Soulier wrote:

So, I need pdftk to build some documents, so I emerge it and it  
tells me that

I need to update my USE flags and rebuild gcc with gcj support.

So, I do. I added gcj to my global make.conf and ran the emerge, and  
gcc was

rebuilt.


Installing (1 of 2) sys-devel/gcc-4.3.4

* The current gcc config appears valid, so it will not be
* automatically switched for you.  If you would like to
* switch to the newly installed gcc version, do the
* following:

* gcc-config i686-pc-linux-gnu-4.3.4
* source /etc/profile

* No profile selected, unable to utilize --use-old

* If you have issues with packages unable to locate libstdc++.la,
* then try running 'fix_libtool_files.sh' on the old gcc versions.

But now pdftk fails to build because there's no gcj command.

make[2]: Entering directory
`/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/ 
com/lowagie/text'

gcj -O2 -march=athlon-xp -pipe -w --encoding=UTF-8
--classpath=/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/ 
java_libs

-c Anchor.java -o Anchor.o
/bin/sh: gcj: command not found
make[2]: *** [Anchor.o] Error 127

I'm confused.


It's using the old version of gcc, because you haven't told it to use  
the new version.


The output you posted specifically told you to run:

 gcc-config i686-pc-linux-gnu-4.3.4

 source /etc/profile

Stroller.




Re: [gentoo-user] Konqueror and Cyclic Link Detection

2010-02-21 Thread ubiquitous1980
Volker Armin Hemmann wrote:
 On Sonntag 21 Februar 2010, ubiquitous1980 wrote:
   
 I cannot log into my bank website (Westpac Banking Corporation) due to a
 Cyclic Link Detection in Konqueror.  Any ideas on how to resolve?
 

 tell them their webpage is broken?

   
This would be the normal action except that both Firefox and Chromium
can log into my bank website.  I have read of other cases where
Konqueror finds cyclic links which prevent access.

https://bugs.kde.org/show_bug.cgi?id=171368




Re: [gentoo-user] Konqueror and Cyclic Link Detection

2010-02-21 Thread ubiquitous1980
Volker Armin Hemmann wrote:
 On Sonntag 21 Februar 2010, ubiquitous1980 wrote:
   
 I cannot log into my bank website (Westpac Banking Corporation) due to a
 Cyclic Link Detection in Konqueror.  Any ideas on how to resolve?
 

 tell them their webpage is broken?

   
This is the output that I receive (CLI) from going to the website right
through to logging in.

QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QObject::connect: Cannot connect (null)::walletOpened(bool) to
KHTMLWalletQueue::walletOpened(bool)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x2c04a6d
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x2c0590a

Don't know if this helps.





[gentoo-user] Tell kernel to use right graphic card

2010-02-21 Thread Sebastian Beßler
Hello,

I have here a setup with two graphic cards and two displays. 
The radeon 3650HD has my monitor connected to it via VGA
The radeon 3200HD has my TV connected via HDMI

I use KMS and the open driver and X works with two seperated screens so far 
(hope xrandr support for multiple gpu comes fast) but I have a problem with 
the framebuffer/KMS console. 

The output from my console shows only on the TV not my monitor. 
I can see the BIOS messages and use GRUB but then the monitor gets blank and 
it says no signal.  I can read and see everything fine on my TV.

After X starts all is perfect. 

It seems that the kernel or KMS are preferring the card with the HDMI TV over 
the card with my vga TFT monitor. 

Is there a boot option or something to tell the kernel that it should use the 
other card?

Greetings

Sebastian



Re: [gentoo-user] trouble with virtual/jdk

2010-02-21 Thread daid kahl
  root:503 ~ equery d virtual/jdk
  [ Searching for packages depending on virtual/jdk... ]
  app-office/openoffice-3.1.1 (java? =virtual/jdk-1.5*)
                              (java? =virtual/jdk-1.6*)
  dev-db/hsqldb-1.8.0.10 (!java6? =virtual/jdk-1.5*)
                         (java6? =virtual/jdk-1.6) ...

 My 'make.conf' has 'java', but not 'java6',
 so there mb some obscure problem lurking in OO, which I haven't hit yet
 (Java in OO is largely for DB  help, isn't it ? ).

 BTW can anyone advise what the '*' means in the list above ?

Consider cd  ls .*

The star is the same wildcard...

So like a dependency of jdk-1.5* means any java pacakge (full package
here including the version number) with 1.5[anything] is accepted to
meet the dependency in the case you don't use java6.

~daid



Re: [gentoo-user] Can't unsubscribe from gentoo-user

2010-02-21 Thread John H. Moe
Adam Van Ymeren wrote:
 I've sent two emails to gentoo-user+unsubscr...@lists.gentoo.org over
 the last week , but I continue to receive emails from the list.

 Not that I don't love the gentoo-user mailing list :-)

 Any advice?
 -Adam

   
Do you get any response from the list?  Any reason given?  If not, maybe
it's not making it to the list server?

You could try sending to gentoo-user+h...@lists.gentoo.org and see what
options are available to you there.

John Moe



Re: [gentoo-user] building pdftk (needs gcj)

2010-02-21 Thread Michael P. Soulier
On 21/02/10 Stroller said:

 It's using the old version of gcc, because you haven't told it to use  
 the new version.
 
 The output you posted specifically told you to run:
 
   gcc-config i686-pc-linux-gnu-4.3.4
 
   source /etc/profile

Ok, then shouldn't emerge have done that automatically, since it seemed to
know that I needed gcj and to rebuild gcc before building pdftk? What's the
point in continuing or pretending that the build process here is in any way
automatic?

Tad misleading.

Mike
-- 
Michael P. Soulier msoul...@digitaltorque.ca
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein


pgpclVqFaUsbV.pgp
Description: PGP signature


Re: [gentoo-user] building pdftk (needs gcj)

2010-02-21 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On 21/02/10 Stroller said:

   

It's using the old version of gcc, because you haven't told it to use
the new version.

The output you posted specifically told you to run:

   gcc-config i686-pc-linux-gnu-4.3.4

   source /etc/profile
 

Ok, then shouldn't emerge have done that automatically, since it seemed to
know that I needed gcj and to rebuild gcc before building pdftk? What's the
point in continuing or pretending that the build process here is in any way
automatic?

Tad misleading.

Mike
   


Actually it shouldn't.  Some people. myself included at times, have two 
versions of a compiler installed at the same time.  Some things portage 
can do for you but switching compilers is not one of them.


Dale

:-)  :-)



Re: [gentoo-user] recovering RAID from an old server

2010-02-21 Thread Andrea Conti
 The RAID superblock is at the end of the filesystem, to avoid any
 conflicts with the filesystem superblock.

It can be either at the start, at the end or even 4K into the device,
depending on which format (metadata revision) is used. In this case I
suppose it's 0.90, which is stored at the beginning.

andrea





Re: [gentoo-user] Can't unsubscribe from gentoo-user

2010-02-21 Thread Adam Van Ymeren
Never mind, gmail decided that the unsubscribe confirmation email was spam.

Thanks for the help anyways though,
-Adam

On Sun, Feb 21, 2010 at 10:22 PM, John H. Moe john...@optusnet.com.au wrote:
 Adam Van Ymeren wrote:
 I've sent two emails to gentoo-user+unsubscr...@lists.gentoo.org over
 the last week , but I continue to receive emails from the list.

 Not that I don't love the gentoo-user mailing list :-)

 Any advice?
 -Adam


 Do you get any response from the list?  Any reason given?  If not, maybe
 it's not making it to the list server?

 You could try sending to gentoo-user+h...@lists.gentoo.org and see what
 options are available to you there.

 John Moe





Re: [gentoo-user] gnupg fails to decrypt on kmail

2010-02-21 Thread Mick
On Sunday 21 February 2010 17:01:13 Willie Wong wrote:
 On Sun, Feb 21, 2010 at 03:32:00PM +, Mick wrote:
  On Sunday 21 February 2010 15:08:28 Willie Wong wrote:
   On Sun, Feb 21, 2010 at 02:50:09PM +, Mick wrote:
Yesterday I updated my system and after a series of:
   
 revdep-rebuild --library libjpeg.so.7
   
and
   
 revdep-rebuild -v -i
   
I thought all was good to go.  Unfortunately, I now noticed that I
cannot open encrypted messages anymore and signing mail fails.  This
points towards gnupg which I remerged along with all packages I
thought might me relevant.  I haven't yet remerged openssl (will try
that in a minute) but I am not sure that will help.  It's not just
smime but also openpgp that fails.
   
Has anyone else noticed this and have you found any fixes for it?
  
   Just a random guess: maybe revdep-rebuild updated to a new version and
   configuration files changed? Did you look at the elogs of whatever you
   re-emerged yesterday?
 
  Yes and I ran dispatch-conf for a couple of changes.  However, nothing
  that I recall was related to encryption:
 
   Sat Feb 20 08:05:50 2010  media-libs/jpeg-8
   Sat Feb 20 08:20:29 2010  media-sound/phonon-4.3.80-r1
   Sat Feb 20 08:36:37 2010  media-libs/tiff-3.9.2
   Sat Feb 20 08:39:24 2010  media-libs/libquicktime-1.1.3
   Sat Feb 20 08:42:15 2010  media-libs/gd-2.0.35-r1
 
  Anything else I could look into?
 
 Then I am kind of out of ideas. You mentioned that you remerged gnupg:
 was there any warnings or logs at the end of the merge? (If you have
 it enabled, the logs maybe stored in /var/log/portage/elog/)
 
 You say that smime and openpgp fails, do you have the error message?
 It may help other people who know more about this to answer your
 question.

Thanks again for your help.  The problem seems to be with pinentry when gpg is 
invoked manually:

gpg: problem with the agent: No pinentry

and then as a consequence:

gpg: public key decryption failed: General error
gpg: decryption failed: No secret key

However, I have remerged pinentry.  :-(

Initially, I thought this was related to updating media-libs/jpeg-8 and 
library libjpeg.so.7, but it seems that it may be related to qt3 becoming 
deprecated?  Perhaps I should unmask app-crypt/pinentry-0.7.6 which has qt4 in 
its USE flags and try with that?

Meanwhile I just resync'ed and there's a load of kde-4.3.5 updates.  Perhaps I 
was cought up in some major update bonanza and that's why this broke.  I'll 
finish the update and see how it goes.
-- 
Regards,
Mick