Re: [gentoo-user] emerge -pv world output: strange differences after Portage upgrade

2007-02-16 Thread brullo nulla

 On second thought this does make sense. Portage 2.1.2 allows an upgrade
 within the same slot despite the block. And the reason it doesn't get
 pulled in by `emerge -pv world` is because dbus isn't in world and the
 later version isn't required by anything in world. You need to use --update
 to get direct dependencies upgraded or --deep to get all dependencies
 upgraded to the latest version.

Just to close this entirely dbus-0.62-r2 has had most of it's keywords
dropped. This means if you type:

# emerge -pv =sys-apps/dbus-0.62-r2

you'll likely get a masked by: missing keyword message. So again bug #48195
explains why dbus-0.62-r2 is able to satisfy dependencies on dbus because
it's installed with Portage 2.1.2 but isn't able to satisfy it with Portage
2.1.1 because it's not installable. :)


Ok. Now the question is: is the new dbus really installable indeed? I
think yes from your explanation, but I want to be triple-sure.
(In fact, a self-blocking packages looked very odd to me, but...)
(and why has been 0.62-r2 been hard masked so fast?)

m.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev and glibc update

2007-02-16 Thread Bo Ørsted Andresen
On Friday 16 February 2007 08:25:45 Luigi Pinna wrote:
 Hi,
 I gave a sync 2 days ago and my world update had that output:
 # emerge -upvD world

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

 Calculating world dependencies |

 !!! Ebuilds for the following packages are either all
 !!! masked or don't exist:
 sys-fs/raidtools

You should probably fix that (there's thread on gentoo-dev@ about sys-fs/mdadm
superceeding raidtools...).

[SNIP]
   RANLIB   libudev.a
 make: x86_64-pc-linux-gnu-ranlib: Kommando nicht gefunden
 make: *** [libudev.a] Fehler 127
[SNIP]
 support... /var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/configure:
 line 5513: readelf: command not found
 no
 configure: error: Need linker with .init_array/.fini_array support.

These belong to binutils. Most likely your binutils config is just broken
meaning /usr/bin/{ranlib,readelf} are dangling symlinks (or pointing to
dangling symlinks...) rather that pointing to the correct location.

# ls -l /usr/bin/{ranlib,readelf}
lrwxrwxrwx 1 root root 24 2006-12-02 02:20 /usr/bin/ranlib - 
i686-pc-linux-gnu-ranlib
lrwxrwxrwx 1 root root 25 2006-12-02 02:20 /usr/bin/readelf - 
i686-pc-linux-gnu-readelf
# ls -l /usr/bin/i686-pc-linux-gnu-{ranlib,readelf}
lrwxrwxrwx 1 root root 33 2006-12-02 02:20 /usr/bin/i686-pc-linux-gnu-ranlib - 
/usr/i686-pc-linux-gnu/bin/ranlib
lrwxrwxrwx 1 root root 34 2006-12-02 02:20 /usr/bin/i686-pc-linux-gnu-readelf 
- /usr/i686-pc-linux-gnu/bin/readelf

There's a good chance that you can fix this with binutils-config.

# binutils-config -l
 [1] i686-pc-linux-gnu-2.16.1
 [2] i686-pc-linux-gnu-2.17 *
# binutils-config 2
 * Switching to i686-pc-linux-gnu-2.17 ...  

 [ ok ]
[...]
# source /etc/profile

Even if the right binutils is selected, reselecting it may fix it..

-- 
Bo Andresen


pgpsDmhIAkwll.pgp
Description: PGP signature


Re: [gentoo-user] emerge -pv world output: strange differences after Portage upgrade

2007-02-16 Thread Bo Ørsted Andresen
On Friday 16 February 2007 09:19:11 brullo nulla wrote:
 Ok. Now the question is: is the new dbus really installable indeed? I
 think yes from your explanation, but I want to be triple-sure.

Of course. You showed that when you provided `emerge -pv dbus` (it didn't say 
masked by anything)...

 (In fact, a self-blocking packages looked very odd to me, but...)
 (and why has been 0.62-r2 been hard masked so fast?)

What is often referred to as hard masked isn't the same as masked by missing 
keyword. Also it wasn't *that* fast. But short answer: because the maintainer 
doesn't want to maintain old software...

-- 
Bo Andresen


pgpW5A4e9hjg4.pgp
Description: PGP signature


Re: [gentoo-user] Short history in terminal (without X)

2007-02-16 Thread Alan McKinnon
On Thursday 15 February 2007, Roman Naumann wrote:
 Hi,

 does someone know, how to increase the history-buffer's size of the
 terminal? (and I mean the pure terminal, without an X-Server)
 I mean, if I use some commands producing plenty of output, I cannot
 scroll to the beginning of the text quite often, because the history
 buffer is to small.

Sounds like you want to increase the kernel's scrollback buffer size for 
the terminal.

In make menuconfig, it's Device Drivers - Graphics Support - 
Scrollback buffer size

 Another inconvenient thing is that the buffer seems to forget
 everything except the last screen of text, if I switch to another
 terminal. (alt + F2 for instance).

Sorry, can't help with that one. If it's any consolation, I've also been 
looking for a solution to that for ages

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: thunar won't build?

2007-02-16 Thread Alan McKinnon
On Thursday 15 February 2007, Grant Edwards wrote:
  I think there is nothing bad in this. At least you know:
  - the bug you are reporting is already known
  - some dev has seen it repeteadly, and repetitia iuvant*
 
  *Repeating helps, for the non-Latin speakers :)

 Except that it generates extra work for maintainers who have to
 mark the reported bug as a duplicate.  If you've tripped over a
 bug that's already been reported, perhaps adding a comment
 (including how you triggered the bug) to an existing bug is
 probably more productive.

There's an upside as well though. If many people keep reporting the same 
bug in different ways, it tells themaintainer that the bug is higher 
priority. If a bug is reported only once, and everyone else that runs 
into it sees this bug report, and doesn't report their experience, then 
the maintainer doesn't know about these users. So he/she might consider 
the bug to be less important, and that would be wrong.

Good maintainers consider users to be like customers and sometimes they 
do get annoyed with many dup bugs. But usually they want reports and 
it's no big deal or effort actually to mark a bug as a dup.

alan



-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: thunar won't build?

