Re: [gentoo-user] Domain name registration

2009-04-26 Thread Daniel Iliev
 
 
 Are there any other choices using Gentoo, other than
 DJBDNS or bind-9 ? Thoughts?
 
 

Hi,

You might want to take a look at net-dns/maradns [1].
Lightweight, easy to configure, advertised as fastest and most secure.
I personally love the feature/extension FQDN4 record which allows one
to automatically set reverse resolving.

[1] http://www.maradns.org/

-- 
Best regards,
Daniel



Re: [gentoo-user] Domain name registration

2009-04-26 Thread Anthony Metcalf
James wrote:
 Hello,

 I'm looking for suggestions to use for DNS registrars.

 But first a few key points.

 1. I own the domain name exclusively. This means if I want to 
 change (move) registrars, it's not an issue, except for expenses.

 2. No bundled packages for space of any kind needed or wanted.
(I'll be running my own server on dedicated connection).

 3. No DNS restrictions except for the Registrar running
 optional secondary (dns) service for me.
 I need to run the primary and the secondary DNS servers.

   
I use http://freedns.afraid.org/ . Doesn't meet your not-free
stipulation, but I think just about encompasses everything else
 Are there any other choices using Gentoo, other than
 DJBDNS or bind-9 ? Thoughts?

   




Re: [gentoo-user] conflict in update

2009-04-26 Thread Philip Webb
090425 fe...@crowfix.com wrote:
 My world file is 5794 lines long.

Well, it's true there are  13 465  pkgs in Gentoo (as of yesterday),
but I have only  538  installed  only  65  in 'world'.
Yes, I use '-1' frequently ... (grin)

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] conflict in update

2009-04-26 Thread Neil Bothwick
On Sat, 25 Apr 2009 20:39:52 -0700, fe...@crowfix.com wrote:

 I am probably in that very situation.  My world file is 5794 lines
 long.  I didn't know about -1 and frankly don't understand it.  If I
 remerge a package which is not in world, why is it added to world?  I
 had seen a few vague references to -1, but just assumed that portage
 was smart enough to only add new packages.

How does it know what you want if you don't tell it? 

 But now is now, and I have a huge world file.  How does one clean up
 such a beast?

It's a little time-consuming, but the best way is to edit the world file
and remove everything that you don't actually run yourself. Be strict
here, for example you should remove everything for X,because you don't
need X, only your desktop programs need it. Then run emerge --depclean
-p. For each package listed, decide whether you need it, in which case add
it to world with emerge -n, or unmerge it. Repeat this until emerge
--depclean -p returned no packages. You'll probably find you have a
smaller set of packages installed as you current world will contain
packages that were either dependencies of programs you have uninstalled
or are no longer dependencies of existing packages.

Screwing up and cleaning up your world file can be considered part of the
Gentoo learning curve :)

Incidentally, I almost always install software with --oneshot. That way
the programs I install to try out show up on --depclean's output until I
decide I want to keep them. It prevents accumulating cruft from various
experiments, although I am now using sets to achieve the same end.


-- 
Neil Bothwick

Electricians DO IT until it Hz...


signature.asc
Description: PGP signature


[gentoo-user] Failed to start /etc/init.d/checkroot

2009-04-26 Thread Chuanwen Wu
Hi,
My gentoo failed to boot up. When my gentoo is booting up, after the message

mounting devpts at /dev/pts OK,
then it just stoped, and then I pressed CTRL + c to interrupt it, and the
message:
Failed to start /etc/init.d/checkroot“ appeared.

I have checked the file /etc/init.d/checkroot, and I am sure it's the same
with another checkroot file which is in another normal gentoo(I used 'diff'
to compare).
Here is the file '/etc/init.d/checkroot':

//
# cat /etc/init.d/checkroot
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
before *
}

