Re: [gentoo-user] binutils broken revdep-rebuild

2010-02-04 Thread Alan McKinnon
On Thursday 04 February 2010 09:15:36 Steven wrote:
 I am having a recurring error for the last few weeks
 
 revdep-rebuild -p
 
 * Configuring search environment for revdep-rebuild
 
 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package
 * update
 * will be emerged.
 
 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
 [ 37% ]  *   broken
 /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la (requires
 -liberty)
 *   broken
 *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
 *   (requires -liberty)
 [ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la
 *   - sys-devel/binutils
 *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
 *   - sys-devel/binutils
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
 
 emerge --oneshot --pretend  sys-devel/binutils:0
 
 I am not to sure how to go about trouble shooting this problem.
 Everything seems to be running as usual aside from the revdep-rebuild
 broken error.
 

try 

lafilefixer --justfixit

then try revdep-rebuild again

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] mysterious syslog message .

2010-02-04 Thread Alan McKinnon
On Thursday 04 February 2010 03:26:49 Iain Buchanan wrote:
  Unfortunately, that sounds all too realistic. I gave up trying to use
  suspend  some time ago after battling with wirelss and graphics hardware
  that wouldn't suspend/resume reliably. But with 4G of RAM here, I find it
  doesn't take much longer to power down/cold start than suspend/resume
 
 really?  4G RAM, Core 2 Duo T9500 @ 2.60GHz here, and hibernate is much
 faster.  Do you have an SSD?  Resuming with gnome, compiz, firefox, etc.
 already loaded is supremely better than my boot up AND log-in time
 otherwise.
 

Admittedly, I have tons of crud on this machine and the gentoo install has 
been ripped apart, guts torn out and everything put back in what appears to be 
a workable fashion many many times.

The odds that I have ancient crap interfering with suspend probably approaches 
a certainty by now. And I'm just too lazy to dig in and have a look-see

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Alan McKinnon
On Thursday 04 February 2010 02:04:36 Neil Bothwick wrote:
 On Wed, 3 Feb 2010 21:29:30 +0200, Alan McKinnon wrote:
   Taken more globally, maybe portage should warn whenever you are
   trying to remove a package that is a dependency of anything in
   @world.
 
  Could be useful if implemented with an off switch
 
  Or leave it off by default, users can enable it in make.conf if they
  wish. I often unmerge deps of things in world, but I know (usually)
  what I'm doing and will follow up with a --deep later. Annoying Are
  you sure? Are you REALLY sure? might make me switch to Ubuntu :-)
 
 A command line argument (--force?) would be fine, but you can't complain
 it's annoying when you have just complained that portage doesn't do this.

I didn't make that complaint...


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] binutils broken revdep-rebuild

2010-02-04 Thread Mariusz Ceier
W dniu 04.02.2010 08:15, Steven pisze:
 I am having a recurring error for the last few weeks
 
 revdep-rebuild -p
 
 * Configuring search environment for revdep-rebuild
 
 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package
 * update
 * will be emerged.
 
 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
 [ 37% ]  *   broken
 /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la (requires
 -liberty)
 *   broken
 *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
 *   (requires -liberty)
 [ 100% ] 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la
 *   - sys-devel/binutils
 *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
 *   - sys-devel/binutils
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
 
 emerge --oneshot --pretend  sys-devel/binutils:0
 
 I am not to sure how to go about trouble shooting this problem.
 Everything seems to be running as usual aside from the revdep-rebuild
 broken error.