2007-02-16 Thread Bo Ørsted Andresen
On Friday 16 February 2007 09:37:00 Alan McKinnon wrote:
 There's an upside as well though. If many people keep reporting the same
 bug in different ways, it tells themaintainer that the bug is higher
 priority. If a bug is reported only once, and everyone else that runs
 into it sees this bug report, and doesn't report their experience, then
 the maintainer doesn't know about these users. So he/she might consider
 the bug to be less important, and that would be wrong.

I strongly disagree with this (or at least how this sounds to me). Dupes are a 
necessary evil because we can't all be perfect at searching bugzilla but 
considering them to be good just doesn't make sense in my head.

Everytime the subject of making it possible to vote on bugs has come up the 
counter argument has been that the list of CC'ed people already serves that 
role just as well but without giving the false impression that enough votes 
will get it fixed.

If you want to make it known that you care about any given bug just CC 
yourself on the bug. I want to make it very clear that purposefully filing 
dupes to draw attention to an annoying bug is *only* wasting bug wranglers 
(yep, not the maintainers (and yep, that means jakubs) ;) time just like 
producing I confirm this is a bug comments as the 10th user after it's been 
acknowledged is only useless bugspam... (I'm sure you didn't mean to do that 
either but still..).

What will get any given bug fixed is for someone (who doesn't have to be dev) 
to sit down and figure out a solution (and attach it on the bug)... An 
unlimited number of users saying it's a problem doesn't help at all if 
there's still noone able to fix it..

 Good maintainers consider users to be like customers and sometimes they
 do get annoyed with many dup bugs.

Can't really agree with this. They aren't paid so most of the best devs do it 
solely for their own sake (and because they find it interesting). Also good 
maintainers fix bugs even if only one user experience it if it's a bug and 
they are able to fix it. Quality  quantity.

 But usually they want reports and it's no big deal or effort actually to
 mark a bug as a dup. 

With the above in mind I guess I can agree on this. If you are unable to find 
a bug you're experiencing then you'll have to file one to get it fixed (even 
at the risk of missing it and hence filing a dupe). We all want bugs fixed...

-- 
Bo Andresen


pgphYJ2keD0Yp.pgp
Description: PGP signature


[gentoo-user] ftpasswd

2007-02-16 Thread Nikolay Balov
Can anyone tell me how to get ftpasswd tool. I reemerged proftpd 3
times. Th USE flags are: authfile clamav ssl tcpd -acl -hardened
-ifsession -ipv6 -ldap -mysql -ncurses -nls -noauthunix -opensslcrypt
-pam -postgres -radius -rewirite (-selinux) -shaper -sitemisc -softquota
-vroot -xinetd
Why i can't find ftpasswd? Where is it? How can i bring it to my gentoo?

Regards,
Niki

-- 
Cyberly yours,
Nikolay Balov

mail: [EMAIL PROTECTED]
Linux Registered User #382280
http://keyserver.linux.it/
Key fingerprint = D80E A05B 5727 B40C 7431  2CC0 0845 E79E 428A 1109

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SCIRE Project

2007-02-16 Thread José González Gómez

2007/2/13, Daniel van Ham Colchete [EMAIL PROTECTED]:


Hello everyone

Here on my company we are going to start deploying Gentoo Linux on our
customers. Every server will have the very same installed packages,
the very same use flags, very same cflags, only a few configurations
will differ.

I would like the deployment and maintenance to be done as easily as
possible because this project needs to be scalable to more than 100
servers. Although we are going to install only 10 servers in the
beginning, my boss says that I should be prepared for this number to
grow.

Yesterday I found about the SCIRE project that seems to solve my
problems easily. But it seems that the project's development is
stopped. Unfortunately, I don't know a thing of Phyton, so I can't
help. Do anyone know how is the project going? Are we going to have a
production usable release? If so, when? It's not like I'm pushing
anything, I just want to know if I can count on it or not.

Setting the project aside, I'm thinking about developing my own
installer to install a catalyst's stage4 and reboot a working Gentoo.
After that I'm thinking about using emerge with binary packages to
install updates automatically. What do you think? Will it work? Is it
possible to rollback an update if something goes wrong?



We're working on womething similar using catalyst [1] to create a custom
livecd, quickstart [2] to automate installation of a basic working system
from that livecd and puppet (already mentioned in the thread) to automate
administration from that point.


To solve the problem with incompatible configuration files, everytime

I upgrade anything, a perl script will reconfigure the customers
server.



I recommend to use an existing solution (puppet, cfengine, there are other
out there) instead of developing a custom tool to keep configuration up to
date.

Best regards
Jose

[1] http://www.gentoo.org/proj/en/releng/catalyst/
[2] http://agaffney.org/quickstart/


Re: [gentoo-user] Re: thunar won't build?

2007-02-16 Thread Alan McKinnon
On Friday 16 February 2007, Bo Ørsted Andresen wrote:
 On Friday 16 February 2007 09:37:00 Alan McKinnon wrote:
  There's an upside as well though. If many people keep reporting the
  same bug in different ways, it tells themaintainer that the bug is
  higher priority. If a bug is reported only once, and everyone else
  that runs into it sees this bug report, and doesn't report their
  experience, then the maintainer doesn't know about these users. So
  he/she might consider the bug to be less important, and that would
  be wrong.

 I strongly disagree with this (or at least how this sounds to me).
 Dupes are a necessary evil because we can't all be perfect at
 searching bugzilla but considering them to be good just doesn't make
 sense in my head.

Perhaps I should elaborate a little, my first post didn't make the 
entire thing clear.

I'm not saying dupes are good, I'm saying that dupes are a fact of life 
and users enter them. They are annoying to be sure, but we can make a 
choice:

a. discard them out of hand and get all upset, or
b. note them, be aware that more than one user ran into the bug, see if 
there's useful info in the dupe report, mark it as a dupe and get back 
to work.

These take up about the same amount of time and a) is completely 
negative while b) first extracts any information that is to be had. 
Personally, I prefer b) as it's a nicer attitude.

 Everytime the subject of making it possible to vote on bugs has come
 up the counter argument has been that the list of CC'ed people
 already serves that role just as well but without giving the false
 impression that enough votes will get it fixed.

 If you want to make it known that you care about any given bug just
 CC yourself on the bug. I want to make it very clear that
 purposefully filing dupes to draw attention to an annoying bug is
 *only* wasting bug wranglers (yep, not the maintainers (and yep, that
 means jakubs) ;) time just like producing I confirm this is a bug
 comments as the 10th user after it's been acknowledged is only
 useless bugspam... (I'm sure you didn't mean to do that either but
 still..).