start() {
local retval=0

if [[ ! -f /fastboot  -z ${CDBOOT} ]] \
 ! is_net_fs /  ! is_union_fs / ; then
if touch -c /  /dev/null ; then
ebegin Remounting root filesystem read-only
mount -n -o remount,ro /
eend $?
fi

if [[ -f /forcefsck ]] || get_bootparam forcefsck ; then
ebegin Checking root filesystem (full fsck forced)
fsck -C -a -f /
# /forcefsck isn't deleted because checkfs needs it.
# it'll be deleted in that script.
retval=$?
else
# Obey the fs_passno setting for / (see fstab(5))
# - find the / entry
# - make sure we have 6 fields
# - see if fs_passno is something other than 0
if [[ -n $(awk '($1 ~ /^(\/|UUID|LABEL)/  $2 == / \
 NF == 6  $6 != 0) { print }' /etc/fstab) ]]
then
ebegin Checking root filesystem
fsck -C -T -a /
retval=$?
else
ebegin Skipping root filesystem check (fstab's passno ==
0)
retval=0
fi
fi

if [[ ${retval} -eq 0 ]] ; then
eend 0
elif [[ ${retval} -eq 1 ]] ; then
ewend 1 Filesystem repaired
elif [[ ${retval} -eq 2 || ${retval} -eq 3 ]] ; then
ewend 1 Filesystem repaired, but reboot needed!
if [[ ${RC_FORCE_AUTO} != yes ]] ; then
echo -ne \a; sleep 1; echo -ne \a; sleep 1
echo -ne \a; sleep 1; echo -ne \a; sleep 1
ewarn Rebooting in 10 seconds ...
sleep 10
fi
einfo Rebooting
/sbin/reboot -f
else
if [[ ${RC_FORCE_AUTO} == yes ]] ; then
eend 2 Rerunning fsck in force mode
fsck -y -C -T /
else
eend 2 Filesystem couldn't be fixed :(
sulogin ${CONSOLE}
fi
einfo Unmounting filesystems
/bin/mount -a -o remount,ro  /dev/null
einfo Rebooting
/sbin/reboot -f
fi
fi

# Should we mount root rw ?  the touch check is to see if the / is
# already mounted rw in which case there's nothing for us to do
if mount -vf -o remount / 2 /dev/null | \
   awk '{ if ($6 ~ /rw/) exit 0; else exit 1; }'  \
   ! touch -c /  /dev/null
then
ebegin Remounting root filesystem read/write
mount -n -o remount,rw /  /dev/null
if [[ $? -ne 0 ]] ; then
eend 2 Root filesystem could not be mounted read/write :(
if [[ ${RC_FORCE_AUTO} != yes ]] ; then
sulogin ${CONSOLE}
fi
else
eend 0
fi
fi

if [[ ${BOOT} == yes ]] ; then
local x=
local y=

#
# Create /etc/mtab
#

# Don't create mtab if /etc is readonly
if ! touch /etc/mtab 2 /dev/null ; then
ewarn Skipping /etc/mtab initialization (ro root?)
return 0
fi

# Clear the existing mtab
 /etc/mtab

# Add the entry for / to mtab
mount -f /

# Don't list root more than once
awk '$2 != / {print}' /proc/mounts  /etc/mtab

# Now make sure /etc/mtab have additional info (gid, etc) in there
for x in $(awk '{ print $2 }' /proc/mounts | sort -u) ; do
for y in $(awk '{ print $2 }' /etc/fstab) ; do
if [[ ${x} == ${y} ]] ; then
mount -f -o remount $x
continue
fi
done
done

# Remove stale backups
rm -f /etc/mtab~ /etc/mtab~~
fi
}


# vim:ts=4
//

How to fix this problem?
Thanks in advanced!

-- 
wcw


Re: [gentoo-user] X-forwarding fails with Invalid MIT-MAGIC-COOKIE-1 key

2009-04-26 Thread pk
Grant wrote:
 X-forwarding used to work for me but I haven't used it in a while and now I 
 get:
 
 Warning: untrusted X11 forwarding setup failed: xauth key data not generated
 Warning: No xauth data; using fake authentication data for X11 forwarding.
 Xlib: connection to localhost:10.0 refused by server
 Xlib: Invalid MIT-MAGIC-COOKIE-1 key
 Cannot open display:
 
 I have:
 
 # cat /etc/ssh/sshd_config | grep X11Forwarding
 X11Forwarding yes
 
 Does anyone know how to fix this?

Before using ssh (i.e. telnet, rsh and the likes) one had to manually
copy the mmc using: xauth extract - $DISPLAY | rsh otherhost xauth
merge - or something similar (i.e. the Xforwarding mechanism relies on
that the display that you want use have an identical mmc in the user
directory on the remote machine). The message Warning: No xauth
data... seems to indicate it's not creating a .Xauthority (=mmc) file
or an invalid one.

Further reading:
http://x2x.dottedmag.net/wiki/MIT-MAGIC-COOKIE-1

Hope this helps...

Best regards

Peter K



Re: [gentoo-user] Failed to start /etc/init.d/checkroot

2009-04-26 Thread Mike Kazantsev
On Sun, 26 Apr 2009 19:31:12 +0800
Chuanwen Wu wcw8...@gmail.com wrote:

 Hi,
 My gentoo failed to boot up. When my gentoo is booting up, after the message
 devpts
 mounting devpts at /dev/pts OK,
 then it just stoped, and then I pressed CTRL + c to interrupt it, and the
 message:
 Failed to start /etc/init.d/checkroot“ appeared.
...
 How to fix this problem?

It seems a bit strange that checkroot gave no output, just failure -
as if it's execution didn't even started, and, since it's one of the
first initscripts to start, prehaps there's a problem with bash
interpreter or access to init.d path.

Since you've mounted filesystem and it looks okay, you can try changing
last two columns in /etc/fstab for root filesystem to 0 0, so script
won't try to check it - that way you can see if it's something with
fsck - prehaps the system will just boot.
Then, if the rest of the initscripts won't throw some similar errors
(possibly exposing the real problem), you can probably insert a lot of
echoes/einfos to that initscript to see at which point everything hangs
and check what's wrong with the command causing it.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] can't print from firefox, but CUPS says OK, also poppler

2009-04-26 Thread Allan Gottlieb
At Thu, 23 Apr 2009 09:28:26 +0200 Marc Joliet mar...@gmx.de wrote:

 Am Wed, 22 Apr 2009 12:29:09 -0400
 schrieb Allan Gottlieb gottl...@nyu.edu:

 At Wed, 22 Apr 2009 12:18:58 -0400 Allan Gottlieb gottl...@nyu.edu wrote:
 
  For some reason printing from firefox has stopped working.
  When I ^P or file--print and select a printer (there are two),
  the print button is greyed out.  With print to file, the button is
  live and the pdf file is successfully created
 
  I can print via lpr.
 
  If, in firefox, I goto localhost:631 (the cups home page on this machine),
  I can print test pages to either machine.
 
  Is there a way I can ask firefox to tell me why the print button is
  greyed out?
 
 Some further information.
 Evince has the same situation, print is greyed out.
 
 I have the newest stable poppler/evince installed and recall that
 have upgraded poppler recently.  Should I be downgrading.
 
 Below is the output of eix -I poppler -o evince

 See bug #266678, especially comment #8. A revision bump of cups ought to be
 under way.

Thanks.
The new cups fixed it as you suggested.
allan



Re: [gentoo-user] conflict in update

2009-04-26 Thread Alan McKinnon
On Sunday 26 April 2009 05:39:52 fe...@crowfix.com wrote:
 On Sat, Apr 25, 2009 at 08:27:08PM -0500, Dale wrote:
  And from experience, I can tell you it happens when you don't use that
  -1 option when you should.  You can end up with a HUGE world file when
  not using that opton to just rebuild something for some reason or other.

 I am probably in that very situation.  My world file is 5794 lines
 long.  I didn't know about -1 and frankly don't understand it.  If I
 remerge a package which is not in world, why is it added to world?  I
 had seen a few vague references to -1, but just assumed that portage
 was smart enough to only add new packages.

The world file (/var/lib/portage/world) is a list of packages you manually 
emerged. The only way a package ever gets into world is if you, the user, ran 
emerge some_package. Portage then considers that you know what you are 
doing, and want to have that package around for ever (or till you remove it).

You probably want a browser on your system, so emerge firefox puts it in 
world. Don't worry about X, it's drivers and the huge list of little 
independent packages that comprise X as firefox has dependencies in it's 
ebuild file that cause X to be merged if it's not already installed.

The problem with putting everything in world is that you remove portage's 
ability to clean up junk - it will not remove a package in world when you do a 
--depclean. This usually happens when you need to update some package to get 
something else to work, so you emerge it. It then goes into world and you get 
the bloat. You can avoid this by using the -1 option when doing such an 
action.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Domain name registration

2009-04-26 Thread Alan McKinnon
On Sunday 26 April 2009 10:05:56 Daniel Iliev wrote:
  Are there any other choices using Gentoo, other than
  DJBDNS or bind-9 ? Thoughts?

 Hi,

 You might want to take a look at net-dns/maradns [1].
 Lightweight, easy to configure, advertised as fastest and most secure.
 I personally love the feature/extension FQDN4 record which allows one
 to automatically set reverse resolving.

 [1] http://www.maradns.org/

I've never heard of maradns, but there's always some clown around claiming to 
be the biggest, bestest, fastest, moreest. YMMV. zero exploits discovered 
can also be due to nobody has bothered to examine the source code

djbdns and bind are OK for what James is looking at - they are well known, 
easy to set up with plenty of folks around who can assist with issues. bind is 
well-maintained too.

Just don't try run an auth server and a cache on the same server. That's a BAD 
idea. Rather run your own auth server, secondary to a DNS provider of your 
choice and use your ISPs cache servers for your caching needs (i.e. there's no 
good reason to be doing this for yourself)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] conflict in update