Check if you have /etc/ld.so.conf.d/05binutils and not
/etc/env.d/00glibc ( this file should contain LDPATH=include
ld.so.conf.d/*.conf ), if so - rebuild glibc. If this is not the case,
maybe try lafilefixer --justfixit.

HTH



Re: [gentoo-user] mysterious syslog message .

2010-02-04 Thread Neil Bothwick
On Thu, 04 Feb 2010 10:51:18 +0930, Iain Buchanan wrote:

  True, it's been on todo for a while. It's no longer an issue for me
  now as I use a Mi-Fi 3G modem, which connects to the computer via WiFi
  instead of having a dongle sticking out the side waiting to be knocked
  off.  
 
 And how do you power it on the road?  Much more hungry to have 2x
 wifi going than one usb 3G modem (imho)

The Mi-Fi is self powered, so the laptop's power requirements are exactly
the same as when using any other wifi connection. It also has the
advantage that you can connect more than one computer through it.

  Wicd can run any command or script you want before and after going on
  and offline.  
 
 you're suggestions on exactly what script to run to tell the current evo
 process to go offline immediately is welcome :)  I couldn't figure it
 out, but no doubt theres some way I could emulate the dbus message from
 NetworkManager...

You can send dbus messages from the command line you just need to know
what to send to put Evolution offline. Not using Evolution, I
wouldn't know, but you may not need dbus. At least with Claws, I can just
run claws-mail --offline to put the running instance in offline mode.


-- 
Neil Bothwick

Any sufficiently advanced bug is indistinguishable from a feature.



signature.asc
Description: PGP signature


Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Neil Bothwick
On Thu, 4 Feb 2010 10:46:17 +0200, Alan McKinnon wrote:

  A command line argument (--force?) would be fine, but you can't
  complain it's annoying when you have just complained that portage
  doesn't do this.  
 
 I didn't make that complaint...

Sorry, that comment was aimed at Dale. I know you be quite happy to take
responsibility for borking your own system :P


-- 
Neil Bothwick

Top Oxymorons Number 10: Computer security


signature.asc
Description: PGP signature


Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Neil Bothwick
On Wed, 03 Feb 2010 21:06:54 -0600, Dale wrote:

 The bad thing is, since python is not a system package, it 
 doesn't even save the last compiled binary
 in /usr/portage/packages/All/ if you only have buildsyspkg in
 make.conf.  It does portage but not python.

That's because python is no longer an essential requirement of Gentoo. It
is a dependency of portage, but Gentoo now supports multiple package
managers, so portage is not required either.


-- 
Neil Bothwick

The world is a tragedy to those who feel, but a comedy to those who
think.(Horace Walpole)


signature.asc
Description: PGP signature


Re: [gentoo-user] binutils broken revdep-rebuild

2010-02-04 Thread Stefan Schulte
On Thu, Feb 04, 2010 at 09:58:42AM +0100, Mariusz Ceier wrote:
 W dniu 04.02.2010 08:15, Steven pisze:
  I am having a recurring error for the last few weeks
  
  revdep-rebuild -p
  
  * Configuring search environment for revdep-rebuild
  
  * Checking reverse dependencies
  * Packages containing binaries and libraries broken by a package
  * update
  * will be emerged.
  
  * Collecting system binaries and libraries
  * Generated new 1_files.rr
  * Collecting complete LD_LIBRARY_PATH
  * Generated new 2_ldpath.rr
  * Checking dynamic linking consistency
  [ 37% ]  *   broken
  /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la (requires
  -liberty)
  *   broken
  *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
  *   (requires -liberty)
  [ 100% ] 
  * Generated new 3_broken.rr
  * Assigning files to packages
  *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la
  *   - sys-devel/binutils
  *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
  *   - sys-devel/binutils
  * Generated new 4_raw.rr and 4_owners.rr
  * Cleaning list of packages to rebuild
  * Generated new 4_pkgs.rr
  * Assigning packages to ebuilds
  * Generated new 4_ebuilds.rr
  * Evaluating package order
  * Generated new 5_order.rr
  * All prepared. Starting rebuild
  
  emerge --oneshot --pretend  sys-devel/binutils:0
  
  I am not to sure how to go about trouble shooting this problem.
  Everything seems to be running as usual aside from the revdep-rebuild
  broken error.
 Check if you have /etc/ld.so.conf.d/05binutils and not
 /etc/env.d/00glibc ( this file should contain LDPATH=include
 ld.so.conf.d/*.conf ), if so - rebuild glibc. If this is not the case,
 maybe try lafilefixer --justfixit.
 
 HTH
 

I have the same problem and I think the problem is revdep-rebuild.
binutils is just working fine and revdep-rebuild just thinks that it is
broken, because it doesnt check the right librarypath
(/usr/x86_64-pc-linux-gnu/lib). I tried your suggestion (rebuild glibc)
and it doesnt work. But I noticed something interesting:

cat /etc/ld.so.conf.d/05binutils.conf 
/usr/x86_64-pc-linux-gnu/lib

cat /etc/ld.so.conf
/usr/local/lib
include ld.so.conf.d/*.conf
[...]

I think this is normal. But when I start revdep-rebuild -v I get

revdep-rebuild environment:
SEARCH_DIRS=/bin
include
ld.so.conf.d/*.conf
/lib
/lib64
/opt/bin
[...]

So I guess the include-Statement should load the files under
ld.so.conf.d but it looks like its interpreted as a normal path

-Stefan


pgp0DjgAuBPun.pgp
Description: PGP signature


Re: [gentoo-user] binutils broken revdep-rebuild

2010-02-04 Thread Steven
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 09:58/02/04/10, Mariusz Ceier wrote:
 W dniu 04.02.2010 08:15, Steven pisze:
  I am having a recurring error for the last few weeks
  
  revdep-rebuild -p
  
  * Configuring search environment for revdep-rebuild
  
  * Checking reverse dependencies
  * Packages containing binaries and libraries broken by a package
  * update
  * will be emerged.
  
  * Collecting system binaries and libraries
  * Generated new 1_files.rr
  * Collecting complete LD_LIBRARY_PATH
  * Generated new 2_ldpath.rr
  * Checking dynamic linking consistency
  [ 37% ]  *   broken
  /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la (requires
  -liberty)
  *   broken
  *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
  *   (requires -liberty)
  [ 100% ] 
  * Generated new 3_broken.rr
  * Assigning files to packages
  *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la
  *   - sys-devel/binutils
  *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
  *   - sys-devel/binutils
  * Generated new 4_raw.rr and 4_owners.rr
  * Cleaning list of packages to rebuild
  * Generated new 4_pkgs.rr
  * Assigning packages to ebuilds
  * Generated new 4_ebuilds.rr
  * Evaluating package order
  * Generated new 5_order.rr
  * All prepared. Starting rebuild
  
  emerge --oneshot --pretend  sys-devel/binutils:0
  
  I am not to sure how to go about trouble shooting this problem.
  Everything seems to be running as usual aside from the revdep-rebuild
  broken error.
 Check if you have /etc/ld.so.conf.d/05binutils and not
 /etc/env.d/00glibc ( this file should contain LDPATH=include
 ld.so.conf.d/*.conf ), if so - rebuild glibc. If this is not the case,
 maybe try lafilefixer --justfixit.
 
 HTH

I tried all, and nothing seemed to solve the problem.
I'm at a loss as to what this could be.
When it says requires -liberty is liberty part of a package? I am not
sure what it means by -liberty and were to acquire it.

Anyways thanks for the help so far.
- -- 
public key @
apartment415.homelinux.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (GNU/Linux)

iF4EAREIAAYFAktqmnIACgkQpSa/g4Qb1ZnoMgD+ITaLS9dyio1GHnIXpaiM2vTV
p1aFRUNjURIbOAc3QFwBAMUwmVnQXEJQxVkOiknrOuIQ27RjGZCdJ+BQx7ldQQ3W
=a3HI
-END PGP SIGNATURE-



Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Dale

Neil Bothwick wrote:

On Wed, 03 Feb 2010 21:06:54 -0600, Dale wrote:

  
The bad thing is, since python is not a system package, it 
doesn't even save the last compiled binary

in /usr/portage/packages/All/ if you only have buildsyspkg in
make.conf.  It does portage but not python.



That's because python is no longer an essential requirement of Gentoo. It
is a dependency of portage, but Gentoo now supports multiple package
managers, so portage is not required either.

  


That's true but unmerging python still breaks portage.  Talking about 
some other package manager doesn't affect portage and the fact that 
removing python breaks it.  The facts still remain the same as before.  
Remove python and portage is broken.


Dale

:-)  :-) 



[gentoo-user] xpdf build fails

2010-02-04 Thread Arnau Bria
Hi all,

after last update, I ran revdep-rebuild and this is the package I have
to rebuild:

[...]
 * All prepared. Starting rebuild
emerge --oneshot  app-text/xpdf:0
..

but it fails:

[...]
GlobalParams.cc:2227: warning: deprecated conversion from string constant to 
‘char*’
GlobalParams.cc:2229: warning: deprecated conversion from string constant to 
‘char*’
GlobalParams.cc: In member function ‘CMap* GlobalParams::getCMap(GooString*, 
GooString*)’:
GlobalParams.cc:2831: error: no matching function for call to 
‘CMapCache::getCMap(GooString*, GooString*)’
/usr/include/poppler/CMap.h:119: note: candidates are: CMap* 
CMapCache::getCMap(GooString*, GooString*, Stream*)
make: *** [GlobalParams.o] Error 1
make: *** Waiting for unfinished jobs
 * ERROR: app-text/xpdf-3.02-r2 failed:
 *   emake failed
 * 
 * Call stack:
 * ebuild.sh, line   54:  Called src_compile
 *   environment, line 2595:  Called _eapi2_src_compile
 * ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *  emake || die emake failed
 * 

For what I saw in google, seems a poppler related problem. and when running 
xpdf:


$ xpdf 
xpdf: error while loading shared libraries: libpoppler.so.4: cannot open shared 
object file: No such file or directory

I don't have libpoppler.so.4 installed:

# locate libpoppler.so.4
# 

and poppler installed pacakges in my system:

# eix poppler|grep ^\[I\]
[I] app-text/poppler
[I] virtual/poppler
[I] virtual/poppler-glib
[I] virtual/poppler-utils

with use:

[I] app-text/poppler
 Available versions:  0.8.7 0.10.5-r1 ~0.12.3-r2 0.12.3-r3 {abiword cairo 
cjk debug doc exceptions jpeg jpeg2k lcms png qt4 utils xpdf-headers zlib}
 Installed versions:  0.12.3-r3(10:35:25 AM 02/04/2010)(abiword cairo jpeg 
png qt4 utils xpdf-headers -cjk -debug -doc -exceptions -jpeg2k -lcms)


How may I solve this issue?

Any help is appreciated.

Cheers!
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] xpdf build fails

2010-02-04 Thread Alan McKinnon
On Thursday 04 February 2010 12:43:46 Arnau Bria wrote:
 Hi all,
 
 after last update, I ran revdep-rebuild and this is the package I have
 to rebuild:
 
 [...]
  * All prepared. Starting rebuild
 emerge --oneshot  app-text/xpdf:0
 ..
 
 but it fails:
 
 [...]
 GlobalParams.cc:2227: warning: deprecated conversion from string constant
  to ‘char*’ GlobalParams.cc:2229: warning: deprecated conversion from
  string constant to ‘char*’ GlobalParams.cc: In member function ‘CMap*
  GlobalParams::getCMap(GooString*, GooString*)’: GlobalParams.cc:2831:
  error: no matching function for call to ‘CMapCache::getCMap(GooString*,
  GooString*)’ /usr/include/poppler/CMap.h:119: note: candidates are: CMap*
  CMapCache::getCMap(GooString*, GooString*, Stream*) make: ***
  [GlobalParams.o] Error 1
 make: *** Waiting for unfinished jobs
  * ERROR: app-text/xpdf-3.02-r2 failed:
  *   emake failed
  *
  * Call stack:
  * ebuild.sh, line   54:  Called src_compile
  *   environment, line 2595:  Called _eapi2_src_compile
  * ebuild.sh, line  646:  Called die
  * The specific snippet of code:
  *emake || die emake failed
  *
 
 For what I saw in google, seems a poppler related problem. and when running
  xpdf:

Somebody in poppler-land deserves to be shot, it seems every incremental 
release must block everything before it. So someone in doing API/ABI changes 
between minor releases (a shootable offense)

have you rebuilt the entire poppler chain then tried building xpdf again?



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Alan McKinnon
On Thursday 04 February 2010 12:14:52 Dale wrote:
 Neil Bothwick wrote:
  On Wed, 03 Feb 2010 21:06:54 -0600, Dale wrote:
  The bad thing is, since python is not a system package, it
  doesn't even save the last compiled binary
  in /usr/portage/packages/All/ if you only have buildsyspkg in
  make.conf.  It does portage but not python.
 
  That's because python is no longer an essential requirement of Gentoo. It
  is a dependency of portage, but Gentoo now supports multiple package
  managers, so portage is not required either.
 
 That's true but unmerging python still breaks portage.  Talking about
 some other package manager doesn't affect portage and the fact that
 removing python breaks it.  The facts still remain the same as before.
 Remove python and portage is broken.


How about a portage feature request?

The contents of @system can have dependencies. Put a setting in a conf file 
which means the system uses portage, therefore python is in @system.

Without the setting, python does not get included in @system.

I have no idea how this would fly, it's just an idea off the top of my head

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] xpdf build fails

2010-02-04 Thread Daniel Wagener
On Thu, 4 Feb 2010 11:43:46 +0100
Arnau Bria ar...@emergetux.net wrote:

 Hi all,
 
 after last update, I ran revdep-rebuild and this is the package I have
 to rebuild:
 
 [...]
  * All prepared. Starting rebuild
 emerge --oneshot  app-text/xpdf:0
 ..
 
 but it fails:
 
 [...]
 GlobalParams.cc:2227: warning: deprecated conversion from string
 constant to ‘char*’ GlobalParams.cc:2229: warning: deprecated
 conversion from string constant to ‘char*’ GlobalParams.cc: In member
 function ‘CMap* GlobalParams::getCMap(GooString*, GooString*)’:
 GlobalParams.cc:2831: error: no matching function for call to
 ‘CMapCache::getCMap(GooString*,
 GooString*)’ /usr/include/poppler/CMap.h:119: note: candidates are:
 CMap* CMapCache::getCMap(GooString*, GooString*, Stream*) make: ***
 [GlobalParams.o] Error 1 make: *** Waiting for unfinished jobs
  * ERROR: app-text/xpdf-3.02-r2 failed:
  *   emake failed
  * 
  * Call stack:
  * ebuild.sh, line   54:  Called src_compile
  *   environment, line 2595:  Called _eapi2_src_compile
  * ebuild.sh, line  646:  Called die
  * The specific snippet of code:
  *emake || die emake failed
  * 
 
 For what I saw in google, seems a poppler related problem. and when
 running xpdf:
 
 
 $ xpdf 
 xpdf: error while loading shared libraries: libpoppler.so.4: cannot
 open shared object file: No such file or directory
 
 I don't have libpoppler.so.4 installed:
 
 # locate libpoppler.so.4
 # 
 
 and poppler installed pacakges in my system:
 
 # eix poppler|grep ^\[I\]
 [I] app-text/poppler
 [I] virtual/poppler
 [I] virtual/poppler-glib
 [I] virtual/poppler-utils
 
 with use:
 
 [I] app-text/poppler
  Available versions:  0.8.7 0.10.5-r1 ~0.12.3-r2 0.12.3-r3
 {abiword cairo cjk debug doc exceptions jpeg jpeg2k lcms png qt4
 utils xpdf-headers zlib} Installed versions:  0.12.3-r3(10:35:25 AM
 02/04/2010)(abiword cairo jpeg png qt4 utils xpdf-headers -cjk -debug
 -doc -exceptions -jpeg2k -lcms)
 
 
 How may I solve this issue?
 
 Any help is appreciated.
 
 Cheers!

had this today this morning, solved it by unmasking
app-text/xpdf-3.02-r4 after finding this:
http://bugs.gentoo.org/show_bug.cgi?id=293588#c5



Re: [gentoo-user] xpdf build fails

2010-02-04 Thread Arnau Bria
On Thu, 4 Feb 2010 12:15:01 +0100
Daniel Wagener wrote:

[...] 
 had this today this morning, solved it by unmasking
 app-text/xpdf-3.02-r4 after finding this:
 http://bugs.gentoo.org/show_bug.cgi?id=293588#c5
Thanks!!

I always forget to look in bugs.gentto before asking here :-)

Cheers!
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] binutils broken revdep-rebuild

2010-02-04 Thread Willie Wong
On Thu, Feb 04, 2010 at 01:59:14AM -0800, Steven wrote:
 I tried all, and nothing seemed to solve the problem.
 I'm at a loss as to what this could be.
 When it says requires -liberty is liberty part of a package? I am not
 sure what it means by -liberty and were to acquire it.

The library's name is iberty. The -l part is saying that it is a
library. 

http://gcc.gnu.org/onlinedocs/libiberty/

I don't have access to my gentoo computer at the moment, so I can't
tell you where that comes from. But it is probably from either glibc,
gcc, or libstdc++. I expect the previous poster who told you to
remerge glibc knew the answer :)

But if I am reading revdep-rebuild output correctly, it means that
your binutils is compiled to be linked against that library. But the
library cannot be found by revdep-rebuild. Hence the error.

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



Re: [gentoo-user] binutils broken revdep-rebuild

2010-02-04 Thread Mariusz Ceier
W dniu 04.02.2010 12:45, Willie Wong pisze:
 On Thu, Feb 04, 2010 at 01:59:14AM -0800, Steven wrote:
 I tried all, and nothing seemed to solve the problem.
 I'm at a loss as to what this could be.
 When it says requires -liberty is liberty part of a package? I am not
 sure what it means by -liberty and were to acquire it.
 
 The library's name is iberty. The -l part is saying that it is a
 library. 
 
 http://gcc.gnu.org/onlinedocs/libiberty/
 
 I don't have access to my gentoo computer at the moment, so I can't
 tell you where that comes from. But it is probably from either glibc,
 gcc, or libstdc++. I expect the previous poster who told you to
 remerge glibc knew the answer :)
 
 But if I am reading revdep-rebuild output correctly, it means that
 your binutils is compiled to be linked against that library. But the
 library cannot be found by revdep-rebuild. Hence the error.
 
 W 
libiberty.a comes from binutils.
Looking at Stefan revdep-rebuild environment output it seems that
revdep-rebuild doesn't handle 'include wildcard' statements in
ld.so.conf. This bug is already reported #298651.

Mariusz Ceier



Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Neil Bothwick
On Thu, 4 Feb 2010 13:05:55 +0200, Alan McKinnon wrote:

 How about a portage feature request?
 
 The contents of @system can have dependencies. Put a setting in a conf
 file which means the system uses portage, therefore python is in
 @system.
 
 Without the setting, python does not get included in @system.

How about giving the same warning when unmerging a dependency of @system
as you do when unmerging a package directly in there. Either way, you
risk breaking the system.

Hmm, the random tagline is spookily relevant.


-- 
Neil Bothwick

I do not like this dumb machine
I really ought to sell it.
It never does just what I want
But only what I tell it.


signature.asc
Description: PGP signature


[gentoo-user] OT: DLNA saga

2010-02-04 Thread James
Hello Folks,


In a previous thread I was curious about DLNA and anyone's experiences 
with it. DLNA is definitely a new MicroSoft Infection!


As it turns out, a very bright (savant) EE friend of mine shared his recent
experience with DLNA:

QUOTE:
I would suspect that anything designed to just work over the web would
be in bed with Microsoft - and have all sort of security holes in it. A
better option might be something that just works over 232. I have two
digital crossovers which work over a wire with a simple (very simple)
GUI. No connection to the internet required. On the other hand, the DJ
console I just bought *requires* an internet connection to set up the
first time. Not only that, but all security software turned OFF. So I
turned off Windows Update to plug that little hole. Wrong answer, McFly!
It blew up on me. Not
having Windows Update turned on szhexed the on-board firmware when it
tried 
to download it. And the registry was corrupt, which I had to fix
manually. I *finally* got a driver and firmware package from them that
can be installed locally, offline. But what the *didn't* tell me is that
the firmware could
not be installed on a Windows 7 machine. Blew up again. Re-initialized
on my XP machine, where it works now. But I'm still trying to get the
Win 7 drivers sorted out. There are still registry errors. Now compare
this to my new measurement software I just bought - it works on ANYTHING
(even Wine) and comes with a USB hardware key. Can't run it on more than
one machine without the key. Isn't this about 1 times easier??

end rant. 
END/QUOTE


So avoid DLNA unless you field test before purchase

http://www.dlna.org/

James





Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Alan McKinnon
On Thursday 04 February 2010 15:37:17 Neil Bothwick wrote:
 On Thu, 4 Feb 2010 13:05:55 +0200, Alan McKinnon wrote:
  How about a portage feature request?
 
  The contents of @system can have dependencies. Put a setting in a conf
  file which means the system uses portage, therefore python is in
  @system.
 
  Without the setting, python does not get included in @system.
 
 How about giving the same warning when unmerging a dependency of @system
 as you do when unmerging a package directly in there. Either way, you
 risk breaking the system.

Aren't all deps of packages in @system themselves already in @system?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] revdep-rebuild keeps reinstalling binutils

2010-02-04 Thread Leon Feng
在 2010/2/4 05:45:00,Harry Putnam :
 After todays update world, I run revdep-rebuild which reports binutils
 broken and uses  `oneshot' to reinstall it.  Follow with another
 revdep-rebuild and it finds the same thing.
 
 Anyone seen something similar or have an idea what might be the problem?
 

I have seen this for weeks, but since I upgrade to portage-2.2* at the same 
time, do not know whether it is related. My revdep-rebuild out is listed 
below, anyone has a solution?

# revdep-rebuild -p 
[...]
 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 35% ]  *   broken /usr/lib/binutils/i686-pc-linux-gnu/2.20/libbfd.la 
(requires -liberty)
 *   broken /usr/lib/binutils/i686-pc-linux-gnu/2.20/libopcodes.la 
(requires -liberty) 
[ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib/binutils/i686-pc-linux-gnu/2.20/libbfd.la - sys-devel/binutils
 *   /usr/lib/binutils/i686-pc-linux-gnu/2.20/libopcodes.la - sys-
devel/binutils
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot --pretend  sys-devel/binutils:0

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

Calculating dependencies... done!
[ebuild   R   ] sys-devel/binutils-2.20
 * Now you can remove -p (or --pretend) from arguments and re-run revdep-
rebuild.

Leon Feng



Re: [gentoo-user] revdep-rebuild keeps reinstalling binutils

2010-02-04 Thread Helmut Jarausch
Hi Leon,

have you really run 
lafilefixer --justfixit

and some time, ago, I had problems because of
dangling symlinks, so I've run

symlinks -dr /usr

(which remove all dangling symlinks in /usr/**/*)