The first Me too! probably happened when the second user switched on 
the first computer and spoke to the first user. They happen, and when 
users out there in the wild go to bgo and find a bug report relevant to 
them, they are gonna find a way to enter a Me Too!

Why? Because they went to bgo to find information, found it, and now 
they want to communicate. The user doesn't have a clue what's going on 
around the dev or any other user, he only sees his own bug and sees 
that there are nice people at gentoo.org who will help him out, and 
that there are other people just like him. And he will communicate 
that. It's all perfectly natural and quite unstoppable.

If this causes the devs to be buried alive under sheer quantities of  
data, then it's time to change the process, without making it 
impossible for users to communicate that they too ran into a certain 
bug

 What will get any given bug fixed is for someone (who doesn't have to
 be dev) to sit down and figure out a solution (and attach it on the
 bug)... An unlimited number of users saying it's a problem doesn't
 help at all if there's still noone able to fix it..

Very true

  Good maintainers consider users to be like customers and sometimes
  they do get annoyed with many dup bugs.

 Can't really agree with this. They aren't paid so most of the best
 devs do it solely for their own sake (and because they find it
 interesting). Also good maintainers fix bugs even if only one user
 experience it if it's a bug and they are able to fix it. Quality 
 quantity.

The comparison is that customers are important and worth listening to.

One amazing thing about www.gentoo.org is that over and over again I see 
statements like we should do X because the users want it or Y is 
causing problems for users. I can't ever remember seeing a dev say 
things like We should do Z because I want Z.

That's really cool, I take it to mean that the dude maintaining an arb 
ebuild does it partly to help make *my* life easier, and he thinks I am 
important to him - just like paying customers are important to 
businesses

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list



[gentoo-user] fetching timeout

2007-02-16 Thread Andrew Gaydenko
Hi!

Where is a place to config timeout for diftfiles fetching from gentoo mirrors?
Sometimes this or that mirror doesn't response, and all process (with retrying)
takes too long time.


Andrew
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fetching timeout

2007-02-16 Thread Etaoin Shrdlu
On Friday 16 February 2007 15:48, Andrew Gaydenko wrote:

 Hi!

 Where is a place to config timeout for diftfiles fetching from
 gentoo mirrors? Sometimes this or that mirror doesn't response, and
 all process (with retrying) takes too long time.

You can edit FETCHCOMMAND in /etc/make.conf, there are some commented 
examples. If you use wget, you probably want the -T option.
hth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fetching timeout

2007-02-16 Thread Andrew Gaydenko

=== On Friday 16 February 2007 Etaoin Shrdlu wrote: ===
 On Friday 16 February 2007 15:48, Andrew Gaydenko wrote:
 
  Hi!
 
  Where is a place to config timeout for diftfiles fetching from
  gentoo mirrors? Sometimes this or that mirror doesn't response, and
  all process (with retrying) takes too long time.
 
 You can edit FETCHCOMMAND in /etc/make.conf, there are some commented 
 examples. If you use wget, you probably want the -T option.
 hth

Aha, I see, it is really simple. Thanks!
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] printing within kpdf

2007-02-16 Thread James
Hello,

I use to have kpdf printing with cups. Now it's broken.
Since I only print a pdf file directly form kpdf occasionally,
I'm not certain when (which emerge) it quite working..


I googled and looked at bugzilla, but nothing relevant.
I re-emerged both cups and kpdf. All other printing is
fine.

Any ideas?

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] printing within kpdf

2007-02-16 Thread Petr Uzel
On pátek 16 února 2007, James wrote:
 Hello,

 I use to have kpdf printing with cups. Now it's broken.
 Since I only print a pdf file directly form kpdf occasionally,
 I'm not certain when (which emerge) it quite working..


 I googled and looked at bugzilla, but nothing relevant.
 I re-emerged both cups and kpdf. All other printing is
 fine.

 Any ideas?

Hello,
I've had exactly the same problem (broken printing from kpdf, all other 
printing was ok), but after re-emerging kpdf everything worked well again. 
May you should try running revdep-rebuild...

-- 
Petr Uzel
[EMAIL PROTECTED]
Jabber : [EMAIL PROTECTED]
ICQ : 101606095
Gentoo Linux
--
gentoo-user@gentoo.org mailing list



[gentoo-user] ReSolved: printing within kpdf

2007-02-16 Thread James
Petr Uzel petr.uzel at centrum.cz writes:


 I've had exactly the same problem (broken printing from kpdf, all other 
 printing was ok), but after re-emerging kpdf everything worked well again. 
 May you should try running revdep-rebuild...


All was consistent. Libraries all fine
(I run revdep-rebuild frequently)

Somehow my printers.conf file got nuked
on several systems. Copying over a 
backup version fixed it...

Thanks!


James




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problem downloading mozilla-firefox-2.0-patches-1.3.tar.bz2

2007-02-16 Thread Grant Edwards
ebuild -auvDN world has decided to emerge firefox, but it fails
because mozilla-firefox-2.0-patches-1.3.tar.bz2 doesn't exist
on any of the mirrors I have configured except one -- and on
that mirror it's the wrong size.

Where does one get a copy of mozilla-firefox-2.0-patches-1.3.tar.bz2?

-- 
Grant Edwards   grante Yow!  Yow!
  at   
   visi.com

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Short history in terminal (without X)

2007-02-16 Thread Dan Farrell
On Thu, 15 Feb 2007 19:29:54 +0100
Jakob Buchgraber [EMAIL PROTECTED] wrote:

  does someone know, how to increase the history-buffer's size of
  the terminal? 

  How can I make the history buffer larger, or - if possible - set it
   infinitely large. (Just as the Konsole of KDE.)
 To make it infinitely large you can set the variable HISTSIZE to
 some huge value like
 export HISTSIZE=1
Isn't that for bash's command history?  I'm pretty sure it is.  What
you want, Roman, is a kernel parameter:
Device Drivers--- 
Graphics support--- 
Console display driver support---
--- VGA text console
[ ]   Enable Scrollback Buffer in System RAM
(64)Scrollback Buffer Size (in KB) (NEW)
As the help says, Each 64KB will give you approximately 16 80x25
screenfuls of scrollback buffer.  This is the buffer accessed by
pressing Shift+PgUp at the console.  
  Another inconvenient thing is that the buffer seems to forget
  everything except the last screen of text, if I switch to another
  terminal. (alt + F2 for instance).