2009-04-26 Thread John covici
on Saturday 04/25/2009 Alan McKinnon(alan.mckin...@gmail.com) wrote
  On Saturday 25 April 2009 20:52:28 Michael P. Soulier wrote:
   On 25/04/09 Michael P. Soulier said:
app-text/poppler-bindings and app-text/poppler aren't needed by anything
right now.
  
   So, I just unmerged them and now my upgrade path looks good.
  
   I'm not sure what pulled in those newer versions previously.
  
  You did. 
  
  You had it in world, remember. At some point you did something like this:
  
  emerge poppler-bindings
  
  So, it went in world, portage continued to emerge it to the latest and 
  greatest newest version every time you ran emerge -avuND world. Eventually 
  all 
  consumers of the library were removed and you were left with an unused 
  package 
  in world.
  
  Incidentally, poppler has a long and fine history of insanely breaking 
  users' 
  configs every time its developers sneeze. The number of times I've had 
  poppler 
  show up in revdep-rebuild output defies any kind of sane, logical, rational 
  description. Not even Microsoft can breaks so many things so often, and 
  that's 
  saying something...

OK, so this brings up the question, how do I make sure (if there is a
way to do so) that my world file does not contain anything which it
should not -- I am sure I have made the mistake of forgetting to put
the -1, so it would be interesting if there were a way to at least get
a list of such packages.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] conflict in update