Then re-emerge sys-devel/binutils again

I hope this helps,m

Helmut.


On  4 Feb, Leon Feng wrote:
 在 2010/2/4 05:45:00,Harry Putnam :
 After todays update world, I run revdep-rebuild which reports binutils
 broken and uses  `oneshot' to reinstall it.  Follow with another
 revdep-rebuild and it finds the same thing.
 
 Anyone seen something similar or have an idea what might be the problem?
 
 
 I have seen this for weeks, but since I upgrade to portage-2.2* at the same 
 time, do not know whether it is related. My revdep-rebuild out is listed 
 below, anyone has a solution?
 
 # revdep-rebuild -p 
 [...]
  * Collecting system binaries and libraries
  * Generated new 1_files.rr
  * Collecting complete LD_LIBRARY_PATH
  * Generated new 2_ldpath.rr
  * Checking dynamic linking consistency
 [ 35% ]  *   broken /usr/lib/binutils/i686-pc-linux-gnu/2.20/libbfd.la 
 (requires -liberty)
  *   broken /usr/lib/binutils/i686-pc-linux-gnu/2.20/libopcodes.la 
 (requires -liberty) 
 [ 100% ]
  * Generated new 3_broken.rr
  * Assigning files to packages
  *   /usr/lib/binutils/i686-pc-linux-gnu/2.20/libbfd.la - sys-devel/binutils
  *   /usr/lib/binutils/i686-pc-linux-gnu/2.20/libopcodes.la - sys-
 devel/binutils
  * Generated new 4_raw.rr and 4_owners.rr
  * Cleaning list of packages to rebuild
  * Generated new 4_pkgs.rr
  * Assigning packages to ebuilds
  * Generated new 4_ebuilds.rr
  * Evaluating package order
  * Generated new 5_order.rr
  * All prepared. Starting rebuild
 emerge --oneshot --pretend  sys-devel/binutils:0
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R   ] sys-devel/binutils-2.20
  * Now you can remove -p (or --pretend) from arguments and re-run revdep-
 rebuild.
 
 Leon Feng

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Neil Bothwick
On Thu, 4 Feb 2010 16:14:25 +0200, Alan McKinnon wrote:

  How about giving the same warning when unmerging a dependency of
  @system as you do when unmerging a package directly in there. Either
  way, you risk breaking the system.  
 
 Aren't all deps of packages in @system themselves already in @system?

No, otherwise portage would complain if you tried to unmerge python.
Anyway, deps are USE-dependent. Try USE=X emerge @system on a headless
server to see jut how much @system can pull in.


-- 
Neil Bothwick

Life Support System Failure - Reboot Patient (Y/n)?


signature.asc
Description: PGP signature


Re: [gentoo-user] revdep-rebuild keeps reinstalling binutils

2010-02-04 Thread Neil Bothwick
On Thu, 4 Feb 2010 22:13:20 +0800, Leon Feng wrote:

 I have seen this for weeks, but since I upgrade to portage-2.2* at the
 same time, do not know whether it is related. My revdep-rebuild out is
 listed below, anyone has a solution?

Are you also running the testing gentoolkit? Otherwise you're trying to
use the old revdep-rebuild wit the new portage, which may have
unexpected consequences.

Have you run lafilefixer --justfixit? This should always be the first
step when revdep-rebuild reports problems.


-- 
Neil Bothwick

If a man is standing in the middle of the forest speaking and there is
no woman around to hear him - Is he still wrong?


signature.asc
Description: PGP signature


Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Mike Edenfield

On 2/4/2010 6:05 AM, Alan McKinnon wrote:


How about a portage feature request?

The contents of @system can have dependencies. Put a setting in a conf file
which means the system uses portage, therefore python is in @system.

Without the setting, python does not get included in @system.


Since the system package set is package manageragnostic, perhaps that's 
the wrong place to deal with dependencies for portage or whatever?


The package manager itself should know enough to keep itself functional. 
 It just seems odd that portage lets you use portage commands to break 
portage.  If I wrote a package manager in C# (as a ridiculous example) I 
would probably make it smart enough not to let you remove mono.


--K



Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Mike Edenfield

On 2/4/2010 10:43 AM, Neil Bothwick wrote:

On Thu, 4 Feb 2010 16:14:25 +0200, Alan McKinnon wrote:


How about giving the same warning when unmerging a dependency of
@system as you do when unmerging a package directly in there. Either
way, you risk breaking the system.


Aren't all deps of packages in @system themselves already in @system?


No, otherwise portage would complain if you tried to unmerge python.
Anyway, deps are USE-dependent. Try USE=X emerge @system on a headless
server to see jut how much @system can pull in.


Portage isn't in @system, either.  virtual/portage is, but paludis 
also provides that.  Python isn't a dependency of any other system 
package (except file, but that's only enabled by the USE flag).


It appears that portage's refusal to unmerge itself is hard-coded into 
portage; that reinforces my belief that portage should be responsible 
for refusing to unmerge it's own dependencies.


--Mike



Re: [gentoo-user] VGA-out screen aspect ratio

2010-02-04 Thread Grant
 I've only ever used my laptop's VGA-out into 4:3 screens and it always
 works great.  I've now plugged it into a 16:9 screen for the first
 time, and it still displays 4:3 on that screen and on my laptop.  Is
 there a way for it to detect the proper aspect ratio?  Maybe it
 depends on the monitor's EDID?  If not, can I manually change the
 aspect ratio?

 - Grant

 Not sure about how well it will work automatically, but try running

 xrandr

 and reading the output. It should tell you what monitors you have
 hooked up and what resolutions and scan frequencies they support. I
 did this and then put the ones I wanted into my xorg.conf file and was
 good to go.

 Hope this helps,
 Mark

Thanks Mark.  Is there a slick way to restart xorg without rebooting
so you can switch between VGA-out mode and non?  When I'm doing
VGA-out, my laptop's screen changes to match the aspect ratio of the
output so it's good to be able to switch.

- Grant



Re: [gentoo-user] VGA-out screen aspect ratio

2010-02-04 Thread Neil Bothwick
On Thu, 4 Feb 2010 09:17:25 -0800, Grant wrote:

 Is there a slick way to restart xorg without rebootin

/etc/init.d/xdm restart


-- 
Neil Bothwick

Facts are stubborn, but statistics are more pliable


signature.asc
Description: PGP signature


Re: [gentoo-user] VGA-out screen aspect ratio

2010-02-04 Thread Mark Knecht
On Thu, Feb 4, 2010 at 9:17 AM, Grant emailgr...@gmail.com wrote:
 I've only ever used my laptop's VGA-out into 4:3 screens and it always
 works great.  I've now plugged it into a 16:9 screen for the first
 time, and it still displays 4:3 on that screen and on my laptop.  Is
 there a way for it to detect the proper aspect ratio?  Maybe it
 depends on the monitor's EDID?  If not, can I manually change the
 aspect ratio?

 - Grant

 Not sure about how well it will work automatically, but try running

 xrandr

 and reading the output. It should tell you what monitors you have
 hooked up and what resolutions and scan frequencies they support. I
 did this and then put the ones I wanted into my xorg.conf file and was
 good to go.

 Hope this helps,
 Mark

 Thanks Mark.  Is there a slick way to restart xorg without rebooting
 so you can switch between VGA-out mode and non?  When I'm doing
 VGA-out, my laptop's screen changes to match the aspect ratio of the
 output so it's good to be able to switch.

 - Grant

Not sure of the best way to do that, but is it really necessary?

I suppose you could try (from the console)

/etc/init.d/xdm restart

and see if it does what you want.

Note that you can set up your screens using xrandr itself. I'm not
very good at it but I've played with it and it works. Duncan on the
amd64 list posted a couple of commands he uses. They look like this:

xrandr --verbose --fb 1920x2400 --output DVI-0 --mode 1280x800 --panning
1920x1200+0+0/1920x1200+0+0/20/20/20/20 --output DVI-1 --mode 1280x800 --
panning 1920x1200+0+1200/1920x1200+0+1200/20/20/20/20

Clearly that's a mouthful but I'm sure it makes sense once you get
down to the basics. I think you can break it apart into something
like:

xrandr --verbose --fb 1920x2400
--output DVI-0 --mode 1280x800 --panning
1920x1200+0+0/1920x1200+0+0/20/20/20/20
--output DVI-1 --mode 1280x800 --panning
1920x1200+0+1200/1920x1200+0+1200/20/20/20/20

where DVI-0 and DVI-1 are the monitors and everything else is info to
xrandr is what to do. You would change the output names to whatever
yours are called. The first line 1920x2400 sets up (I think) the
overall screen size and then the next two lines set up the two
monitors. I think in his case they sit vertically, not horizontally
like mine and possibly yours do.

In my case I run 1280x1024 on the left monitor and 1680x1050 on the
right monitor. I can drag stuff left and right just fine. It gets
messed up if I play a game though.

Anyway, there's some stuff for you to look at and consider.

Cheers,
Mark



[gentoo-user] Re: revdep-rebuild keeps reinstalling binutils

2010-02-04 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes:

 On Wednesday 03 February 2010 23:45:00 Harry Putnam wrote:
 After todays update world, I run revdep-rebuild which reports binutils
 broken and uses  `oneshot' to reinstall it.  Follow with another
 revdep-rebuild and it finds the same thing.
 
 Anyone seen something similar or have an idea what might be the problem?

 full output from revdep-rebuild?