Each console probably has its own buffer, doesn't it?  Just like
different terminals or different xterm windows?  



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Problem downloading mozilla-firefox-2.0-patches-1.3.tar.bz2

2007-02-16 Thread Grant Edwards
On 2007-02-16, Grant Edwards [EMAIL PROTECTED] wrote:
 ebuild -auvDN world has decided to emerge firefox, but it fails
 because mozilla-firefox-2.0-patches-1.3.tar.bz2 doesn't exist
 on any of the mirrors I have configured except one -- and on
 that mirror it's the wrong size.

 Where does one get a copy of mozilla-firefox-2.0-patches-1.3.tar.bz2?

I've tried probably 25-30 mirrors, and the file isn't present
on any of them except the one where it's the wrong size.  Is
something actually broken, or do I just need to wait for
mirrors to get updated?

When I try to emerge mozilla-firefox, I see a long series of
failures that look like this:

--11:37:09--  
http://mirrors.tds.net/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2
   = `/usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
Resolving mirrors.tds.net... 216.165.129.134
Connecting to mirrors.tds.net|216.165.129.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:37:09 ERROR 404: Not Found.

 Resuming download...
 Downloading 
 'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
--11:37:09--  
http://open-systems.ufl.edu/mirrors/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2
   = `/usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
Resolving open-systems.ufl.edu... 128.227.74.67
Connecting to open-systems.ufl.edu|128.227.74.67|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:37:09 ERROR 404: Not Found.


-- 
Grant Edwards   grante Yow!  Don't SANFORIZE me!!
  at   
   visi.com

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Problem downloading mozilla-firefox-2.0-patches-1.3.tar.bz2

2007-02-16 Thread Andrew Gaydenko

=== On Friday 16 February 2007 Grant Edwards wrote: ===
 On 2007-02-16, Grant Edwards [EMAIL PROTECTED] wrote:
  ebuild -auvDN world has decided to emerge firefox, but it fails
  because mozilla-firefox-2.0-patches-1.3.tar.bz2 doesn't exist
  on any of the mirrors I have configured except one -- and on
  that mirror it's the wrong size.
 
  Where does one get a copy of mozilla-firefox-2.0-patches-1.3.tar.bz2?
 
 I've tried probably 25-30 mirrors, and the file isn't present
 on any of them except the one where it's the wrong size.  Is
 something actually broken, or do I just need to wait for
 mirrors to get updated?
 
 When I try to emerge mozilla-firefox, I see a long series of
 failures that look like this:
 
 --11:37:09--  
 http://mirrors.tds.net/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2
= `/usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
 Resolving mirrors.tds.net... 216.165.129.134
 Connecting to mirrors.tds.net|216.165.129.134|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 11:37:09 ERROR 404: Not Found.
 
  Resuming download...
  Downloading 
  'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
 --11:37:09--  
 http://open-systems.ufl.edu/mirrors/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2
= `/usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
 Resolving open-systems.ufl.edu... 128.227.74.67
 Connecting to open-systems.ufl.edu|128.227.74.67|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 11:37:09 ERROR 404: Not Found.
 
 
 -- 
 Grant Edwards   grante Yow!  Don't SANFORIZE me!!
   at   
visi.com
 

Just now I have fetched the file from four mirrors with 

('Filesize does not match recorded size', 35332, 35325)
!!! Fetched file: mozilla-firefox-2.0-patches-1.3.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:  35332
!!! Expected: 35325





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh-agent