2009-04-26 Thread Alan McKinnon
On Sunday 26 April 2009 08:40:39 John covici wrote:
 OK, so this brings up the question, how do I make sure (if there is a
 way to do so) that my world file does not contain anything which it
 should not -- I am sure I have made the mistake of forgetting to put
 the -1, so it would be interesting if there were a way to at least get
 a list of such packages.

Experience and knowledge of current software you are using is actually your 
best guide here. Open the world file in an editor and examine each line. If 
you paid attention while emerging stuff you may find for example that you have 
xulrunner in world.

Immediately, you know it shouldn't be there - it's a dependency for browsers 
that use it. So remove it from world. If you use the kde -meta packages, you 
can probably remove everything that is part of the official shipped kde 
packages. But not k3b for instance, that is a separate project that you must 
install separately.

emerge -av --depclean is the best tool to tell you when you get it wrong - 
if --depclean wants to remove it and you want to keep it, add it to world 
again (with emerge -n or even just edit the world file manually)

It should be easy enough to write a program that examines world and displays 
all packages it finds that are dependencies of something else in world, but I 
haven't found one, and prefer the manual approach above.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] conflict in update

2009-04-26 Thread Dale
Alan McKinnon wrote:

 It should be easy enough to write a program that examines world and displays 
 all packages it finds that are dependencies of something else in world, but I 
 haven't found one, and prefer the manual approach above.


   

I know you can use eix-test-obsolete to find outdated/unneeded thing in
/etc/portage but I wish it would also do something similiar for the
world file.  I just wonder if the person that wrote eix and friends
could add that in as a feature?  It would be neat.  eix works really
well for what it does.

Is their anyone we could sort of poke to work on this?

Dale

:-)  :-) 



[gentoo-user] Re: Domain name registration

2009-04-26 Thread James
Paul Hartman paul.hartman+gentoo at gmail.com writes:

 
 On Sat, Apr 25, 2009 at 5:02 PM, Paul Hartman
 paul.hartman+gentoo at gmail.com wrote:
  On Sat, Apr 25, 2009 at 3:41 PM, James wireless at tampabay.rr.com 
  wrote:
  Hello,
 
  I'm looking for suggestions to use for DNS registrars.
 
  I've been using namecheap for years (they are a reseller for eNom).
  It's cheap and you get what you're looking for. I've got a few
  domains, and been able to set them up for DKIM, Google Apps, etc
  without any issues.
 
 
 There is also a coupon code this month that will give you a discount: 7tulips
 
 


Thanks Paul...

I guess I should have clearly stated that I was looking for a DNS registrar
that, by default, make the customer the DNS registrant, instead of themselves.
As you know, if you are the DNS registrant, then, you own the DN. Many folks
discover this only when they try to migrate ?their? DN.