My output is identical to that posted by Leon F.

Where does one find find lafilefixer?

  root # which lafilefixer

which: no lafilefixer in
(/usr/local/bin:/cvsb/reader/home/reader/scripts:/cvsb/reader/home/reader/scripts/perl:/cvsb/reader/home/reader/scripts/awk:/cvsb/reader/home/reader/scripts/log_tools:/root/bin:/cvsb/reader/root/bin:/usr/local/sbin:/usr/share/doc/gentoolkit-0.2.1_rc2/deprecated/qpkg:/usr/share/doc/gentoolkit-0.2.1_rc2/deprecated/etcat:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4)




[gentoo-user] Re: revdep-rebuild keeps reinstalling binutils

2010-02-04 Thread Doug Hunley
On Thu, Feb 4, 2010 at 13:11, Harry Putnam rea...@newsguy.com wrote:
 Where does one find find lafilefixer?

emerge  dev-util/lafilefixer



-- 
Douglas J Hunley, RHCT
doug.hun...@gmail.com : http://douglasjhunley.com : Twitter: @hunleyd

Obsessively opposed to the typical.



Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Dale

Mike Edenfield wrote:

On 2/4/2010 10:43 AM, Neil Bothwick wrote:

On Thu, 4 Feb 2010 16:14:25 +0200, Alan McKinnon wrote:


