Re: [gentoo-user] tetex USE flag with texlive install

2008-07-23 Thread Emil Beinroth
Hi there,

my texlive setup works well with the tetex useflags enabled, since the
packages I encountered all depend upon a virtual that is provided by
both tetex and texlive.

So I would suggest setting tetex and latex - and if blocks do come up,
you can still disable the flag without problems.

HTH, Emil

PS: Nikos, sorry for the duplicated mail.



Re: [gentoo-user] 2008.0 profile

2008-04-30 Thread Emil Beinroth
On Wed, Apr 30, 2008 at 01:39:33PM +0200, Daniel Mendler wrote:
> Hi!
[snip]
> But I think I found the problem. The packages are not masked in emerge, but 
> are shown as masked in eix. It seems to be only an eix problem (version 
> 0.10.5)

eix-0.12.4 is the only version that currently works with the 2008
profile. This is because of the multiple inheritance used by those
profiles, which simply isn't supported in versions prior to eix-0.12.4.

HTH, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
Reporter: "What do you think about western civilization?"
Gandhi: "I think it would be a good idea."


pgpkkiHM02Unq.pgp
Description: PGP signature


Re: [gentoo-user] portage conflict

2008-04-14 Thread Emil Beinroth
On Mon, Apr 14, 2008 at 01:21:24PM +0300, Sergey Kobzar wrote:
> I thought unmerge sys-apps/coreutils or sys-apps/mktemp and then
> update world, but it may corrupt my system.

coreutils are rather important, they provide things like rm and ls.
unmerge mktemp and merge coreutils directly afterwards. That worked for
me.

HTH, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
You were a werejackal.
You were unlucky.
You are dead.


pgpauTFkbAfyt.pgp
Description: PGP signature


Re: [gentoo-user] format for eix-sync

2008-03-17 Thread Emil Beinroth
On Mon, Mar 17, 2008 at 04:31:11PM -0400, Chuck Robey wrote:
> I was reading in the eix man page about eix-sync, and it gave about a
> million options, but nowhere did I see if give a useable format for the
> options,

Quoting from the manpage ..

  /etc/eixrc
  Global configuration file. The variables in ~/.eixrc or from the
  environment can override the variables set in this file.
  See ~/.eixrc.
  
  [snip]
  
  ~/.eixrc
  Per-user configuration file. The variables in this file can be
  overridden by environment variables. You can use a shell-like
  syntax to set the following variables. ^^
  ^^ 

>  I wanted to have a option line setting but I couldn't tell if it was
>  like
> 
> PRINT_SLOTS=yes   or
> PRINT_SLOTS   yes or
> PRINT_SLOTS="yes" or
> PRINT_SLOTS   "yes"

As said above, eix uses shell-style configuration files so #1 and #3
should be fine.

> There are other permutations.  Howcome the man page doesn't give something
> as obvious as that?  Darn huge man page, after I initially found the
> PRINT_SLOTS defintion, it took me 10 more minutes to find out that it was
> supposed to go into /etc/eix-sync.

Are you sure? Normally that stuff goes into /etc/eixrc or ~/.eixrc.

> It gives a great amoount of info, but maybe it could stand some better
> organization, to let things get found.

Martin actually acknowledges this problem in the "BUGS" section: "There
are too many features: The documentation and configuration has become
too complicated." So it definitely could.

The *huge* list of variables could be split up into sections, for
example all the "MATCH_*" stuff could go into a section called "Changing
default match-fields". 
But this approach is probably be better suited for formats that support
links, so we can have a nice table of contents. info-pages spring to
mind, but I hear many people don't like those.

Another way to reduce the size and complexity could be to split the
whole thing into multiple documents, one for each tool (eix, update-eix,
eix-diff and so on..).

Any thoughts or suggestions on this topic would be greatly appreciated.

Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany


pgpoLNzrlk0d3.pgp
Description: PGP signature


Re: [gentoo-user] I've hosed portage

2008-03-17 Thread Emil Beinroth
Hi,

another thing that might help is not generating the cache at all. It
appears that we can get away with what is in /usr/portage/metadata/cache.

I've put -metadata-transfer into FEATURES to tell portage to skip the
"Generating cache" stuff, and added the following to my
/etc/portage/modules:

portdbapi.auxdbmodule = cache.metadata_overlay.database

I don't guarantee anything, but I've been using this approach for a
while (a year or so) and never had any problems.

I also am using squashfs+aufs for my portage tree, which - apart from
speeding things up here - has the nice little effect that /usr/portage
now only takes up about 50MB in a .sqfs image.
You will need to get aufs from the sunrise overlay, but if you are not
comfortable doing so you can use squashfs+unionfs as explained in this
gentoo-wiki article [1]