http://www.keytlaw.com/urls/whoowns.htm

Most registrars do not do this, and personally it miffs me quite a lot...

I'll Look into namecheap and see what their  policy and practices are.

Thanks again,


James







Re: [gentoo-user] conflict in update

2009-04-26 Thread Sebastian Günther
* Alan McKinnon (alan.mckin...@gmail.com) [26.04.09 18:49]:
 
 It should be easy enough to write a program that examines world and displays 
 all packages it finds that are dependencies of something else in world, but I 
 haven't found one, and prefer the manual approach above.
 


#!/bin/bash
for i in $( cat /var/lib/portage/world ); do 
equery d $i; 
done

Slow, ugly, but does the job

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpbi5D2hw8zo.pgp
Description: PGP signature


Re: [gentoo-user] conflict in update

2009-04-26 Thread Daniel Pielmeier
Sebastian Günther schrieb am 26.04.2009 19:55:
 * Alan McKinnon (alan.mckin...@gmail.com) [26.04.09 18:49]:
 It should be easy enough to write a program that examines world and displays 
 all packages it finds that are dependencies of something else in world, but 
 I 
 haven't found one, and prefer the manual approach above.

 
 
 #!/bin/bash
 for i in $( cat /var/lib/portage/world ); do 
 equery d $i; 
 done
 
 Slow, ugly, but does the job
 
 Sebastian
 

Afaik equery does not give the correct output.

Use emerge -pv --depclean on every entry in the world file.

This may however report false positives when packages are involved that
have post dependencies. Happens here with slim,mozilla-thunderbird and
audacious-plugins for instance.

I have attached a small perl script that examines all world entries. It
will take some time for your large world file but give some hints on
unneeded packages.

-- 
Daniel Pielmeier
#!/usr/bin/perl
#
#
#

use strict;
use diagnostics;
use warnings;

my ($package,$status,$line) = ();
my @depclean = ();
my $world = /var/lib/portage/world;

print Examining: $world\n\n;

open(WORLD,$world) || die(world: $!);

foreach $package (WORLD) {
chomp $package;
@depclean = qx(emerge -pv --depclean $package);
foreach $line ( @depclean ) {
if ( $line =~  These are the packages that would be 
unmerged: ) {
$status = needed;
write;
} elsif ( $line =~  No packages selected for removal by 
depclean ) {
$status = unneeded;
write;
}
}
}

format STDOUT_TOP =
Atom:Status: (required in world)
.

format STDOUT =
@ @
$package, $status
.


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] conflict in update

2009-04-26 Thread Graham Murray
Dale rdalek1...@gmail.com writes:

 I know you can use eix-test-obsolete to find outdated/unneeded thing in
 /etc/portage but I wish it would also do something similiar for the
 world file.  I just wonder if the person that wrote eix and friends
 could add that in as a feature?  It would be neat.  eix works really
 well for what it does.

 Is their anyone we could sort of poke to work on this?

There is a package (app-portage/udept) which does this, but it is hard
masked because it is no longer being maintained upstream and has
problems with recent portage versions. It is licensed under GPL-2, so
even if the original author will or cannot maintain it, someone else
could take it over or fork it. 



Re: [gentoo-user] conflict in update

2009-04-26 Thread Mark Knecht
On Sun, Apr 26, 2009 at 10:39 AM, Dale rdalek1...@gmail.com wrote:
 Alan McKinnon wrote:

 It should be easy enough to write a program that examines world and displays
 all packages it finds that are dependencies of something else in world, but I
 haven't found one, and prefer the manual approach above.




 I know you can use eix-test-obsolete to find outdated/unneeded thing in
 /etc/portage but I wish it would also do something similiar for the
 world file.  I just wonder if the person that wrote eix and friends
 could add that in as a feature?  It would be neat.  eix works really
 well for what it does.

 Is their anyone we could sort of poke to work on this?

 Dale

My experience with the world file is I'll first make a copy and then
start deleting individual lines I think aren't required. If I'm right
then emerge -p --depclean won't try to take anything off the system.
If I'm wrong then I add the line back in.

I'm blank right now as to whether you can just comment out a line in
the world file. Maybe that works also.

Anyway, my definition of a minimal world file is I have all the
software I want and need, the fewest lines in the world file, and
--depclean/revdep-rebuild are happy.

- Mark



Re: [gentoo-user] conflict in update