How about giving the same warning when unmerging a dependency of
@system as you do when unmerging a package directly in there. Either
way, you risk breaking the system.


Aren't all deps of packages in @system themselves already in @system?


No, otherwise portage would complain if you tried to unmerge python.
Anyway, deps are USE-dependent. Try USE=X emerge @system on a headless
server to see jut how much @system can pull in.


Portage isn't in @system, either.  virtual/portage is, but paludis 
also provides that.  Python isn't a dependency of any other system 
package (except file, but that's only enabled by the USE flag).


It appears that portage's refusal to unmerge itself is hard-coded into 
portage; that reinforces my belief that portage should be responsible 
for refusing to unmerge it's own dependencies.


--Mike



Just picking a random post here.  The devs know this.  It has been 
pointed out on -dev and on b.g.o. as well.  They won't do anything to 
correct this.  It just seems to me that portage shouldn't break itself.  
Since there are other package managers, they should not be able to break 
themselves either.  I think maybe it should be the package manager 
itself that prevents this.  That way it fixes it for everyone.  I'm just 
not sure this is doable.


The biggest point is, the devs know but are not interested in fixing 
it.  Their response is to shut up and get over it, not in those words 
but still.


Dale

:-)  :-) 



Re: [gentoo-user] baselayout2/openrc question