If you intend to use aufs, Martin Väth (who is also the current
maintainer of eix) has written a nifty little init-script for handling
those images (see "initscripts.tar.gz" on [2]).

HTH, Emil

[1] 
http://gentoo-wiki.com/HOWTO_VERY_small_Portage_Tree_with_SquashFS_and_UnionFS
[2] http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/index.html

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
Rich bachelors should be heavily taxed. It is not fair that some men should be
happier than others. -- Oscar Wilde


pgpIefaoI76sB.pgp
Description: PGP signature


Re: [gentoo-user] Skipping static libraries

2008-03-16 Thread Emil Beinroth
On Sun, Mar 16, 2008 at 12:11:21PM +0100, Etaoin Shrdlu wrote:
> Well, while I love Gentoo and would never change it with anything else, 
> Debian is (still) the undiscussed champion in terms of number of 
> available packages.
> 
> $ wget -nv http://packages.debian.org/stable/allpackages
> 12:32:32 URL:http://packages.debian.org/stable/allpackages 
> [3585331/3585331] -> "allpackages" [1]
> $ grep '^' allpackages | wc -l
> 22753
> 
> For unstable, the number is even higher:
> 
> $ rm allpackages
> $ wget -nv http://packages.debian.org/unstable/allpackages
> 12:34:12 URL:http://packages.debian.org/unstable/allpackages 
> [4924226/4924226] -> "allpackages" [1]
> $ grep '^' allpackages | wc -l
> 27602

That is not really fair, we do not have foo-qt3, foo-qt4,
foo-mysql, foo-psql .. We have "foo" with useflags.

So either remove the -dev, -qt3, -qt4, virtual packages, [..] from that
list, or calculate the number of use-flag permutations possible for our
packages.

I guess that gentoo beats debian :)

Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!


pgpjjaNhMQWUW.pgp
Description: PGP signature


Re: [gentoo-user] Re: Re: Emerging virtual/editor installs nano - why?

2007-12-07 Thread Emil Beinroth
On Fri, Dec 07, 2007 at 04:15:59PM +0100, Alexander Skwar wrote:
> Emil Beinroth <[EMAIL PROTECTED]> wrote:
[snip]
> > I would say you don't. Just emerge the package you want (as you already
> > mentioned).
> 
> Okay. And why am I able to preselect the mta the way I 
> demonstrated?

Because virtual/mta is not a real package. It's just some sort of alias
that can be change through files in a profile.

The new-style virtuals OTOH are real packages that RDEPEND upon the
packages that provide the functionality. They are not aliases that can
be changed through files in your profile.

Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
"You believe in a book that has talking animals, wizards, witches, demons,
sticks turning into snakes, food falling from the sky, people walking on water,
and all sorts of magical, absurd and primitive stories, and you say that we are
the ones that need help?"
-- Dan Barker, Losing Faith in Faith


pgpfkmmqzJbcr.pgp
Description: PGP signature


Re: [gentoo-user] Re: Emerging virtual/editor installs nano - why?

2007-12-07 Thread Emil Beinroth
On Fri, Dec 07, 2007 at 02:29:54PM +0100, Alexander Skwar wrote:
> Emil Beinroth <[EMAIL PROTECTED]> wrote:
> > there is a virtual/editor package in the tree, that selects nano as the
> > default choice. 
> 
> How does it do that?

It's done by using the RDEPEND variable inside the virtual/editor
ebuild.

RDEPEND="|| ( app-editors/nano
app-editors/dav
..."

That says that the package needs any of the packages in parentheses to
run. If none of them are installed, the first one in the list is
selected to be installed. (AFAIK)

You can read about this in "man 5 ebuild", on [1] and the glep posted
before (that should be an particularly interesting read).

> How do I make it select something else?

I would say you don't. Just emerge the package you want (as you already
mentioned).

Cheers, Emil

[1] http://devmanual.gentoo.org/general-concepts/dependencies/index.html

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!


pgpA9qPm1BFBH.pgp
Description: PGP signature


Re: [gentoo-user] Emerging virtual/editor installs nano - why?

2007-12-07 Thread Emil Beinroth
Hi,

there is a virtual/editor package in the tree, that selects nano as the
default choice. A virtual/mta package does not exist ATM.

http://www.gentoo.org/proj/en/glep/glep-0037.html

HTH, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
My dog run away with the README ..


pgp9QN38lmoaT.pgp
Description: PGP signature


Re: [gentoo-user] Couldn't load XKB keymap...

2007-10-01 Thread Emil Beinroth
Hi

On Mon, Oct 01, 2007 at 04:35:21PM +0200, Nicolai Beuermann wrote:
> Xorg.0.log: (WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
> setxkbmap quits reliably with "Error loading new keyboard description"

I had the same problem, "emerge -1 xorg-server" solved it. Maybe that'll
work for you too.

Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
"Michael, I did nothing. I did absolutely nothing, and it was everything that I
thought it could be."
-- Peter from the movie 'Office space'


pgpsMhde9DiSF.pgp
Description: PGP signature


Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered

2007-09-25 Thread Emil Beinroth
On Mon, Sep 24, 2007 at 08:07:04AM -0400, John Blinka wrote:
> Did as you suggested.  softscripts.old reappeared and no change in inability
> to start nfs automatically, or by hand.

Hm, does `rc default` give you and output? Is the softscripts.old gone
afterwards?

Cheers, Emil.

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
System halted - operator out of coffee!


pgpHiO2TlDblh.pgp
Description: PGP signature


Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered

2007-09-23 Thread Emil Beinroth
On Sun, Sep 23, 2007 at 03:37:36PM -0400, John Blinka wrote:
>  -> ls -lA /var/lib/init.d/
[snip]
> drwxr-xr-x 2 root root  4096 Sep 21 13:16 softscripts.old

That shouldn't be there. Normally, that directory is created and later
removed by /sbin/rc - which is run numerous times at boot. So this seems
really wrong.

I would suggest a clean cut by running `rm -fr /var/lib/init.d/`
and doing a reboot. Services won't be stopped, but your filesystems will
be remouted ro, so they should be fine. I've tested this on my box and
didn't have any problems.


Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany


pgpfhVoyZPrBG.pgp
Description: PGP signature


Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered

2007-09-23 Thread Emil Beinroth
On Sun, Sep 23, 2007 at 08:24:42AM -0400, John Blinka wrote:
> >
> > Try `/etc/init.d/nfs --debug start`, that ought to give us some output
> > to work on.
> 
> The output is rather long - 1830 lines, so it's in the attached file.

Ok, there are some funny things in there. Please also post the output of
the following commands.

 find /var/lib/init.d/ -name nfs | xargs ls -lh
 ls -lA /var/lib/init.d/
 cat /etc/runlevels/*/.critical

> Not a stupid question - I've been known to overlook the obvious.  But I've
> been running the same kernel for quite some time, and nfs has worked
> before on that kernel.  However, on tobey:
> 
> 
> CONFIG_NFS_FS=m
> CONFIG_NFS_V3=y
> # CONFIG_NFS_V3_ACL is not set
> CONFIG_NFS_V4=y
> # CONFIG_NFS_DIRECTIO is not set
> CONFIG_NFSD=m
> CONFIG_NFSD_V3=y
> # CONFIG_NFSD_V3_ACL is not set
> CONFIG_NFSD_V4=y
> CONFIG_NFSD_TCP=y
> CONFIG_NFS_COMMON=y
> # CONFIG_NCPFS_NFS_NS is not set

That looks fine.


Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
 emacs sucks, literally, not a insult, just a comment that its large
  enough to have a noticeable gravitational pull...


pgpaFJzv9uy39.pgp
Description: PGP signature


Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered

2007-09-23 Thread Emil Beinroth
On Sat, Sep 22, 2007 at 04:58:45PM -0400, John Blinka wrote:
> And I guess you are using nfs3?
> 
> I really don't know.  Where would I look to determine whether I'm using 3 or
> 4?

If you don't know, then you are certainly running nfs3. nfs4 uses 'nfs4'
as fs_type in fstab, as opposed to nfs3 which is using 'nfs'.

> 2)  /etc/init.d/nfs start on tobey produces no output, no running
> nfsd daemons, and exit code 1.

Try `/etc/init.d/nfs --debug start`, that ought to give us some output
to work on.

This may be a stupid question, but do you have the nfs-stuff in your
kernel enabled?


Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
Bounty hunter: You're wanted, Wales.
Josey Wales:   Reckon I'm right popular. You a bounty hunter?
Bounty hunter: A man's got to do something for a living these days.
Josey Wales:   Dyin' ain't much of a living, boy. 
 
   -- The Outlaw Josey Wales


pgpQVniWByKQ3.pgp
Description: PGP signature


Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered

2007-09-22 Thread Emil Beinroth
Hi,
what version of portmap, nfs-utils and baselayout are you running? Have
you tried reinstalling those 3 to make sure the config files and init
scripts are up to date?

Please post the output of `rc-status -a` and `rpcinfo -p tobey`. They
might be helpful for diagnosing the problem.

And I guess you are using nfs3?

Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany

"I saw `cout' being shifted "Hello world" times to the left and stopped right 
there."
-- Steve Gonedes


pgpd4GlzN92ME.pgp
Description: PGP signature