2009-04-26 Thread Dale
Mark Knecht wrote:
 On Sun, Apr 26, 2009 at 10:39 AM, Dale rdalek1...@gmail.com wrote:
   
 Alan McKinnon wrote:
 
 It should be easy enough to write a program that examines world and displays
 all packages it finds that are dependencies of something else in world, but 
 I
 haven't found one, and prefer the manual approach above.



   
 I know you can use eix-test-obsolete to find outdated/unneeded thing in
 /etc/portage but I wish it would also do something similiar for the
 world file.  I just wonder if the person that wrote eix and friends
 could add that in as a feature?  It would be neat.  eix works really
 well for what it does.

 Is their anyone we could sort of poke to work on this?

 Dale
 

 My experience with the world file is I'll first make a copy and then
 start deleting individual lines I think aren't required. If I'm right
 then emerge -p --depclean won't try to take anything off the system.
 If I'm wrong then I add the line back in.

 I'm blank right now as to whether you can just comment out a line in
 the world file. Maybe that works also.

 Anyway, my definition of a minimal world file is I have all the
 software I want and need, the fewest lines in the world file, and
 --depclean/revdep-rebuild are happy.

 - Mark


   

That would be mine as well.  I know a long while back I had a huge world
file.  I did a reinstall, not just for that reason tho, and got it
cleaned back up.  I'm not even sure how long the -1 option has been
around really.  I have tried hard to remember to use this time tho.  Of
course, I did make a back up in my /root directory just in case I need
it one day.

I have 95 packages in my world file bus some have specific versions of
software so in a way, it could be said there is duplicates.

Dale

:-)  :-) 



[gentoo-user] emerge --depclean vs. revdep-rebuild

2009-04-26 Thread David Relson
As a cleanup test, I've run emerge --depclean and revdep-rebuild.

emerge --depclean removed approx 85 files, which seemed reasonable.

revdep-rebuild then rebuilt 7 or 8 packages -- also reasonable.

When I run the commands again, emerge --depclean removes the packages
that revdep-rebuild just rebuilt.

To be specific, the iteration 10 minutes ago cleaned 6 packages:

x11-proto/xf86miscproto
dev-libs/boehm-gc
dev-util/intltool
x11-proto/xf86vidmodeproto
dev-embedded/gputils
x11-misc/util-macros

and rebuilt 7 packages:

dev-embedded/gputils-0.13.3-r1
x11-misc/util-macros-1.2.1
dev-libs/boehm-gc-6.8
x11-proto/xf86miscproto-0.9.2
x11-proto/xf86vidmodeproto-2.2.2
dev-embedded/sdcc-2.5.0_p20060502
x11-drivers/ati-drivers-8.552-r2

Another iteration cleaned 5 packages

x11-proto/xf86miscproto
dev-libs/boehm-gc
x11-proto/xf86vidmodeproto
dev-embedded/gputils
x11-misc/util-macros

and rebuilt the same 7 packages.  Possibly of interest is that
ati-drivers is being rebuilt though it's not being cleaned.

This seems behavior less than optimal.

FWIW, I'm running on an AMD64 and are:
   app-portage/gentoolkit-0.2.4.2-r1 (for revdep-rebuild)
   sys-apps/portage-2.1.6.11 ( for emerge )

Any thoughts on why the two commands don't agree on what's needed and
changes I should make so that the _do_ agree.

Thanks.

David



Re: [gentoo-user] emerge --depclean vs. revdep-rebuild

2009-04-26 Thread Mark Knecht
On Sun, Apr 26, 2009 at 1:27 PM, David Relson rel...@osagesoftware.com wrote:
 As a cleanup test, I've run emerge --depclean and revdep-rebuild.

 emerge --depclean removed approx 85 files, which seemed reasonable.

 revdep-rebuild then rebuilt 7 or 8 packages -- also reasonable.

 When I run the commands again, emerge --depclean removes the packages
 that revdep-rebuild just rebuilt.


In make.conf try adding:

EMERGE_DEFAULT_OPTS=--with-bdeps y

Hope this helps,
Mark



Re: [gentoo-user] emerge --depclean vs. revdep-rebuild

2009-04-26 Thread Dale
Mark Knecht wrote:
 On Sun, Apr 26, 2009 at 1:27 PM, David Relson rel...@osagesoftware.com 
 wrote:
   
 As a cleanup test, I've run emerge --depclean and revdep-rebuild.

 emerge --depclean removed approx 85 files, which seemed reasonable.

 revdep-rebuild then rebuilt 7 or 8 packages -- also reasonable.

 When I run the commands again, emerge --depclean removes the packages
 that revdep-rebuild just rebuilt.

 

 In make.conf try adding:

 EMERGE_DEFAULT_OPTS=--with-bdeps y

 Hope this helps,
 Mark


   