2010-02-04 Thread Alan McKinnon
On Thursday 04 February 2010 17:54:06 Mike Edenfield wrote:
 On 2/4/2010 6:05 AM, Alan McKinnon wrote:
  How about a portage feature request?
 
  The contents of @system can have dependencies. Put a setting in a conf
  file which means the system uses portage, therefore python is in @system.
 
  Without the setting, python does not get included in @system.
 
 Since the system package set is package manageragnostic, perhaps that's
 the wrong place to deal with dependencies for portage or whatever?
 
 The package manager itself should know enough to keep itself functional.
   It just seems odd that portage lets you use portage commands to break
 portage.  If I wrote a package manager in C# (as a ridiculous example) I
 would probably make it smart enough not to let you remove mono.

Well, portage IS smart enough to not let you remove the toolchain or the C 
library.

All of which is moot of course if the bloody compiler can't be launched

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] revdep-rebuild keeps reinstalling binutils

2010-02-04 Thread Steven
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 22:13/02/04/10, Leon Feng wrote:
 ??? 2010/2/4 05:45:00???Harry Putnam ???
  After todays update world, I run revdep-rebuild which reports binutils
  broken and uses  `oneshot' to reinstall it.  Follow with another
  revdep-rebuild and it finds the same thing.
  
  Anyone seen something similar or have an idea what might be the problem?
  
 
 I have seen this for weeks, but since I upgrade to portage-2.2* at the same 
 time, do not know whether it is related. My revdep-rebuild out is listed 
 below, anyone has a solution?
 
 # revdep-rebuild -p 
 [...]
  * Collecting system binaries and libraries
  * Generated new 1_files.rr
  * Collecting complete LD_LIBRARY_PATH
  * Generated new 2_ldpath.rr
  * Checking dynamic linking consistency
 [ 35% ]  *   broken /usr/lib/binutils/i686-pc-linux-gnu/2.20/libbfd.la 
 (requires -liberty)
  *   broken /usr/lib/binutils/i686-pc-linux-gnu/2.20/libopcodes.la 
 (requires -liberty) 
 [ 100% ]
  * Generated new 3_broken.rr
  * Assigning files to packages
  *   /usr/lib/binutils/i686-pc-linux-gnu/2.20/libbfd.la - sys-devel/binutils
  *   /usr/lib/binutils/i686-pc-linux-gnu/2.20/libopcodes.la - sys-
 devel/binutils
  * Generated new 4_raw.rr and 4_owners.rr
  * Cleaning list of packages to rebuild
  * Generated new 4_pkgs.rr
  * Assigning packages to ebuilds
  * Generated new 4_ebuilds.rr
  * Evaluating package order
  * Generated new 5_order.rr
  * All prepared. Starting rebuild
 emerge --oneshot --pretend  sys-devel/binutils:0
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R   ] sys-devel/binutils-2.20
  * Now you can remove -p (or --pretend) from arguments and re-run revdep-
 rebuild.
 
 Leon Feng

Bug#:   298651
- -- 
public key @
apartment415.homelinux.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (GNU/Linux)

iF4EAREIAAYFAktrMZgACgkQpSa/g4Qb1Zm/AgEAoJ8UQR4+4vIw8TlprXuHuFEU
tcKakeyF/TOzs91VbuUA/jAuetZ3l2HE1qbCvHzh0G/HQzBYTeLQCEGuPJo8mksF
=BTwn
-END PGP SIGNATURE-



[gentoo-user] Updateing kills metadatabase

2010-02-04 Thread meino . cramer

Hi,

I reported this before and it was suggested, that my
harddisc/filessystem may be corrupted. Now I am sure
that is not and I am beging for help again ... :)

After doing a (as root):

ionice -c 3 nice -19 eix-sync  emerge -pv --verbose --update --deep world

and than a (as user)

qsearch item
search: Updating ebuild metacache ...
search: initialize_flat(): opening '/usr/portage/metadata/cache/.metadata.x' 
failed: Permission denied
search: initialize_flat(): You should run this command as root: q -m

results in a not existent metadatabase.

Executing the same command as root gives me:

solfire:/rootqsearch item
search: Updating ebuild metacache ...
search: Finished 0 entries in 0.103410 seconds
search result for item

What kills the metadatabase every time and how can I fix that? What I
am doing wrong here ?

Best regards,
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Updateing kills metadatabase

2010-02-04 Thread Neil Bothwick
On Fri, 5 Feb 2010 00:14:56 +0100, meino.cra...@gmx.de wrote:

 qsearch item
 search: Updating ebuild metacache ...
 search: initialize_flat(): opening
 '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied
 search: initialize_flat(): You should run this command as root: q -m

The message is telling you which command to run, although it is short and
you may have missed it

q -m

 What kills the metadatabase every time and how can I fix that? What I
 am doing wrong here ?

You probably updated portage-utils and /etc/portage/postsync.d/q-reinitialize
no longer has the execute bit set. chmod +x it as instructed in the elog
message from the portage-utils emerge.


-- 
Neil Bothwick

Windows Error #01: No error... ...yet.


signature.asc
Description: PGP signature


Re: [gentoo-user] Updateing kills metadatabase

2010-02-04 Thread meino . cramer
Neil Bothwick n...@digimed.co.uk [10-02-05 04:04]:
 On Fri, 5 Feb 2010 00:14:56 +0100, meino.cra...@gmx.de wrote:
 
  qsearch item
  search: Updating ebuild metacache ...
  search: initialize_flat(): opening
  '/usr/portage/metadata/cache/.metadata.x' failed: Permission denied
  search: initialize_flat(): You should run this command as root: q -m
 
 The message is telling you which command to run, although it is short and
 you may have missed it
 
 q -m

 Runnning this command is in fact a short and easy task. To be urged to
 do it because the update process (eix/emerge) kills the metadatabase
 is nonetheless not correct.

 
  What kills the metadatabase every time and how can I fix that? What I
  am doing wrong here ?
 
 You probably updated portage-utils and /etc/portage/postsync.d/q-reinitialize
 no longer has the execute bit set. chmod +x it as instructed in the elog
 message from the portage-utils emerge.

   /etc/portage/postsync.d/q-reinitialize has already set the
   execution bit. 


 -- 
 Neil Bothwick
 
 Windows Error #01: No error... ...yet.



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] mysterious syslog message .

2010-02-04 Thread Iain Buchanan
On Thu, 2010-02-04 at 09:15 +, Neil Bothwick wrote:
 On Thu, 04 Feb 2010 10:51:18 +0930, Iain Buchanan wrote:
 
   True, it's been on todo for a while. It's no longer an issue for me
   now as I use a Mi-Fi 3G modem, which connects to the computer via WiFi
   instead of having a dongle sticking out the side waiting to be knocked
   off.  
  
  And how do you power it on the road?  Much more hungry to have 2x
  wifi going than one usb 3G modem (imho)
 
 The Mi-Fi is self powered, so the laptop's power requirements are exactly
 the same as when using any other wifi connection.

but more than when just using 3G with you're wifi off I bet...  Not that
I know how much power my wireless card uses.

  It also has the
 advantage that you can connect more than one computer through it.

and the disadvantage that it's open to hackers... don't get me wrong - I
looked at the mifi and it looks pretty cool (about the size of eight
stacked credit cards) I'm just saying...

 You can send dbus messages from the command line you just need to know
 what to send to put Evolution offline. Not using Evolution, I
 wouldn't know, but you may not need dbus. At least with Claws, I can just
 run claws-mail --offline to put the running instance in offline mode.

unfortunately evolution --offline opens a new instance of evolution
and puts _that_ in offline mode...

Time to look at the source.

-- 
Iain Buchanan iaindb at netspace dot net dot au

Every journalist has a novel in him, which is an excellent place for it.




Re: [gentoo-user] OT: DLNA saga

2010-02-04 Thread Iain Buchanan
On Thu, 2010-02-04 at 13:55 +, James wrote:
 Hello Folks,
 
 
 In a previous thread I was curious about DLNA and anyone's experiences 
 with it. DLNA is definitely a new MicroSoft Infection!
 
 
 As it turns out, a very bright (savant) EE friend of mine shared his recent
 experience with DLNA:
 
 QUOTE:

[interesting story]

 end rant. 
 END/QUOTE

I just Don't Get It(TM).

Being an embedded programmer, it is so friggin cheap and easy to chuck
on a TTL-USB chip with drivers available for just about anything.  Then
you have usb-serial (or plain old serial if you want).  Plonk your own
version of a tiny binary protocol on it an voila!

Why manufacturers crap around with complicated high-level non-compliant
non-standards is beyond me.

end rant :)

-- 
Iain Buchanan iaindb at netspace dot net dot au

It's now the GNU Emacs of all terminal emulators.
-- Linus Torvalds, regarding the fact that Linux started off as a 
terminal emulator