Re: [gentoo-user] 'emerge -avDuN world' doesn't find everything

2009-02-04 Thread Grant
 When this was asked a few weeks ago someone then asked why
 --with-bdeps Y isn't the default? This seems to burn nearly everyone
 once in awhile.

 Because using --with-bdeps y causes unnecessary compilation of packages
 that don't need t0 be changed. They won't be used again until the
 dependent package is updated, so why waste time rebuilding them in the
 interim?

 No one really gets burned by this, they just wonder why installed
 packages aren't upgraded, nothing stops working.


 I added:

 EMERGE_DEFAULT_OPTS=--with-bdeps n

 to make.conf and ran 'emerge --depclean' and it got rid of a bunch of
 stuff, but I'm still confused by boost.  --depclean didn't remove it,
 'emerge -avDuN world' doesn't downgrade it even --with-bdeps y, but
 'emerge -pv boost' would downgrade it.  I also re-emerged twinkle and
 rb_libtorrent which are the packages that depend on boost, but the
 result is the same.

 Also man seems to be broken after that --depclean.  When I try to use
 it, I get errors starting with:

 sh: /usr/bin/unlzma: No such file or directory

 - Grant





 This may help.

 r...@smoker / # equery belongs /usr/bin/unlzma
 [ Searching for file(s) /usr/bin/unlzma in *... ]
 app-arch/lzma-utils-4.32.7 (/usr/bin/unlzma - lzma)
 r...@smoker / #

 I would rebuild that or see why it is not already installed.  I would
 think that would be part of system???  I'm not sure tho.

 I seem to recall some switch from LZMA to BZ2 manpages in an
 etc-update recently ...

 emerging lzma-utils fixed it, thank you.  I always etc-update as soon
 as the packages are built.  Should lzma-utils be a dependency of
 something?

 - Grant

 Weird, --depclean wants to remove lzma-utils again even though:

 # equery depends lzma-utils
 [ Searching for packages depending on lzma-utils... ]
 dev-libs/mpfr-2.3.2 (app-arch/lzma-utils)
 media-libs/libpng-1.2.34 (app-arch/lzma-utils)
 media-libs/netpbm-10.44.00-r1 (app-arch/lzma-utils)
 net-dns/dnsmasq-2.45 (app-arch/lzma-utils)
 net-misc/netkit-rsh-0.17-r9 (app-arch/lzma-utils)
 sys-apps/coreutils-6.10-r2 (app-arch/lzma-utils)
 sys-apps/net-tools-1.60_p20071202044231-r1 (app-arch/lzma-utils)
 sys-devel/m4-1.4.11 (app-arch/lzma-utils)
 sys-kernel/linux-headers-2.6.27-r2 (app-arch/lzma-utils)
 sys-libs/gpm-1.20.5 (app-arch/lzma-utils)

 Maybe it's listed as a build-time dependency of coreutils when it
 should be runtime?

 - Grant



 coreutils is an lzma archive, so lzma-utils are required to decompress
 it. So it seems proper that it's a build-time dep.

 I think there was something about man using lzma IF you had lzma-utils
 installed at the time of emerging man. So maybe you can try to unmerge
 lzma-utils, then re-emerge man (and maybe convert your lzma manpages
 to bz2).

man seems to be working fine without lzma-utils now.  It looks like I
emerged help2man at some point yesterday so maybe that helped.

I think I've gotten to the bottom of my boost problem.  I have
rb_libtorrent installed which requires =dev-libs/boost-1.35, meaning
boost needs to be in package.keywords.  If I remove boost from
package.keywords, should portage tell me there is a problem?  I like
the idea of being able to edit package.keywords and know that portage
will either upgrade/downgrade based on the changes, or tell me if
there is a depended-on package installed which doesn't have the
necessary package.keywords entry.

- Grant

 Also be sure you've got PORTAGE_COMPRESS set to what you'd like in
 your make.conf



Re: [gentoo-user] 'emerge -avDuN world' doesn't find everything

2009-02-04 Thread Paul Hartman
On Wed, Feb 4, 2009 at 3:02 PM, Grant emailgr...@gmail.com wrote:
 When this was asked a few weeks ago someone then asked why
 --with-bdeps Y isn't the default? This seems to burn nearly everyone
 once in awhile.

 Because using --with-bdeps y causes unnecessary compilation of packages
 that don't need t0 be changed. They won't be used again until the
 dependent package is updated, so why waste time rebuilding them in the
 interim?

 No one really gets burned by this, they just wonder why installed
 packages aren't upgraded, nothing stops working.


 I added:

 EMERGE_DEFAULT_OPTS=--with-bdeps n

 to make.conf and ran 'emerge --depclean' and it got rid of a bunch of
 stuff, but I'm still confused by boost.  --depclean didn't remove it,
 'emerge -avDuN world' doesn't downgrade it even --with-bdeps y, but
 'emerge -pv boost' would downgrade it.  I also re-emerged twinkle and
 rb_libtorrent which are the packages that depend on boost, but the
 result is the same.

 Also man seems to be broken after that --depclean.  When I try to use
 it, I get errors starting with:

 sh: /usr/bin/unlzma: No such file or directory

 - Grant





 This may help.

 r...@smoker / # equery belongs /usr/bin/unlzma
 [ Searching for file(s) /usr/bin/unlzma in *... ]
 app-arch/lzma-utils-4.32.7 (/usr/bin/unlzma - lzma)
 r...@smoker / #

 I would rebuild that or see why it is not already installed.  I would
 think that would be part of system???  I'm not sure tho.

 I seem to recall some switch from LZMA to BZ2 manpages in an
 etc-update recently ...

 emerging lzma-utils fixed it, thank you.  I always etc-update as soon
 as the packages are built.  Should lzma-utils be a dependency of
 something?

 - Grant

 Weird, --depclean wants to remove lzma-utils again even though:

 # equery depends lzma-utils
 [ Searching for packages depending on lzma-utils... ]
 dev-libs/mpfr-2.3.2 (app-arch/lzma-utils)
 media-libs/libpng-1.2.34 (app-arch/lzma-utils)
 media-libs/netpbm-10.44.00-r1 (app-arch/lzma-utils)
 net-dns/dnsmasq-2.45 (app-arch/lzma-utils)
 net-misc/netkit-rsh-0.17-r9 (app-arch/lzma-utils)
 sys-apps/coreutils-6.10-r2 (app-arch/lzma-utils)
 sys-apps/net-tools-1.60_p20071202044231-r1 (app-arch/lzma-utils)
 sys-devel/m4-1.4.11 (app-arch/lzma-utils)
 sys-kernel/linux-headers-2.6.27-r2 (app-arch/lzma-utils)
 sys-libs/gpm-1.20.5 (app-arch/lzma-utils)

 Maybe it's listed as a build-time dependency of coreutils when it
 should be runtime?

 - Grant



 coreutils is an lzma archive, so lzma-utils are required to decompress
 it. So it seems proper that it's a build-time dep.

 I think there was something about man using lzma IF you had lzma-utils
 installed at the time of emerging man. So maybe you can try to unmerge
 lzma-utils, then re-emerge man (and maybe convert your lzma manpages
 to bz2).

 man seems to be working fine without lzma-utils now.  It looks like I
 emerged help2man at some point yesterday so maybe that helped.

 I think I've gotten to the bottom of my boost problem.  I have
 rb_libtorrent installed which requires =dev-libs/boost-1.35, meaning
 boost needs to be in package.keywords.  If I remove boost from
 package.keywords, should portage tell me there is a problem?  I like
 the idea of being able to edit package.keywords and know that portage
 will either upgrade/downgrade based on the changes, or tell me if
 there is a depended-on package installed which doesn't have the
 necessary package.keywords entry.

Boost 1.36 and above are in separate slots, so you might be able to
install one of those alongside the older version of boost and make
both of your programs happy.



[gentoo-user] Portage issue

2008-02-03 Thread Robert Stockdale IV
I'm currently running Sabayon on an Ahtlon 64 x2. When I run emerge --sync,
it claims that there is an updated version of portage, and I should run
emerge portage before updating any packages. When I run emerge -pv portage I
get:

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

Calculating dependencies... done!

[ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.18.1] 232 kB [0]
[ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE=-bindist -gmp
-test 151 kB [0]
[ebuild U ] sys-apps/portage-2.1.4.1 [2.1.3.4-r1] USE=-build -doc
-epydoc (-selinux) LINGUAS=-pl* 361 kB [0]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE=nls -afs
-bashlogger -plugins% -vanilla 2,564 kB [0]
[blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-
3.2_p33)

Total: 4 packages (4 upgrades, 1 block), Size of downloads: 3,306 kB
Portage tree and overlays:
 [0] /usr/portage



When I try an emerge --pv world I get a lot of blocked packages:

snipped...
[ebuild U ] sys-apps/portage-2.1.4.1 [2.1.3.4-r1] USE=-build -doc
-epydoc (-selinux) LINGUAS=-pl* 361 kB [0]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE=nls -afs
-bashlogger -plugins% -vanilla 2,564 kB [0]
[blocks B ] media-libs/libdts (is blocking media-libs/libdca-0.0.5)
[blocks B ] sys-fs/udev-115-r1 (is blocking sys-fs/device-
mapper-1.02.22-r5)
[blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-
3.2_p33)
[blocks B ] kde-base/ksync (is blocking kde-base/kdelibs-3.5.8-r10)
[blocks B ] dev-util/portatosourceview (is blocking app-portage/portato-
0.8.6.2)
[blocks B ] sys-fs/device-mapper-1.02.19-r1 (is blocking
sys-fs/udev-118-r2)
[blocks B ] sys-apps/setarch (is blocking sys-apps/util-linux-2.13.1)
[blocks B ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.10-r1)
[blocks B ] media-libs/gst-plugins-ugly-0.10.6 (is blocking
media-libs/gstreamer-0.10.17)
[blocks B ] sys-apps/baselayout-2.0.0_rc (is blocking sys-apps/makedev-
3.23.1)
[blocks B ] sys-process/schedutils (is blocking sys-apps/util-
linux-2.13.1)
[blocks B ] app-crypt/libgssapi (is blocking net-libs/libgssglue-0.1)
[blocks B ] =sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)

Total: 616 packages (569 upgrades, 5 downgrades, 33 new, 9 in new slots, 13
blocks), Size of downloads: 2,090,644 kB
Fetch Restriction: 1 package (1 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/sabayon


What can be done to resolve these problems so I can bring my system up to
date.
Thank you,
Bob


Re: [gentoo-user] Unmerged coreutils + mktemp; can't emerge anymore

2008-04-17 Thread Chris Brennan
what did you unmerge?

On Thu, Apr 17, 2008 at 9:48 PM, Walter Dnes [EMAIL PROTECTED] wrote:
  I assume I'll have to download some gentoo system binaries.  Can
 someone point me to what I need?

  Here's what happened.  I did a regular emerge --sync and then tried
 an update.  There seemed to be a circular blockage involving both
 coreutils and mktemp.  As I've done in similar situations in the past, I
 removed the blocking packages and re-tried emerge.  Apparently, I
 unmerged something vital.  Emerge dies like so...
 ==

  * checking ebuild checksums ;-) ...
  * [ ok ] * checking auxfile checksums ;-) ...
  * [ ok ] * checking miscfile checksums ;-) ...
  * [ ok ] * checking alsa-driver-1.0.16.tar.bz2 ;-) ...
  * [ ok ]Traceback (most recent call last):
  File /usr/bin/emerge, line 6971, in ?
retval = emerge_main()
  File /usr/bin/emerge, line 6965, in emerge_main
myopts, myaction, myfiles, spinner)
  File /usr/bin/emerge, line 6339, in action_build
retval = mergetask.merge(
  File /usr/bin/emerge, line 3981, in merge
return self._merge(mylist, favorites, mtimedb)
  File /usr/bin/emerge, line 4259, in _merge
prev_mtimes=ldpath_mtimes)
  File /usr/lib/portage/pym/portage.py, line 4806, in doebuild
alwaysdep=1, logfile=logfile)
  File /usr/lib/portage/pym/portage.py, line 3705, in spawnebuild

 retval=spawnebuild(actionmap[mydo][dep],actionmap,mysettings,debug,alwaysdep=alwaysdep,logfile=logfile)
  File /usr/lib/portage/pym/portage.py, line 3705, in spawnebuild

 retval=spawnebuild(actionmap[mydo][dep],actionmap,mysettings,debug,alwaysdep=alwaysdep,logfile=logfile)
  File /usr/lib/portage/pym/portage.py, line 3705, in spawnebuild

 retval=spawnebuild(actionmap[mydo][dep],actionmap,mysettings,debug,alwaysdep=alwaysdep,logfile=logfile)
  File /usr/lib/portage/pym/portage.py, line 3705, in spawnebuild

 retval=spawnebuild(actionmap[mydo][dep],actionmap,mysettings,debug,alwaysdep=alwaysdep,logfile=logfile)
  File /usr/lib/portage/pym/portage.py, line 3717, in spawnebuild
mysettings, debug=debug, logfile=logfile, **kwargs)
  File /usr/lib/portage/pym/portage.py, line 2824, in spawn
set_term_size(rows, columns, slave_fd)
  File /usr/lib/portage/pym/output.py, line 347, in set_term_size
spawn(cmd, env=os.environ, fd_pipes={0:fd})
  File /usr/lib/portage/pym/portage_exec.py, line 179, in spawn
raise CommandNotFound(mycommand[0])
 portage_exception.CommandNotFound: stty
 [m3000][root][~]

 ==

 --
 Walter Dnes [EMAIL PROTECTED]
 Stop the Squeegee Kids in Pinstripe Suits
 Fight SAC's Canadian internet tax http://walterdnes.wordpress.com
 --
 gentoo-user@lists.gentoo.org mailing list


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



Re: [gentoo-user] Minimal Gentoo installation

2007-09-27 Thread Petar Dimitrijevic

forgottenwizard wrote:

On 23:04 Thu 27 Sep , Petar Dimitrijevic wrote:
  

forgottenwizard wrote:


On 19:42 Thu 27 Sep , Petar Dimitrijevic wrote:
  
  

Hi ppl,

My basic idea is to have chroot-ed environment which will be the full 
system and then to install separate system with only minimal stuff 
(without gcc, portage, ...). When I need to update the minimal system I 
will first update the chrooted one and the emerge the updates onto the 
new one.



What it sounds like you want is an LFS system. Look at the -B option for
emerge. That may have some of what you are looking for.

  
  
Hm I browsed through emerge man page but I'm unable to find the -B option. 
Is this maybe --build option ?



Yeah. Just something to build the binaries should work.

  
I wanted to ask if somebody has done something like this, is something 
like this possible and are there any wiki's or howto's on this topic. 
I've tried searching through the handbook and google-ing but had no luck.



I thought about doing this once before, but what is going to make the
diffrence is how minimal you want the system. Are we talking a kernel +
[ba|z]sh + coreutils or are we talking a tiny Apache server?
  
  

Well I want to have couple of variations:
1. Apache, php, python,
2. Xorg, python, wxwindows

So I guess they wouldn't be too small. My expectations are that the fs size 
would be = 256 MB to 400 MB. My target is VIA C3 Nemiah board with 128MB 
RAM and 512MB CF Card.



Nice. Apache I know you could fit into that without a problem, and X
should be able to handle that little

  

If you want the absolute minimal, then I would look some into LFS since
Gentoo wants to install so much by default (gcc, bash, coreutils, wget,
ect).

  
  
I thought about checking out LFS but Gentoo seemed simpler to try. Also 
because of portage the system is easier to upgrade. But if I can't get what 
I need I guess I'll try LFS.



Look up ALFS (Automated Linuc From Scratch). It's a basic system, but if
you want something fairly minimal, I'd suggest looking at Portage and
the ebuilds you like and see if you couldn't script yourself a small
package manager just using wget and maybe doing the compiling by hand
(or just running ./configure  make  make install, if you don't want
to do anything to minimize the installed packages).

  
Hm very nice idea. Some kind of Gentoo/LFS hybtid :). I guess I'll give 
it a shot.


Thank you so much.
--
[EMAIL PROTECTED] mailing list



[gentoo-user] How to manage package.keywords for greater system reliability?

2009-05-21 Thread Jorge Morais
Hi.   I  used to  think  it  was safe  to  use  ~arch packages  (through
package.keywords) on  a stable system until I saw bug  #257047 - GCC 4.3
didn't  have a strict enough glibc dependency.  And comment #15  in that
bug report is:
[...] we don't test or support half-stable half-testing toolchains, and they
are likely to break, like in this case.  if you're going to use an ~arch
keyworded complier, you will need to use a ~arch libc.

OK, I will  avoid ~arch toolchain components. What worries  me is that I
never saw a warning about this.

Also, GCC 4.3.3 enables FORTIFY_SOURCE=2 by default and this breaks some
packages. A developer said on  2009-04-10 they were only processing bugs
that can be confirmed in ~arch.   So an arch system with ~arch toolchain
could hit many bugs and maybe  such a system would even be less reliable
than an entirely ~arch system.

So:
1) Certain  subsystems, like  the toolchain, need  to be  harmonious -
either all arch or all ~arch. What other subsystems have this need?

2)  With the  FORTIFY_SOURCE issues,  it seems  that an  ~arch toolchain
shouldn't  be used  in an  arch  system at  all.

Now my greatest practical concern: bugfix releases
3) Sometimes Gentoo takes a long time to stabilize a bugfix release like
media-gfx/gimp-2.6.6  (the latest arch-blessed  release is  2.6.4); this
release  fixes  many bugs  and  entered  Portage  in 2009-03-18  and  by
searching on b.g.o  I can't find any regressions;  and it entered Debian
testing in 2009-04-01. I don't know the cause of this delay; I guess the
arch testing teams are overworked.

I often put these bugfix releases in package.keywords.  Isn't it wise to
use the  latest bugfix release in  a given major version? For example, I
want to  use sys-kernel/vanilla-sources-2.6.27.x,  and since
the last arch version is  2.6.27.12, far from the latest upstream stable
version   (2.6.27.24),  I  put
=sys-kernel/vanilla-sources-2.6.27*
in
/etc/portage/package.keywords/shortterm.

When I see a new bugfix release of a package I care about, I look at the
changelog to see  the bug corrections. I decide how  much to wait before
putting the bugfix version in package.keywords depending on the severity
of the  fixed bugs (and I  look at bugs.gentoo.org  for any regressions,
and  I look  if the  version has  been accepted  in distros  like Debian
testing).For   example,   I  put   mail-client/claws-mail-3.7.1   in
package.keywords nearly immediately due to the importance of the bug fixes.

Is it wise to do this for  any program? Maybe only for programs not part
of the  core base  system (such as  the toolchain, bash  or coreutils*),
relying on the developers for the base system?

Or maybe I  should just stick to all-stable, so as  to not be different,
and keep package.keywords  for those packages where I  really want a new
feature (like packages with no stable versions)?

* Speaking  of coreutils,  it  is  still at  7.1,  with upstream  having
  released 7.4, which fixes bugs in 7.1 .



Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01

2013-09-28 Thread Alan McKinnon
On 28/09/2013 22:58, Alon Bar-Lev wrote:
 As far as I read, the problem is with bluetooth keyboards? and some
 other devices and locales, which are minor for this decision of
 removing supportability. Especially for servers and for most of
 workstations. Most sane configuration can be supported with separate
 /.
 
 And of course there is the hidden systemd agenda, which is what I
 suspect had more impact.

No, the problem is not bluetooth keyboards per se. That just happens to
be a convenient example of the kind of problem anticipated. There is a
tendency to use it as the only example, which reinforces the idea that
BT keyboards are problem to be solved.

The actual problem is better stated something like this:

In the early stages of user-land setup (around the time when udev is
getting it's act together), arbitrary code can run and that code can be
in any arbitrary place, but there is no guarantee that that code is even
accessible at the point when it is needed. The actual cause of this mess
is the lack of standards on where to put stuff on Linux systems, and it
forms a classic bootstrap problem.

There has only ever been one way around that problem - define an exact
entry point that is guaranteed to be in a specific state. For current
userland this effectively means that everything that has traditionally
been in bin, sbin and lib in / and /usr must be available as step 1.
Technically, you could include /var/lib/ and maybe even /opt in there.
but we can safely exclude those at this time as only a brain-dead moron
would ever put init-critical code there.

It's a fact of history that Linux packager and package devs have never
managed to make up their minds where to put stuff. Just have a look at
coreutils binaries - why are 60% of them in /usr? It's coreutils! And
core isn't in the name because of a whim.

So you have two choices: enforce a decent separation so that the problem
doesn't happen, or enforce that all binaries are in one place where we
can call it the system. Every major OS out there does the latter, it's
only Linux that tolerates this free for all wild wild west approach of
stick anything anywhere and still expect it to work. Hint: it doesn't
work. Duct-tape and bubblegum don't actually hold stuff together, no
matter how much we try convince ourselves it does.

This should actually have been done when MAKEDEV was phased out in
favour of the now-defunct devfs, but it's never too late to fix design
flaws that date back 30 years or more.

So this brings us back to the essential technical problem that still
needs to be solved on your machines:

/usr needs to be available (and not only for BT keyboards) at the
earliest possible opportunity - this is a technical constraint. To
guarantee that, you need to either merge /usr with /, or use an
initramfs to guarantee that /usr is available before anything else
happens in userland.

It *really* is that simple. If you have a better solution than my last
two choices, then I am all ears.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01

2013-09-28 Thread Volker Armin Hemmann
Am 29.09.2013 00:36, schrieb Alan McKinnon:
 On 28/09/2013 22:58, Alon Bar-Lev wrote:
 As far as I read, the problem is with bluetooth keyboards? and some
 other devices and locales, which are minor for this decision of
 removing supportability. Especially for servers and for most of
 workstations. Most sane configuration can be supported with separate
 /.

 And of course there is the hidden systemd agenda, which is what I
 suspect had more impact.
 No, the problem is not bluetooth keyboards per se. That just happens to
 be a convenient example of the kind of problem anticipated. There is a
 tendency to use it as the only example, which reinforces the idea that
 BT keyboards are problem to be solved.

 The actual problem is better stated something like this:

 In the early stages of user-land setup (around the time when udev is
 getting it's act together), arbitrary code can run and that code can be
 in any arbitrary place, but there is no guarantee that that code is even
 accessible at the point when it is needed. The actual cause of this mess
 is the lack of standards on where to put stuff on Linux systems, and it
 forms a classic bootstrap problem.

 There has only ever been one way around that problem - define an exact
 entry point that is guaranteed to be in a specific state. For current
 userland this effectively means that everything that has traditionally
 been in bin, sbin and lib in / and /usr must be available as step 1.
 Technically, you could include /var/lib/ and maybe even /opt in there.
 but we can safely exclude those at this time as only a brain-dead moron
 would ever put init-critical code there.

 It's a fact of history that Linux packager and package devs have never
 managed to make up their minds where to put stuff. Just have a look at
 coreutils binaries - why are 60% of them in /usr? It's coreutils! And
 core isn't in the name because of a whim.

 So you have two choices: enforce a decent separation so that the problem
 doesn't happen, or enforce that all binaries are in one place where we
 can call it the system. Every major OS out there does the latter, it's
 only Linux that tolerates this free for all wild wild west approach of
 stick anything anywhere and still expect it to work. Hint: it doesn't
 work. Duct-tape and bubblegum don't actually hold stuff together, no
 matter how much we try convince ourselves it does.

 This should actually have been done when MAKEDEV was phased out in
 favour of the now-defunct devfs, but it's never too late to fix design
 flaws that date back 30 years or more.

 So this brings us back to the essential technical problem that still
 needs to be solved on your machines:

 /usr needs to be available (and not only for BT keyboards) at the
 earliest possible opportunity - this is a technical constraint. To
 guarantee that, you need to either merge /usr with /, or use an
 initramfs to guarantee that /usr is available before anything else
 happens in userland.

 It *really* is that simple. If you have a better solution than my last
 two choices, then I am all ears.



the correct and simple solution would be to deprecate /usr and move
everything into / .




Re: [gentoo-user] local shared directory

2016-03-19 Thread Michael Orlitzky
On 03/17/2016 06:38 PM, Rich Freeman wrote:
> On Thu, Mar 17, 2016 at 4:59 PM, Alan McKinnon <alan.mckin...@gmail.com> 
> wrote:
> 
> Actually, this is completely viable...
> 
> If users chmod a file then tell them not to.  If you must, set up some
> cron job to clean up after them.
> 
> But, you can of course do this with ACLs as well.  I haven't tried
> setting those up personally.
> 

I missed the beginning of this thread, but I just caught up on the
archive. This has long been a pet peeve of mine. I don't think there's a
way to make it work *at all* on Linux, which is stupid, since every
somebody's-nephew can set it up in five minutes on a Windows server.

You can very easily come up with a situation that umasks, group
membership, and setgid can't handle. Suppose you want a public website
directory to be,

  * Writable by the client (their developers)
  * Writable by your web developers
  * Readable by the Apache user

You can't make Apache a member of the group that has write access, so
while I haven't been real careful, I don't think you can make that
extremely common situation work. Every law office
(attorney/paralegal/secretary) and small business needs something
similar and it just can't be done.

ACLs also won't work, because nobody ever made default ACLs do the right
thing. Everything in the "acl" directory should be rwx by the "apache"
user below (that's what the setfacl does):

  $ mkdir acl
  $ cd acl
  $ setfacl -d -m user:apache:rwx .

But, it's not! Just copy any file in, and see what happens:

  $ cp /etc/profile ./
  $ getfacl profile
  # file: profile
  # owner: mjo
  # group: mjo user::rw-
  user:apache:rwx# effective:r--
  group::r-x # effective:r--
  mask::r--
  other::r--

The write and execute bits are masked, so your website crashes, because
Apache can't write that file (or traverse it, if we did the same
experiment with a directory).

The problem above is that most common tools will do something braindead
in the presence of ACLs, and attempt to preserve the existing group
bits. Even though, when there are ACLs around, those group bits don't
signify group permissions.

To make ACLs do the right thing, you need to run
sys-apps/apply-default-acl on every file that the users create, so that
the default ACLs get applied by default (craaazzzyyy). You can do that
in a cron job like Alan suggested, or I've hacked tar, cp, mkdir, etc.
to run it automatically on all of our servers.

Why do I need to hack coreutils to share a directory between three
people? The ACL/coreutils people don't really see this as a problem.
They say, tell your paralegal to RTFM and set the permissions how he
wants them. (It will take you about a week to read the man pages for ACLs.)



Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
Hi Willie,

Wednesday, February 13, 2008, 10:36:01 PM, you wrote:

 On Wed, Feb 13, 2008 at 10:25:23PM +0200, Sergey Kobzar wrote:
 # cat /etc/make.conf | grep USE
 USE=-X -acl -gpm -ipv6 -tcpd
 
 # equery depends attr
 [ Searching for packages depending on attr... ]
 sys-apps/coreutils-6.9-r1 (xattr? sys-apps/attr)
 
 # equery depends pwdb
 [ Searching for packages depending on pwdb... ]
 sys-libs/pam-0.99.9.0 (sys-libs/pwdb)
 
 # equery depends hashalot
 [ Searching for packages depending on hashalot... ]
 #
 
 Looks like I can remove hashalot safely only.
 
 attr and pwdb must be added to world class.
 correct?

 Not so fast. Check to see if you do have the xattr flag enabled.

In the kernel config probably?

# cat /usr/src/linux/.config | grep -i XATTR
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_CIFS_XATTR is not set


 The entry for attr is a conditional dependency: you don't need it if
 you don't have the xattr flag. (Equery is, at present, not smart
 enough to decipher dependency from USE.)

# emerge --info | grep -i attr
#


 Also, I'd thought that emerge --depclean has matured enough so that
 you don't get weird stuff like depclean telling you pwdb is save to
 remove, while equery tells you there's a hard dependency. 

Hm... probably you are right...
But it happened after I synced portage tree this morning.



 W
 -- 
 Willie W. Wong  [EMAIL PROTECTED]
 408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
 A mathematician's reputation rests on the number of bad proofs he has given.



-- 
Sergey

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



Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Willie Wong
On Wed, Feb 13, 2008 at 10:25:23PM +0200, Sergey Kobzar wrote:
 # cat /etc/make.conf | grep USE
 USE=-X -acl -gpm -ipv6 -tcpd
 
 # equery depends attr
 [ Searching for packages depending on attr... ]
 sys-apps/coreutils-6.9-r1 (xattr? sys-apps/attr)
 
 # equery depends pwdb
 [ Searching for packages depending on pwdb... ]
 sys-libs/pam-0.99.9.0 (sys-libs/pwdb)
 
 # equery depends hashalot
 [ Searching for packages depending on hashalot... ]
 #
 
 Looks like I can remove hashalot safely only.
 
 attr and pwdb must be added to world class.
 correct?

Not so fast. Check to see if you do have the xattr flag enabled. 
The entry for attr is a conditional dependency: you don't need it if
you don't have the xattr flag. (Equery is, at present, not smart
enough to decipher dependency from USE.)

Also, I'd thought that emerge --depclean has matured enough so that
you don't get weird stuff like depclean telling you pwdb is save to
remove, while equery tells you there's a hard dependency. 

W
-- 
Willie W. Wong  [EMAIL PROTECTED]
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] My recent problems have been strange...

2008-03-03 Thread Chris Walters

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

My recent problems upgrading packages to the testing versions have been more
than a little odd.  It would always end the same way - there would be files
missing that had been there before I merged a package, and the loss of these
files would prevent the caching of service dependencies.  Thus, I could not use
emerge and several other tools.

The strange part is that it happened four different times with four different
packages.  Three examples are texinfo, gawk and coreutils.  What makes this
problem more odd is that I could install those those packages, without trouble,
later - with no changes on my part.  I did not sync, as I was already up to
date, and I did not change any options.  Each time I was able to merge a
package that has caused me trouble, another package, would cause the same 
problem.

Oh, and by the way, yes I do keep an up to date backup of my entire system, and
will restore it, if necessary.  This is especially true when re-installing
Gentoo, as I have found that, often the order of emerging things can make or
break a system (I would call a system broken when you can't run emerge, many
key files are missing, and the environment variables are such that you can't
run anything, and when rebooting does not work, causing you to have to turn off
the computer which corrupts the file system).

Regards,
Chris

PS:  I finally got everything in order, and it is working fine.
-BEGIN PGP SIGNATURE-

iD8DBQFHzLysUx1jS/ORyCsRCl2UAJ9ctdAEK/YsWFxnjRTQwulBPkwd+wCeKiE2
JU07BSsGw/hfdXEw7/pSgPQ=
=B3l7
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] alsa-plugins emerge failure

2008-04-18 Thread Alan McKinnon
On Friday 18 April 2008, Walter Dnes wrote:
   I don't know if this is relevant, but I just recovered from
 unmerging coreutils, which I promise never ever to do againG.  Now
 that I have things working again, and revdep-rebuild says I'm OK.  I
 went back and re-ran emerge --ask --deep --update --world.  It's
 dieing on the last item, namely alsa-plugins.  Here is the message
 and I've also attached the config.log file as directed below...

 
 checking dynamic linker characteristics... GNU/Linux ld.so
 (cached) (cached) checking how to hardcode library paths into
 programs... immediate
 checking for ANSI C header files... (cached) yes
 checking for i686-pc-linux-gnu-pkg-config... no
 checking for pkg-config... /usr/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for ALSA... yes
 checking for snd_pcm_ioplug_create in -lasound... no
 configure: error: *** libasound has no external plugin SDK

libasound comes from package alsa-lib. So, what's the output from these 
commands (assuming you have eix installed):

eix alsa-lib
eix alsa-plugins
emerge --info

I don't have alsa-plugins myself and have never needed it. Are you sure 
you need it?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] df showing rootfs

2008-05-11 Thread Justin

Paul Colquhoun schrieb:

On Sat, 10 May 2008, Willie Wong wrote:
  

Having just upgraded to baselayout2 and openrc, I found that when I
run df, I get

Filesystem   1K-blocks  Used Available Use% Mounted on
rootfs 8008068   6827336   1180732  86% /
/dev/root  8008068   6827336   1180732  86% /
udev 1024088 10152   1% /dev
none257012 0257012   0% /dev/shm
rc-svcdir 102456   968   6% /lib/rc/init.d
/dev/hda6   401572139560262012  35% /var
/dev/hda7 29735368  28433384   1301984  96% /home

Note the first two lines are identical. Is this the way it is 
supposed to be? Or did I miss a configuration variable somewhere

when I etc-update'd?




Just to let you know you are not alone.


$ uname -a
Linux tux 2.6.24-gentoo-r2 #1 SMP PREEMPT Tue Feb 12 18:54:03 EST 2008 
x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD 
GNU/Linux



$ df -k
Filesystem   1K-blocks  Used Available Use% Mounted on
rootfs10008136   1208624   8799512  13% /
/dev/sda3 10008136   1208624   8799512  13% /
udev 10240   200 10040   2% /dev
shm1029084 0   1029084   0% /dev/shm
rc-svcdir 102488   936   9% /lib64/rc/init.d
/dev/sda5 10008136412576   9595560   5% /var
/dev/sda6 10008136   6799800   3208336  68% /usr
/dev/sda7166998544851032 166147512   1% /data
/dev/sdb2  7816780   1789648   6027132  23% /var/spool/news
/dev/sdb3 39068880  27590744  11478136  71% /usr/portage
/dev/sdb4146508292 127278184  19230108  87% /home
/dev/mapper/vg00-backup
 398266496 338484192  59782304  85% /backup



  

For me it is the same. Could it be that this is new in the new coreutils?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] libselinux.so.1 dependency problems

2008-07-07 Thread Andreas Niederl

Hi,

Vladimir G. Ivanovic wrote:
[...]
It turns out that many, many executables require libselinux.so.1, 
despite what the documentation of --depclean in man emerge says (or 
what I think it says -- is this a bug or operator error?)


Sadly sys-apps/coreutils is one of them.
Recent versions - including stable - do an autodetection for libselinux 
and link against it even when emerged with USE=-selinux[1].


This should be no problem for systems which never saw libselinux (i.e. 
installed from 2008.0) but unmerging this library on older systems can 
be quite problematic.



I cobbled together a system that limps along thanks to the 2008.0 beta   
LiveCD (which does not depend on libselinux.so.1), but I am unable to 
emerge a large number of packages that seem to silently depend on 
libselinux.so.1: the ebuilds fail when ld cannot find -lselinux.

[...]
What gives? Where does the -lselinux come from? How can I get rid of   
this maddening dependency?


I think that libtool is the main offender here.
At least on my system somehow '-lselinux' made its way into a bunch of 
.la files and provoked these errors.


So I searched for the packages with broken libtool archive files and 
manually emerged them (with --oneshot).
I figured out the correct order by using the trial-and-error method but 
you could do something like the get_build_order() function in the 
revdep-rebuild script.


The command I've used for searching is as follows (requires 
app-portage/portage-utils):

grep -l -r --include='*.la' selinux /usr/lib | qfile --nocolor -f - | \
cut -d' ' -f 1 | sort | uniq

Another way might be to look at the line before the error message and 
rebuild the package containing the library right before the '-lselinux' 
flag.



hth,
Andi

[1] http://bugs.gentoo.org/show_bug.cgi?id=230073
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Default group for users

2007-08-28 Thread Alan McKinnon
On Monday 27 August 2007, Mick wrote:
  There's two ways of doing this, either new users all have the same
  inital primary group, or they get one based on their user name. The
  second is preferred as homw dirs are then not open by default like
  they would be if they were all owned by the users groups, and the
  user sets a umask of 0002

 From what you're saying the current default Gentoo set up is to have
 a separate primary group, based on the user's name.  Was this the
 case 3-4 years ago?

Dunno :-) I haven't been a gentooite for that many years yet

  You can actually do it any way you want and that suits your needs,
  but the current gentoo default is a sane default. CHange it if you
  want with the usual tools to manipulate
  /etc/passwd|group|shadow|gshadow

 I am aware of these files, but what tools are the usual tools?

ch* and other user/group related commands out of sys-apps/coreutils

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

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Default group for users

2007-08-28 Thread Mick
On Tuesday 28 August 2007, Alan McKinnon wrote:
 On Monday 27 August 2007, Mick wrote:
   There's two ways of doing this, either new users all have the same
   inital primary group, or they get one based on their user name. The
   second is preferred as homw dirs are then not open by default like
   they would be if they were all owned by the users groups, and the
   user sets a umask of 0002
 
  From what you're saying the current default Gentoo set up is to have
  a separate primary group, based on the user's name.  Was this the
  case 3-4 years ago?

 Dunno :-) I haven't been a gentooite for that many years yet

   You can actually do it any way you want and that suits your needs,
   but the current gentoo default is a sane default. CHange it if you
   want with the usual tools to manipulate
   /etc/passwd|group|shadow|gshadow
 
  I am aware of these files, but what tools are the usual tools?

 ch* and other user/group related commands out of sys-apps/coreutils

There you go!  I learn something new every day.  I used to modify these files 
by hand and now I find out that there's a batch command available too.

Thanks!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Hacked by association?

2007-09-19 Thread Daniel da Veiga
On 9/19/07, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Wed, 19 Sep 2007 11:09:30 -0700, Grant wrote:

  Last night my host sent out a message that their database had been
  compromised.  I contacted them this morning and it turns out that all
  of their trouble tickets were exposed.  I checked my records and
  (stupidly) I had included my root password in an email to them about a
  year ago.  I (stupidly) hadn't changed the password since.  I've
  changed it now and rebooted the system, but what do you think?  Do I
  need to start this thing over?

 equery check sys-process/procps
 equery check sys-apps/coreutils

 Make sure that none of the executable files have changed.

 Also, emerge and run app-forensics/rkhunter


I'm not a security expert, not even near. But, if I was in a possible
vulnerable position like a leaked root password, wouldn't an emerge
-ef world and a posterior offline emerge -e world replace any
possible binary changed by an intruder? That would minimize the risk,
and allied with rkhunter and other forensic tools and password change
could make you pretty sure that your environment is safe afain...

Just a thought...
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo as a production server - insecure?

2009-02-16 Thread Mick
I happened to browse through a FreeBSD and a CentOS based virtual
server and was amazed on both occasions as to how slim these machines
were.  I've seen embedded Linux running more processes on hardware
servers than what these machines were running.  In that sense, gcc and
toolchain will be easily perceived as bloat and potential for
vulnerabilities and exploitation.  In my humble opinion, it is all
relevant.  If you understand SELinux you may want to have a look at
it.  One of these days I promised myself to have a good read of it
without falling asleep or developing a migraine!  :p

The beauty of Gentoo is that you can build it as you want it.

2009/2/16 Mike Kazantsev mike_kazant...@fraggod.net:
 On Mon, 16 Feb 2009 13:48:04 +0100
 Johannes Frandsen j...@imento.dk wrote:

 I got in to a discussion about which server to recommend for running
 the php5 symfony framework, and I recommended Gentoo as I had been
 using it my self for a couple of years and have been very satisfied
 with it.
 Somebody pointed out that having a productions server with a gcc
 installed was a big no no security wise, so I did a bit of goggling on
 that topic and found a couple of articles supporting that view.

 I suppose it makes sense only in much broader context: remove
 everything that isn't necessary, even gcc.

 It might certainly give attacker a harder time, but if it's x86/64 linux
 machine, I think that hardly matters - static binaries won't be a
 problem, so, if you're seriously considering that step to be necessary
 - get rid of coreutils (especially that 'rm' utility) and all the
  interpreters (even awk!) first.

 --
 Mike Kazantsev // fraggod.net




-- 
Regards,
Mick



[gentoo-user] Time to move on?

2009-03-21 Thread Mike Diehl
Ok now, I'm getting fed up with all of the breakage that I've seen in Gentoo 
in the last few months.

I'm trying to upgrade MythTV.  Emerge told me to upgrade my profile, which I 
did.  

Now I'm doing an emerge -u world. 

But before I could do that, I had to upgrade portage, with made sense.

When I go to emerge -u portage, I'm told:

sys-apps/mktemp (is blocking sys-apps/coreutils-7.1)

So I do:
emerge -C mktemp

Now I've gotten a whole page of error messages.  The most basic of error 
messages indicates that the system can't load libselinux.so.1.

I'm not using SElinux  Nor do I want to.

All I want to do is upgrade a machine that I built a few months ago.  In fact, 
all I want to do is upgrade a SINGLE PACKAGE on that machine!!!

Has Gentoo become such a moving target that it's no longer suitable for 
normal, every day, usage?

I've got another machine that needs to be upgraded, but hasn't been upgraded 
in some time.  So it's profile is obsolete and many of the core packages have 
been moved around so much that there is no upgrade path from where it is now, 
to where Gentoo is.

Is it time to start looking for a new distribution?  It seems that as long as 
I keep rebuilding machines from a current live CD, all is well.  But if I try 
to upgrade anything else, I end up having to reformat.  I've been using Gentoo 
long enough to have actually met Daniel Robbins in person, but I'm considering 
moving to a different distribution.

Remember, all I want to do is upgrade MythTV.

Mike.


emerge-log (was: Re: [gentoo-user] Time to move on?)

2009-03-22 Thread Daniel Pielmeier
Philip Webb schrieb am 22.03.2009 07:58:

 I never do that: I always do 'emerge -Dup world',
 then decide which packages to update  emerge them individually.
 I also have a list of all the pkgs I have installed with dates + deps,
 which I keep upto-date by hand as I emerge items.
 I've never understood why 'emerge world' is considered standard:
 repeatedly, there are appeals for help here resulting from its shortcomings
 (was it copied from Free BSD when Gentoo was originally created ? ).
 
 But before I could do that, I had to upgrade portage, with made sense.
 When I go to emerge -u portage, I'm told:
 sys-apps/mktemp (is blocking sys-apps/coreutils-7.1)
 
 My hand-made list of pkgs tells me that I removed Mktemp 080419
  that it had been required for Debianutils,
 of which my current version is 2.28.5 installed 090314 .
 Others had problems with this block, perhaps 1 year ago,
 so if you really are that far behind in updating,
 you should search the list archive to see what the advice was back then:
 IIRC a new version of Debianutils incorporated the Mktemp stuff,
 so they became incompatible.
 

You know that such a list already exists. It is /var/log/emerge.log. To
get useful information out of it app-portage/genlop comes handy.

genlop -u mktemp
 * sys-apps/mktemp

 Sat Mar  3 18:14:30 2007  sys-apps/mktemp-1.5
 Tue Dec 18 01:37:31 2007  sys-apps/mktemp-1.5
 Sat Apr 12 23:15:42 2008  sys-apps/mktemp-1.5

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Time to move on?

2009-03-22 Thread Dirk Heinrichs
Am Sonntag, 22. März 2009 02:17:53 schrieb Mike Diehl:

 Ok now, I'm getting fed up with all of the breakage that I've seen in
 Gentoo in the last few months.

 I'm trying to upgrade MythTV.  Emerge told me to upgrade my profile, which
 I did.

 Now I'm doing an emerge -u world.

 But before I could do that, I had to upgrade portage, with made sense.

 When I go to emerge -u portage, I'm told:

 sys-apps/mktemp (is blocking sys-apps/coreutils-7.1)

 So I do:
 emerge -C mktemp

Depending on which package you unmerge before the blocker is resolved, this 
can break your system. This is while paludis and newer versions of portage can 
be told to resolve blockers automatically.

 Has Gentoo become such a moving target that it's no longer suitable for
 normal, every day, usage?

Not if you keep it up to date. Then, even a ~arch system is relatively 
painless to use.

 I've got another machine that needs to be upgraded, but hasn't been
 upgraded in some time.  So it's profile is obsolete and many of the core
 packages have been moved around so much that there is no upgrade path from
 where it is now, to where Gentoo is.

There always is. However, the longer the path, the more pitfalls may be on it.

 Is it time to start looking for a new distribution?  It seems that as long
 as I keep rebuilding machines from a current live CD, all is well.

??? I don't understand.

 But if
 I try to upgrade anything else, I end up having to reformat.

That also doesn't make sense.

 I've been
 using Gentoo long enough to have actually met Daniel Robbins in person, but
 I'm considering moving to a different distribution.

dito.

 Remember, all I want to do is upgrade MythTV.

So, then just do it. People here will help you to resolve the issues.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] nanosleep broken on ~amd64?

2009-05-03 Thread walt

By accident I noticed that the configure script for one of the gentoo
packages (I think maybe it was coreutils but I can't remember) gives
different results on ~x86 and ~amd64.

The script uses a test for working nanosleep that I've included below.

Could someone else compile the test and confirm that it returns 119 on
~amd64 instead of 0?

Here are the steps if you don't already know them:
1. Copy and paste the c code below into a new file named conftest.c
2. # gcc conftest.c
3. # ./a.out  (don't forget that leading dot)
4. # echo $? (this should print either 0 or 119)

I get 119 on ~amd64, which implies the test for nanosleep fails.

Thanks!


Here are the contents of conftest.c:

#include errno.h
#include limits.h
#include signal.h
#include sys/time.h
#include time.h
#include unistd.h
#define TYPE_SIGNED(t) (! ((t) 0  (t) -1))
#define TYPE_MAXIMUM(t) ((t) (! TYPE_SIGNED (t) ? (t) -1 : ~ (~ (t) 0 
 (sizeof (t) * CHAR_BIT - 1

static void
check_for_SIGALRM (int sig)
{
  if (sig != SIGALRM)
_exit (1);
}

int
main ()
{
  static struct timespec ts_sleep;
  static struct timespec ts_remaining;
  static struct sigaction act;
  if (! nanosleep)
return 1;
  act.sa_handler = check_for_SIGALRM;
  sigemptyset (act.sa_mask);
  sigaction (SIGALRM, act, NULL);
  ts_sleep.tv_sec = 0;
  ts_sleep.tv_nsec = 1;
  alarm (1);
  if (nanosleep (ts_sleep, NULL) != 0)
return 1;
  ts_sleep.tv_sec = TYPE_MAXIMUM (time_t);
  ts_sleep.tv_nsec = 9;
  alarm (1);
  if (nanosleep (ts_sleep, ts_remaining) == -1  errno == EINTR
   TYPE_MAXIMUM (time_t) - 10  ts_remaining.tv_sec)
return 0;
  return 119;
}




Re: [gentoo-user] nvidia module won't load after updates

2006-01-24 Thread Ernie Schroder
On Tuesday 24 January 2006 14:39, a tiny voice compelled James Ausmus to 
write:
 On 1/24/06, Ernie Schroder [EMAIL PROTECTED] wrote:
  from dmesg
 
  nvidia: version magic '2.6.14-gentoo-r4 K7 gcc-3.4' should be
  '2.6.14-gentoo-r42.6.14-r-4_new K7 gcc-3.3'
 
  This looks like the kernel was compiled with gcc-3.3 and nvidia-kernel
  was compiled with gcc-3.4. Do I need to rebuild my kernel? I know I've
  restarted x since updating gcc on 12/6/05

 Yes, just recompile your kernel and modules, configure your bootloader
 to point to the new kernel, reboot, then you should be good to go.

 HTH-

 James

The point is, the machine has been rebooted a couple of times and X has been 
started and stopped 10 or 12 times recently without problems. I can't figure 
out why this has started to be a problem some 6 weeks after gcc and nvidia 
kernel were last updated.

  $ gcc-config -c
  i686-pc-linux-gnu-3.4.4
  How can I find what gcc version my kernel was built with?
 
 
  Recent updates:
  pygtk-2.8.2
  bluez-utils-2.22-r1
  bluez-libs-2.22
  gst-plugins-flac-0.8.11
  gst-plugins-vorbis-0.8.11
  gst-plugins-ogg-0.8.11
  gst-plugins-mad-0.8.11
  gtk-gnutella-0.95.4-r1
  coreutils-5.2.1-r7
  nvidia-kernel-1.0.6629-r5
  --
  Regards, Ernie
  --
  gentoo-user@gentoo.org mailing list

-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Switching to Gentoo

2006-03-09 Thread Harry Putnam
 eix package
 epm -ql

Where are these trick tools found?

Maybe I'm way out of date but here is what I'd use:

First  (equery is part of app-portage/gentoolkit)
  (Go thru the man page of course)
It has many of the same functions you may have used with rpm.

o  See list of all *installed* software.
   equery list

  Browse available software that can be installed.
  (esearch is found in app-portage/esearch)
  esearch REGEX  to find stuff on you current portage tree.
 someone already posted the packages page for stuff
 that may not be on your tree yet.

o   See what version of a particular software package is installed.

   equery list pkg

I also use a sometimes quicker way:
   esearch pkg or REGEX  since esearch output also shows what is
   installed and what is not.

o   See if any new versions of *installed* software are available.

   This would involve synching your portage tree which have much more
   repercussions than you want so use the URL posted for packages.

Here is another you will use a lot.  It works like:
  rpm -f /path/file

  equery belongs /path/file

A quick way to find out what package contains a binary tool you
already have installed.

(an easy one)
# equery belongs `which dd`

  [ Searching for file(s) /usr/bin/dd in *... ]
  sys-apps/coreutils-5.94-r1 (/usr/bin/dd - /bin/dd)

That gives you the address of the package this tool resides in on the
portage tree (/usr/portage/ is dropped off the front end)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Non-case sensitive alphabetical sorting

2008-07-21 Thread Mark David Dumlao
I'm sorry, I wasnt clear in my original post.

When using gnome in ubuntu, clicking the sort by name in nautilus sorts using
[Aa]-[Zz]

When using gnome in gentoo, clicking the sort by name in nautilus yields
A-Z-a-z.

The same thing happens for coreutils ls, and so on.

Is there any file or configuration I have to check to use case
insensitive sorting
in gnome?

On Mon, Jul 21, 2008 at 9:12 PM, Steven Lembark [EMAIL PROTECTED] wrote:
 Mark David Dumlao wrote:

 When ordering items by name, a separate and distinct sequence is scene for
 A-Z before the sequence for a-z. This is the expected behavior. What might i
 need to look up to intermix [Aa]-[Zz]?


 Schwartzian Transform is the perlish version of a
 technique from LISP: create a compound structure
 with the output as payload:

my @sorted
= map
{
$_-[-1]
}
sort
{
$a-[0] cmp $b-[0]
}
map
{
my $sortval = uc $_;

[ $sortval, $_ ]
}
@unsorted_text;

 You can use the basic technique to sort anything
 (multi-level sorts, numeric, whatever). Same basic
 process works in other languages that support anon
 arrays or structs.


 --
 Steven Lembark85-09 90th St.
 Workhorse Computing Woodhaven, NY, 11421
 [EMAIL PROTECTED]  +1 888 359 3508





-- 
thing.



Re: [gentoo-user] [extremly, wildly, obscenely OT] Is there a Linux system without GNU userlands?

2008-08-10 Thread b.n.

Chuck Robey ha scritto:

You might possibly be missing one of the most basic (in organization)
differences between any BSD and any Linux is that BSD's are all built and
packaged with a set of userland programs.  This doesn't include many user
applications, just the kind of things that you think of as being part of any
base (like shells, or utilities like the various filesystem tools, grep, find,
like that)  Linux, OTOH, is only a kernel.  Any time you go after a distribution
that has more than the kernel (and ONLY the kernel) its because the group
putting together that distribution has decided to attach those parts, but the
Linux developers are concerned with the kernel alone.


Ehm, thanks for the lesson, but I am actually well aware of that. I 
installed and used a lot of Linux distros and, to a lesser extent, BSD 
and other exotic systems (Hurd anyone?).


Instead, maybe you might possibly be missing the fact that kernel-BSD 
systems with GNU userlands have been attempted (Debian GNU/kFreeBSD 
being one - dunno about the Gentoo/FreeBSD port -is it still alive, by 
the way?). I wondered if there is the contrary, as a startpoint.



So, when you talk about, say, FreeBSD, you're talking about kernel + userland
base.  This isn't truie with Linux, so all linuxes are just a little bit
different in their choice of userland tools.


That's why I asked if there is some Linux that is not a little bit but 
*wildly* different, as to be almost unrecognizable as the Linux we're 
all familiar with (that usually is done by a bash/zsh/ksh shell + other 
gnu coreutils etc.)


For a (theoretical) example, imagine a system that boots in the Windows 
Powershell on top of the Linux kernel.


m.



Re: [gentoo-user] [extremly, wildly, obscenely OT] Is there a Linux system without GNU userlands?

2008-08-11 Thread b.n.

Volker Armin Hemmann ha scritto:


But projects like Haiku and ReactOS created also most of userland from
scratch,  not only the kernels.


reactos tries to copy windows - so it will be using the windows userland. 
haiku tries to be beos - it is will be able to run beos apps. Also some posix-

apps run on it.


In the meaning of windows and beos applications, yes.
However it is not like ReactOS uses the windows graphic shell. It has 
its own windows-like graphic shell.


When I talk about userland, here, I mean more the core stuff, like 
coreutils, graphics and the like.



They had the advantage of taking
inspiration from existing OSes but they actually did the implementation.
Also, SkyOS or Syllable did it, AFAIK.


and how many apps run on skyos or syllabe?


Few, indeed, but that's irrelevant in this context. They exist.


So I can rephrase my question as those two:
Why didn't those projects use the Linux kernel?


because they wanted to do something different.


Yes, very probably. However it's a kind of decision I don't really 
understand... using a Linux or BSD as the underlying kernel would give 
you immediately tons of drivers and stuff, even if you want to rewrite 
most of other utilities from scratch.

Probably I don't get it because I'm not an OS programmer geek. :)

m.



Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Falko
On Wed, Oct 29, 2008 at 5:03 PM, Andrey Vul [EMAIL PROTECTED] wrote:

 
  Good digging around :). So this is a python bug then? Or does portage
 need
  to be update for some change that went into python? Actually, is this
 really
  even a bug...its just a minor cosmetic problem really.
 
 One's bug is another's feature.
 libc in uname is honestly WTF but this begs the real question: why
 doesn't portage (emerge and repoman to be specific) simply get the
 output of uname -a ? It's not written in C, you don't have to mess
 around with 5-6 fd's to get the needed data.

 And I think that this is both a design bug and a red herring.

 By the way, should I make a bug report with a patch to remove this issue?
 Making it selectable via FEATURES requires more digging around in portage.
 --
 Andrey Vul

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?


Maybe we should ask gentoo-dev? The reason not to use uname -a straight up
is because it forces portage to depend on coreutils. Portage ebuilds
currently do not depend on it unless userland_GNU is enabled. I'm split, I
prefer code to always be as easy as possible, yet I don't like unnecessary
dependencies.


Re: [gentoo-user] A question about emerge --info

2008-10-29 Thread Andrey Vul
On Wed, Oct 29, 2008 at 8:15 PM, Andrey Falko [EMAIL PROTECTED] wrote:


 On Wed, Oct 29, 2008 at 5:03 PM, Andrey Vul [EMAIL PROTECTED] wrote:

 
  Good digging around :). So this is a python bug then? Or does portage
  need
  to be update for some change that went into python? Actually, is this
  really
  even a bug...its just a minor cosmetic problem really.
 
 One's bug is another's feature.
 libc in uname is honestly WTF but this begs the real question: why
 doesn't portage (emerge and repoman to be specific) simply get the
 output of uname -a ? It's not written in C, you don't have to mess
 around with 5-6 fd's to get the needed data.

 And I think that this is both a design bug and a red herring.

 By the way, should I make a bug report with a patch to remove this issue?
 Making it selectable via FEATURES requires more digging around in portage.
 --
 Andrey Vul

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?


 Maybe we should ask gentoo-dev? The reason not to use uname -a straight up
 is because it forces portage to depend on coreutils. Portage ebuilds
 currently do not depend on it unless userland_GNU is enabled. I'm split, I
 prefer code to always be as easy as possible, yet I don't like unnecessary
 dependencies.

I'm going to try and reverse-engineer uname and make it python-able. I
just hope python-C is much more simple than Java-C (JNI is a
complex, horrible, and ugly piece of bloat).


-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: [gentoo-user] [OT] One line script for md5sum

2008-12-17 Thread Willie Wong
On Wed, Dec 17, 2008 at 08:48:52AM +, Mick wrote:
 On Sunday 14 December 2008, Neil Bothwick wrote:
  On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote:
   That's why I suggested them :-) I use them a lot, especially when I
   have to run the same set of commands on 15 different hosts, then I do
   something like:
  
   for I in $(seq 1 15) ; do
 
  If you're using bash or zsh,you can speed this up with
 
  for I in {1..15}; do
 
 Hmm, I tried this with a sequence of files that look like name0001stat.txt to 
 name0198stat.txt, but when I run {0001..0198} it fails because it seems to 
 ignore the zeros in 0001 and start counting from 1.  Do I need to use some 
 escape character for this?

This is one place bash's brace expansion is sorely lacking compared to
zsh. In this case you need to use the seq command from coreutils. See
man seq for more info.

In your particular case, you can do 

for I in $(seq -w 198); do ... 0$I ; done

seq is more flexible in that it allows arbitrary formatting of the
sequence using printf floating-point format. 

W

-- 
Willie W. Wong  ww...@math.princeton.edu
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.



Re: [gentoo-user] [OT] One line script for md5sum

2008-12-17 Thread Robert Bridge
On Wed, 17 Dec 2008 15:33:35 -0500
Willie Wong ww...@princeton.edu wrote:

 On Wed, Dec 17, 2008 at 08:48:52AM +, Mick wrote:
  On Sunday 14 December 2008, Neil Bothwick wrote:
   On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote:
That's why I suggested them :-) I use them a lot, especially
when I have to run the same set of commands on 15 different
hosts, then I do something like:
   
for I in $(seq 1 15) ; do
  
   If you're using bash or zsh,you can speed this up with
  
   for I in {1..15}; do
  
  Hmm, I tried this with a sequence of files that look like
  name0001stat.txt to name0198stat.txt, but when I run {0001..0198}
  it fails because it seems to ignore the zeros in 0001 and start
  counting from 1.  Do I need to use some escape character for this?
 
 This is one place bash's brace expansion is sorely lacking compared to
 zsh. In this case you need to use the seq command from coreutils. See
 man seq for more info.
 
 In your particular case, you can do 
 
 for I in $(seq -w 198); do ... 0$I ; done
 
 seq is more flexible in that it allows arbitrary formatting of the
 sequence using printf floating-point format. 

Or use a wildcard based match.

namestat.text works, as would name*stat.text

Both are slightly less specific, but if you have other matches which
the seq excludes, you really should look at your nameing patterns.

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] One line script for md5sum

2008-12-17 Thread Alan McKinnon
On Wednesday 17 December 2008 22:42:34 Robert Bridge wrote:
 On Wed, 17 Dec 2008 15:33:35 -0500

 Willie Wong ww...@princeton.edu wrote:
  On Wed, Dec 17, 2008 at 08:48:52AM +, Mick wrote:
   On Sunday 14 December 2008, Neil Bothwick wrote:
On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote:
 That's why I suggested them :-) I use them a lot, especially
 when I have to run the same set of commands on 15 different
 hosts, then I do something like:

 for I in $(seq 1 15) ; do
   
If you're using bash or zsh,you can speed this up with
   
for I in {1..15}; do
  
   Hmm, I tried this with a sequence of files that look like
   name0001stat.txt to name0198stat.txt, but when I run {0001..0198}
   it fails because it seems to ignore the zeros in 0001 and start
   counting from 1.  Do I need to use some escape character for this?
 
  This is one place bash's brace expansion is sorely lacking compared to
  zsh. In this case you need to use the seq command from coreutils. See
  man seq for more info.
 
  In your particular case, you can do
 
  for I in $(seq -w 198); do ... 0$I ; done
 
  seq is more flexible in that it allows arbitrary formatting of the
  sequence using printf floating-point format.

 Or use a wildcard based match.

 namestat.text works, as would name*stat.text

pedantic
name0[01][0-9]{2}stat.text
/pedantic

would be better still

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] chroot complain not able to find file/directory when it's actually there

2009-01-03 Thread Alan McKinnon
On Sunday 04 January 2009 06:41:31 Zhang Weiwu wrote:
 Hello. Sorry for stupid newbie question:

 # cp /bin/sh /usr/local/bin/sh
 # chroot /usr/local /bin/sh
 chroot: cannot run command `/bin/sh': No such file or directory

 In theory it should work, right? This is the first time I run chroot not
 for rescuing a broken system (which means /dev/ and /proc/ are not
 mounted in chroot jail). However I guess /dev/ and /proc/ doesn't have
 to be mounted to run chroot.

 I am sure this is not because the executable is dynamically linked to a
 file outside of the chroot jail, because I also tried to run executables
 compiled with USE=static

 What could be the reason (for complaining an existing file No such file)?

 Thanks in advance. Using coreutils-6.10-r2 on ibook/ppc

Do this:

a...@nazgul ~ $ ls -al /bin/sh
lrwxrwxrwx 1 root root 4 Nov 24 09:58 /bin/sh - bash

sh is a symlink to bash. You do not have bash inside your chroot, and that is 
the file that is not being found. You must also run ldd on bash, see all the 
libs it links to and copy those as well into the chroot

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] OT prefixing Line numbers in codes for printing

2005-04-25 Thread Willie Wong
The command nl
It is part of coreutils

`man nl' to see usage. 

W

On Mon, Apr 25, 2005 at 02:17:17PM +0800, Ow Mun Heng wrote:
 Hi,
 
   What's the best way to prefix lines of codes with line numbers for
 easier lookup and printing?
 
 eg: 
 line 1
 line 2
 
 becomes
 1: line 1
 2: line 2
 
 I'm currently doing 
 
 grep -n  source-code
 
 What's the equilvalent to doing it with sed??
 
 cat source-code | sed 's:^:[What do I put here?]:g'
 
 
 -- 
 Ow Mun Heng
 Gentoo/Linux on DELL D600 1.4Ghz 
 98% Microsoft(tm) Free!! 
 Neuromancer 14:12:49 up 17:19, 8 users, load average: 0.04, 0.18, 0.14 
 
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 

*   Address:  45 Spelman Hall, Princeton University  08544 *
* Phone:  x68958  AIM:  AngularJerk*
*E-mail:  [EMAIL PROTECTED]From:  sep.dynalias.net   *

Yang: I want to take Engineering mathematics, which is probability this 
   term, and applied mathematics, which is linear algebra this term.
Yang's AA at National Taiwanese University:
  What? Do you want to be an engineering medicine doctor?
Sortir en Pantoufles: up 13 days, 17:51
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] updating sysvinit coreutils and baselayout broke some locales/letters

2005-06-12 Thread Zac Medico
sIbOk wrote:

 /etc/conf.d/keymaps
 Código:
 
 # /etc/conf.d/keymaps
 # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/keymaps,v
 1.1.4.1 2005/02/19 02:13:53 vapier Exp $
 
 # Use KEYMAP to specify the default console keymap.  There is a complete tree
 # of keymaps in /usr/share/keymaps to choose from.
 
 KEYMAP=es euro2
 #KEYMAP=es
snip
 please make sure you have read well the post before posting, an thanks
 for your time.
 of course i know that config files have been split... and i also have
 edited them. that's been explained in the first mail. i don't know
 which is the trouble, i've tryed editing them in different ways, it's
 not a howto problem as long as i know how to configure it all without
 reading them. something in keymaps is wrong but don't know what
 neither why because before updating the packages it worked well and
 the setting are teh same. and i have the troubles using unicode and
 iso8859-15
 very strange, thanks for the support, and please don't reply without reading 
 :)
 

Woa there.  Most of us are just trying to helpful.  IMO it was easy for a speed 
reader to miss that part mixed into your long email.

Did you run etc-update.  I bet that's the problem.

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



Re: [gentoo-user] updating sysvinit coreutils and baselayout broke some locales/letters

2005-06-12 Thread Richard Fish
Zac Medico wrote:

Zac Medico wrote:
  

sIbOk wrote:



i thanks your time to all, i run etc-update. I have 3 different Gentoo
machines i updated them all and converted to unicode just because i
planned a long time ago and they all work great escept the one that
gave me first the error. I didn't miss anything, maybe there is some
broken package althought revdep-debuild doesn't show.
thanks again to all who read the post, and i ddin't mean to eb rude,
just wanted to remark that before answering it's mportant to read
everything well. thanks again :)

  

Is /etc/runlevels/boot/keymaps a symlink to /etc/init.d/keymaps and does 
/etc/init.d/keymaps look okay?

Zac




Also, maybe for some reason you need to remerge sys-apps/kbd.

Zac
  


Yep, that's the next step.  Make sure that 'rc-update -s' shows both
consolefont and keymaps.  I have them both starting in 'boot'.

And yes, I wen't back and read your original message again (sorry about
that), and you don't mention whether these are in your startup or not! ;-

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] updating sysvinit coreutils and baselayout broke some locales/letters

2005-06-16 Thread sIbOk
downgrading to bash-2.05d-r11 solved the problem, but now supr
doesn't work, so bash sucks. i hope i can have a stable version
soon...
anyway i'm happy now i can type anything except supr :P

2005/6/14, Zac Medico [EMAIL PROTECTED]:
 sIbOk wrote:
  splashutils didn't solved the problem and come with a few bugs
 
  2005/6/13, sIbOk [EMAIL PROTECTED]:
 
 before posting i reemerged kbd and didn't help. I don't use the
 console on these Pc cause it's my daughter's Pc so i don't have
 consolefont in any runlevel, but that's not the problem. When i have
 to do anything i start it manually, it's not very often. By now
 someone tells that the problem i get is due tu a strange behavour of
 splahsutils and it's solved in a new version, so gonna try to solve it
 this way. If i can solve it i will post here so if someone has a
 similar problem could know the solution. Thanks to all you :)
 
 
 Are you certain that /etc/init.d/keymaps is executed at boot with no errors?  
 Are all the package versions the same as one of your working gentoo systems?  
 Instead of iso8559-15 you may want to try the utf-8 charset since it is 
 probably more common.
 
 http://www.gentoo.org/doc/en/utf-8.xml
 
 Zac
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no
cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo
soy sIbOk un hijo puta especial...!!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -D pulling in more than it should these days?!

2006-09-28 Thread Richard Fish

On 9/28/06, Daevid Vincent [EMAIL PROTECTED] wrote:

But when I do

 emerge -Dav sys-apps/baselayout

It pulls in baselayout, python, perl, openssl (clearly the last two are not
needed or related to baselayout)


Not true at all.

With the right USE flags, baselayout depends on coreutils, which
depends on autoconf, which depends on perl.

baselayout also depends on portage, which depends on python, which
with USE=ssl depends on openssl.


On my older Gentoo server, typing either of the first two work exactly as
expected and only pull in the single package.


Maybe the other server has already has the up-to-date dependancies, or
hasn't been sync'd recently?  What happens if you run emerge -vp
python on the other server?  Is it also a ~x86 system?  It might help
to see the emerge --info output of both systems.


'baselayout' is only one example.
Here's another one, but the list goes on and on.
Openssl should not require Perl in this case.


Why not??  The ebuild has this for DEPEND:

DEPEND=${RDEPEND}
   sys-apps/diffutils
   =dev-lang/perl-5
   test? ( sys-devel/bc )

Anyway, from looking at the portage ChangeLog and searching bugzie
[1], it looks like there are some changes to the handling of --deep in
an attempt to resolve some circular dependancy and upgrade/downgrade
loop issues.

-Richard

[1] http://bugs.gentoo.org/show_bug.cgi?id=147766
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] should my computer really be able to speak russian?

2006-12-13 Thread Dale
Ryan Sims wrote:
 I noticed while updating to Gnome 2.16 today that gnome2-user-docs
 took a long time (38 min +), and most of that time was spend on
 versions of the documents in languages I don't speak.  After trying a
 few things, I found that disabling the nls use flag in scrollkeeper
 reduced the gnome2-user-docs compile down to under a minute.

 It got me thinking...I speak only English, my fiancee speaks English
 (well, and some French, but she doesn't need our computer to), so I
 thought, hm, is nls support needed *anywhere?*
 So I disabled the use flag globally to test, and discovered probably
 30 packages that want to be rebuilt, from glibc to vim to coreutils to
 audacious.

 If I only need a monoglot computer, would I break anything by
 disabling nls support?

http://www.gentoo.org/doc/en/guide-localization.xml

This is the part that matters:

 There is also additional localisation variable called LINGUAS, which
 affects to localisation files that get installed in gettext-based
 programs, and decides used localisation for some specific software
 packages, such as kde-base/kde-i18n and app-office/openoffice. The
 variable takes in space-separated list of language codes, and
 suggested place to set it is /etc/make.conf:

 Code Listing 3.5: Setting LINGUAS in make.conf

 # nano -w /etc/make.conf
 (Add in the LINGUAS variable. For instance, 
 for German, Finnish and English:)
 LINGUAS=de fi en
 


I think that will help you.  I have -nls in mine too.  So both should
not hurt anything.

Hope that helps.

Dale

:-)  :-)

That paste looks HTML.  Can someone confirm that it is sending as text
only?  I have Seamonkey set up to send text only to this list.


Re: [gentoo-user] should my computer really be able to speak russian?

2006-12-14 Thread Ryan Sims

On 12/13/06, Dale [EMAIL PROTECTED] wrote:


 Ryan Sims wrote:

I noticed while updating to Gnome 2.16 today that gnome2-user-docs
took a long time (38 min +), and most of that time was spend on
versions of the documents in languages I don't speak.  After trying a
few things, I found that disabling the nls use flag in scrollkeeper
reduced the gnome2-user-docs compile down to under a minute.

It got me thinking...I speak only English, my fiancee speaks English
(well, and some French, but she doesn't need our computer to), so I
thought, hm, is nls support needed *anywhere?*
So I disabled the use flag globally to test, and discovered probably
30 packages that want to be rebuilt, from glibc to vim to coreutils to
audacious.

If I only need a monoglot computer, would I break anything by
disabling nls support?

 http://www.gentoo.org/doc/en/guide-localization.xml

This is the part that matters:

 There is also additional localisation variable called LINGUAS, which
affects to localisation files that get installed in gettext-based programs,
and decides used localisation for some specific software packages, such as
kde-base/kde-i18n and app-office/openoffice. The variable takes in 
space-separated
list of language codes, and suggested place to set it is /etc/make.conf:

Code Listing 3.5: Setting LINGUAS in make.conf

# nano -w /etc/make.conf(Add in the LINGUAS variable. For instance,
for German, Finnish and English:)
LINGUAS=de fi en



I think that will help you.  I have -nls in mine too.  So both should not
hurt anything.

Hope that helps.



Thanks.  I do have my LINGUAS variable set to en, but as I understand
it[1], the LINGUAS variable is expanded to use flags, so ebuilds that don't
use those flags wont respect LINGUAS, is that correct?

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

--
Ryan W Sims


Re: [gentoo-user] Can't emerge mozilla-firefox-1.0.6-r2

2005-07-24 Thread Rumen Yotov
Jules Colding wrote:

On Sun, 2005-07-24 at 14:22 +0200, Jules Colding wrote:

On Sat, 2005-07-23 at 11:51 -0700, Zac Medico wrote:

Jules Colding wrote:

Hi,

emerge --sync  emerge -vauDN today gave me the following error.

[snip]

 adding: content/cookie/contents.rdf (stored 0%)
+++ making

chrome
/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/extensions/cookie
= ../../dist/bin/chrome/modern.jar

 zip warning: ../modern.jar not found or empty
 adding: skin/modern/communicator/cookie/taskbar-cookie.gif (stored

0%)

 adding: skin/modern/communicator/cookie/status-cookie.gif (stored

...SKIP...

!!! ERROR: sys-devel/automake-1.9.5 failed.
!!! Function src_install, Line 36, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status
message.
## snip ###

Wouldn't it be a good idea on this point to reemerge coreutils or maybe
the whole of system?

Is the correct way doing:

emerge -e system
emerge -e system
emerge -e world
emerge -e world

? or is a single emerge -e system sufficient?

Thanks,
 jules


Hi,
Don't have any new idea, but could you check if there are some
hardened USE-flags in your /etc/make.conf (like 'pic', 'pie',
'hardened' etc). Using some of them on a normal system may cause problems.
HTH. Rumen



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Can't recompile vmware modules

2006-07-22 Thread Vladimir G. Ivanovic
When I run vmware-config.pl, I get the following error:

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
Makefile:127: *** Inappropriate build environment: you wanted to
use gcc version  while kernel attempts to use gcc version 4.1.1.
Makefile:129: *** For proper build you'll have to
replace /usr/bin/gcc with symbolic link to .  Stop.
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

When I explicitly set the GCC version and then run vmware-config.pl with
VM_CCVER=4.1.1 vmware-config.pl, I successfully pass the GCC version
test, but then make can't find the target auto-build:

Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make: *** No rule to make target `auto-build'.  Stop.
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

Of course the target is there:

fgrep auto-build: /tmp/vmware-config0/vmmon-only/Makefile
auto-build: $(DRIVER_KO)

Falling back to an older version of gentoo-sources doesn't help. make,
perl, binutils and coreutils all seem OK.

Has anyone else run into this kind of problem, and if so, how did you
solve it?

Thanks.

-- 
Vladimir G. Ivanovic [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Arnau Bria
On Tue, 25 Jul 2006 02:14:02 -0700
Richard Fish wrote:

 On 7/25/06, Arnau Bria [EMAIL PROTECTED] wrote:
  Hi,
 
  I've seen a file named [ in my /usr/bin ...
 
 Perfectly normal.  It is a program that implements bash style tests
 for script environments that don't normally do them.  For example:
 
 if [ -f /etc/passwd ] ; then
   echo /etc/passwd exists and is a regular file
 fi
 
 Notice the [ after the if
 
 man test will give you the user manual for it.

Thanks, I'll take a look right now.
 
 More generally, merge gentoolkit, and you can use equery to find out
 where things come from.  Ex:

 ~  equery belongs /usr/bin/[
[...]
sure, but I supposed that if it was a strange file, it could come from
a corrupt source from coreutils. (I already looked for it with
equery, but its strange name make me confused).

I have a periodically rkhunter runnig in my system, but I was afraid I
got a corrupted source package...

 -Richard

even though answering only to Richard, thanks to all who answered my
question!

Cheers!

-- 
Arnau Bria
http://blog.emergetux.net
La vida es una aplastante derrota tras otra hasta que 
acabas deseando que se muera Flanders.
~Homer J. Simpson~
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange [ file

2006-07-25 Thread Etaoin Shrdlu
On Tuesday 25 July 2006 15:16, Neil Bothwick wrote:

 I was disagreeing with the cant be the same comment. I know they are
 different files, but the slightly different behaviour is insufficient
 reason for that. Alexander asked why one was not a link to the other,
 I'd like to know too, but this isn't the reason.

[slowly getting OT...]

Looking at coreutils sources, it turns out that there are two files: 
test.c and lbracket.c.
test.c is the actual program, and lbracket.c is as follows:

$ cat lbracket.c
#define LBRACKET 1
#include test.c

so, test.c does all the work.

After taking a quick look at the code, seems that the only times LBRACKET 
is checked are in the following fragments:


...
/* The official name of this program (e.g., no `g' prefix).  */
#if LBRACKET
# define PROGRAM_NAME [
#else
# define PROGRAM_NAME test
#endif

...

if (LBRACKET)
{
  /* Recognize --help or --version, but only when invoked in the
   [ form, and when the last argument is not ].  POSIX
   allows [ --help and [ --version to have the usual GNU
   behavior, but it requires test --help and test --version
   to exit silently with status 1.  */
  if (margc  2 || !STREQ (margv[margc - 1], ]))
  {
parse_long_options (margc, margv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
usage, AUTHORS, (char const *) NULL);
test_syntax_error (_(missing `]'\n), NULL);
  }

  --margc;
}

  argc = margc;
  pos = 1;
...

Again, the above could have been implemented by looking at argv[0].
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] lzma-utils vs xz-utils

2009-09-13 Thread Philip Webb
Planning to 'emerge -pv eix' for the latest 0.17.1 in testing,
I was surprised by 

  Calculating dependencies... done!
  [ebuild  N] app-arch/xz-utils-4.999.9_beta  1,014 kB
  [uninstall] app-arch/lzma-utils-4.32.7  USE=-nocxx 
  [blocks b ] app-arch/lzma-utils (app-arch/lzma-utils is blocking 
app-arch/xz-utils-4.999.9_beta)
  [blocks b ] app-arch/xz-utils (app-arch/xz-utils is blocking 
app-arch/lzma-utils-4.32.7)
  [ebuild U ] app-portage/eix-0.17.1 [0.17.0] USE=bzip2%* -deprecated -doc 
-nls sqlite -tools 470 kB

I understand the blocks lines, but am uneasy about uninstalling Lzma-utils,
which seems to have many important dependencies:

  root:503 ~ equery d lzma-utils
  [ Searching for packages depending on lzma-utils... ]
  app-arch/rpm2targz-9.0.0.3g (app-arch/lzma-utils)
  app-portage/eix-0.17.0 (app-arch/lzma-utils)
  dev-libs/mpfr-2.4.1_p1 (app-arch/lzma-utils)
  media-libs/libpng-1.2.38 (app-arch/lzma-utils)
  media-libs/netpbm-10.46.00 (app-arch/lzma-utils)
  net-misc/netkit-rsh-0.17-r9 (app-arch/lzma-utils)
  sys-apps/coreutils-7.4 (app-arch/lzma-utils)
  sys-apps/man-1.6f-r3 (lzma? app-arch/lzma-utils)
  sys-apps/net-tools-1.60_p20071202044231-r1 (app-arch/lzma-utils)
  sys-apps/sandbox-2.0 (app-arch/lzma-utils)
  sys-apps/texinfo-4.13 (app-arch/lzma-utils)
  sys-devel/m4-1.4.12 (app-arch/lzma-utils)
  sys-kernel/linux-headers-2.6.27-r2 (app-arch/lzma-utils)
  sys-libs/gpm-1.20.5 (app-arch/lzma-utils)

Can anyone explain what's going on ?

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




Re: [gentoo-user] LINGUAS

2010-08-19 Thread Florian CROUZAT

On 19 août 2010, at 14:27, Graham Murray wrote:

 Elmar Hinz oss.el...@googlemail.com writes:
 
 2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
 Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar 
 Hinz
 did opine thusly:
 
 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.
 
 What has LINGUAS todo with make? I would expect it in rc.conf near the
 UNICODE setting.
 
 
 It has nothing to do with make. It has everything to do with portage.
 
 
 Even than, LINGUAS has rather to do with OpenOffice.
 
 Has it anything to do with portage at all?
 
 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.

I have access to this box where linguas=fr is set.
Check this output:
 $ type -a [
[ est une primitive du shell
[ est /usr/bin/[

[ is a shell built-in becomes est une primitive du shell
I can't see any use flags in coreutils/bash that informs me it will be emerged 
with the linguas support.
How do I know which package will be localized then ? Just curious, I don't 
tweak my linguas.


-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] LINGUAS

2010-08-19 Thread Bill Longman
On 08/19/2010 05:37 AM, Florian CROUZAT wrote:
 
 On 19 août 2010, at 14:27, Graham Murray wrote:
 
 Elmar Hinz oss.el...@googlemail.com writes:

 2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
 Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar 
 Hinz
 did opine thusly:

 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.

 What has LINGUAS todo with make? I would expect it in rc.conf near the
 UNICODE setting.


 It has nothing to do with make. It has everything to do with portage.


 Even than, LINGUAS has rather to do with OpenOffice.

 Has it anything to do with portage at all?

 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.
 
 I have access to this box where linguas=fr is set.
 Check this output:
  $ type -a [
 [ est une primitive du shell
 [ est /usr/bin/[
 
 [ is a shell built-in becomes est une primitive du shell
 I can't see any use flags in coreutils/bash that informs me it will be 
 emerged with the linguas support.
 How do I know which package will be localized then ? Just curious, I don't 
 tweak my linguas.

As others have said, it's the nls setting that does this. Specifically,
the string est une primitive du shell is part of the i18n that's in
the bash binary. When you set LANG or LC_MESSAGES to something
different, i.e., el_GR, you'll get the Greek translation. The man page
for locale has lots of info about this.




Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-22 Thread Helmut Jarausch
On 03/21/2011 08:32:22 PM, Jarry wrote:
 Hi,
 
 I'm looking for the best filesystem for a small multi-purpose
 server with a couple of services running (ftp, web, mail, mysql).
 For me very important features are:
 
 snapshot (will be used for backup, must be native without lvm)
 journaling
 resizeable (if possible online)
 

I'd like to suggest BTRFS.
I know, there is a general warning because it's a new file system.
But I haven't found any issues myself nor those being mentioned on the 
net.

I have several machines running BTRFS for all partitions except / 
(root) since , AFAIK, BTRFS on the root partition needs a patched grub

I had crashes (power down and hard reset due to X11 crashes) but my 
BTRFS files system recover fast and without any glitch.

You might have a look at  
https://btrfs.wiki.kernel.org/index.php/Main_Page

From that
The main Btrfs features include: 
 Extent based file storage (2^64 max file size) 
 Space efficient packing of small files 
 Space efficient indexed directories 
 Dynamic inode allocation 
 Writable snapshots 
 Subvolumes (separate internal filesystem roots) 
 Object level mirroring and striping 
  Checksums on data and metadata (multiple algorithms available)
  Compression 
 Integrated multiple device support, with several raid algorithms 
 Online filesystem check (not yet implemented) 
  Very fast offline filesystem check 
  Efficient incremental backup and FS mirroring 
  Online filesystem defragmentation

BUT, you need a (very) recent kernel. The most recent bad bug when
using coreutils-8.10 (http://bugs.gentoo.org/show_bug.cgi?id=353907)
has been fixed in the 2.6.38 kernel but not for ext4, yet (AFAIK).



Helmut.



[gentoo-user] emerge --update --newuse world before emerge source?

2011-03-31 Thread Pandu Poluan
Hello again. I hope you're not yet bored of my newbie questions...

Out on a whim, I just did `emerge --update --newuse --pretend world`
*just* before emerging the sources. I got this:

[ebuild U ] sys-apps/portage-2.1.9.45 [2.1.9.25] USE=-python2%
[ebuild U ] sys-libs/glibc-2.11.3 [2.11.2-r3]
[ebuild   R   ] sys-libs/ncurses-5.7-r3  USE=unicode* -gpm*
[ebuild U ] sys-libs/zlib-1.2.5-r2 [1.2.3-r1]
[ebuild  N] app-arch/xz-utils-5.0.1  USE=nls threads -static-libs
[ebuild   R   ] sys-apps/coreutils-8.7  USE=unicode*
[ebuild U ] sys-devel/gcc-4.4.5 [4.4.4-r2]
[ebuild U ] sys-apps/util-linux-2.18-r1 [2.17.2] USE=cramfs%* unicode*
[ebuild   R   ] app-arch/gzip-1.4  USE=-pic*
[ebuild U ] sys-apps/net-tools-1.60_p20100815160931
[1.60_p20090728014017-r1]
[ebuild U ] sys-apps/file-5.05 [5.04]
[ebuild   R   ] sys-process/procps-3.2.8  USE=unicode*
[ebuild U ] net-misc/rsync-3.0.8 [3.0.7]
[ebuild   R   ] sys-apps/baselayout-1.12.14-r1  USE=unicode*

Should I `emerge --update --newuse world` before emerging the sources?

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] emerge --update --newuse world before emerge source?

2011-03-31 Thread KH
Am 31.03.2011 10:34, schrieb Pandu Poluan:
 Hello again. I hope you're not yet bored of my newbie questions...
 
 Out on a whim, I just did `emerge --update --newuse --pretend world`
 *just* before emerging the sources. I got this:
 
 [ebuild U ] sys-apps/portage-2.1.9.45 [2.1.9.25] USE=-python2%
 [ebuild U ] sys-libs/glibc-2.11.3 [2.11.2-r3]
 [ebuild   R   ] sys-libs/ncurses-5.7-r3  USE=unicode* -gpm*
 [ebuild U ] sys-libs/zlib-1.2.5-r2 [1.2.3-r1]
 [ebuild  N] app-arch/xz-utils-5.0.1  USE=nls threads -static-libs
 [ebuild   R   ] sys-apps/coreutils-8.7  USE=unicode*
 [ebuild U ] sys-devel/gcc-4.4.5 [4.4.4-r2]
 [ebuild U ] sys-apps/util-linux-2.18-r1 [2.17.2] USE=cramfs%* unicode*
 [ebuild   R   ] app-arch/gzip-1.4  USE=-pic*
 [ebuild U ] sys-apps/net-tools-1.60_p20100815160931
 [1.60_p20090728014017-r1]
 [ebuild U ] sys-apps/file-5.05 [5.04]
 [ebuild   R   ] sys-process/procps-3.2.8  USE=unicode*
 [ebuild U ] net-misc/rsync-3.0.8 [3.0.7]
 [ebuild   R   ] sys-apps/baselayout-1.12.14-r1  USE=unicode*
 
 Should I `emerge --update --newuse world` before emerging the sources?
 
 Rgds,
 --
 Pandu E Poluan
 ~ IT Optimizer ~
 Visit my Blog: http://pepoluan.posterous.com

Hi,

most likely you did an emerge --sync befor. There should have been a
notice like: A new version of portage is available. It is recomendet to
update portage first.
So you should run emerge -av portage first.
After this you could update gcc but since it is a minore update it
wouldn't mater.

Regards
KH
-- 
 _
ASCII ribbon campaign   ( )
against HTML e-mail  X
/ \

ascii ribbon campaign - stop html mail - www.asciiribbon.org



Re: [gentoo-user] /usr/bin/[ and coreutils

2011-10-13 Thread Michael Mol
On Thu, Oct 13, 2011 at 9:50 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Thu, 13 Oct 2011 15:38:08 +0200
 Jesús J. Guerrero Botella jesus.guerrero.bote...@gmail.com wrote:

 Yes, it's a different binary, and it's perfectly usual to find it in a
 Linux system.

 But note that, at least in bash, you rarely will be using /usr/bin/[
 unless you reference it using the full path (either in a relative or
 absolute way). This is because bash has a builtin that takes over that
 binary file. You can check that (or any other command) by using the
 type instruction (again, this is for bash).

 # LC_ALL=C type [
 [ is a shell builtin

 The same goes for 'test'.

 Those binaries are probably there just in case that some init or
 system script written for a standard bourne shell (like the busybox
 one) needs it. But don't take my word for it. I am not sure right now.

 You might not be sure, but that doesn't stop you still being correct :-)

 The binaries are usually POSIX-compliant, whereas the builtins may
 include extra bashisms (which tend to break apps expecting just
 the basic POSIX behaviour)

I haven't encountered POSIX-dependent apps breaking on bash, but I
have encountered the reverse. My most annoying experience was when I
tried building cinelerra on Debian a few years back. Cinelerra's
script started with #!/bin/sh, but depended on bashisms--and I was
running dash.

-- 
:wq



Re: [gentoo-user] Want to seriously test a NEW hard drive

2012-08-08 Thread Mick
On Wednesday 08 Aug 2012 05:21:31 Adam Carter wrote:
  To wipe a drive use dban. - live CD which uses (US) gov approved
  standards of wipe methods/patterns.
 
 Or shred, which comes with coreutils.
 
  dd is only going to show sectors on a failed drive - too late!
  
  To explain, modern drives have a store of locations they can use to
  transparently replace any failed locations (apparently similar to the
  way SSD's do it)  - the internal drive electronics handle this and its
  not visible externally though smart data seems to show it, but as google
  says, smart is a bit suspect.  The problem of a bad sector will only
  show once all the reserved locations are used up, by which time the
  drive is usually in rampant failure.
  
  I do suspect this is one reason for googles results - actual failures of
  the media (as against the motors/electronics are much as they always
  have been, but the drives are not reporting them until its too late.
 
 Ahh - go to know. My reasoning assumed that smart reports all remaps.

May be it does, but I understand that dd or shred won't overwrite them, or any 
bad blocks.  You'll need the hdparm ATA secure erase (or enhanced secure 
erase) feature for that.

BTW, Dale make sure that you plug the drive in a SATA controller for running 
the hdparm erase function.  It has been reported that doing this using a USB 
port will brick the drive!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Building an ARM uclibc system

2012-11-14 Thread Grant
I'm trying to build a tiny Gentoo uclibc system.  I'm chrooted into this
stage:

http://mirrors.rit.edu/gentoo/experimental/arm/uclibc/

and I'm using:

ROOT=/tiny/ emerge baselayout uclibc bash udev coreutils util-linux shadow
kbd net-tools grep procps gzip sed findutils

It's working a lot better than I expected but I'm hoping you guys can help
me with a couple issues I can't figure out.

1)

I get the following error when I boot the tiny system unless I copy
libgcc_s.so.1 from the stage to /tiny/lib/libgcc_s.so.1:

sh: can't load library 'libgcc_s.so.1'

Is there a better way to fix this?

2)

When I try to start jackd from the tiny system I get:

jackd: symbol 'clock_nanosleep': can't resolve symbol
could not open driver .so '/usr/lib/jack/jack_dummy.so': (null)

The following files in both / and /tiny/ reference clock_nanosleep if I
open them in a text editor:

lib/librt.so.0
usr/lib/librt.a

I do have /usr/lib/jack/jack_dummy.so inside the tiny system.

Maybe this is relevant:

# ldconfig
ldconfig: You should remove `/lib' from `/etc/ld.so.conf'
ldconfig: You should remove `/usr/lib' from `/etc/ld.so.conf'
# cat /etc/ld.so.conf
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/lib
/usr/lib
/usr/local/lib

I think Gentoo normally prevents problems like these, but they're coming up
since I'm setting this up in an unconventional way.

- Grant


Re: [gentoo-user] What is libgcc_s.so.1?

2012-11-21 Thread Bruce Hill
On Wed, Nov 21, 2012 at 01:25:27PM -0800, Grant wrote:
 I'm building a minimal Gentoo system but I always get the following error
 when I try to chroot into the final system:
 
 /bin/bash: error while loading shared libraries: libgcc_s.so.1: cannot open
 shared object file: No such file or directory
 
 I ran 'equery b /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc_s.so.1' on
 one of my conventionally-built Gentoo systems and the file isn't determined
 to belong to any package.
 
 Where does this file come from and how can I add it to my manually-built
 Gentoo system?
 
 I'm following these instructions to build the minimal Gentoo system:
 
 http://judepereira.com/blog/going-embedded-with-mgentoo/
 
 ROOT=/mounted/ emerge -auvND baselayout uclibc bash dropbear pam udev
 iptables coreutils nano util-linux shadow kbd net-tools grep procps gzip
 sed findutils mawk htop
 
 - Grant

emerge pfl  e-file libgcc_s.so.1

For that particular one you're going to get a ton of hits ... e-file is
searching http://www.portagefilelist.de 

Sorry to be hit-and-run but we're packing to leave town. You can also locate:

baruch ~ # locate libgcc_s.so.1
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc_s.so.1
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/32/libgcc_s.so.1
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] What is libgcc_s.so.1?

2012-11-21 Thread Alan McKinnon
On Wed, 21 Nov 2012 13:25:27 -0800
Grant emailgr...@gmail.com wrote:

 I'm building a minimal Gentoo system but I always get the following
 error when I try to chroot into the final system:
 
 /bin/bash: error while loading shared libraries: libgcc_s.so.1:
 cannot open shared object file: No such file or directory
 
 I ran 'equery
 b /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc_s.so.1' on one of
 my conventionally-built Gentoo systems and the file isn't determined
 to belong to any package.
 
 Where does this file come from and how can I add it to my
 manually-built Gentoo system?
 
 I'm following these instructions to build the minimal Gentoo system:
 
 http://judepereira.com/blog/going-embedded-with-mgentoo/
 
 ROOT=/mounted/ emerge -auvND baselayout uclibc bash dropbear pam udev
 iptables coreutils nano util-linux shadow kbd net-tools grep procps
 gzip sed findutils mawk htop
 
 - Grant

It comes from gcc. The ebuild install to /usr/lib, not /usr/lib64 like
you searched for (one dir is a symlink to the other to make stuff work.)

The only reference to libgcc_s in the ebuild comes from the toolchain
eclass:

   # libgcc_s  and, with gcc=4.0, other libs get installed in 
multilib specific locations by gcc
# we pull everything together to simplify working environment
if has_multilib_profile ; then
case $(tc-arch) in
amd64)
mv ${D}${LIBPATH}/../$(get_abi_LIBDIR 
amd64)/* ${D}${LIBPATH}
mv ${D}${LIBPATH}/../$(get_abi_LIBDIR 
x86)/* ${D}${LIBPATH}/32
;;
ppc64)
# not supported yet, will have to be 
adjusted when we
# actually build gnat for that arch
;;
esac
fi

And that looks like it needs a multilib profile.

Dunno how much if any that will help you.

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] What is libgcc_s.so.1?

2012-11-21 Thread Grant
  I'm building a minimal Gentoo system but I always get the following
  error when I try to chroot into the final system:
 
  /bin/bash: error while loading shared libraries: libgcc_s.so.1:
  cannot open shared object file: No such file or directory
 
  I ran 'equery
  b /usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.4/libgcc_s.so.1' on one of
  my conventionally-built Gentoo systems and the file isn't determined
  to belong to any package.
 
  Where does this file come from and how can I add it to my
  manually-built Gentoo system?
 
  I'm following these instructions to build the minimal Gentoo system:
 
  http://judepereira.com/blog/going-embedded-with-mgentoo/
 
  ROOT=/mounted/ emerge -auvND baselayout uclibc bash dropbear pam udev
  iptables coreutils nano util-linux shadow kbd net-tools grep procps
  gzip sed findutils mawk htop
 
  - Grant

 It comes from gcc. The ebuild install to /usr/lib, not /usr/lib64 like
 you searched for (one dir is a symlink to the other to make stuff work.)

 The only reference to libgcc_s in the ebuild comes from the toolchain
 eclass:

# libgcc_s  and, with gcc=4.0, other libs get installed
in multilib specific locations by gcc
 # we pull everything together to simplify working
environment
 if has_multilib_profile ; then
 case $(tc-arch) in
 amd64)
 mv
${D}${LIBPATH}/../$(get_abi_LIBDIR amd64)/* ${D}${LIBPATH}
 mv
${D}${LIBPATH}/../$(get_abi_LIBDIR x86)/* ${D}${LIBPATH}/32
 ;;
 ppc64)
 # not supported yet, will have to
be adjusted when we
 # actually build gnat for that
arch
 ;;
 esac
 fi

 And that looks like it needs a multilib profile.

 Dunno how much if any that will help you.

Does this basically mean I must install gcc in order to have a working
system?  Jude doesn't install gcc but he doesn't know why I'm getting that
error.  I thought gcc was only necessary for compiling.

- Grant


Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-13 Thread Alessio Ababilov
2013/8/13 the the.gu...@mail.ru

 The site doesn't describe any real problems.

Well, it is a question to discuss.
I am not going to begin a holy war, I would like just to provide a
possibility to perform a harmless /usr merge for those who share
FreeDesktop's opinion.


 Also I don't see how the current dir tree is not compatible
 with gnu autoconf/automake.

In a simple way: please look at coreutils-8.20.ebuild that has to move a
lot of binaries from /usr/bin to /bin:

cd ${D}/usr/bin
dodir /bin
# move critical binaries into /bin (required by FHS)
local fhs=cat chgrp chmod chown cp date dd df echo false
ln ls
   mkdir mknod mv pwd rm rmdir stty sync true uname
mv ${fhs} ../../bin/ || die could not move fhs bins

2013/8/13 pk pete...@coolmail.se

 So, how would this work for me who have /usr on a separate harddrive?

If you have an initrd, it will work.
Anyway, I just look for people that are interested in /usr merge.

And what would be the benefit? To me, mentioning Fedora, makes the alarm
 bells go off...

Yes. it does. Fedora is a big distro sponsored by Red Hat and its /usr
merge will be in RHEL-7. That's not a great idea to fight against upstream
if it will do /usr merge. Remember, /bin/mail now is moved to /usr/bin/mail
- what will be the next?

Sincerely,
Alessio Ababilov
Senior Software Engineer
Grid Dynamics


Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-15 Thread Daniel Campbell
On 08/13/2013 01:08 PM, Alessio Ababilov wrote:
 
 2013/8/13 the the.gu...@mail.ru mailto:the.gu...@mail.ru
 
 The site doesn't describe any real problems.
 
 Well, it is a question to discuss.
 I am not going to begin a holy war, I would like just to provide a
 possibility to perform a harmless /usr merge for those who share
 FreeDesktop's opinion.
 
 
 Also I don't see how the current dir tree is not compatible
 with gnu autoconf/automake. 
 
 In a simple way: please look at coreutils-8.20.ebuild that has to move a
 lot of binaries from /usr/bin to /bin:
 
 cd ${D}/usr/bin
 dodir /bin
 # move critical binaries into /bin (required by FHS)
 local fhs=cat chgrp chmod chown cp date dd df echo
 false ln ls
mkdir mknod mv pwd rm rmdir stty sync true uname
 mv ${fhs} ../../bin/ || die could not move fhs bins
 
 2013/8/13 pk pete...@coolmail.se mailto:pete...@coolmail.se
 
 So, how would this work for me who have /usr on a separate harddrive?
 
 If you have an initrd, it will work.
 Anyway, I just look for people that are interested in /usr merge.
 
 And what would be the benefit? To me, mentioning Fedora, makes the alarm
 bells go off...
 
 Yes. it does. Fedora is a big distro sponsored by Red Hat and its /usr
 merge will be in RHEL-7. That's not a great idea to fight against
 upstream if it will do /usr merge. Remember, /bin/mail now is moved to
 /usr/bin/mail - what will be the next?
 
 Sincerely,
 Alessio Ababilov
 Senior Software Engineer
 Grid Dynamics
Red Hat is only upstream for GNOME and systemd. What they choose to do
with their distro should not affect the choices of any other distro. I
see no reason for a /usr merge unless one is using Fedora or wants to
turn their Gentoo installation into a makeshift Fedora installation.
This merge should not be forced on Gentoo whatsoever.



[gentoo-user] unwanted msgs from cron after upgrade

2013-12-29 Thread Philip Webb
Yesterday I did my usual Sat system update, emerging new versions of
 libassuan HTTP-Cookies dialog curl coreutils binutils procps virtual/man .
Today after restarting the system, mail continues to be downloaded normally,
my mailbox is receiving notices every  5 min  from my cron mail job :

  Date: Sun, 29 Dec 2013 17:29:16 -0500
  From: Cron Daemon r...@pop.ca.inter.net
  To: purs...@pop.ca.inter.net
  Subject: Cron purslow@localhost test -e /var/run/dhcpcd.pid  
/usr/bin/fetchmail -s 2 /dev/null
  X-Cron-Env: SHELL=/bin/sh
  X-Cron-Env: HOME=/home/purslow
  X-Cron-Env: PATH=/usr/bin:/bin
  X-Cron-Env: LOGNAME=purslow
  X-Cron-Env: USER=purslow
fetchmail: Query status=2 (SOCKET)

Mail is fetched by a cron job in  /var/spool/cron/crontabs/ :

  # DO NOT EDIT THIS FILE - edit the master and reinstall.
  # (/tmp/crontab.v4nXL6 installed on Sun Mar 31 10:46:54 2013)
  # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
  */5 * * * * test -e /var/run/dhcpcd.pid  /usr/bin/fetchmail -s 2 /dev/null

 ~/.fetchmailrc :

  set postmaster purslow
  set bouncemail
  set no spambounce
  set properties 
  poll pop.ca.inter.net
user 'purslow' there with password '' is 'purslow' here options 
stripcr
  mda '/usr/bin/procmail -f - -d purslow'

  poll cmail.chass.utoronto.ca
user 'purs...@chass.utoronto.ca' there with password '' is 
'purslow' here ssl
  mda '/usr/bin/procmail -f - -d purslow'

Can anyone suggest what might have changed to cause this nuisance ?

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




Re: Fwd: Re: [gentoo-user] Two identical systems - different!

2014-03-04 Thread Mick
On Monday 03 Mar 2014 16:02:17 Peter Humphrey wrote:

 I would probably try rebuilding the dev-libs/elfutils and dev-libs/glib
 packages next and checking that they don't end up still having those
 abi-requirements.
 
 qtbz2 -xO /usr/portage/packages/dev-libs/glib-2.36.4-r1.tbz2 |qxpak -x -
 -O RDEPEND
 should tell you what runtime dependencies the package has been built with.
 
 -
 
 I ran that command on both machines and got this output in each case:
 
 # qtbz2 -xO /usr/portage/packages/dev-libs/glib-2.36.4-r1.tbz2 |qxpak -x -
 -O DEPEND
 virtual/libiconv[abi_x86_32(-)] virtual/libffi[abi_x86_32(-)] sys-
 libs/zlib[abi_x86_32(-)] || ( =dev-libs/elfutils-0.142 =dev-
 libs/libelf-0.8.12 =sys-freebsd/freebsd-lib-9.2_rc1 )
 !=app-emulation/emul- linux-x86-baselibs-20130224-r9
 !app-emulation/emul-linux-x86-baselibs[- abi_x86_32(-)]
 app-text/docbook-xml-dtd:4.1.2 =dev-libs/libxslt-1.0 =sys-
 devel/gettext-0.11 =dev-util/gtk-doc-am-1.15 !dev-libs/gobject-
 introspection-1.36 !dev-util/gtk-doc-1.15-r2
 !sys-devel/gettext-0.18.1.1-r3
 
 || ( =sys-devel/automake-1.13:1.13 =sys-devel/automake-1.14:1.14 ) =sys-
 
 devel/autoconf-2.68 sys-devel/libtool app-arch/xz-utils =sys-apps/sed-4
 
 =sys-apps/coreutils-8.5
 
 No mention of any kind of zip.

Well, I see the following in the listed deps above:

  sys-libs/zlib[abi_x86_32(-)]

  app-arch/xz-utils

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Anyone else having a problem with bash?

2015-07-09 Thread wraeth
On Thu, Jul 09, 2015 at 03:19:19PM +0300, Nikos Chantziaras wrote:
 On 09/07/15 14:48, Neil Bothwick wrote:
  On Thu, 09 Jul 2015 13:38:43 +0200, Stephan Müller wrote:
 
  As a wild guess into the blue, it could be related to readline. As I
  see gentoo's bash uses the standalone readline from coreutils, while
  the original bash source maintains an own trimmed version of readline..
  just a thought
 
  In that case, re-emerging Bash with USE=-readline should get rid of the
  problem.
 
 Doesn't seem possible. That USE flag seems to get ignored by portage:
 
emerge --info bash
[...]
app-shells/bash-4.3_p39::gentoo was built with the following:
USE=net (policykit) (readline) -afs -bashlogger -examples
-mem-scramble -nls -plugins -vanilla ABI_X86=64
 
 So readline is enabled. But:
 
echo app-shells/bash -readline  /etc/portage/package.use
emerge -uDN --with-bdeps=y @world
[...]
Nothing to merge; quitting.
 
 That USE flag doesn't do anything.
 
 

Use the command `emerge -uav --changed-use app-shells/bash` - you need
to identify that it's a changed use flag, otherwise it ignores because
there are no new versions.

-- 
wraeth wra...@wraeth.id.au
GnuPG Key: B2D9F759


signature.asc
Description: Digital signature


Re: [gentoo-user] about online database of files per pkg

2015-08-25 Thread Alan McKinnon
On 26/08/2015 00:13, Harry Putnam wrote:
 Not doing too well with google on this...
 
 Can anyong direct me to a database for gentoo where one can find
 out which tools/files go with which pkg.
 
 


As far as I know, there's no such thing. On Ubuntu when you install
firefox, you get an exact list of files that is the same for everyone.
On Gentoo when you install firefox, the list of files you get depends on
USE and whether the dev did any tweaks to the ebuild today.

There's been some efforts at making such a database, for example
http://www.portagefilelist.de
but that doesn't seem to work anymore. Maybe another project has picked
up the ball but I don't know of any.

This is not such a big problem as it might appear. If you are familiar
with the Gentoo base system it's usually obvious what package will give
you the file. The exception is basic utilities like cut and head and
tail. They are not tin their own package but in a big utility one, maybe
it's coreutils maybe it's util-linux. I avoid the problem by always
installing both :-)

Fo9r the rare case where you really can't figure it out, you can always
ask here for someone with the file to equery it and find where it came from.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] about online database of files per pkg

2015-08-25 Thread Dale
Alan McKinnon wrote:
 On 26/08/2015 00:13, Harry Putnam wrote:
 Not doing too well with google on this...

 Can anyong direct me to a database for gentoo where one can find
 out which tools/files go with which pkg.



 As far as I know, there's no such thing. On Ubuntu when you install
 firefox, you get an exact list of files that is the same for everyone.
 On Gentoo when you install firefox, the list of files you get depends on
 USE and whether the dev did any tweaks to the ebuild today.

 There's been some efforts at making such a database, for example
 http://www.portagefilelist.de
 but that doesn't seem to work anymore. Maybe another project has picked
 up the ball but I don't know of any.

 This is not such a big problem as it might appear. If you are familiar
 with the Gentoo base system it's usually obvious what package will give
 you the file. The exception is basic utilities like cut and head and
 tail. They are not tin their own package but in a big utility one, maybe
 it's coreutils maybe it's util-linux. I avoid the problem by always
 installing both :-)

 Fo9r the rare case where you really can't figure it out, you can always
 ask here for someone with the file to equery it and find where it came from.




I use that site, I also run the program that uploads that info, but I to
find it not always helpful.  For Gentoo, there is just to much that can
change from one system to another based on settings/configs.  I'm not
aware of anyone else trying to do this.  Sadly. 

On those occasions where someone asks what belongs to something, I
always do a search here and if I have the info, I reply with it.  It's
likely about the easiest help a person can provide. 

Dale

:-)  :-) 



Re: [gentoo-user] Bind stole my /

2015-11-19 Thread Tom H
On Wed, Nov 18, 2015 at 9:00 PM, Jarry <mr.ja...@gmail.com> wrote:
> On 10-Nov-15 14:22, Tom H wrote:
>> On Tue, Nov 10, 2015 at 12:32 AM, Mike Gilbert <flop...@gentoo.org> wrote:
>>>
>>> Can you try replacing /etc/mtab with a symlink to /proc/self/mounts to
>>> see if it makes any difference? That triggers different code paths in
>>> several programs.
>>
>> Is "/" shown when you run "df -a"? If it's shown, then there's a bug
>> in coreutils (as long as they accept a bug on a system where mtab
>> isn't a symlink) because, AFAIR, "df" should show the mount with the
>> shortest mount path if a filesystem's mounted more than once.
>
> vs5-dns ~ # df -a
> Filesystem1K-blocksUsed Available Use% Mounted on
> /dev/sda2 -   - -- /

> /etc/bind -   - -- /chroot/dns/etc/bind
> /var/bind -   - -- /chroot/dns/var/bind
> /var/log/named 10138552 2300032   7300460  24% /chroot/dns/var/log/named
>
> So there *is* /, but strangely it has no size. But it suddenly does
> have its proper size as soon as I stop bind running:
>
> vs5-dns ~ # df -a
> Filesystem 1K-blocksUsed Available Use% Mounted on
> /dev/sda2  10138552 2300024   7300468  24% /


It must be a bug that it's "/var/log/named" that shows the size of
"/". Most likely same bug as not showing "/" when simply running "df".



Re: [gentoo-user] ls config file?

2016-02-02 Thread David Haller
Hello,

On Tue, 02 Feb 2016, Raffaele BELARDI wrote:
>Andrew Tselischev wrote:
>> On Tue, Feb 02, 2016 at 09:54:37AM +0100, Raffaele BELARDI wrote:
>>> The option that controls this is --quoting-style, so
>>> can alias 'ls' to include this option but was wondering if there is a
>>> global configuration file controlling such behaviour.
>>
>> There is no configuration file for ls(1), but we can still solve the
>> problem. It is free software, after all!
>>
>> Put the file fix.patch in /etc/portage/patches/sys-apps/coreutils-8.25/
>> and apply the following changes to the ebuild (in the function src_prepare):
>
>fantastic!
>
>but I think I'll stick with the alias approach ;-)

Whatever happened to LS_OPTIONS?

But:

# ltrace -e getenv ls >/dev/null
ls->getenv("QUOTING_STYLE")  = nil
ls->getenv("COLUMNS")= nil
ls->getenv("TABSIZE")= nil
ls->getenv("LS_BLOCK_SIZE")  = nil
ls->getenv("BLOCK_SIZE") = nil
ls->getenv("BLOCKSIZE")  = nil
ls->getenv("POSIXLY_CORRECT")= nil
ls->getenv("BLOCK_SIZE") = nil

And there we go:

$ for f in *; do echo ">>$f<<"; done
>>foo *" '
 bar*<<
>>foo *" ' bar*<<
>>foo" ' bar<<
>>more<<
$ QUOTING_STYLE=literal ls -1
foo *" '? bar*
foo *" ' bar*
foo" ' bar
more
$ QUOTING_STYLE=shell ls -1
'foo *" '\''? bar*'
'foo *" '\'' bar*'
'foo" '\'' bar'
more
$ QUOTING_STYLE=c ls -1
"foo *\" '\n bar*"
"foo *\" ' bar*"
"foo\" ' bar"
"more"
$ QUOTING_STYLE=escape ls -1
foo\ *"\ '\n\ bar*
foo\ *"\ '\ bar*
foo"\ '\ bar
more

Where and how you set QUOTING_STYLE (/etc/*, ~/.*) is up to you. Or
use an alias.

HTH,
-dnh, who consideres strace and ltrace as _basic_ tools ;)

-- 
Bored? Want hours of entertainment? Just set the initdefault to 6! Whee!



[gentoo-user] Re: ls config file?

2016-02-02 Thread Nikos Chantziaras

On 02/02/16 10:54, Raffaele BELARDI wrote:

After a recent update of coreutils to version 8.25, 'ls -l' started
displaying names containing spaces enclosed in single quotes, e.g.:

drwxr-xr-x  6 belardi users 4096 May 21  2012 'Audio Libraries'
drwxr-xr-x  2 belardi users 4096 Jun 10  2014 Brochure

The option that controls this is --quoting-style, so
--quoting-style=literal returns to the old behaviour (which I prefer). I
can alias 'ls' to include this option but was wondering if there is a
global configuration file controlling such behaviour.


This is done with aliases. Actually, the "ls" command should by default 
be an alias. If you just enter:


  $ alias

you are shown current aliases. "ls" should actually be defined as:

  alias ls='ls --color=auto'

If you actually enter "/bin/ls", you'll see that by default ls doesn't 
even show colors. So Gentoo's default install provides an alias for that.


You can provide your own alias in /etc/bash/bashrc, which is sourced by 
all interactive shells.


All you need to do is provide your own alias. You can do that in your 
~/.bashrc file by adding this:


  alias ls="ls --color=auto --quoting-style=literal"

Logout and in again and you're done.




Re: [gentoo-user] How to stop ls from quoting output

2016-05-03 Thread parazyd
On Tue, 03 May 2016, Daniel Quinn wrote:

>Some time ago after an update ls started returning output that looked like
>this:
> 
>  8hOk25T.jpg'Janeway Wallpaper-iPhone.png'
>  'Screenshot from 2016-04-06 16-15-15.png'  microsoft.png
>  'Away mission Wallpaper-iPhone.png''Screenshot from 2016-03-18 
> 14-29-06.png'
>  'Screenshot from 2016-04-07 11-29-02.png'  gcal.png
> 
>Note that some of the files have a single quote (‘) surrounding them, and
>others don’t. I understand that this makes things easier to do stuff like
> 
>  for f in $(ls /path/to/whatever); do something; fi
> 
>But since I do that a lot less than I just do this:
> 
>  ls -l
> 
>I’d like to revert to the old way so my eye isn’t jumping left & right all
>the time.
> 
>I see that I can just write an alias:
> 
>  alias ls="ls --quoting-style=literal"
> 
>But I’d hate to do that if the default is “literal” and there’s some
>config installed somewhere that’s changing this. Does anyone have some
>information regarding whether this is a new default upstream or if a
>Gentoo package was somehow modified to do this?
> 
>​

Yes, the quoting is upstream behavior since the last few versions of
coreutils. Anyway, if you mind it, keep it as an alias, it doesn't get
in the way :)

-- 
~ parazyd
0333 7671 FDE7 5BB6 A85E  C91F B876 CB44 FA1B 0274



pgpftapRM_hGD.pgp
Description: PGP signature


[gentoo-user] emerge @system

2016-08-29 Thread Peter Humphrey
Hello list,

I remember someone (Dale?) some time ago being dismayed at the large number 
of packages that would be installed by emerge @system.

Now I see what he meant: on this box 401 of the 1103 installed packages. I'd 
like to construct a set that would create a reliable basis for building the 
rest of @system and @world.

I have a small rescue system on the same disk, also ~amd64, which doesn't 
have X or any desktop programs but otherwise is configured for the same 
setup. Would it be sensible to use the 44 packages in that @system as a new 
set @sysbase on the main system, or would I miss something important?

The set is attached.

-- 
Rgds
Peter
app-arch/bzip2
app-arch/gzip
app-arch/tar
app-arch/xz-utils
app-shells/bash:0
net-misc/iputils
net-misc/rsync
net-misc/wget
sys-apps/baselayout
sys-apps/busybox
sys-apps/coreutils
sys-apps/diffutils
sys-apps/file
sys-apps/findutils
sys-apps/gawk
sys-apps/grep
sys-apps/iproute2
sys-apps/kbd
sys-apps/less
sys-apps/man-pages
sys-apps/net-tools
sys-apps/openrc
sys-apps/sed
sys-apps/util-linux
sys-apps/which
sys-devel/binutils
sys-devel/gcc
sys-devel/gnuconfig
sys-devel/make
sys-devel/patch
sys-fs/e2fsprogs
sys-process/procps
sys-process/psmisc
virtual/dev-manager
virtual/editor
virtual/libc
virtual/man
virtual/modutils
virtual/os-headers
virtual/package-manager
virtual/pager
virtual/service-manager
virtual/shadow
virtual/ssh


Re: [gentoo-user] what about dracut and systemd?

2017-07-28 Thread Rich Freeman
On Fri, Jul 28, 2017 at 9:04 PM, John Covici <cov...@ccs.covici.com> wrote:
> On Fri, 28 Jul 2017 21:00:50 -0400,
> Rich Freeman wrote:
>>
>> On Fri, Jul 28, 2017 at 8:52 PM, John Covici <cov...@ccs.covici.com> wrote:
>> > I have not done a world update in a few weeks and I like to check
>> > things out first before doing this.  I am seeing that the latest
>> > update of dracut has the -systemd as a mandatory flag.  So, since I
>> > have to use systemd, does this mean I can no longer use dracut -- I
>> > have found dracut very nice and would be sad to give it up.
>> >
>> > Any ideas on what is happening here?
>>
>> I'm not running 045 but it looks to me that systemd is just supported
>> automatically if it is installed.  The USE flag was removed, but
>> support was not.
>
> OK, thanks a lot, I wish they would have news items for such things,
> or at least a changelog which seems to be missing in that directory.
>

I have no idea why you don't have a changelog - those are
system-generated from the git logs and maintainers have nothing to do
with them.

The relevant commit message seems to be:
commit 90bb5611b5aa9279ff3b0d4f5c25240bf4b0f9db
Author: Mike Gilbert <flop...@gentoo.org>
Date:   Sun Jul 2 19:06:08 2017 -0400

sys-kernel/dracut: bump to 045

- Clean up ebuild code in general
- Remove unnecessary version setting
- Simplify gentoo.conf config file
- Depend on >=sys-apps/kmod-15 for libkmod
- Stop removing systemd and other modules
- Drop systemd USE flag
- Depend on sys-apps/coreutils[xattr] (bug 613516)

Bug: https://bugs.gentoo.org/615898
Bug: https://bugs.gentoo.org/613516
Package-Manager: Portage-2.3.6_p9, Repoman-2.3.2_p77

:100644 100644 6525882cc17... 04a511a44f1... M  sys-kernel/dracut/Manifest
:00 100644 000... 86fddcc57bb... A
sys-kernel/dracut/dracut-045.ebuild


-- 
Rich



Re: [gentoo-user] How to harden a system

2017-12-25 Thread Michael Orlitzky
On 12/23/2017 10:20 PM, Adam Carter wrote:
> 
> So i'm wondering how much difference there is between hardened and
> non-hardened profiles these days.
> 

The hardened profiles ensure that PaX works by setting PAX_MARKINGS="XT"
and by making sure that you don't disable xattr support in, say,
coreutils. They also let you build gcc/glibc with USE=hardened, although
what that actually does these days I'm not sure.

Aside from that, the hardened profiles have less stuff enabled by
default. The "desktop" portion is the worst offender there...

  $ cat profiles/targets/desktop/make.defaults

  # Copyright 1999-2017 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2

  USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr consolekit
  cups dbus dri dts dvd dvdr emboss encode exif fam firefox flac gif
  glamor gpm gtk jpeg lcms ldap libnotify mad mng mp3 mp4 mpeg ogg
  opengl pango pdf png policykit ppds qt3support qt5 sdl spell startup-
  notification svg tiff truetype vorbis udev udisks unicode upower usb
  wxwidgets X xcb x264 xml xv xvid"

That's as opposed to,

  $ cat profiles/features/hardened/make.defaults
  ...
  USE="${USE} -berkdb -gdbm -tcpd"
  USE="${USE} -fortran"
  USE="${USE} -cli -session"
  USE="${USE} -dri"
  USE="${USE} -modules"



Re: [gentoo-user] New PC hangs/lacks ?

2020-05-06 Thread tuxic
On 05/06 09:16, Walter Dnes wrote:
> On Wed, May 06, 2020 at 12:21:00PM +0200, tu...@posteo.de wrote
> 
> > Does everyone has the same problems probably already solved
> > or any idea how I can those freezes?
> 
>   It looks like blender is a heavy-duty program that bogs down your
> system.  You could buy a new machine, or you could try the "nice"
> command.  The tradeoff is that your system becomes more responsive
> because the program is launched with a lower priority.  The usual
> priority levels range from 20 (lowest priority for your program) to
> -19 (highest priority for your program).  Note that you have to use
> root or sudo to use negative nice-level (higher priority).  See website
> https://www.gnu.org/software/coreutils/manual/html_node/nice-invocation.html#nice-invocation
> because the "man nice" page sucks.
> 
>   In your case, you could de-prioritize blender to the lowest level by
> launching it like so...
> 
> nice -n 20 blender 
> 
> -- 
> Walter Dnes 
> I don't run "desktop environments"; I run useful applications
> 

Hi Walter,

Thanks for you help and info!

Buying a new machine is not an option, I bought this one 
a month ago. Take a look the specs.

Nice will also not help, since it is kinda "lock" that suddenly
kicks in. This is only an example: If a programm acquires the
system bus and hold it due to a programming error, the system freezes.
A nice would not help, since no one, who probablu could help to 
get out of this situation will get no processing time.

Sorry if I made myself not clear enough in this regard...I am
no native speaker.

Cheers!
Meino





Re: [gentoo-user] df command no longer working

2023-02-12 Thread Frank Steinmetzger
Am Sun, Feb 12, 2023 at 02:37:22PM -0600 schrieb Dale:
> Howdy,
> 
> As some may recall, I'm bad to fill up a hard drive.  I regularly use df
> -h to see where drives are as far as filling up and such.  Usually, it
> takes only a second or so to list them all.  Speed is one reason I use
> it.  I did my regular updates last weekend and for the past few days, it
> hasn't worked.  I did a re-emerge of coreutils, then some of its
> friends.  It still doesn't work.  When I run df -h, it just sits there. 
> It will sit there for hours, doing nothing it seems.  Eventually, I hit
> ctrl c to kill it. 
> 
> Anyone else running into this?  Any idea as to why it stopped working? 
> I can't find anything on BGO.  Searching for only two characters is a
> bit hard tho.  o_O

Sounds a little bit like a hanging NFS share; df goes through all mounts and 
tries to access them, but one isn’t responding.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

Democracy is a process which guarantees that
we are not governed any better than we deserve.


signature.asc
Description: PGP signature


Re: [gentoo-user] df command no longer working

2023-02-12 Thread Dale
Frank Steinmetzger wrote:
> Am Sun, Feb 12, 2023 at 02:37:22PM -0600 schrieb Dale:
>> Howdy,
>>
>> As some may recall, I'm bad to fill up a hard drive.  I regularly use df
>> -h to see where drives are as far as filling up and such.  Usually, it
>> takes only a second or so to list them all.  Speed is one reason I use
>> it.  I did my regular updates last weekend and for the past few days, it
>> hasn't worked.  I did a re-emerge of coreutils, then some of its
>> friends.  It still doesn't work.  When I run df -h, it just sits there. 
>> It will sit there for hours, doing nothing it seems.  Eventually, I hit
>> ctrl c to kill it. 
>>
>> Anyone else running into this?  Any idea as to why it stopped working? 
>> I can't find anything on BGO.  Searching for only two characters is a
>> bit hard tho.  o_O
> Sounds a little bit like a hanging NFS share; df goes through all mounts and 
> tries to access them, but one isn’t responding.
>


This was the one.  I guess I forgot to umount my backup NAS before
shutting it down.  Obviously, since the machine is off right now, it
wasn't responding.  I did a umount -f on it and now it works again. 

I thought I used df since my last update but wasn't sure.  I thought
maybe a update broke a symlink or something, which is why I re-emerged
several packages.  Didn't occur to me to check the NAS mount point. 

Thanks to all.  It's working again.  I need to buy more drives again
tho.  Getting close to 90% on some and over 90% on backup NAS.  :/

Dale

:-)  :-) 



Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict

2023-12-04 Thread Michael
On Monday, 4 December 2023 19:20:12 GMT Grant Edwards wrote:
> On 2023-12-04, Michael  wrote:
> >> However, the "h264enc" package has a hard dependency on mplayer.
> > 
> > Which I believe is not needed for mpv.  You can set:
> The problem is not that h264enc is required by mplyaer, it's that the
> h264enc package requires mplayer:
> 
> From the h264enc ebuild
> [https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/h264enc/h264enc
> -10.4.7-r1.ebuild]:
> 
> RDEPEND="media-video/mplayer[encode,x264]
>   sys-apps/coreutils
> [...]
> sys-process/time"
> 
> > vo=gpu
> > hwdec=auto
> > 
> > or,
> > 
> > hwdec=auto-safe
> > 
> > in .config/mpv/mpv.conf and all should be good.  Check the mpv man page
> > for
> > "Actively supported hwdecs" to see what applies to your hardware.
> 
> I don't understand how that's relevent to h264enc's dependancy on
> mplayer.
> 
> The solution is to probably replace the h264enc script (which requires
> mplayer -- more specifically, it appears to require mencoder), with an
> equivalent script which uses mpv or ffmpeg instead of mencoder for
> transcoding.

Oops! I misread it.  It is indeed the other way around, mplayer requiring 
h264enc.  My bad.  In this case Dale needs to look into using ffmpeg for the 
odd file he wants to transcode, instead of mplayer's menconder.


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] newbie broke something

2008-09-11 Thread RYAN vAN GINNEKEN
Hello all gentoo newbie here i did a raid lvm quick install from the 2008.r1 
livecd i must have missed something because i keep getting rc.conf file from 
the future errors and my /var directory was empty so i just uncompressed the 
stage 3 and recopied /var from stage three to my own /var.  Seemed a bit messy 
so i figured i would try to clean things up a bit with
emerge --sync 
emerge --update --deep --newuse world
but i think i broke something

now when i do an emerge --sync and it tells me to update portage, i tried to do 
so but am getting this looong error

Calculating dependencies... done!
[nomerge  ] sys-apps/debianutils-2.28.5  USE=-static
[nomerge  ]  sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[nomerge  ]   sys-apps/acl-2.2.47  USE=nls (-nfs)
[nomerge  ]sys-devel/automake-1.10.1
[nomerge  ] dev-lang/perl-5.8.8-r5  USE=berkdb gdbm -build -debug -doc 
-ithreads -perlsuid
[nomerge  ]  sys-libs/gdbm-1.8.3-r3  USE=berkdb
[nomerge  ]   sys-libs/db-4.5.20_p2  USE=-bootstrap -doc -java -nocxx 
-tcl -test
[nomerge  ]sys-devel/binutils-2.18-r3  USE=nls -multislot 
-multitarget -test -vanilla
[nomerge  ] sys-devel/gettext-0.17  USE=acl nls openmp -doc -emacs 
-nocxx
[nomerge  ]  dev-libs/libxml2-2.6.32  USE=ipv6 python readline 
-bootstrap -build -debug -doc -examples -test
[nomerge  ]   dev-lang/python-2.5.2-r7  USE=berkdb gdbm ipv6 
ncurses readline ssl threads -bootstrap -build -doc -examples -sqlite -tk -ucs2 
-wininst
[nomerge  ]dev-libs/openssl-0.9.8g-r2  USE=zlib -bindist -gmp 
-kerberos -sse2 -test
[ebuild  N] app-misc/ca-certificates-20080514-r2
[ebuild  N]  dev-libs/openssl-0.9.8g-r2  USE=zlib -bindist 
-gmp -kerberos -sse2 -test
[ebuild  N]app-admin/python-updater-0.5
[ebuild  N]  dev-libs/libxml2-2.6.32  USE=ipv6 python readline 
-bootstrap -build -debug -doc -examples -test
[ebuild  N] sys-apps/portage-2.1.4.4  USE=-build -doc -epydoc (-selinux) 
LINGUAS=-pl
[ebuild  N]  dev-lang/python-2.5.2-r7  USE=berkdb gdbm ipv6 ncurses 
readline ssl threads -bootstrap -build -doc -examples -sqlite -tk -ucs2 
-wininst
[ebuild  N]  net-misc/rsync-3.0.3  USE=acl iconv ipv6 -static -xattr 
-xinetd
[ebuild  N]  sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[ebuild  N]   sys-apps/acl-2.2.47  USE=nls (-nfs)
[ebuild  N]sys-apps/attr-2.4.41  USE=nls
[nomerge  ] dev-libs/openssl-0.9.8g-r2  USE=zlib -bindist -gmp -kerberos 
-sse2 -test
[ebuild  N]  sys-apps/diffutils-2.8.7-r2  USE=nls -static
[ebuild  N]   sys-apps/man-pages-3.05  USE=nls LINGUAS=-cs -da -de -es 
-fr -it -ja -nl -pl -ro -ru -zh_CN
[ebuild  N]sys-apps/man-pages-posix-2003a
[nomerge  ] app-misc/ca-certificates-20080514-r2
[nomerge  ]  sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[nomerge  ]   sys-devel/automake-1.10.1
[nomerge  ]sys-apps/help2man-1.36.4  USE=nls
[nomerge  ] dev-lang/perl-5.8.8-r5  USE=berkdb gdbm -build -debug -doc 
-ithreads -perlsuid
[ebuild  N]  app-admin/perl-cleaner-1.05
[nomerge  ] sys-apps/man-pages-posix-2003a
[ebuild  N]  sys-apps/man-1.6f-r1  USE=nls
[ebuild  N]   sys-apps/groff-1.19.2-r1  USE=-X -cjk
[nomerge  ] sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[nomerge  ]  sys-libs/ncurses-5.6-r2  USE=gpm unicode -debug -doc -minimal 
-nocxx -profile -trace
[ebuild  N]   sys-libs/gpm-1.20.1-r6  USE=(-selinux)
[nomerge  ] dev-libs/libxml2-2.6.32  USE=ipv6 python readline -bootstrap 
-build -debug -doc -examples -test
[ebuild  N]  sys-libs/readline-5.2_p12-r1
[nomerge  ] net-misc/rsync-3.0.3  USE=acl iconv ipv6 -static -xattr 
-xinetd
[nomerge  ]  sys-apps/acl-2.2.47  USE=nls (-nfs)
[ebuild  N]   sys-devel/libtool-1.5.26  USE=-vanilla
[ebuild  N]sys-devel/automake-1.10.1
[ebuild  N] sys-apps/texinfo-4.11-r1  USE=nls -static
[nomerge  ] dev-lang/python-2.5.2-r7  USE=berkdb gdbm ipv6 ncurses 
readline ssl threads -bootstrap -build -doc -examples -sqlite -tk -ucs2 
-wininst
[nomerge  ]  sys-libs/readline-5.2_p12-r1
[ebuild  N]   app-shells/bash-3.2_p33  USE=nls -afs -bashlogger -plugins 
-vanilla
[ebuild  N]sys-libs/ncurses-5.6-r2  USE=gpm unicode -debug -doc 
-minimal -nocxx -profile -trace
[ebuild  N]  sys-devel/autoconf-2.61-r2  USE=-emacs
[nomerge  ] sys-apps/coreutils-6.10-r2  USE=acl nls (-selinux) -static 
-vanilla -xattr
[nomerge  ]  sys-devel/libtool-1.5.26  USE=-vanilla
[ebuild  N]   sys-apps/help2man-1.36.4  USE=nls
[ebuild  N]dev-perl/Locale-gettext-1.05
[nomerge  ] dev-perl/Locale-gettext-1.05
[nomerge  ]  dev-lang/perl-5.8.8-r5  USE=berkdb gdbm -build -debug -doc 
-ithreads -perlsuid
[ebuild  N]   perl-core/PodParser-1.35
[ebuild

[gentoo-user] Re: how to recover a portage that wasn't in use for very long time

2009-05-13 Thread Alexey Luchko

Alexey Luchko wrote:

colinux ~ # emerge portage --pretend --tree

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

Calculating dependencies... done!
[nomerge  ] sys-apps/portage-2.1.6.11 [2.1.2.2]
[ebuild U ]  app-shells/bash-3.2_p39 [3.1_p17] USE=-examples% 
-plugins%

[ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2]
[ebuild U ]  dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
[ebuild U ]  sys-apps/sandbox-1.6-r2 [1.2.17]
[ebuild  N]   app-arch/lzma-utils-4.32.7  USE=-nocxx
[ebuild  N]  app-admin/eselect-news-20080320
[ebuild U ]   app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim-syntax%
[ebuild U ]  app-misc/pax-utils-0.1.19 [0.1.15]
[blocks B ] sys-apps/portage-2.1.5 (is blocking 
app-shells/bash-3.2_p39)

colinux ~ #


Hi!

Thank every one for your help.

Finally I got it out this way:
first  emerge --nodeps bash
then  emerge portage  upgraded portage to the latest version
and then, of cause,  emerge -uDN system -pvt
it had blocked packages
[blocks B ] sys-apps/man-pages-3 (sys-apps/man-pages-3 is blocking
sys-apps/man-pages-posix-2003a)
[blocks B ] sys-fs/e2fsprogs-1.41 (sys-fs/e2fsprogs-1.41 is blocking
sys-libs/e2fsprogs-libs-1.41.3-r1)
[blocks B ] sys-apps/mktemp (sys-apps/mktemp is blocking
sys-apps/coreutils-7.1)
[blocks B ] sys-libs/com_err (sys-libs/com_err is blocking
sys-libs/e2fsprogs-libs-1.41.3-r1)
[blocks B ] sys-apps/util-linux-2.13 (sys-apps/util-linux-2.13 is
blocking sys-apps/coreutils-7.1)
[blocks B ] sys-libs/ss (sys-libs/ss is blocking
sys-libs/e2fsprogs-libs-1.41.3-r1)

I unmerged them, and then  emerge -uDN system  had been working fine until
sys-libs/e2fsprogs-libs-1.41.3-r1 compilation failed with
../../lib/libuuid.so: undefined reference to `___tls_get_addr'

I had no separate uuid package installed
colinux ~ # emerge --search uuid | less
Searching...
[ Results for search key : uuid ]
[ Applications found : 4 ]
*  dev-libs/ossp-uuid [ Masked ]
  Latest version available: 1.6.2
  Latest version installed: [ Not Installed ]
*  dev-perl/Data-UUID
  Latest version available: 1.148
  Latest version installed: [ Not Installed ]
*  dev-python/uuid [ Masked ]
  Latest version available: 1.30
  Latest version installed: [ Not Installed ]
*  dev-ruby/uuidtools
  Latest version available: 1.0.7
  Latest version installed: [ Not Installed ]


It claimed on
/usr/tmp/portage/sys-libs/e2fsprogs-libs-1.41.3-r1/work/e2fsprogs-libs-1.41.3/lib/libuuid.so

I checked whether the name tls_get_addr exists and found nothing
colinux e2fsprogs-libs-1.41.3 # pwd
/usr/tmp/portage/sys-libs/e2fsprogs-libs-1.41.3-r1/work/e2fsprogs-libs-1.41.3
colinux e2fsprogs-libs-1.41.3 # grep tls_get_addr `find . -iname '*.c'`

After seaching tls_get_addr on http://www.google.com/codesearch I decided to
update glibc first:
colinux ~ # emerge glibc -pvt

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

Calculating dependencies... done!
[ebuild U ] sys-libs/glibc-2.8_p20080602-r1 [2.3.6-r4] USE=-debug% -gd%
-glibc-omitfp (-hardened) (-multilib) -nls* -profile (-selinux) -vanilla%
(-build%) (-erandom%) (-glibc-compat20%) (-nptl%) (-nptlonly%) 0 kB [?=0]

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

colinux ~ # emerge glibc

 * i386 CHOSTs are no longer supported.
 * Chances are you don't actually want/need i386.
 * Please read http://www.gentoo.org/doc/en/change-chost.xml

Here I've decided to make yet another backup and tried to remount / readonly.
And found the mount missing. I'm guessing that util-linux is the package 
containing mount and it depends on e2fsprogs-libs-1.41.3-r1.



Here I am now ;)
Any advice is welcome!


Alexey.




Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time

2009-05-13 Thread Stroller


On 13 May 2009, at 11:03, Alexey Luchko wrote:


Alexey Luchko wrote:

colinux ~ # emerge portage --pretend --tree
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[nomerge  ] sys-apps/portage-2.1.6.11 [2.1.2.2]
[ebuild U ]  app-shells/bash-3.2_p39 [3.1_p17] USE=-examples% - 
plugins%

[ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2]
[ebuild U ]  dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
[ebuild U ]  sys-apps/sandbox-1.6-r2 [1.2.17]
[ebuild  N]   app-arch/lzma-utils-4.32.7  USE=-nocxx
[ebuild  N]  app-admin/eselect-news-20080320
[ebuild U ]   app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim- 
syntax%

[ebuild U ]  app-misc/pax-utils-0.1.19 [0.1.15]
[blocks B ] sys-apps/portage-2.1.5 (is blocking app-shells/ 
bash-3.2_p39)

colinux ~ #


Hi!

Thank every one for your help.

Finally I got it out this way:
first  emerge --nodeps bash
then  emerge portage  upgraded portage to the latest version
and then, of cause,  emerge -uDN system -pvt
it had blocked packages
[blocks B ] sys-apps/man-pages-3 (sys-apps/man-pages-3 is  
blocking

sys-apps/man-pages-posix-2003a)
[blocks B ] sys-fs/e2fsprogs-1.41 (sys-fs/e2fsprogs-1.41 is  
blocking

sys-libs/e2fsprogs-libs-1.41.3-r1)
[blocks B ] sys-apps/mktemp (sys-apps/mktemp is blocking
sys-apps/coreutils-7.1)
[blocks B ] sys-libs/com_err (sys-libs/com_err is blocking
sys-libs/e2fsprogs-libs-1.41.3-r1)
[blocks B ] sys-apps/util-linux-2.13 (sys-apps/util- 
linux-2.13 is

blocking sys-apps/coreutils-7.1)
[blocks B ] sys-libs/ss (sys-libs/ss is blocking
sys-libs/e2fsprogs-libs-1.41.3-r1)

I unmerged them, and then  emerge -uDN system  had been working fine  
until

sys-libs/e2fsprogs-libs-1.41.3-r1 compilation failed with
../../lib/libuuid.so: undefined reference to `___tls_get_addr'




Alexey,

I think `emerge --nodeps bash` was the cause of your problem. You need  
to resolve each and every dependency - often sequentially or  
incrementally - before you go on to the next package. --nodpes is just  
asking your system to break.


I gave you advice in my previous message - you should have emerged  
earlier versions of packages in order, for the reason to avoid  
blockers. The Gentoo devs had a GOOD REASON when they declared  
bash-3.2_p39 as blocking the current portage. If you had tried to  
emerge the earlier bash you would probably have found it blocked by an  
earlier portage /or mktemp /or com_err /or util-linux /or sys-libs/ 
ss. If you had resolved each dependency in turn you would have  
eventually been able to upgrade to the latest versions.


I know this, because last month I did this myself. A system last  
upgraded in August or September 2007 now has bash-3.2_p39 and  
portage-2.1.6.4 installed on it.


If you don't have the patience for this, then do as Alan says   
reinstall the whole system.


If you don't understand what I wrote, then just ask.

If you want to upgrade this system then you're going to have to do a  
lot of work yourself. You WILL need to get older intermediate package  
versions from the CVS attic http://sources.gentoo.org/ and you will  
need to Google  read the list archive to see the correct procedure  
for resolving the mktemp, com_err, util-linux  sys-libs/ss problems.  
But that really is pretty straightforward - it is clearly documented  
on the list emerge version X of this, then version Y of that.


Stroller.



[gentoo-user] RE: Digest of gentoo-user@gentoo.org issue 600 (35178-35227)

2006-02-22 Thread Eric Lehmann


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 21, 2006 5:02 PM
To: [EMAIL PROTECTED]
Subject: Digest of gentoo-user@gentoo.org issue 600 (35178-35227)

Topics (messages 35178 throught 35227):

[gentoo-user] Re: odd /dev/null beharvior
  35178 - James [EMAIL PROTECTED]
  35179 - James [EMAIL PROTECTED]

[gentoo-user] alsactl store wont save alsamixer
  35180 - Allan Spagnol Comar [EMAIL PROTECTED]

[gentoo-user] New printer setup - having trouble with CUPS [SOLVED]
  35181 - Jeff [EMAIL PROTECTED]

[gentoo-user] tape drives and backups
  35182 - Nick Smith [EMAIL PROTECTED]

[gentoo-user] Problem emerging engage
  35184 - Iain Buchanan [EMAIL PROTECTED]

[gentoo-user] [OT] What about a new file system subtree?
  35185 - David Mallwitz [EMAIL PROTECTED]

[gentoo-user] mime type experts / *.pps
  35186 - Abhay Kedia [EMAIL PROTECTED]

[gentoo-user] Portage mirroring questions
  35187 - Devraj Mukherjee [EMAIL PROTECTED]

[gentoo-user] got lprng?
  35188 - Glenn Enright [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35189 - Nagatoro [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35190 - Dirk Heinrichs [EMAIL PROTECTED]

[gentoo-user] CVSup vs Gentoo's Rsync
  35192 - Ow Mun Heng [EMAIL PROTECTED]

[gentoo-user] CVSup vs Gentoo's Rsync
  35193 - Julien Cabillot [EMAIL PROTECTED]

[gentoo-user] alsactl store wont save alsamixer
  35194 - Mattias Merilai [EMAIL PROTECTED]

[gentoo-user] CVSup vs Gentoo's Rsync
  35195 - Boyd Stephen Smith Jr. [EMAIL PROTECTED]

[gentoo-user] [OT] OS X admin book
  35196 - Stroller [EMAIL PROTECTED]

[gentoo-user] alsactl store wont save alsamixer
  35197 - Allan Spagnol Comar [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35198 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35200 - Dirk Heinrichs [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35201 - [EMAIL PROTECTED] (Alex Schuster)

[gentoo-user] open-Xchange
  35202 - Uwe Thiem [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35203 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] change eth0 to eth1 and viceversa
  35204 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] tape drives and backups
  35205 - [EMAIL PROTECTED]

[gentoo-user] etc/host.conf: line 24: bad command `mdns off'
  35206 - Dave Nebinger [EMAIL PROTECTED]

[gentoo-user] dhcpcd error
  35207 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35208 - Alec Shaner [EMAIL PROTECTED]

[gentoo-user] Re: dhcpcd error
  35209 - Marco Calviani [EMAIL PROTECTED]
  35214 - Marco Calviani [EMAIL PROTECTED]

[gentoo-user] NFS  LDAP client can't see directory.
  35210 - Jeff [EMAIL PROTECTED]

[gentoo-user] tape drives and backups
  35211 - Hemmann, Volker Armin [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35215 - Mrugesh Karnik [EMAIL PROTECTED]

[gentoo-user] etc/host.conf: line 24: bad command `mdns off'
  35216 - Rumen Yotov [EMAIL PROTECTED]

[gentoo-user] etc/host.conf: line 24: bad command `mdns off'
  35217 - Dave Nebinger [EMAIL PROTECTED]

[gentoo-user] iptables: --state/--syn
  35218 - Jarry [EMAIL PROTECTED]

[gentoo-user] etc/host.conf: line 24: bad command `mdns off'
  35219 - Rumen Yotov [EMAIL PROTECTED]

[gentoo-user] coreutils downgrade problem
  35220 - Ghaith Hachem [EMAIL PROTECTED]

[gentoo-user] coreutils downgrade problem
  35221 - =?UTF-8?Q?Marko_Koci=C4=87?= [EMAIL PROTECTED]

[gentoo-user] xorg 7.0 emerge question
  35222 - krgn [EMAIL PROTECTED]

[gentoo-user] mysql DB file
  35223 - Nick Smith [EMAIL PROTECTED]

[gentoo-user] Toshiba Laptop Issues
  35224 - Mike Myers [EMAIL PROTECTED]

[gentoo-user] mysql DB file
  35225 - Sarpy Sam [EMAIL PROTECTED]

[gentoo-user] Toshiba Laptop Issues
  35226 - krgn [EMAIL PROTECTED]

[gentoo-user] mysql DB file
  35227 - Daniel da Veiga [EMAIL PROTECTED]



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage issue

2008-02-04 Thread Robert Stockdale IV
On Feb 3, 2008 6:49 PM, Kenneth Prugh [EMAIL PROTECTED] wrote:

 On Sun, 3 Feb 2008 18:44:26 +
 Robert Stockdale IV [EMAIL PROTECTED] wrote:


  snipped...

 Well first off setarch was replaced with util-linux, so you can nuke
 setarch. Same case with mktemp in that coreutils replaced it.

 The others I'm not positive of.



OK, I've got it pared down to some degree. These few block programs in
portage are still preventing a world update and I don't believe I can remove
them without destroying my system. They are:

[blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-
3.2_p33)
[blocks B ] kde-base/ksync (is blocking kde-base/kdelibs-3.5.8-r10)
[blocks B ] sys-apps/baselayout-2.0.0_rc (is blocking sys-apps/makedev-
3.23.1)

Total: 617 packages (568 upgrades, 5 downgrades, 35 new, 9 in new slots, 3
blocks), Size of downloads: 2,090,644 kB
Fetch Restriction: 1 package (1 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/sabayon


I'm thinking that there must be a way to hold back the upgrade on these last
three files in order to permit the portage upgrade.
When I do emerge -pv portage I get:

java bob # emerge -pv portage

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

Calculating dependencies... done!

[ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.18.1] 232 kB [0]
[ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE=-bindist -gmp
-test 151 kB [0]
[ebuild U ] sys-apps/portage-2.1.4.1 [2.1.3.4-r1] USE=-build -doc
-epydoc (-selinux) LINGUAS=-pl* 361 kB [0]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE=nls -afs
-bashlogger -plugins% -vanilla 2,564 kB [0]
[blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-
3.2_p33)

Total: 4 packages (4 upgrades, 1 block), Size of downloads: 3,306 kB
Portage tree and overlays:
 [0] /usr/portage


So it looks like the important one to look at is:
  sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)
So if I could prevent the update to bash then portage should update. Is this
correct? How would I do this?

Thank you,
Bob


Re: [gentoo-user] smoothest way to jump from 2006 to 2008

2008-04-29 Thread Alan McKinnon
On Tuesday 29 April 2008, [EMAIL PROTECTED] wrote:
 I'd like to jump an 2006 install up to 2008.  I've never made that
 big an update without a fresh install.

There's no such thing as a 2006 install. What does exist, is the 
collection of packages that were on the LiveCDs released in 2006. It's 
a vital difference as Gentoo doesn't care about versions, just the 
current collection of packages you might happen to have. You 
don't upgrade as such, thinking in those terms will get you in deep 
trouble real quick. What you do do is emerge whatever later version of 
packages you feel like having (within some technical constraints)

 What is the smoothest way to do it?

change profile
emerge --sync
emerge -avuND world

 How might I manage to change the current profile from x86/2006 to
 x86/2008

ln -s /var/portage/profiles/default-linux/2008.0/desktop /etc/make.profile

adjust the profile path to suit what you have on your machine, mine is 
in a non-standard place

If you --sync regularly and keep the box up to date you are likely to be 
severely underwhelmed by what a change in profile will do: usually not 
very much.

The profile defines some default USE flags and the collection of 
packages that make up the system set (about 60 packages or so). It will 
define things like coreutils, nano etc must be present, sometimes with 
a minimum version. These are just defaults, if you configured them 
explicitly, your changes will override the profile. Chances are you 
already meet most of the minimum requirements for even the latest 
profile so emerge -avuND world will likely do not much. If it does give 
output, study it carefully and adjust your USE to suit your 
requirements better than the profile, then re-run the emerge.

Of course, if you haven't updated the box since 2006, then you are in 
for a fun ride. I recently updated a box 6 months out of date and also 
removed everything resembling gnome at the same time. It took 4 days 
and many failed builds. It would have been quicker to reinstall from 
stage 1...I didn't reinstall because I'm a pain loving masochist 
with a point to prove. You should take note of this error of mine and 
learn from it ;-)


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

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



Re: [gentoo-user] Re: how to recover a portage that wasn't in use for very long time

2009-05-13 Thread Alan McKinnon
On Wednesday 13 May 2009 12:03:40 Alexey Luchko wrote:
 Alexey Luchko wrote:
  colinux ~ # emerge portage --pretend --tree
 
  These are the packages that would be merged, in reverse order:
 
  Calculating dependencies... done!
  [nomerge  ] sys-apps/portage-2.1.6.11 [2.1.2.2]
  [ebuild U ]  app-shells/bash-3.2_p39 [3.1_p17] USE=-examples%
  -plugins%
  [ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2]
  [ebuild U ]  dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
  [ebuild U ]  sys-apps/sandbox-1.6-r2 [1.2.17]
  [ebuild  N]   app-arch/lzma-utils-4.32.7  USE=-nocxx
  [ebuild  N]  app-admin/eselect-news-20080320
  [ebuild U ]   app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim-syntax%
  [ebuild U ]  app-misc/pax-utils-0.1.19 [0.1.15]
  [blocks B ] sys-apps/portage-2.1.5 (is blocking
  app-shells/bash-3.2_p39)
  colinux ~ #

 Hi!

 Thank every one for your help.

[snip long sad story of portage blockers]

 Here I am now ;)
 Any advice is welcome!

Why are you doing this? Is it to learn how to cope with such things?

If not, you are really wasting time that you will never get back. The last 18 
months has seen much activity in the tree, lot's of it from large packages 
being split into smaller ones, and blockers installed.

You've already come across mktemp/coreutils and e2fsprogs. You still have to 
deal with bash/python then that delicious recent cock-up with wget, expat and 
you have to decide if you want com_err or not. And plenty more. This all 
happened so long ago I forget the details (lucky for you it's all in the mail 
archives!).

Trust me, if this is not a learning exercise, just unmount your data volumes 
and reinstall the machine. The pain is not worth it. Really. Especially if 
glibc decides it doesn't like your headers, then you really are up the creek 
if you didn't quickpkg critical apps in the system set first :-)

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Abiword 2.2.11 crashes

2006-01-31 Thread Adrian
Greetings all;

Suddenly I've stated having a problem with Abiword 2.2.11 -- every time
I cut or copy text it crashes.  This version was working fine.  

I checked bugs.gentoo and couldn't find a bug report regarding this
situation. 

I wonder if it has anything to do with the programs which I have
upgraded lately, those being:
--
Calculating dependencies  ...done!

 [ebuild U ] sys-apps/man-pages-2.20 [2.17] +nls 1,690 kB

 [ebuild U ] sys-apps/findutils-4.1.20-r2 [4.1.20-r1] -build
+nls (-selinux) -static 759 kB 
 
 [ebuild U ] app-editors/nano-1.3.9 [1.3.7] -build -debug
-justify -minimal +ncurses +nls +slang +spell -unicode 1,109 kB 

 [ebuild U ] gnome-base/orbit-2.12.4 [2.12.0] -debug +doc +ssl
-static 661 kB

 [ebuild U ] gnome-base/gnome-vfs-2.12.2 [2.10.0-r2] -debug +doc
-gnutls -hal -howl +ipv6 -samba +ssl 1,521 kB 

 [ebuild U ] gnome-base/gnome-menus-2.12.0-r1 [2.10.1] -debug
384 kB 

 [ebuild U ] gnome-base/eel-2.12.2 [2.10.1] +X -debug 660 kB

 [ebuildU ] gnome-base/nautilus-2.12.2 [2.10.1-r1] +X -debug
3,962 kB 

 [ebuildU ] app-cdr/cdrdao-1.2.1 [1.2.0-r1] -debug +encode
+gnome -pccts 1,687 kB 

 [ebuild U ] media-sound/ecasound-2.4.3
[2.3.3] +alsa +arts +audiofile* -debug +jack* -libsamplerate +mikmod
+ncurses -oss* +python -ruby -sndfile +vorbis* 1,086 kB 

 [ebuild U ] sys-apps/coreutils-5.2.1-r7 [5.2.1-r6] +acl* -build
+nls (-selinux) -static 65 kB 

 [ebuild U ] x11-terms/gnome-terminal-2.12.0 [2.10.0]
-debug -static 1,644 kB 

 [ebuild U ] app-portage/gentoolkit-0.2.1 [0.2.0-r3] 81 kB 

 [ebuild U ] app-office/koffice-1.4.2-r6 [1.4.1-r1]
+arts -debug +doc -javascript -mysql +postgres -xinerama 19,030 kB
---
I'm gonna try emerging Abiword again tonight to see if that helps.

Any observations?  Thank you very much.
Adrian

-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libselinux.so.1 dependency problems

2008-07-08 Thread Vladimir G. Ivanovic

Andreas,

Thanks very much for the information.

Yes! I do seem to have *.la files with -lselinux in them. It looks 
like I'm going to have to do some purging and re-emerging to fix things.


Thanks again.

--- Vladimir

on 07/07/2008 04:49 PM Andreas Niederl said the following:

Hi,

Vladimir G. Ivanovic wrote:
[...]
It turns out that many, many executables require libselinux.so.1, 
despite what the documentation of --depclean in man emerge says 
(or what I think it says -- is this a bug or operator error?)


Sadly sys-apps/coreutils is one of them.
Recent versions - including stable - do an autodetection for libselinux 
and link against it even when emerged with USE=-selinux[1].


This should be no problem for systems which never saw libselinux (i.e. 
installed from 2008.0) but unmerging this library on older systems can 
be quite problematic.



I cobbled together a system that limps along thanks to the 2008.0 
beta   LiveCD (which does not depend on libselinux.so.1), but I am 
unable to emerge a large number of packages that seem to silently 
depend on libselinux.so.1: the ebuilds fail when ld cannot find 
-lselinux.

[...]
What gives? Where does the -lselinux come from? How can I get rid 
of   this maddening dependency?


I think that libtool is the main offender here.
At least on my system somehow '-lselinux' made its way into a bunch of 
.la files and provoked these errors.


So I searched for the packages with broken libtool archive files and 
manually emerged them (with --oneshot).
I figured out the correct order by using the trial-and-error method but 
you could do something like the get_build_order() function in the 
revdep-rebuild script.


The command I've used for searching is as follows (requires 
app-portage/portage-utils):

grep -l -r --include='*.la' selinux /usr/lib | qfile --nocolor -f - | \
cut -d' ' -f 1 | sort | uniq

Another way might be to look at the line before the error message and 
rebuild the package containing the library right before the '-lselinux' 
flag.



hth,
Andi

[1] http://bugs.gentoo.org/show_bug.cgi?id=230073


--
Vladimir G. Ivanovic




signature.asc
Description: OpenPGP digital signature


[gentoo-user] firefox et al. crash when attaching file in gmail --- dbus?

2008-07-27 Thread Alan E. Davis
I'm having fits about dbus, at least that's what I think?

Firefox 3, epiphany, and firefox 3 bin all do this.  Attach any file (as any
user, on KDE or Gnome) and firefox immediately crashes.  Root can attach
files.

Some background.

Today I upgraded these before I noticed this problem: dev-libs/expat,
net-misc/dhcpcd,
dev-cpp/libglademm, dev-cpp/gconfmm, net-dns/bind-tools,
mail-mta/ssmtp, sys-apps/coreutils.

Yesterday it worked.  Of course Ive been twiddling.

I found a suggestion to run firefox in safe-mode ($ firefox -safe-mode).  I
did this.  It's just a way to dismember the add-ons and customizations of a
user, and I'd already recompiled.  But these errors were received after the
crash in the terminal:


[EMAIL PROTECTED] ~ $ /usr/bin/firefox -safe-mode
which: no soundwrapper in
(/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.1:/usr/qt/3/bin:/usr/games/bin)
which: no soundwrapper in
(/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.1:/usr/qt/3/bin:/usr/games/bin)
process 1: arguments to dbus_connection_send_with_reply_and_block() were
incorrect, assertion (error) == NULL || !dbus_error_is_set ((error))
failed in file dbus-connection.c line 3289.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted
[EMAIL PROTECTED] ~ $
(npviewer.bin:6437): Gtk-CRITICAL **: gtk_style_detach: assertion
`style-attach_count  0' failed


I am most interested in learning how to troubleshoot dbus.  I read one post
where the suggestion was made to delete dbus.  What does that mean?  I've
been having numerous problems with permissions.  They are gradually going
away, and I just emailed a friend that the system has finally stablized to
some degree.  Then I did an # emerge -uDv world and this happens.  Where can
I find out more about dbus?

gtkmm won't compile.  There's an upstream fix, I think, and I might do a
local version bump, with much trepidation.

Thank you for any advice.





-- 
Alan Davis

It's never a matter of liking or disliking ...
---Santa Ynez Chumash Medicine Man


Re: [gentoo-user] [extremly, wildly, obscenely OT] Is there a Linux system without GNU userlands?

2008-08-10 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

b.n. wrote:
 Chuck Robey ha scritto:
 You might possibly be missing one of the most basic (in organization)
 differences between any BSD and any Linux is that BSD's are all built and
 packaged with a set of userland programs.  This doesn't include many user
 applications, just the kind of things that you think of as being part
 of any
 base (like shells, or utilities like the various filesystem tools,
 grep, find,
 like that)  Linux, OTOH, is only a kernel.  Any time you go after a
 distribution
 that has more than the kernel (and ONLY the kernel) its because the group
 putting together that distribution has decided to attach those parts,
 but the
 Linux developers are concerned with the kernel alone.
 
 Ehm, thanks for the lesson, but I am actually well aware of that. I
 installed and used a lot of Linux distros and, to a lesser extent, BSD
 and other exotic systems (Hurd anyone?).
 
 Instead, maybe you might possibly be missing the fact that kernel-BSD
 systems with GNU userlands have been attempted (Debian GNU/kFreeBSD
 being one - dunno about the Gentoo/FreeBSD port -is it still alive, by
 the way?). I wondered if there is the contrary, as a startpoint.
 
 So, when you talk about, say, FreeBSD, you're talking about kernel +
 userland
 base.  This isn't truie with Linux, so all linuxes are just a little bit
 different in their choice of userland tools.
 
 That's why I asked if there is some Linux that is not a little bit but
 *wildly* different, as to be almost unrecognizable as the Linux we're
 all familiar with (that usually is done by a bash/zsh/ksh shell + other
 gnu coreutils etc.)
 
 For a (theoretical) example, imagine a system that boots in the Windows
 Powershell on top of the Linux kernel.
 
 m.
 

Sorry.  Not to be insulting, but it really sounded like a newbie question, which
is why I reacted that way.  On your own rereading, doesn't it sound a bit that
way to you, a bit?

I apologize, then.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkifhewACgkQz62J6PPcoOnGyQCfVJeYfaVDjZGChV/U92F3B6ve
pqoAni0TBcjaapnxKEmgK20+FcOS/X55
=g/B1
-END PGP SIGNATURE-



Re: Gateway to python-list is generating bounce messages.

2008-09-11 Thread Grant Edwards
On 2008-09-11, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
 On Wed, 10 Sep 2008 21:36:36 -0500, Grant Edwards [EMAIL PROTECTED]
 declaimed the following in comp.lang.python:


 Wrong.  I didn't send _any_ e-mail.  Why should I get bounce
 messages?

   One: Comp.lang.python is dual-routed with a mailing list; anything
 you post to either CLP or the mailing list gets cross-posted to the
 other -- the FROM header retains that of the original author (which
 could be you).

   Two: Somebody else is subscribed to the mailing list, and sets up an
 out-of-office reply or has other problems (like an overfilled mailbox,
 causing a bounce, or a discontinued account) when the forwarded post
 reaches their address.

   Three: The bounce/ooo-reply is sent to the message author, not to
 any intermediate host(s). After all, on that end, it's normal email
 failure response -- notify the author of the messag 
 file. I can see from your general comments that you are new to this game, so 
 I won't try just yet to explain what suid means. Just 
 run 'ls -al /usr/bin/passwd' and check that the first column looks like mine:
 
 -rws--x--x 1 root root 38464 Aug  4 02:42 /bin/passwd
 
 The 's' is vital, passwd will not work without it. 
 
 In another post you mentioned getresuid(). Pretend you never saw this - it is 
 a system call used by programmers when writing code. A user will never use 
 it. You already have the ability to make programs suid - it's built into the 
 kernel and the user programs that switch it on and off are part of a package 
 called coreutils. I 100% guarantee that it is installed on your machine.
 

[EMAIL PROTECTED] ~ $ sudo mount
Password: 
/dev/hdc on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs
(rw,noexec,nosuid,devmode=0664,devgid=85)
nfsd on /proc/fs/nfs type nfsd (rw,noexec,nosuid,nodev)
[EMAIL PROTECTED] ~ $ ls -al /usr/bin/passwd
lrwxrwxrwx 1 root root 11 May 16 14:08 /usr/bin/passwd - /bin/passwd
[EMAIL PROTECTED] ~ $ ls -l /bin/passwd
-rws--x--x 1 root root 28712 May 16 14:08 /bin/passwd





Re: [gentoo-user] updating sysvinit coreutils and baselayout broke some locales/letters

2005-06-13 Thread sIbOk
before posting i reemerged kbd and didn't help. I don't use the
console on these Pc cause it's my daughter's Pc so i don't have
consolefont in any runlevel, but that's not the problem. When i have
to do anything i start it manually, it's not very often. By now
someone tells that the problem i get is due tu a strange behavour of
splahsutils and it's solved in a new version, so gonna try to solve it
this way. If i can solve it i will post here so if someone has a
similar problem could know the solution. Thanks to all you :)

2005/6/13, Richard Fish [EMAIL PROTECTED]:
 Zac Medico wrote:
 
 Zac Medico wrote:
 
 
 sIbOk wrote:
 
 
 
 i thanks your time to all, i run etc-update. I have 3 different Gentoo
 machines i updated them all and converted to unicode just because i
 planned a long time ago and they all work great escept the one that
 gave me first the error. I didn't miss anything, maybe there is some
 broken package althought revdep-debuild doesn't show.
 thanks again to all who read the post, and i ddin't mean to eb rude,
 just wanted to remark that before answering it's mportant to read
 everything well. thanks again :)
 
 
 
 Is /etc/runlevels/boot/keymaps a symlink to /etc/init.d/keymaps and does 
 /etc/init.d/keymaps look okay?
 
 Zac
 
 
 
 
 Also, maybe for some reason you need to remerge sys-apps/kbd.
 
 Zac
 
 
 
 Yep, that's the next step.  Make sure that 'rc-update -s' shows both
 consolefont and keymaps.  I have them both starting in 'boot'.
 
 And yes, I wen't back and read your original message again (sorry about
 that), and you don't mention whether these are in your startup or not! ;-
 
 -Richard
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no
cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo
soy sIbOk un hijo puta especial...!!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] updating sysvinit coreutils and baselayout broke some locales/letters

2005-06-14 Thread sIbOk
splashutils didn't solved the problem and come with a few bugs

2005/6/13, sIbOk [EMAIL PROTECTED]:
 before posting i reemerged kbd and didn't help. I don't use the
 console on these Pc cause it's my daughter's Pc so i don't have
 consolefont in any runlevel, but that's not the problem. When i have
 to do anything i start it manually, it's not very often. By now
 someone tells that the problem i get is due tu a strange behavour of
 splahsutils and it's solved in a new version, so gonna try to solve it
 this way. If i can solve it i will post here so if someone has a
 similar problem could know the solution. Thanks to all you :)
 
 2005/6/13, Richard Fish [EMAIL PROTECTED]:
  Zac Medico wrote:
 
  Zac Medico wrote:
  
  
  sIbOk wrote:
  
  
  
  i thanks your time to all, i run etc-update. I have 3 different Gentoo
  machines i updated them all and converted to unicode just because i
  planned a long time ago and they all work great escept the one that
  gave me first the error. I didn't miss anything, maybe there is some
  broken package althought revdep-debuild doesn't show.
  thanks again to all who read the post, and i ddin't mean to eb rude,
  just wanted to remark that before answering it's mportant to read
  everything well. thanks again :)
  
  
  
  Is /etc/runlevels/boot/keymaps a symlink to /etc/init.d/keymaps and does 
  /etc/init.d/keymaps look okay?
  
  Zac
  
  
  
  
  Also, maybe for some reason you need to remerge sys-apps/kbd.
  
  Zac
  
  
 
  Yep, that's the next step.  Make sure that 'rc-update -s' shows both
  consolefont and keymaps.  I have them both starting in 'boot'.
 
  And yes, I wen't back and read your original message again (sorry about
  that), and you don't mention whether these are in your startup or not! ;-
 
  -Richard
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 --
 Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no
 cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo
 soy sIbOk un hijo puta especial...!!
 


-- 
Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no
cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo
soy sIbOk un hijo puta especial...!!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] should my computer really be able to speak russian?

2006-12-14 Thread Dale
Ryan Sims wrote:
 On 12/13/06, *Dale* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Ryan Sims wrote:
 I noticed while updating to Gnome 2.16 today that gnome2-user-docs
 took a long time (38 min +), and most of that time was spend on
 versions of the documents in languages I don't speak.  After
 trying a
 few things, I found that disabling the nls use flag in scrollkeeper
 reduced the gnome2-user-docs compile down to under a minute.

 It got me thinking...I speak only English, my fiancee speaks English
 (well, and some French, but she doesn't need our computer to), so I
 thought, hm, is nls support needed *anywhere?*
 So I disabled the use flag globally to test, and discovered probably
 30 packages that want to be rebuilt, from glibc to vim to
 coreutils to
 audacious.

 If I only need a monoglot computer, would I break anything by
 disabling nls support?

 http://www.gentoo.org/doc/en/guide-localization.xml

 This is the part that matters:

 There is also additional localisation variable called LINGUAS,
 which affects to localisation files that get installed in
 gettext-based programs, and decides used localisation for some
 specific software packages, such as kde-base/kde-i18n and
 app-office/openoffice. The variable takes in space-separated list
 of language codes, and suggested place to set it is /etc/make.conf:

 Code Listing 3.5: Setting LINGUAS in make.conf

 # nano -w /etc/make.conf
 (Add in the LINGUAS variable. For instance, 
 for German, Finnish and English:)
 LINGUAS=de fi en
 


 I think that will help you.  I have -nls in mine too.  So both
 should not hurt anything.

 Hope that helps.


 Thanks.  I do have my LINGUAS variable set to en, but as I
 understand it[1], the LINGUAS variable is expanded to use flags, so
 ebuilds that don't use those flags wont respect LINGUAS, is that correct?

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

 -- 
 Ryan W Sims 

Well, I put -nls  in USE line and LINGUAS=en in my make.conf and it
has worked fine so far.  Everything is in English at least.  Some things
do seem to compile faster too.  I did have one package that had a bug
but it was fixed when I added the -nls.  From what I was told, if you
want English only, this is the way to do it.

I'm not really sure how the two interact with each other.  I would
assume English is the default language.  You add variables to get
something other than English.

Hope that helps, a little, since I'm not real sure either.

Dale

:-)  :-)  :-)


[gentoo-user] Updating world

2011-03-27 Thread CJoeB

Hi All,

See output below.  I understand what this is telling me.  However, the 
issue is if I unmask libkexiv2 and kipi-plugins, I get further messages 
about some other kde package that is masked by ~x86 keyword.  And this 
goes on continuously.


If I do emerge --pretend --update --deep --skip-first world, the second 
set of output is provided and this causes other problems - for instance, 
there are a whole whack of packages that depend on gettext.


I haven't been able to update my system in well over a month.  I keep 
hoping a sync will somehow miraculously correct my problem.


Anyone have any ideas how to get around this?

penguinchick ~ # emerge --pretend --update --deep world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy =kde-base/libkexiv2-4.5[aqua=] 
have been masked.
!!! One of the following masked packages is required to complete your 
request:

- kde-base/libkexiv2-4.6.1 (masked by: ~x86 keyword)
- kde-base/libkexiv2-4.6.0 (masked by: ~x86 keyword)
- kde-base/libkexiv2-4.5.5 (masked by: ~x86 keyword)

(dependency required by media-plugins/kipi-plugins-1.9.0 [ebuild])
(dependency required by @selected)
(dependency required by @world [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

-

penguinchick ~ # emerge --pretend --update --deep --skip-first world

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

Calculating dependencies... done!
!!! One or more packages have been dropped due to
!!! masking or unsatisfied dependencies:

  (sys-devel/gettext-0.18.1.1-r1, ebuild scheduled for merge)
  (dev-python/pygtksourceview-2.10.1, ebuild scheduled for merge)
  (dev-vcs/git-1.7.3.4-r1, ebuild scheduled for merge)

[ebuild U ] sys-apps/attr-2.4.44 [2.4.43]
[ebuild U ] sys-devel/bison-2.4.2 [2.4.1]
[ebuild U ] x11-misc/shared-mime-info-0.80 [0.71]
[ebuild U ] sys-apps/coreutils-8.7 [8.5]
[ebuild U ] sys-libs/pam-1.1.3 [1.1.1-r2]
v

Regards,

Colleen



--

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




Re: [gentoo-user] Updating world

2011-03-27 Thread Roman Zilka
According to my local portage mirror, kipi-plugins-1.9.0 is currently
~x86. There's probably a stray line in
your /etc/portage/package.keywords which unmasks kipi-plugins-1.9.0.
The latest stable is kipi-plugins-1.2.0-r3 which is happy with
libkexiv2-4.4.5-r1, which in turn is stable for x86.

-rz


 See output below.  I understand what this is telling me.  However, the 
 issue is if I unmask libkexiv2 and kipi-plugins, I get further messages 
 about some other kde package that is masked by ~x86 keyword.  And this 
 goes on continuously.
 
 If I do emerge --pretend --update --deep --skip-first world, the second 
 set of output is provided and this causes other problems - for instance, 
 there are a whole whack of packages that depend on gettext.
 
 I haven't been able to update my system in well over a month.  I keep 
 hoping a sync will somehow miraculously correct my problem.
 
 Anyone have any ideas how to get around this?
 
 penguinchick ~ # emerge --pretend --update --deep world
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 
 !!! All ebuilds that could satisfy =kde-base/libkexiv2-4.5[aqua=] 
 have been masked.
 !!! One of the following masked packages is required to complete your 
 request:
 - kde-base/libkexiv2-4.6.1 (masked by: ~x86 keyword)
 - kde-base/libkexiv2-4.6.0 (masked by: ~x86 keyword)
 - kde-base/libkexiv2-4.5.5 (masked by: ~x86 keyword)
 
 (dependency required by media-plugins/kipi-plugins-1.9.0 [ebuild])
 (dependency required by @selected)
 (dependency required by @world [argument])
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.
 
 -
 
 penguinchick ~ # emerge --pretend --update --deep --skip-first world
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 !!! One or more packages have been dropped due to
 !!! masking or unsatisfied dependencies:
 
(sys-devel/gettext-0.18.1.1-r1, ebuild scheduled for merge)
(dev-python/pygtksourceview-2.10.1, ebuild scheduled for merge)
(dev-vcs/git-1.7.3.4-r1, ebuild scheduled for merge)
 
 [ebuild U ] sys-apps/attr-2.4.44 [2.4.43]
 [ebuild U ] sys-devel/bison-2.4.2 [2.4.1]
 [ebuild U ] x11-misc/shared-mime-info-0.80 [0.71]
 [ebuild U ] sys-apps/coreutils-8.7 [8.5]
 [ebuild U ] sys-libs/pam-1.1.3 [1.1.1-r2]



Re: [gentoo-user] Updating world

2011-03-27 Thread JM
You can allow it to install the masked packages by typing:

ACCEPT_KEYWORDS=~x86 emerge --update --deep world (you can also use
--keep-going, instead of --skip-first and it will try and continue when it
finds errors).

Actually, you can only use ~x86 if you are using an i686 or whatever (no
good for amd or other arch's).

Some correct me if I'm wrong, or have I misunderstood the problem?

On 27 March 2011 19:50, CJoeB colleen.bea...@gmail.com wrote:

 Hi All,

 See output below.  I understand what this is telling me.  However, the
 issue is if I unmask libkexiv2 and kipi-plugins, I get further messages
 about some other kde package that is masked by ~x86 keyword.  And this goes
 on continuously.

 If I do emerge --pretend --update --deep --skip-first world, the second set
 of output is provided and this causes other problems - for instance, there
 are a whole whack of packages that depend on gettext.

 I haven't been able to update my system in well over a month.  I keep
 hoping a sync will somehow miraculously correct my problem.

 Anyone have any ideas how to get around this?

 penguinchick ~ # emerge --pretend --update --deep world

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

 Calculating dependencies... done!

 !!! All ebuilds that could satisfy =kde-base/libkexiv2-4.5[aqua=] have
 been masked.
 !!! One of the following masked packages is required to complete your
 request:
 - kde-base/libkexiv2-4.6.1 (masked by: ~x86 keyword)
 - kde-base/libkexiv2-4.6.0 (masked by: ~x86 keyword)
 - kde-base/libkexiv2-4.5.5 (masked by: ~x86 keyword)

 (dependency required by media-plugins/kipi-plugins-1.9.0 [ebuild])
 (dependency required by @selected)
 (dependency required by @world [argument])
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.


 -

 penguinchick ~ # emerge --pretend --update --deep --skip-first world

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

 Calculating dependencies... done!
 !!! One or more packages have been dropped due to
 !!! masking or unsatisfied dependencies:

  (sys-devel/gettext-0.18.1.1-r1, ebuild scheduled for merge)
  (dev-python/pygtksourceview-2.10.1, ebuild scheduled for merge)
  (dev-vcs/git-1.7.3.4-r1, ebuild scheduled for merge)

 [ebuild U ] sys-apps/attr-2.4.44 [2.4.43]
 [ebuild U ] sys-devel/bison-2.4.2 [2.4.1]
 [ebuild U ] x11-misc/shared-mime-info-0.80 [0.71]
 [ebuild U ] sys-apps/coreutils-8.7 [8.5]
 [ebuild U ] sys-libs/pam-1.1.3 [1.1.1-r2]
 v

 Regards,

 Colleen



 --

 Registered Linux User #411143 with the Linux Counter,
 http://counter.li.org





Re: [gentoo-user] Updating world

2011-03-27 Thread CJoeB

On 03/27/11 19:21, Roman Zilka wrote:

According to my local portage mirror, kipi-plugins-1.9.0 is currently
~x86. There's probably a stray line in
your /etc/portage/package.keywords which unmasks kipi-plugins-1.9.0.
The latest stable is kipi-plugins-1.2.0-r3 which is happy with
libkexiv2-4.4.5-r1, which in turn is stable for x86.


That *was* the case, but I commented the line out and it still didn't 
solve the problem

-rz



See output below.  I understand what this is telling me.  However, the
issue is if I unmask libkexiv2 and kipi-plugins, I get further messages
about some other kde package that is masked by ~x86 keyword.  And this
goes on continuously.

If I do emerge --pretend --update --deep --skip-first world, the second
set of output is provided and this causes other problems - for instance,
there are a whole whack of packages that depend on gettext.

I haven't been able to update my system in well over a month.  I keep
hoping a sync will somehow miraculously correct my problem.

Anyone have any ideas how to get around this?

penguinchick ~ # emerge --pretend --update --deep world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy =kde-base/libkexiv2-4.5[aqua=]
have been masked.
!!! One of the following masked packages is required to complete your
request:
- kde-base/libkexiv2-4.6.1 (masked by: ~x86 keyword)
- kde-base/libkexiv2-4.6.0 (masked by: ~x86 keyword)
- kde-base/libkexiv2-4.5.5 (masked by: ~x86 keyword)

(dependency required by media-plugins/kipi-plugins-1.9.0 [ebuild])
(dependency required by @selected)
(dependency required by @world [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

-

penguinchick ~ # emerge --pretend --update --deep --skip-first world

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

Calculating dependencies... done!
!!! One or more packages have been dropped due to
!!! masking or unsatisfied dependencies:

(sys-devel/gettext-0.18.1.1-r1, ebuild scheduled for merge)
(dev-python/pygtksourceview-2.10.1, ebuild scheduled for merge)
(dev-vcs/git-1.7.3.4-r1, ebuild scheduled for merge)

[ebuild U ] sys-apps/attr-2.4.44 [2.4.43]
[ebuild U ] sys-devel/bison-2.4.2 [2.4.1]
[ebuild U ] x11-misc/shared-mime-info-0.80 [0.71]
[ebuild U ] sys-apps/coreutils-8.7 [8.5]
[ebuild U ] sys-libs/pam-1.1.3 [1.1.1-r2]





--

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




Re: [gentoo-user] Updating world

2011-03-27 Thread Alan McKinnon
On Sunday 27 March 2011 18:50:36 CJoeB wrote:
 Hi All,
 
 See output below.  I understand what this is telling me.  However, the
 issue is if I unmask libkexiv2 and kipi-plugins, I get further messages
 about some other kde package that is masked by ~x86 keyword.  And this
 goes on continuously.


I suspect a dodgy entry in /etc/portage somewhere.

What's the output of:

grep -r libkexiv2 /etc/portage*
grep ACCEPT_KEYWORDS /etc/make.conf

 
 If I do emerge --pretend --update --deep --skip-first world, the second
 set of output is provided and this causes other problems - for instance,
 there are a whole whack of packages that depend on gettext.
 
 I haven't been able to update my system in well over a month.  I keep
 hoping a sync will somehow miraculously correct my problem.
 
 Anyone have any ideas how to get around this?
 
 penguinchick ~ # emerge --pretend --update --deep world
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 
 !!! All ebuilds that could satisfy =kde-base/libkexiv2-4.5[aqua=]
 have been masked.
 !!! One of the following masked packages is required to complete your
 request:
 - kde-base/libkexiv2-4.6.1 (masked by: ~x86 keyword)
 - kde-base/libkexiv2-4.6.0 (masked by: ~x86 keyword)
 - kde-base/libkexiv2-4.5.5 (masked by: ~x86 keyword)
 
 (dependency required by media-plugins/kipi-plugins-1.9.0 [ebuild])
 (dependency required by @selected)
 (dependency required by @world [argument])
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.
 
 
 -
 
 penguinchick ~ # emerge --pretend --update --deep --skip-first world
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 !!! One or more packages have been dropped due to
 !!! masking or unsatisfied dependencies:
 
(sys-devel/gettext-0.18.1.1-r1, ebuild scheduled for merge)
(dev-python/pygtksourceview-2.10.1, ebuild scheduled for merge)
(dev-vcs/git-1.7.3.4-r1, ebuild scheduled for merge)
 
 [ebuild U ] sys-apps/attr-2.4.44 [2.4.43]
 [ebuild U ] sys-devel/bison-2.4.2 [2.4.1]
 [ebuild U ] x11-misc/shared-mime-info-0.80 [0.71]
 [ebuild U ] sys-apps/coreutils-8.7 [8.5]
 [ebuild U ] sys-libs/pam-1.1.3 [1.1.1-r2]
 v
 
 Regards,
 
 Colleen
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Updating world

2011-03-27 Thread CJoeB

On 03/27/11 22:25, Alan McKinnon wrote:

On Sunday 27 March 2011 18:50:36 CJoeB wrote:

Hi All,

See output below.  I understand what this is telling me.  However, the
issue is if I unmask libkexiv2 and kipi-plugins, I get further messages
about some other kde package that is masked by ~x86 keyword.  And this
goes on continuously.


I suspect a dodgy entry in /etc/portage somewhere.

What's the output of:

grep -r libkexiv2 /etc/portage*
grep ACCEPT_KEYWORDS /etc/make.conf


I didn't get any output.



If I do emerge --pretend --update --deep --skip-first world, the second
set of output is provided and this causes other problems - for instance,
there are a whole whack of packages that depend on gettext.

I haven't been able to update my system in well over a month.  I keep
hoping a sync will somehow miraculously correct my problem.

Anyone have any ideas how to get around this?

penguinchick ~ # emerge --pretend --update --deep world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy =kde-base/libkexiv2-4.5[aqua=]
have been masked.
!!! One of the following masked packages is required to complete your
request:
- kde-base/libkexiv2-4.6.1 (masked by: ~x86 keyword)
- kde-base/libkexiv2-4.6.0 (masked by: ~x86 keyword)
- kde-base/libkexiv2-4.5.5 (masked by: ~x86 keyword)

(dependency required by media-plugins/kipi-plugins-1.9.0 [ebuild])
(dependency required by @selected)
(dependency required by @world [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


-

penguinchick ~ # emerge --pretend --update --deep --skip-first world

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

Calculating dependencies... done!
!!! One or more packages have been dropped due to
!!! masking or unsatisfied dependencies:

(sys-devel/gettext-0.18.1.1-r1, ebuild scheduled for merge)
(dev-python/pygtksourceview-2.10.1, ebuild scheduled for merge)
(dev-vcs/git-1.7.3.4-r1, ebuild scheduled for merge)

[ebuild U ] sys-apps/attr-2.4.44 [2.4.43]
[ebuild U ] sys-devel/bison-2.4.2 [2.4.1]
[ebuild U ] x11-misc/shared-mime-info-0.80 [0.71]
[ebuild U ] sys-apps/coreutils-8.7 [8.5]
[ebuild U ] sys-libs/pam-1.1.3 [1.1.1-r2]
v

Regards,

Colleen



--

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




Re: [gentoo-user] emerge --update --newuse world before emerge source?

2011-03-31 Thread Pandu Poluan
On Thu, Mar 31, 2011 at 16:05, KH gentoo-u...@konstantinhansen.de wrote:
 Am 31.03.2011 10:34, schrieb Pandu Poluan:
 Hello again. I hope you're not yet bored of my newbie questions...

 Out on a whim, I just did `emerge --update --newuse --pretend world`
 *just* before emerging the sources. I got this:

 [ebuild     U ] sys-apps/portage-2.1.9.45 [2.1.9.25] USE=-python2%
 [ebuild     U ] sys-libs/glibc-2.11.3 [2.11.2-r3]
 [ebuild   R   ] sys-libs/ncurses-5.7-r3  USE=unicode* -gpm*
 [ebuild     U ] sys-libs/zlib-1.2.5-r2 [1.2.3-r1]
 [ebuild  N    ] app-arch/xz-utils-5.0.1  USE=nls threads -static-libs
 [ebuild   R   ] sys-apps/coreutils-8.7  USE=unicode*
 [ebuild     U ] sys-devel/gcc-4.4.5 [4.4.4-r2]
 [ebuild     U ] sys-apps/util-linux-2.18-r1 [2.17.2] USE=cramfs%* unicode*
 [ebuild   R   ] app-arch/gzip-1.4  USE=-pic*
 [ebuild     U ] sys-apps/net-tools-1.60_p20100815160931
 [1.60_p20090728014017-r1]
 [ebuild     U ] sys-apps/file-5.05 [5.04]
 [ebuild   R   ] sys-process/procps-3.2.8  USE=unicode*
 [ebuild     U ] net-misc/rsync-3.0.8 [3.0.7]
 [ebuild   R   ] sys-apps/baselayout-1.12.14-r1  USE=unicode*

 Should I `emerge --update --newuse world` before emerging the sources?

 Rgds,
 --
 Pandu E Poluan
 ~ IT Optimizer ~
 Visit my Blog: http://pepoluan.posterous.com

 Hi,

 most likely you did an emerge --sync befor. There should have been a
 notice like: A new version of portage is available. It is recomendet to
 update portage first.
 So you should run emerge -av portage first.
 After this you could update gcc but since it is a minore update it
 wouldn't mater.

 Regards
 KH
 --

Alright. I did emerge --update portage

Should I emerge these, too:
+ glibc
+ zlib
+ xz-utils
+ gzip
+ rsync

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] New gentoo installation fails when trying to install syslog-ng

2011-09-15 Thread Michael Schreckenbauer
On Thursday, 15. September 2011 11:25:56 Joost Roeleveld wrote:
 On Thursday, September 15, 2011 01:58:59 AM Trifu Catalin Florin wrote:
  On Thursday, 15. September 2011 01:16:12 Trifu Catalin Florin wrote:
 snipped undecypherable part
 
  
  Dear Michael
  
  Thank you for your help!
  
  I didn't reboot my machine as the installation is not complete yet. How
  can I reboot when the installation isn't finish, if things that should
  work don't work in the first place?
 
 I could not find the currently running kernel you are using in this thread.

It's 2.6.19-something.
He hit's a problem with new coreutils running on kernels older than 2.6.22
Something related to futimesat, that was introduced with this kernel.

 Possibly, you are hitting an issue caused by a feature lacking in that
 kernel. What did you boot your machine with prior to starting the
 installation? Please also include the version and URL where you downloaded
 this from.
  I didn't try your advices as I don't now how to try them. How do I
  deactivate sandbox?
 
 Michael grimlog Schreckenbauer actually already told you how to do this:
 **
 If you cannot upgrade your kernel right now, you can disable the sandbox
 FEATURES=-sandbox in /etc/make.conf
 (I do not recommend this)
 **
 
 The sandbox is a security feature. If you disable it to get the install
 working and a newer kernel-version. Please undo this change after the first
 boot into the new kernel.

Ack.

   I tried to search for
  
  touch: setting times of gentoo
  but I don't understand how this is related to my problem.
  
  Yahoo reply broken? I don't know what to say about that... gmail works
  in
  the same way, outlook in the same way, thunderbird in the same way.
 
 In other words, they're all broken.
 A good Email client will allow you to send non-HTML email. Puts quote
 marks in front of the lines and add a bladibla wrote this or similar
 line. It should also allow you to easily put your reply at the bottom of
 the email.
 
 GMail has been mentioned a few times as doing things wrongly. I won't even
 mention the many ways in which MS Outlook does things badly and Thunderbird
 wants to be a copy of MS Outlook.

Afaict, there are quite a few people here using thunderbird. Most replies are 
wellformed. Outlook, well... it's not a mail-client after all.

Best,
Michael




Re: [gentoo-user] 200MB waste from /usr/share/locale ?

2011-11-25 Thread Mike Edenfield

On 11/25/2011 10:00 PM, Philip Webb wrote:

26 Florian Philipp wrote:

Am 26.11.2011 01:28, schrieb Sebastian Pipping:

It seems that /usr/share/locale is keeping files for many languages
not of any use to me: around 200MB in total.
Is there a way to configure this away that I am not aware of?

Please follow the section glibc Locales in the Gentoo handbook.
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap6


Yes, but that may not be the problem.  I have just  2  locales requested,
but  /etc/share/locale/  contains  90 MB  of material.
A quick look suggests that most of it is in subdirs LC_MESSAGES ,
wh seem to come from emerges at various dates;
they are binary, so I don't know what they were reporting.
Even under /usr/share/locale/en_US , which should show my  2  locales,
there are only such messages.  The locales do seem to work.

Can anyone explain what is going on ?


Different packages include different levels of support for 
filtering their installed localization messages, typically 
one of install everything, install what's requested, or 
whats a locale?


The reason you mostly have files under LC_MESSAGES is 
because that's 99% of what is needed to localize a package. 
The files in there are string resource packages, 
translations of the strings used by the program, which are 
picked up by the localization library (gettext) 
automatically based on your locale settings. (coreutils 
installs file into LC_TIME for locales with date/time 
formatting requirements; I don't think I've ever seen any 
other locale files.)


The standard way to inform a package which languages you 
want is to set your LINGUAS variable in /etc/make.conf to 
the locale name(s) you want installed (without the charset 
specifier). LINGUAS works like any other portage expansion 
variables: for those packages that support it, you get a set 
of USE-flag-like language keywords set on build. (LINGUAS is 
the well-known environment variable used by most 
autotools-based packages to select languages, but portage 
provides support above and beyond that.)


Unfortunately, proper locale support is spotty -- mostly due 
to upstream maintainers being too lazy to properly add it to 
their builds. Instead, the package will install every 
message file it has available all the time.


You can safely delete any folders from /usr/share/locale for 
locales that you don't have installed, since the normal 
locale support in glibc will never ask for them. But they'll 
just get put back next time you upgrade the package.


--Mike




Re: [gentoo-user] 200MB waste from /usr/share/locale ?

2011-11-27 Thread Sebastian Pipping
On 11/26/2011 07:32 AM, Mike Edenfield wrote:
 Can anyone explain what is going on ?
 
 Different packages include different levels of support for filtering
 their installed localization messages, typically one of install
 everything, install what's requested, or whats a locale?
 
 The reason you mostly have files under LC_MESSAGES is because that's 99%
 of what is needed to localize a package. The files in there are string
 resource packages, translations of the strings used by the program,
 which are picked up by the localization library (gettext) automatically
 based on your locale settings. (coreutils installs file into LC_TIME for
 locales with date/time formatting requirements; I don't think I've ever
 seen any other locale files.)
 
 The standard way to inform a package which languages you want is to set
 your LINGUAS variable in /etc/make.conf to the locale name(s) you want
 installed (without the charset specifier). LINGUAS works like any other
 portage expansion variables: for those packages that support it, you get
 a set of USE-flag-like language keywords set on build. (LINGUAS is the
 well-known environment variable used by most autotools-based packages to
 select languages, but portage provides support above and beyond that.)
 
 Unfortunately, proper locale support is spotty -- mostly due to upstream
 maintainers being too lazy to properly add it to their builds. Instead,
 the package will install every message file it has available all the time.
 
 You can safely delete any folders from /usr/share/locale for locales
 that you don't have installed, since the normal locale support in glibc
 will never ask for them. But they'll just get put back next time you
 upgrade the package.
 
 --Mike

Excellent description -- thank you!

In case I find time to blog about this on Planet Gentoo:
would you allow using the above text under some Creative Commons
license, say CC-BY-SA/3.0?  Do you have a personal website or blog that
I could add a link to?

Best,




Sebastian



<    1   2   3   4   5   >