That worked here a good while back as well.  This may make it compile a
bit more at times but it does have a lot of benefits as well. 

Dale

:-)  :-) 



[gentoo-user] can't find ralink driver in 2.6.28-gentoo-r4 kernel

2009-04-26 Thread maxim wexler


Hi group,

For a #make menuconfig on the 2.6.28-gentoo-r4 sources trying to uncover the 
ralink driver.

When I type /rt2x00 I'm told it's defined in 
drivers/net/wireless/rt2x00/Kconfig:1 and can be found by following the path:

device drivers - net device support - wireless lan

I didn't see it there. Anybody else have this problem? Is it named something 
else?

According to serialmonkey the add-on driver is no longer maintained. And the 
one that comes with portage never worked for me.

Maxim



  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.



Re: [gentoo-user] can't find ralink driver in 2.6.28-gentoo-r4 kernel

2009-04-26 Thread Daniel Pielmeier
maxim wexler schrieb am 27.04.2009 00:09:
 
 Hi group,
 
 For a #make menuconfig on the 2.6.28-gentoo-r4 sources trying to uncover the 
 ralink driver.
 
 When I type /rt2x00 I'm told it's defined in 
 drivers/net/wireless/rt2x00/Kconfig:1 and can be found by following the path:
 
 device drivers - net device support - wireless lan
 
 I didn't see it there. Anybody else have this problem? Is it named something 
 else?
 
 According to serialmonkey the add-on driver is no longer maintained. And the 
 one that comes with portage never worked for me.
 
 Maxim

Take a look in the Depends on line of the item you have identified as
the driver in the /rt2x00 search output. Maybe something is not enabled
that is needed for the driver to show up.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] can't find ralink driver in 2.6.28-gentoo-r4 kernel

2009-04-26 Thread Saphirus Sage
Daniel Pielmeier wrote:
 maxim wexler schrieb am 27.04.2009 00:09:
   
 Hi group,

 For a #make menuconfig on the 2.6.28-gentoo-r4 sources trying to uncover the 
 ralink driver.

 When I type /rt2x00 I'm told it's defined in 
 drivers/net/wireless/rt2x00/Kconfig:1 and can be found by following the path:

 device drivers - net device support - wireless lan

 I didn't see it there. Anybody else have this problem? Is it named something 
 else?

 According to serialmonkey the add-on driver is no longer maintained. And the 
 one that comes with portage never worked for me.

 Maxim
 

 Take a look in the Depends on line of the item you have identified as
 the driver in the /rt2x00 search output. Maybe something is not enabled
 that is needed for the driver to show up.

   
I just checked on my 2.6.29-r1, and that path is accurate, and it's at
the bottom of the list under Wireless LAN. I recall I set this when I
was on the 2.6.26 kernel, so I can say almost without a doubt that it
should be on the 2.6.28-r4. Yes, all these are from gentoo-sources.



Re: [gentoo-user] can't find ralink driver in 2.6.28-gentoo-r4 kernel

2009-04-26 Thread maxim wexler

 
 Take a look in the Depends on line of the item you have
 identified as
 the driver in the /rt2x00 search output. Maybe something is
 not enabled
 that is needed for the driver to show up.
 

It's all enabled either M or [*]. Except for !S390 which I suppose means 
*don't* enable. That's cryptographic stuff according to /driver-search and 
the only stuff that's enabled under that heading is given like this {M} or this 
{*}, there's no {}, ie no choice of *no* driver at all for those particular 
entries.

mw


  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/



Re: [gentoo-user] can't find ralink driver in 2.6.28-gentoo-r4 kernel

2009-04-26 Thread maxim wexler


  Take a look in the Depends on line of the item you
 have identified as
  the driver in the /rt2x00 search output. Maybe
 something is not enabled
  that is needed for the driver to show up.
 
    
 I just checked on my 2.6.29-r1, and that path is accurate,
 and it's at
 the bottom of the list under Wireless LAN. I recall I set
 this when I
 was on the 2.6.26 kernel, so I can say almost without a
 doubt that it
 should be on the 2.6.28-r4. Yes, all these are from
 gentoo-sources.