2007-02-16 Thread Mick
On Monday 12 February 2007 23:26, Justin Patrin wrote:
 On 11/21/06, Jorge Almeida [EMAIL PROTECTED] wrote:
  On Tue, 21 Nov 2006, Mick wrote:
   They are only stored in locked memory; they are never on disk
   unencrypted. Anyone that can read locked memory can access them, but
   this is very few users/processes on Linux -- and besides those same
   users will be able to read the key as you authenticate even if you
   don't use ssh-agent, as long as they time things right.
  
   OK, this sounds better! I posted to the gnupg-users, asking a similar
   question about gpg-agent. I guess gpg-agent works the same way.
  
   Please post back your findings!
 
  Well, no responses yet in the gnupg-users list, so there are no findings
  to post!  (Let's wait at least a few hours :))
 
   What happens to the /tmp/ directory  socket file after the user logs
   out? Does it get deleted by the ssh-agent shutdown script?
 
  I didn't start using ssh-agent yet, but I tested it from the command
  line and the directory was removed when I killed the ssh-agent process.
 
   I am asking this because I seem to continuously accumulate a load of
   gpg-agent directories and socket files into my /tmp.  Unless of course
   gpg-agent works
 
  I suppose that has to do with the agent(s) working as daemons? I don't
  like that kind of setup. This is what I intend to (try to) do:
 
  - One fixed socket, in some dedicated directory (no /tmp, no random name
 for the socket)
  - The socket name as a fixed env variable, set in the shell config files
  - Hence, no need to eval, etc
  - No daemon (i.e. no backgrounding). Just a service supervised by
 daemontools. Logs go to a directory of my choosing and if the agent
 dies, it is ressurrected, and the socket (with the same name) is
 recreated (of course, keys must be added, then)
  - A perl script to interact with the service, just in case.
 
  I think this is not difficult to do, unless I grossly misunderstood
  something essential. (Comments, anyone?) I just don't see the need to
  run the agent as subordinate of an X session or whatever (please someone
  correct me if I'm wrong!) And if I don't want the service running when
  I'm not logged in, I could bring it down with the perl script (in
  ~/.bash_logout, maybe?)
  For gpg-agent, I'm not so sure, but I hope it can be done too.
 
   on a different principle all together.  My start up  shutdown scripts
   are in /etc/X11/Sessions/fluxbox.  Are they correct for this task?
   
   eval $(gpg-agent --daemon)
   /usr/bin/startfluxbox
   kill `echo ${GPG_AGENT_INFO} | cut -d ':' -f 2`
   
  
   Or should I have another line to 'rm -Rf /tmp/gpg-*'

 ssh-agent /bin/sh

 When you exit the shell, ssh-agent exits too (after cleaning up).
 Running the agent as a daemon means you have to tell it when to shut
 down as well (how would it know when to stop?).

Thanks Justin, the ssh-agent may clean up after its own lock-files, but the 
gpg-agent doesn't.  At least not when using my script above.  My /tmp is full 
of gpg- lock-files, which in the absence of a better solution I manually 
delete every now and then.
-- 
Regards,
Mick


pgpI61qjQWcCo.pgp
Description: PGP signature


[gentoo-user] 'Hibernate' by power button

2007-02-16 Thread Mick
Hi All,

A few weeks ago I updated acpi and hibernate and their relevant configuration 
files.  Since then when I press the power button on my laptop nothing 
happens.

Clearly something was changed, intentionally or otherwise, and this feature is 
no longer available to me.  Would you care to point me in the right 
direction - how do I set my power button to run the hibernate script?
-- 
Regards,
Mick


pgpBkioO8OntI.pgp
Description: PGP signature


Re: [gentoo-user] 'Hibernate' by power button

2007-02-16 Thread Raymond Lewis Rebbeck
On Saturday, 17 February 2007 5:31, Mick wrote:
 Hi All,

 A few weeks ago I updated acpi and hibernate and their relevant
 configuration files.  Since then when I press the power button on my laptop
 nothing happens.

 Clearly something was changed, intentionally or otherwise, and this feature
 is no longer available to me.  Would you care to point me in the right
 direction - how do I set my power button to run the hibernate script?

I assume you're using acpid. Look in /etc/acpi/ there is a default script that 
is run for acpi events, it handles the power button by calling /sbin/init 0. 
Replace the command it runs with hibernate or similar.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Problem downloading mozilla-firefox-2.0-patches-1.3.tar.bz2

2007-02-16 Thread Grant Edwards
On 2007-02-16, Andrew Gaydenko [EMAIL PROTECTED] wrote:

=== On Friday 16 February 2007 Grant Edwards wrote: ===
 On 2007-02-16, Grant Edwards [EMAIL PROTECTED] wrote:
  ebuild -auvDN world has decided to emerge firefox, but it fails
  because mozilla-firefox-2.0-patches-1.3.tar.bz2 doesn't exist
  on any of the mirrors I have configured except one -- and on
  that mirror it's the wrong size.
 
  Where does one get a copy of mozilla-firefox-2.0-patches-1.3.tar.bz2?
 
 I've tried probably 25-30 mirrors, and the file isn't present
 on any of them except the one where it's the wrong size.  Is
 something actually broken, or do I just need to wait for
 mirrors to get updated?
 
 When I try to emerge mozilla-firefox, I see a long series of
 failures that look like this:
 
 --11:37:09--  
 http://mirrors.tds.net/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2
= 
 `/usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
 Resolving mirrors.tds.net... 216.165.129.134
 Connecting to mirrors.tds.net|216.165.129.134|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 11:37:09 ERROR 404: Not Found.
 
  Resuming download...
  Downloading 
  'http://open-systems.ufl.edu/mirrors/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
 --11:37:09--  
 http://open-systems.ufl.edu/mirrors/gentoo/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2
= 
 `/usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2'
 Resolving open-systems.ufl.edu... 128.227.74.67
 Connecting to open-systems.ufl.edu|128.227.74.67|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 11:37:09 ERROR 404: Not Found.
 
 
 -- 
 Grant Edwards   grante Yow!  Don't SANFORIZE me!!
   at   
visi.com
 

 Just now I have fetched the file from four mirrors with 

 ('Filesize does not match recorded size', 35332, 35325)
 !!! Fetched file: mozilla-firefox-2.0-patches-1.3.tar.bz2 VERIFY FAILED!
 !!! Reason: Filesize does not match recorded size
 !!! Got:  35332
 !!! Expected: 35325


That's the error I got from the one mirror I tried where it
wasn't missing.

-- 
Grant Edwards   grante Yow!  I am KING BOMBA of
  at   Sicily!...I will marry
   visi.comLUCILLE BALL next Friday!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 'Hibernate' by power button

2007-02-16 Thread Mick
On Friday 16 February 2007 19:13, Raymond Lewis Rebbeck wrote:
 On Saturday, 17 February 2007 5:31, Mick wrote:
  Hi All,
 
  A few weeks ago I updated acpi and hibernate and their relevant
  configuration files.  Since then when I press the power button on my
  laptop nothing happens.
 
  Clearly something was changed, intentionally or otherwise, and this
  feature is no longer available to me.  Would you care to point me in the
  right direction - how do I set my power button to run the hibernate
  script?

 I assume you're using acpid. Look in /etc/acpi/ there is a default script
 that is run for acpi events, it handles the power button by calling
 /sbin/init 0. Replace the command it runs with hibernate or similar.

Thanks Raymond, I have this in my /etc/acpi/events/default:
==
event=button[/]power.*
action=/usr/sbin/hibernate
==

but nothing happens or gets logged when I press the power button.  Could this 
be something to do with the /etc/acpi/default.sh file perhaps?  I vaguely 
remember hacking it unashamedly in the mist of time to get the button 
working.
==
#!/bin/sh
# /etc/acpi/default.sh
# Default acpi script that takes an entry for all actions

set $*  

group=${1/\/*/} 
action=${1/*\//}
device=$2   
id=$3   
value=$4

log_unhandled() {
logger ACPI event unhandled: 
$*   }

case $group in
button) 
case $action in
power)  
/sbin/init 0
;;
sleep) 
/usr/sbin/hibernate
;;
thermal_zone)
;; # I don't care, the fan works anyway.

  # if your laptop doesnt turn on/off the display via hardware
  # switch and instead just generates an acpi event, you can force
  # X to turn off the display via dpms.  note you will have to run
  # 'xhost +local:0' so root can access the X DISPLAY.
  #lid)
xset dpms force off
#   ;;

*)  log_unhandled $* ;;
esac
;;

ac_adapter)
case $value in
# Add code here to handle when the system is unplugged
# (maybe change cpu scaling to powersave mode)
#*0)
#   ;;

# Add code here to handle when the system is plugged 
in
# (maybe change cpu scaling to performance mode)
#*1)
#   ;;
*)  log_unhandled $* ;;
esac
==

Can you spot anything out of place?
-- 
Regards,
Mick


pgpwEUebi2V0b.pgp
Description: PGP signature


Re: [gentoo-user] 'Hibernate' by power button

2007-02-16 Thread Raymond Lewis Rebbeck
On Saturday, 17 February 2007 6:08, Mick wrote:
 On Friday 16 February 2007 19:13, Raymond Lewis Rebbeck wrote:
  On Saturday, 17 February 2007 5:31, Mick wrote:
   Hi All,
  
   A few weeks ago I updated acpi and hibernate and their relevant
   configuration files.  Since then when I press the power button on my
   laptop nothing happens.
  
   Clearly something was changed, intentionally or otherwise, and this
   feature is no longer available to me.  Would you care to point me in
   the right direction - how do I set my power button to run the hibernate
   script?
 
  I assume you're using acpid. Look in /etc/acpi/ there is a default script
  that is run for acpi events, it handles the power button by calling
  /sbin/init 0. Replace the command it runs with hibernate or similar.

 Thanks Raymond, I have this in my /etc/acpi/events/default:
 [snip]

 Can you spot anything out of place?

Your configs seem to all be in order.

Are you sure that the acpid init script has been started?

Also try checking your logs while pressing the hibernate button and acpid 
should output what it is doing and what acpi events it is receiving, you can 
view this on vt12.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Short history in terminal (without X)

2007-02-16 Thread Mick
On Thursday 15 February 2007 17:01, Willie Wong wrote:
 On Thu, Feb 15, 2007 at 05:11:36PM +0100, Penguin Lover Roman Naumann 
squawked:
  How can I make the history buffer larger, or - if possible - set it
   infinitely large. (Just as the Konsole of KDE.)

 This might help:
   http://linux.inet.hr/soft_scrollback_for_the_linux_vga_console.html

For some reason this won't work on my laptop.  Shift+Pg up won't scroll 
whatsoever.  As if there's no buffer at all.  :(
-- 
Regards,
Mick


pgpoNKBGR0H0l.pgp
Description: PGP signature


Re: [gentoo-user] 100% CPU usage with no processes to blame?

2007-02-16 Thread Mick
On Thursday 15 February 2007 22:02, b.n. wrote:
 Michael Crute ha scritto:
  You should use ps, top and free of course! Just realize that they lie...
 
  Seeing this thread reminded me of a blog article I saw on Virtual
  Threads a while back...
  http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-
 linux.html
 
 
  He does a pretty good job of explaining where top gets its numbers and
  how to properly interpret them. HTH

 Nice post. Thanks for the link.

Indeed, I hadn't used the pmap command until now!  I was shocked to discover 
the direct memory used by Firefox-bin vs Opera vs Konqueror (just for a 
laugh).
-- 
Regards,
Mick


pgpPobrx6MqK2.pgp
Description: PGP signature


[gentoo-user] Re: Problem downloading mozilla-firefox-2.0-patches-1.3.tar.bz2

2007-02-16 Thread Grant Edwards
On 2007-02-16, Grant Edwards [EMAIL PROTECTED] wrote:

 Just now I have fetched the file from four mirrors with 

 ('Filesize does not match recorded size', 35332, 35325)
 !!! Fetched file: mozilla-firefox-2.0-patches-1.3.tar.bz2 VERIFY FAILED!
 !!! Reason: Filesize does not match recorded size
 !!! Got:  35332
 !!! Expected: 35325

 That's the error I got from the one mirror I tried where it
 wasn't missing.

Now I'm getting an checksum failure on the downloaded file:


Resolving gentoo.chem.wisc.edu... 128.104.70.13
Connecting to gentoo.chem.wisc.edu|128.104.70.13|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 35,347 (35K), 15 remaining [application/x-tar]

100%[] 35,347--.--K/s 

14:28:34 (1.59 MB/s) - 
`/usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2' saved 
[35347/35347]

 * checking ebuild checksums ;-) ...  [ ok ]
 * checking auxfile checksums ;-) ... [ ok ]
 * checking miscfile checksums ;-) ...[ ok ]
 * checking firefox-2.0.0.1-source.tar.bz2 ;-) ...[ ok ]
 * checking mozilla-firefox-2.0-patches-1.3.tar.bz2 ;-) ...   [ !! ]

!!! Digest verification failed:
!!! /usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2
!!! Reason: Failed on MD5 verification
!!! Got: be84452b813bc42b0a5a0119bacaf917
!!! Expected: b61d8a0b25d406764fb0e89a1b820b40

-- 
Grant Edwards   grante Yow!  Do I have a lifestyle
  at   yet?
   visi.com

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 'Hibernate' by power button

2007-02-16 Thread Mick
On Friday 16 February 2007 19:49, Raymond Lewis Rebbeck wrote:
 On Saturday, 17 February 2007 6:08, Mick wrote:

  Can you spot anything out of place?

 Your configs seem to all be in order.

 Are you sure that the acpid init script has been started?

I am sure it is running alright:
==
# rc-update -s -v | grep -i acpid
   acpid |  default
==

 Also try checking your logs while pressing the hibernate button and acpid
 should output what it is doing and what acpi events it is receiving, you
 can view this on vt12.

Thanks.  It seems that my syslog-ng is configured different to yours (I guess 
some more awful hacking to get xconsole to work is to blame for this) and 
nothing relevant to acpid is shown on vt12.  However, tail -f /var/log/acpid 
showed a couple of errors which I fixed - bar the last one which says:

  [Fri Feb 16 20:30:55 2007] BEGIN HANDLER MESSAGES
  /etc/acpi/default.sh: line 57: syntax error: unexpected end of file

The last few of lines of my /etc/acpi/default.sh show this much:
==
ac_adapter)
case $value in
# Add code here to handle when the system is unplugged
# (maybe change cpu scaling to powersave mode)
#*0)
#   ;;

# Add code here to handle when the system is plugged 
in
# (maybe change cpu scaling to performance mode)
#*1)
#   ;;


*)  log_unhandled $* ;;
esac
==

What's your's like?
-- 
Regards,
Mick


pgphWS5W3XlEc.pgp
Description: PGP signature


Re: [gentoo-user] 'Hibernate' by power button

2007-02-16 Thread Raymond Lewis Rebbeck
On Saturday, 17 February 2007 7:06, Mick wrote:
 On Friday 16 February 2007 19:49, Raymond Lewis Rebbeck wrote:
  On Saturday, 17 February 2007 6:08, Mick wrote:
   Can you spot anything out of place?
 
  Your configs seem to all be in order.
 
  Are you sure that the acpid init script has been started?

 I am sure it is running alright:
 ==
 # rc-update -s -v | grep -i acpid
acpid |  default
 ==

  Also try checking your logs while pressing the hibernate button and acpid
  should output what it is doing and what acpi events it is receiving, you
  can view this on vt12.

 Thanks.  It seems that my syslog-ng is configured different to yours (I
 guess some more awful hacking to get xconsole to work is to blame for this)
 and nothing relevant to acpid is shown on vt12.  However, tail -f
 /var/log/acpid showed a couple of errors which I fixed - bar the last one
 which says:

   [Fri Feb 16 20:30:55 2007] BEGIN HANDLER MESSAGES
   /etc/acpi/default.sh: line 57: syntax error: unexpected end of file

 The last few of lines of my /etc/acpi/default.sh show this much:
 ==
 ac_adapter)
 case $value in
 # Add code here to handle when the system is
 unplugged # (maybe change cpu scaling to powersave mode) #*0)
 #   ;;

 # Add code here to handle when the system is
 plugged in
 # (maybe change cpu scaling to performance mode)
 #*1)
 #   ;;


 *)  log_unhandled $* ;;
 esac
 ==

 What's your's like?

I use the default default.sh that comes with acpid. I've only added a couple 
of files to respond to sleep and lid events.

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 'Hibernate' by power button

2007-02-16 Thread Mick
On Friday 16 February 2007 20:45, Raymond Lewis Rebbeck wrote:
 On Saturday, 17 February 2007 7:06, Mick wrote:
  On Friday 16 February 2007 19:49, Raymond Lewis Rebbeck wrote:
   On Saturday, 17 February 2007 6:08, Mick wrote:
Can you spot anything out of place?
  
   Your configs seem to all be in order.
  
   Are you sure that the acpid init script has been started?
 
  I am sure it is running alright:
  ==
  # rc-update -s -v | grep -i acpid
 acpid |  default
  ==
 
   Also try checking your logs while pressing the hibernate button and
   acpid should output what it is doing and what acpi events it is
   receiving, you can view this on vt12.
 
  Thanks.  It seems that my syslog-ng is configured different to yours (I
  guess some more awful hacking to get xconsole to work is to blame for
  this) and nothing relevant to acpid is shown on vt12.  However, tail -f
  /var/log/acpid showed a couple of errors which I fixed - bar the last one
  which says:
 
[Fri Feb 16 20:30:55 2007] BEGIN HANDLER MESSAGES
/etc/acpi/default.sh: line 57: syntax error: unexpected end of file
 
  The last few of lines of my /etc/acpi/default.sh show this much:
  ==
  ac_adapter)
  case $value in
  # Add code here to handle when the system is
  unplugged # (maybe change cpu scaling to powersave mode) #*0)
  #   ;;
 
  # Add code here to handle when the system is
  plugged in
  # (maybe change cpu scaling to performance mode)
  #*1)
  #   ;;
 
 
  *)  log_unhandled $* ;;
  esac
  ==
 
  What's your's like?

 I use the default default.sh that comes with acpid. I've only added a
 couple of files to respond to sleep and lid events.

Okey, dokey, what do the default last couple of lines/paras look like?

-- 
Regards,
Mick


pgp9JichcwTx0.pgp
Description: PGP signature


[gentoo-user] Re: Problem downloading mozilla-firefox-2.0-patches-1.3.tar.bz2

2007-02-16 Thread Grant Edwards
On 2007-02-16, Grant Edwards [EMAIL PROTECTED] wrote:

 Now I'm getting an checksum failure on the downloaded file:

 !!! Digest verification failed:
 !!! /usr/portage/distfiles/mozilla-firefox-2.0-patches-1.3.tar.bz2
 !!! Reason: Failed on MD5 verification
 !!! Got: be84452b813bc42b0a5a0119bacaf917
 !!! Expected: b61d8a0b25d406764fb0e89a1b820b40

After another emerge --sync, it's now donwloading fine... it
just doesn't compile.  I think it's about time to mask out this
particular version.



i686-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\/usr/lib/nsplugins\ 
-DGENTOO_NSBROWSER_PLUGINS_DIR=\/usr/lib/nsbrowser/plugins\  -fno- rtti 
-fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virt ual-dtor 
-Wno-long-long -march=athlon-xp -pipe -Wno-deprecated -Wno-return-type -w 
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffu nction-sections -O2 -fPIC 
-shared -Wl,-z,defs -Wl,-h,libhtmlpars.so -o libhtmlpars.so  nsScannerString.o 
nsDTDUtils.o nsHTMLTokenizer.o  nsElementTable.o nsExpatDriver.o CNavDTD.o 
COtherDTD.o nsHTMLEntities.o nsHTMLTags.o nsHTMLTokens.o nsParser.o 
CParserContext.o nsParser Service.o nsParserModule.o nsParserNode.o nsScanner.o 
nsToken.o nsParserMsgUtils.o nsViewSourceHTML.o   -Wl,--whole-archive 
../../.. /dist/lib/libexpat_s.a ../../../parser/xml/src/libsaxp.a  
-Wl,--no-whole-archive -L../../../dist/bin -L../../../dist/lib  ../../../dist/ 
lib/libunicharutil_s.a -L../../
 ../dist/bin -lxpcom -lxpcom_core  -L../../../dist/bin -Wl,-R/usr/lib/nspr 
-L/usr/lib/nspr -lplds4 -lplc4  -lnspr4 -lpthread -ldl  -Wl,--version-script 
-Wl,../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic 
-ldl -lm 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: 
warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: 
nsParserModule.o(.text._Z26nsSAXAttributesConstructorP11nsISu 
pportsRK4nsIDPPv+0x5b): unresolvable relocation against symbol 
`nsTArray_base::sEmptyHdr'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: 
final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
gmake[3]: *** [libhtmlpars.so] Error 1
gmake[3]: Leaving directory 
`/home/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r3/work/mozilla/parser/htmlparser/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory 
`/home/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r3/work/mozilla/parser/htmlparser'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory 
`/home/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r3/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-2.0.0.1-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4038:   Called src_compile
  mozilla-firefox-2.0.0.1-r3.ebuild, line 187:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if 
relevant.
!!! A complete build log is located at 
'/home/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r3/temp/build.log'.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 'Hibernate' by power button

2007-02-16 Thread Alex Schuster
Mick writes:

   /etc/acpi/default.sh: line 57: syntax error: unexpected end of file
 The last few of lines of my /etc/acpi/default.sh show this much:
 ==
 ac_adapter)
 case $value in
 # Add code here to handle when the system is...
 #   ;;

 # Add code here to handle when the system is...
 # (maybe change cpu scaling to performance mode)
 #*1)
 #   ;;

The inner case statement is not closed by an esac. This is missing (yes, 
log_unhandled comes twice):

  *)  log_unhandled $* ;;
  esac
  ;;

 *)  log_unhandled $* ;;
 esac

emerge -1 acpid should also give you the defaut back. Do a quickpkg 
acpid before if you changed othr things for yourself you want to keep 
(this creates a binary package), you can then emerge it again later 
with emerge -1K acpid.

Alex
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Problem downloading mozilla-firefox-2.0-patches-1.3.tar.bz2

2007-02-16 Thread Andrew Gaydenko
Hi!

=== On Friday 16 February 2007, you wrote: ===
...
 
 i686-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\/usr/lib/nsplugins\ 
 -DGENTOO_NSBROWSER_PLUGINS_DIR=\/usr/lib/nsbrowser/plugins\  -fno- rtti 
 -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align 
 -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virt ual-dtor 
 -Wno-long-long -march=athlon-xp -pipe -Wno-deprecated -Wno-return-type -w 
 -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffu nction-sections -O2 
 -fPIC -shared -Wl,-z,defs -Wl,-h,libhtmlpars.so -o libhtmlpars.so  
 nsScannerString.o nsDTDUtils.o nsHTMLTokenizer.o  nsElementTable.o 
 nsExpatDriver.o CNavDTD.o COtherDTD.o nsHTMLEntities.o nsHTMLTags.o 
 nsHTMLTokens.o nsParser.o CParserContext.o nsParser Service.o 
 nsParserModule.o nsParserNode.o nsScanner.o nsToken.o nsParserMsgUtils.o 
 nsViewSourceHTML.o   -Wl,--whole-archive ../../.. /dist/lib/libexpat_s.a 
 ../../../parser/xml/src/libsaxp.a  -Wl,--no-whole-archive -L../../../dist/bin 
 -L../../../dist/lib  ../../../dist/ lib/libunicharutil_s.a -L../../
  ../dist/bin -lxpcom -lxpcom_core  -L../../../dist/bin -Wl,-R/usr/lib/nspr 
 -L/usr/lib/nspr -lplds4 -lplc4  -lnspr4 -lpthread -ldl  -Wl,--version-script 
 -Wl,../../../build/unix/gnu-ld-scripts/components-version-script 
 -Wl,-Bsymbolic -ldl -lm 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: 
 warning: creating a DT_TEXTREL in object.
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: 
 nsParserModule.o(.text._Z26nsSAXAttributesConstructorP11nsISu 
 pportsRK4nsIDPPv+0x5b): unresolvable relocation against symbol 
 `nsTArray_base::sEmptyHdr'
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: 
 final link failed: Nonrepresentable section on output
 collect2: ld returned 1 exit status
 gmake[3]: *** [libhtmlpars.so] Error 1
 gmake[3]: Leaving directory 
 `/home/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r3/work/mozilla/parser/htmlparser/src'
 gmake[2]: *** [libs] Error 2
 gmake[2]: Leaving directory 
 `/home/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r3/work/mozilla/parser/htmlparser'
 gmake[1]: *** [tier_9] Error 2
 gmake[1]: Leaving directory 
 `/home/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r3/work/mozilla'
 make: *** [default] Error 2
 
 !!! ERROR: www-client/mozilla-firefox-2.0.0.1-r3 failed.
 Call stack:
   ebuild.sh, line 1614:   Called dyn_compile
   ebuild.sh, line 971:   Called qa_call 'src_compile'
   environment, line 4038:   Called src_compile
   mozilla-firefox-2.0.0.1-r3.ebuild, line 187:   Called die
 
 !!! (no error message)
 !!! If you need support, post the topmost build error, and the call stack if 
 relevant.
 !!! A complete build log is located at 
 '/home/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r3/temp/build.log'.
 


The same.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: 'Hibernate' by power button

2007-02-16 Thread »Q«
In news:[EMAIL PROTECTED],
Mick [EMAIL PROTECTED] wrote:

  I use the default default.sh that comes with acpid. I've only added
  a couple of files to respond to sleep and lid events.  
 
 Okey, dokey, what do the default last couple of lines/paras look like?

It lives in /usr/portage/sys-power/acpid/files/

I think if I were in your shoes, I'd go back to using the default
default.sh and use separate files for specific events/actions;
hopefully that would avoid this kind of trouble after an update.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 100% CPU usage with no processes to blame?

2007-02-16 Thread Alex Schuster
Grant writes:

 Shouldn't top have provided some kind of info for why the CPU usage
 was 100% for 5 minutes straight?  If it does display trends, shouldn't
 it have picked up on that one?

I bet it was updatedb. This is what top shows me when it is running:

Cpu(s): 15.6% us, 12.6% sy,  0.3% ni,  0.0% id, 70.2% wa, 1.3% hi,  0.0% si
  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 1563 root  18   0  1936  928  528 R  8.9  0.2   0:09.68 updatedb

Whatever this wa entry is, probably something with I/O related waiting,
it seems is it not being taken into account for the %CPU culumn entry of the 
process.

I think whis was different with kernel 2.4, it did not show such a high 
load, while performing similar as now when updatedb was running.

Alex
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Sync'ing eGroupware and Kontact's calendar

2007-02-16 Thread ralph-gentoo
Hi everyone,

I decided to try Kontact's connectivity to eGroupware and have come thus far: 
I can now use the remote eGroupware as a resource in my calendar and can 
create appointments. Which is fine.

But in addition I am looking for a feature that will synchronize the local 
calendar resource with the remote one. Am I missing something and that should 
happen automagically? In which case it doesn't, at least for me.

I have tried kitchensync and generated a connected pair which I had hoped 
would work, but the app crashed on me as soon as I pressed the sync button.

Multisync can only sync the addressbook... which seems easy enough without - 
remote contacts were downloaded and added automagically and I can easily 
choose store in... anyway.

I would appreciate any hints as to where I am going wrong.

Thanks,
Ralph

-- 
For contact details, please see www.ralphholz.de.


pgpvMXvY484NY.pgp
Description: PGP signature