Just double-checked, says depends on EXPERIMENTAL, so I enabled 
CONFIG_EXPERIMENTAL, now I can see the driver under wireless devices. I'm a bit 
worried though cause under help it says driver for(USB-devices) rt2571 and 
rt2572 and I got a rt2570. No big deal, I hope ;)

mw


  __
Ask a question on any topic and get answers from real people. Go to Yahoo! 
Answers and share what you know at http://ca.answers.yahoo.com



Re: [gentoo-user] Re: No sound over HDMI with SB600, 9800GT

2009-04-26 Thread Strake
On Fri, Apr 24, 2009 at 4:52 AM, Leon Feng rainofch...@gmail.com wrote:
 Do you use Gnome ? It has a sound test utility which can  test HDMI
 audio output.
 If there is sound in test utility. Try to upgrade mplayer, it had a
 bug fixed in HDMI audio.


I don't use gnome, but I tried speaker-test and aplay, in vain.

I use VLC, not mplayer, though I doubt that that is the problem.

-- 
MFD



Re: [gentoo-user] emerge --depclean vs. revdep-rebuild

2009-04-26 Thread David Relson
On Sun, 26 Apr 2009 16:17:39 -0500
Dale wrote:

 Mark Knecht wrote:
  On Sun, Apr 26, 2009 at 1:27 PM, David Relson
  rel...@osagesoftware.com wrote: 
  As a cleanup test, I've run emerge --depclean and
  revdep-rebuild.
 
  emerge --depclean removed approx 85 files, which seemed
  reasonable.
 
  revdep-rebuild then rebuilt 7 or 8 packages -- also reasonable.
 
  When I run the commands again, emerge --depclean removes the
  packages that revdep-rebuild just rebuilt.
 
  
 
  In make.conf try adding:
 
  EMERGE_DEFAULT_OPTS=--with-bdeps y
 
  Hope this helps,
  Mark
 
 

 
 That worked here a good while back as well.  This may make it compile
 a bit more at times but it does have a lot of benefits as well. 
 
 Dale

A related thread had a perl script to identify packages as
needed/unneeded.  After 
  1. running the perl script
  2. removing the unneeded packages from world 
  3. adding a few virtual/... packages
  4. adding --with-bdeps y to make.conf

emerge --depclean is now happy, i.e. _nothing_ to remove.

However, revdep-rebuild still insists ati-drivers-8.552 is needed.  The
following message seems to be at the heart of the problem:

  broken /usr/lib64/libAMDXvBA.so.1.0 (requires libstdc++.so.5)

I've created an ebuild bug and will see where that goes.

Thanks for the great advice on --depclean.

Regards,

David



Re: [gentoo-user] ebuild description

2009-04-26 Thread Michael P. Soulier
On 25/04/09 Sebastian Günther said:

 emerge eix
 man eix

Cool. I installed it and ran update-eix.

When I run

eix dev-lang/python

I see that it's highlighting version ~2.5.4-r2, which is what I have
installed. If the 2.5.4-r2 version is masked by keyword, why's it installed
on my system? :)

I haven't explicitely unmasked that version anywhere that I'm aware of.

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


signature.asc
Description: Digital signature


Re: [gentoo-user] ebuild description

2009-04-26 Thread Philip Webb
090426 Michael P. Soulier wrote:
 I installed eix and ran update-eix.  When I run 'eix dev-lang/python'
 it's highlighting version ~2.5.4-r2, which is what I have installed.
 If the 2.5.4-r2 version is masked by keyword,
 why's it installed on my system?

What I get is :

  root:502 root eix ^python$
[I] dev-lang/python
Available versions:
  (2.4)   2.4.4-r5 2.4.4-r6 2.4.4-r14 ~2.4.4-r15
  (2.5)   2.5.2-r7 ~2.5.2-r8 2.5.4-r2
  (2.6)   ~2.6-r5 ~2.6.1-r1 ~2.6.2
  {berkdb bootstrap build cxx doc elibc_uclibc examples gdbm ipv6 ncurses 
nocxx nothreads readline sqlite ssl threads tk ucs2 wininst xml}
Installed versions:  2.5.4-r2(2.5)([2009-04-25 01:59:27])(gdbm ncurses 
readline sqlite ssl threads tk xml -berkdb -build -doc -elibc_uclibc -examples 
-ipv6 -ucs2 -wininst)
Homepage:http://www.python.org/
Description: Python is an interpreted, interactive, object-oriented 
programming language.

Apparently, our version of Python was unmasked very recently.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca