Re: [gentoo-user] Raid1 (continued) mdadm

2011-04-18 Thread Joost Roeleveld
On Friday 15 April 2011 20:46:47 Mark Shields wrote:
 On Fri, Apr 15, 2011 at 2:47 PM, Florian Philipp 
li...@binarywings.netwrote:
  Am 15.04.2011 16:56, schrieb James:
   Hello,
   
   New day, and a fresh approach to fixing the raid one install.
   Following this doc (no lvm no intramfs):
   http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
   
   The disk were all resync'd  (end of last thread).
   Since this is a simple 3 partition 2 disk mirror
   (identical drives  formatting) and I want to mirror
   all three (/boot, /, swap)
   
   I used these commands:
   mdadm --create /dev/md127 --level=1 --raid-devices=2
   --metadata=0.90 /dev/sda1 /dev/sdb1
   
   mdadm --create /dev/md125 --level=1 --raid-devices=2
   --metadata=0.90 /dev/sda3 /dev/sdb3
   
   mdadm --create /dev/md126 --level=1 --raid-devices=2
   --metadata=0.90 /dev/sda2 /dev/sdb2
  
  If my theory holds, it should be sufficient if /boot has metadata=0.90
  because that's what grub has to access.
  
   So do I need to issue these commands? If so,
   are they correct?  A little unclear on mknod
   
   livecd ~ # mknod /dev/md127 b 9 1
   livecd ~ # mknod /dev/md125 b 9 3
   or
   livecd ~ # mknod /dev/md127 b 9 127
   livecd ~ # mknod /dev/md125 b 9 125
   livecd ~ # mknod /dev/md126 b 9 126
   
   ???
  
  I doubt you need mknod. Udev should handle this.
  Maybe you should try it without and see whether udev really creates
  them. If so, you might still add them to the static /dev. Use something
  like this:
  mount --bind / /mnt
  mknod /mnt/dev/md127 b 9 1
  
  This circumvents udev and writes directly to root. Of course, you have
  to replace / with whatever is the mount point of your root partition
  when you boot from a live-CD.
  
  Regards,
  Florian Philipp
 
 You need mknod during the creation process when booted from a minimal
 install disc; when you finish building the system and boot it the first
 time, udev handles it from there.

I didn't need mknod when I did this last time. udev picked it up correctly 
from the start.

 And yes, you're right; only boot needs the --metadata=0.90.

--
Joost



[gentoo-user] What is libX11.la, and how do I build it?

2011-04-18 Thread Alan Mackenzie
Hi, Gentoo.

I try to emerge, say, gtk+.  It fails building the cairo lib.  The build
log indicates:

/bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

.  Looking into lib64, most libraries have versions .a, .la, .so*.  What
is .la?  file libevtlog.la says libtool library file.  What does
this mean?  Is it the 64 bit version, or something?

Why is libX11 lacking the .la version?  More to the point, what do I
have to do to build it?  I've already tried setting the static-libs
use flag in /etc/portage/package.use, to no avail.

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Howzat!

2011-04-18 Thread Florian Philipp
Am 18.04.2011 06:53, schrieb Joshua Murphy:
 On Sun, Apr 17, 2011 at 9:44 PM, Dale rdalek1...@gmail.com wrote:
 Peter Humphrey wrote:

 Hello list,

 How's this for sheer persistence and grit?

 $ genlop -c

  Currently merging 321 out of 368

  * www-client/chromium-10.0.648.204

current merge time: 11 hours, 41 minutes and 9 seconds.
ETA: any time now.

 This is my Atom N270 LAN server box.



 I got a very old Compaq rig with quad 200Mhz CPUs and 128Mbs of ram.  I have
 always wondered how long it would take to compile OOo on that thing.  12
 hours to compile a browser does take patience.  I hope you don't have a
 power failure right at the end.  o_O

 How long does it take to open it when it gets done?  Seconds?  Minutes?

 Dale

 :-)  :-)


 
 Assuming a reasonable 1GB ram on the box (pretty well standard to low
 with an Atom), and considering what my netbook does (the same single
 core 1.6GHz with HT turned on for responsiveness in my case), about
 2-3 seconds... but then I'm on a little SSD too. I should admit my
 netbook's running Debian at the moment, though. Didn't want to abuse
 the SSD too much with writes, and it's tedious to install things
 through an intermediary system all the time. The fullsize laptop, when
 it gets its rebuild over the next week (it's been a windows 2k3 server
 development system lately)
 

My strategy for getting Gentoo on a netbook with an SSD is to use NFS
for PORTAGE_TMPDIR. Works nicely and makes less work than building
everything remote. The only problem is that the setuid bit seems to get
lost. That's not too much of an issue, though. There are only a handful
of setuid binaries on a system and you can compare the list of them with
a normal desktop machine.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Howzat!

2011-04-18 Thread Neil Bothwick
On Mon, 18 Apr 2011 09:52:56 +0200, Florian Philipp wrote:

 it's tedious to install things
  through an intermediary system all the time. The fullsize laptop, when
  it gets its rebuild over the next week (it's been a windows 2k3 server
  development system lately)

 My strategy for getting Gentoo on a netbook with an SSD is to use NFS
 for PORTAGE_TMPDIR. Works nicely and makes less work than building
 everything remote.

Doesn't using NFS slow compilation right down. I have a script on
the build host that enters the chroot and runs emerge -uD --changed-use
world, right after cron does emerge --sync, so the packages are
automatically available. Ass --usepkg to EMERGE_DEFAULT_OPTS on the
netbook and everything is transparent and no work at all (apart from a
couple of packages that won't build in the chroot).


-- 
Neil Bothwick

Beware of cover disks bearing upgrades.


signature.asc
Description: PGP signature


Re: [gentoo-user] What is libX11.la, and how do I build it?

2011-04-18 Thread Neil Bothwick
On Mon, 18 Apr 2011 07:35:56 +, Alan Mackenzie wrote:

 I try to emerge, say, gtk+.  It fails building the cairo lib.  The build
 log indicates:
 
 /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

Run: 
emerge lafilefixer
lafilefixer --justfixit

Later portage versions handle this automatically.


-- 
Neil Bothwick

Beware! The end is... aaarrgh!


signature.asc
Description: PGP signature


Re: [gentoo-user] Howzat!

2011-04-18 Thread Florian Philipp
Am 18.04.2011 10:12, schrieb Neil Bothwick:
 On Mon, 18 Apr 2011 09:52:56 +0200, Florian Philipp wrote:
 
 it's tedious to install things
 through an intermediary system all the time. The fullsize laptop, when
 it gets its rebuild over the next week (it's been a windows 2k3 server
 development system lately)
 
 My strategy for getting Gentoo on a netbook with an SSD is to use NFS
 for PORTAGE_TMPDIR. Works nicely and makes less work than building
 everything remote.
 
 Doesn't using NFS slow compilation right down. I have a script on
 the build host that enters the chroot and runs emerge -uD --changed-use
 world, right after cron does emerge --sync, so the packages are
 automatically available. Ass --usepkg to EMERGE_DEFAULT_OPTS on the
 netbook and everything is transparent and no work at all (apart from a
 couple of packages that won't build in the chroot).
 
 

I haven't noticed any slowdown. I use a 100 MBit/s connection. That's
nearly 12 MiB/s. The SSD has a write-speed of maybe 4-8 MiB/s. Actual
throughput (monitored with iftop) was usually lower that 40 Mbit/s.
Maybe latency was a bit higher and NFSv4 could have helped with that but
I think it was negligible compared to the compiling performance of the
Atom processor.

Sure, a build host would have been better but it also meant more work. I
also thought about using ATAoE, iSCSI or something alike to mount the
SSD from a more powerful computer (using a live-system to avoid obvious
problems when mounting the FS twice). Again - too much fuss. I usually
just do security updates and then a full update every six months or so.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Howzat!

2011-04-18 Thread Peter Humphrey
On Monday 18 April 2011 02:44:19 Dale wrote:

 How long does it take to open it when it gets done?  Seconds?  Minutes?

I was going to check, but now I can't starrtx on that box.

Because of the http-replicator problem I mentioned in another thread I decided 
to throw the book at it and ran emerge -e world - natively, not using the 
build host. It took something like three 24-hour days, and not only has it not 
fixed the problem, it seems to have introduced another one. I'm beginning to 
wonder about the disk, which has already had to be replaced under guarantee. 
Oh, 
and I forgot to say, Joshua, that this box has 2GB RAM.

I think I'm going to cop out and try Ubuntu server or something.

Has anyone here managed to get http-replicator running on a non-Gentoo box? It 
would be good to keep a distfiles repository somewhere on the LAN, and the box 
in 
question is supposed to be the LAN server, after all.

-- 
Rgds
Peter



Re: [gentoo-user] Howzat!

2011-04-18 Thread Neil Bothwick
On Mon, 18 Apr 2011 12:22:51 +0100, Peter Humphrey wrote:

 Has anyone here managed to get http-replicator running on a non-Gentoo
 box? It would be good to keep a distfiles repository somewhere on the
 LAN, and the box in question is supposed to be the LAN server, after
 all.

Why do you need http-replicator for that. Use an NFS share and set
DISTDIR to its mount point on each Gentoo box. It's far less complicated.


-- 
Neil Bothwick

If I agreed with you, we'd both be wrong.


signature.asc
Description: PGP signature


Re: [gentoo-user] Howzat!

2011-04-18 Thread Peter Humphrey
On Monday 18 April 2011 13:44:45 Neil Bothwick wrote:
 On Mon, 18 Apr 2011 12:22:51 +0100, Peter Humphrey wrote:
  Has anyone here managed to get http-replicator running on a non-Gentoo
  box? It would be good to keep a distfiles repository somewhere on the
  LAN, and the box in question is supposed to be the LAN server, after
  all.
 
 Why do you need http-replicator for that. Use an NFS share and set
 DISTDIR to its mount point on each Gentoo box. It's far less complicated.

Perhaps I'm being dense today, but I don't follow you. I was assuming the Atom 
box would hold the distfiles and the Gentoo boxes obtain them from it, one way 
or 
another. How are you assuming I'll fetch the files from Out There? I've tried 
relying on a Squid proxy, but often it doesn't keep the files I want - even 
after 
I've raised the file size limit to something like 80MB.

-- 
Rgds
Peter



Re: [gentoo-user] Howzat!

2011-04-18 Thread Florian Philipp
Am 18.04.2011 16:35, schrieb Peter Humphrey:
 On Monday 18 April 2011 13:44:45 Neil Bothwick wrote:
 On Mon, 18 Apr 2011 12:22:51 +0100, Peter Humphrey wrote:
 Has anyone here managed to get http-replicator running on a non-Gentoo
 box? It would be good to keep a distfiles repository somewhere on the
 LAN, and the box in question is supposed to be the LAN server, after
 all.

 Why do you need http-replicator for that. Use an NFS share and set
 DISTDIR to its mount point on each Gentoo box. It's far less complicated.
 
 Perhaps I'm being dense today, but I don't follow you. I was assuming the 
 Atom 
 box would hold the distfiles and the Gentoo boxes obtain them from it, one 
 way or 
 another. How are you assuming I'll fetch the files from Out There? I've tried 
 relying on a Squid proxy, but often it doesn't keep the files I want - even 
 after 
 I've raised the file size limit to something like 80MB.
 

In the setup Neil proposes, every client mounts an NFS share from your
server and uses that as its DISTDIR (where it stores the downloaded
files). For downloading files, the clients access the normal public
Gentoo mirrors but because all clients share the same directory, files
that some client has already downloaded are also available for every
other client. Therefore they will not be downloaded twice.

The only possible problem with this approach is that two clients might
attempt to download the same file at the same time. Just make sure to
start your updates at different times to avoid this.

Hope this makes it a bit clearer,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Howzat!

2011-04-18 Thread Peter Humphrey
On Monday 18 April 2011 15:51:32 Florian Philipp wrote:

 In the setup Neil proposes, every client mounts an NFS share from your
 server and uses that as its DISTDIR (where it stores the downloaded
 files). For downloading files, the clients access the normal public
 Gentoo mirrors but because all clients share the same directory, files
 that some client has already downloaded are also available for every
 other client. Therefore they will not be downloaded twice.
 
 The only possible problem with this approach is that two clients might
 attempt to download the same file at the same time. Just make sure to
 start your updates at different times to avoid this.

Yes, that's how I understood it, but I was looking ahead to a time when the 
server might not be running Gentoo, in which case I wanted a mechanism to 
obtain 
the distfiles to put on the server.

-- 
Rgds
Peter



Re: [gentoo-user] Howzat!

2011-04-18 Thread Peter Humphrey
On Monday 18 April 2011 16:48:08 Peter Humphrey wrote:
 On Monday 18 April 2011 15:51:32 Florian Philipp wrote:
  In the setup Neil proposes, every client mounts an NFS share from your
  server and uses that as its DISTDIR (where it stores the downloaded
  files). For downloading files, the clients access the normal public
  Gentoo mirrors but because all clients share the same directory, files
  that some client has already downloaded are also available for every
  other client. Therefore they will not be downloaded twice.
  
  The only possible problem with this approach is that two clients might
  attempt to download the same file at the same time. Just make sure to
  start your updates at different times to avoid this.
 
 Yes, that's how I understood it, but I was looking ahead to a time when the
 server might not be running Gentoo, in which case I wanted a mechanism to
 obtain the distfiles to put on the server.

Never mind. The penny's finally dropped. Thanks to both.

-- 
Rgds
Peter



Re: [gentoo-user] What is libX11.la, and how do I build it?

2011-04-18 Thread Philip Webb
110418 Alan Mackenzie wrote:
 I try to emerge, say, gtk+.  It fails building the cairo lib.
 The build log indicates:
   /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

I have

  root:504 ~ cd /usr/lib64
  root:505 lib64 ls libX11*
libX11.la  libX11.so  libX11.so.6  libX11.so.6.3.0  libX11-xcb.la  
libX11-xcb.so  libX11-xcb.so.1  libX11-xcb.so.1.0.0
  root:506 lib64 equery belongs /usr/lib64/libX11.la
  [ Searching for file(s) /usr/lib64/libX11.la in *... ]
  x11-libs/libX11-1.4.1 (/usr/lib64/libX11.la)

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




[gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Alan Mackenzie
Hi, gentoo.

When I try to run an emerge world, I get this error:

# emerge --update --deep -p world

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy 
dev-libs/libgcrypt[static-libs].
!!! One of the following packages is required to complete your request:
- dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)
(dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])
(dependency required by sys-apps/hal-0.5.14-r4[crypt] [ebuild])
(dependency required by @selected [set])
(dependency required by @world [argument])

What is this saying?  That I need to locate a use flag static-libs and
change it for package libgcrypt?  Presumably it is libgcrypt which is
dissatisfied.  I'm having difficulty parsing the mssage.

Next question: what should I do about it?

Thanks for the help!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Paul Hartman
On Mon, Apr 18, 2011 at 11:21 AM, Alan Mackenzie a...@muc.de wrote:
 Hi, gentoo.

 When I try to run an emerge world, I get this error:

 # emerge --update --deep -p world

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

 Calculating dependencies... done!

 emerge: there are no ebuilds built with USE flags to satisfy 
 dev-libs/libgcrypt[static-libs].
 !!! One of the following packages is required to complete your request:
 - dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)

One of the packages in your world requires dev-libs/libgcrypt which
was built with the static-libs USE flag. So, the line above is
telling you to add static-libs to your USE flag for that package.

 (dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])
 (dependency required by sys-apps/hal-0.5.14-r4[crypt] [ebuild])
 (dependency required by @selected [set])
 (dependency required by @world [argument])

These are the items that require libgcrypt with static-libs USE flag
set. Sometimes changing USE flags on thse packages will change the
dependency requirements. Sometimes it's just something new that the
maintainer added since a previous version.

 What is this saying?  That I need to locate a use flag static-libs and
 change it for package libgcrypt?  Presumably it is libgcrypt which is
 dissatisfied.  I'm having difficulty parsing the mssage.

 Next question: what should I do about it?

If you don't already have one, you can set package-specific USE flags
in /etc/portage/package.use and in this case you'd add a line:
dev-libs/libgcrypt static-libs

 Thanks for the help!

Good luck!



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Dale

Alan Mackenzie wrote:

Hi, gentoo.

When I try to run an emerge world, I get this error:

# emerge --update --deep -p world

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy 
dev-libs/libgcrypt[static-libs].
!!! One of the following packages is required to complete your request:
- dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)
(dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])
(dependency required by sys-apps/hal-0.5.14-r4[crypt] [ebuild])
(dependency required by @selected [set])
(dependency required by @world [argument])

What is this saying?  That I need to locate a use flag static-libs and
change it for package libgcrypt?  Presumably it is libgcrypt which is
dissatisfied.  I'm having difficulty parsing the mssage.

Next question: what should I do about it?

Thanks for the help!

   


I'm not the best at figuring out portages puke either but I get the same 
if I try to install cryptsetup as shown here:


root@fireball / # emerge -vp cryptsetup

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

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy 
dev-libs/libgcrypt[static-libs].

!!! One of the following packages is required to complete your request:
- dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)
(dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])
(dependency required by cryptsetup [argument])
root@fireball / #

I would try to figure out what is pulling in cryptsetup and see if you 
can adjust your USE flags.  Adding the -t option may help on that.


One thing I have learned, read portages error message backwards.  It 
starts spitting it up at one point then works its way back.  Most of the 
time, you don't need the way back part.


By the way, I don't have static-libs enabled here either.

Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Carlos Sura
On 18 April 2011 10:21, Alan Mackenzie a...@muc.de wrote:

 Hi, gentoo.

 When I try to run an emerge world, I get this error:

 # emerge --update --deep -p world

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

 Calculating dependencies... done!

 emerge: there are no ebuilds built with USE flags to satisfy
 dev-libs/libgcrypt[static-libs].
 !!! One of the following packages is required to complete your request:
 - dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)
 (dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])
 (dependency required by sys-apps/hal-0.5.14-r4[crypt] [ebuild])
 (dependency required by @selected [set])
 (dependency required by @world [argument])

 What is this saying?  That I need to locate a use flag static-libs and
 change it for package libgcrypt?  Presumably it is libgcrypt which is
 dissatisfied.  I'm having difficulty parsing the mssage.

 Next question: what should I do about it?

 Thanks for the help!

 --
 Alan Mackenzie (Nuremberg, Germany).

 Hello Alan,

You should: nano /etc/make.conf

and add the flag: static-libs

USE=static-libs

Then try again: emerge -uDvaN world

Regards,


-- 
Carlos Sura.-


Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Philip Webb
110418 Alan Mackenzie wrote:
 When I try to run an emerge world, I get this error:
   # emerge --update --deep -p world
   These are the packages that would be merged, in order:
   Calculating dependencies... done!
   emerge: there are no ebuilds built with USE flags to satisfy 
 dev-libs/libgcrypt[static-libs].
   !!! One of the following packages is required to complete your request:
   - dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)
   (dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])
   (dependency required by sys-apps/hal-0.5.14-r4[crypt] [ebuild])
   (dependency required by @selected [set])
   (dependency required by @world [argument])
 What is this saying?

I would do

  USE=static-libs emerge -Dup libgcrypt

 if that works, add the flag to  /etc/portage/package.use .

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




Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread David W Noon
On Mon, 18 Apr 2011 19:20:02 +0200, Carlos Sura wrote about Re:
[gentoo-user] I can't understand an emerge error. Help, please!:

[snip]
You should: nano /etc/make.conf

and add the flag: static-libs

USE=static-libs

This is not, in the general case, a good idea.  This will enable the
static-libs USE flag for *every* package except those that have an
explicit -static-libs flag specified.  This will populate /usr/lib
and /lib with a plethora of *.a files that will never be used.

The static-libs USE flag should only be enabled on a case-by-case
basis, by specifying the package(s) in /etc/portage/package.use.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


signature.asc
Description: PGP signature


Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Alan Mackenzie
Hi, Paul.

On Mon, Apr 18, 2011 at 11:52:17AM -0500, Paul Hartman wrote:
 On Mon, Apr 18, 2011 at 11:21 AM, Alan Mackenzie a...@muc.de wrote:
  Hi, gentoo.

  When I try to run an emerge world, I get this error:

  # emerge --update --deep -p world

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

  Calculating dependencies... done!

  emerge: there are no ebuilds built with USE flags to satisfy 
  dev-libs/libgcrypt[static-libs].
  !!! One of the following packages is required to complete your request:
  - dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)

 One of the packages in your world requires dev-libs/libgcrypt which
 was built with the static-libs USE flag. So, the line above is
 telling you to add static-libs to your USE flag for that package.

OK.

  (dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])
  (dependency required by sys-apps/hal-0.5.14-r4[crypt] [ebuild])
  (dependency required by @selected [set])
  (dependency required by @world [argument])

 These are the items that require libgcrypt with static-libs USE flag
 set. Sometimes changing USE flags on thse packages will change the
 dependency requirements. Sometimes it's just something new that the
 maintainer added since a previous version.

OK.  I was getting confused by dependency required, which sounds
tautological.  What it seems to mean is package required.

  What is this saying? ?That I need to locate a use flag static-libs and
  change it for package libgcrypt? ?Presumably it is libgcrypt which is
  dissatisfied. ?I'm having difficulty parsing the mssage.

  Next question: what should I do about it?

 If you don't already have one, you can set package-specific USE flags
 in /etc/portage/package.use and in this case you'd add a line:
 dev-libs/libgcrypt static-libs

I've done that.  It works.  :-)

  Thanks for the help!

 Good luck!

It's worked, at least for that error.  I've had several more of the same
sort, and one or two blockages since.  I've got stuck rebuilding xfce,
but that will have to wait till tomorrow.

-- 
Alan Mackenzie (Nuremberg, Germany)



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Alan McKinnon
Apparently, though unproven, at 22:21 on Monday 18 April 2011, Alan Mackenzie 
did opine thusly:

  These are the items that require libgcrypt with static-libs USE flag
  set. Sometimes changing USE flags on thse packages will change the
  dependency requirements. Sometimes it's just something new that the
  maintainer added since a previous version.
 
 OK.  I was getting confused by dependency required, which sounds
 tautological.  What it seems to mean is package required.

It really does mean exactly what it says. Look at it again:

(dependency required by sys-fs/cryptsetup-1.1.3-r3[-dynamic] [ebuild])

It's saying there is a dependency, and the package that requires it is 
cryptsetup. Read it like this::

(dependency, required by . )

-- 
alan dot mckinnon at gmail dot com


Re: [gentoo-user] Howzat!

2011-04-18 Thread Neil Bothwick
On Mon, 18 Apr 2011 16:51:32 +0200, Florian Philipp wrote:

 In the setup Neil proposes, every client mounts an NFS share from your
 server and uses that as its DISTDIR (where it stores the downloaded
 files). For downloading files, the clients access the normal public
 Gentoo mirrors but because all clients share the same directory, files
 that some client has already downloaded are also available for every
 other client. Therefore they will not be downloaded twice.

Exactly.

 The only possible problem with this approach is that two clients might
 attempt to download the same file at the same time. Just make sure to
 start your updates at different times to avoid this.

I believe this is no longer an issue as portage now uses file locks over
NFS. I don't know if it does the same with CIFS shares, I've never tried
it.

Incidentally, my cron script that runs emerge --sync follows it with
emerge-uDNf world, so the files are already in $DISTDIR when I want to
update.


-- 
Neil Bothwick

I am a Cub Ranger. We dib dib dib for the One. We dob dob dob for the
One.


signature.asc
Description: PGP signature


Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Neil Bothwick
On Mon, 18 Apr 2011 15:26:06 -0400, Philip Webb wrote:

 I would do
 
   USE=static-libs emerge -Dup libgcrypt
 
  if that works, add the flag to  /etc/portage/package.use .

That will also set the USE flag for any other packages in libgcrypt's
dependency tree. Additionally, it will add libgcrypt to @world, which
is also unwanted.

mkdir -p /etc/portage/package.use
echo dev-libs/libgcrypt static-libs
/etc/portage/package.use/cryptsetup emerge -uaD world


-- 
Neil Bothwick

The dark ages were caused by the Y1K problem.


signature.asc
Description: PGP signature


Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Dale

Neil Bothwick wrote:

On Mon, 18 Apr 2011 15:26:06 -0400, Philip Webb wrote:

   

I would do

   USE=static-libs emerge -Dup libgcrypt

  if that works, add the flag to  /etc/portage/package.use .
 

That will also set the USE flag for any other packages in libgcrypt's
dependency tree. Additionally, it will add libgcrypt to @world, which
is also unwanted.

mkdir -p /etc/portage/package.use
echo dev-libs/libgcrypt static-libs
   

/etc/portage/package.use/cryptsetup emerge -uaD world
   
   


I might add, he has the -p option in there.  It's not going to *do* 
anything but show if it will work or not.  Then a person can adjust the 
USE settings the correct way and remove the -p option or add -a.  I do 
the later myself.


Dale

:-)  :-)



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Neil Bothwick
On Mon, 18 Apr 2011 17:18:17 -0500, Dale wrote:

 I might add, he has the -p option in there.  It's not going to *do* 
 anything but show if it will work or not.  Then a person can adjust the 
 USE settings the correct way and remove the -p option or add -a.  I do 
 the later myself.


I hadn't noticed the -p, but what will it show? It certainly won't show
whether setting that USE flag globally will correct the error message, as
the pretend emerge is for one package, and not the one causing the
problem. You'd need to emerge -p world for that, and setting USE flags on
the command line for that is even worse.


-- 
Neil Bothwick

Experience is directly proportional to the value of equipment destroyed.


signature.asc
Description: PGP signature


Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-18 Thread Dale

Neil Bothwick wrote:

On Mon, 18 Apr 2011 17:18:17 -0500, Dale wrote:

   

I might add, he has the -p option in there.  It's not going to *do*
anything but show if it will work or not.  Then a person can adjust the
USE settings the correct way and remove the -p option or add -a.  I do
the later myself.
 


I hadn't noticed the -p, but what will it show? It certainly won't show
whether setting that USE flag globally will correct the error message, as
the pretend emerge is for one package, and not the one causing the
problem. You'd need to emerge -p world for that, and setting USE flags on
the command line for that is even worse.


   


I agree that setting about anything on the command line is a bad idea.  
However, it is just to test it to see what, if anything, it changes.


Dale

:-)  :-)



[gentoo-user] Re: I'm up, at long last!

2011-04-18 Thread Harry Putnam
Alan Mackenzie a...@muc.de writes:

 I think there's really only two ways to install Linux: you either go the
 Ubuntu route, where everything's done for you and you accept somebody
 else's defaults, or you go with Gentoo, where you do everything
 yourself.  I think anything in the middle, like Debian, just leads to
 confusion and uncertainty.  I don't know where Fedora and SuSE fit into
 all this.

Jumping into the asbestos drawers... the sterling things about Debian
are that it is more oldschool than ubuntu and its good for when you
get sick of compiling everything from scratch over and over.

For some things, I don't care if I'm accepting someone elses' defaults.

I've stuck with Gentoo for several yrs now for my main desktop and
would be very unwilling to switch for that usage, however, I prefer
Debian for virtual guests on windows.  It just installs right off,
when you need a full linux OS in a bit of a hurry.




[gentoo-user] [OT router advice] a router capable of detailed logs

2011-04-18 Thread Harry Putnam
This is way OT, but this list is such a great resource I suspect the
advice gotten here will be more to the point. ( I have posted to a
network hardware group as well)

I've bumped my home lan router to a gigabit from the old 10/100
(NETGEAR FVS318).

I made the move for the gigabit lan ports mainly.  That is, I was
happy with other aspects of the old router.  I ended up with a cisco
RVS4000 v2.

The cisco solved the gigabit problem with 4 lan ports and even a
gigabit on the Internet port... (which is probably not really doing
any thing on a cable connection).  And it wasn't hideously
expensive ($112.91).

I could have solved the problem with gigabit switches behind the
router for lan usage, just as well, and may go to that yet, and move
back to the old NETGEAR router.  But somehow I expected the cisco to
be something that was `excitingly' new and fun to play with.

I'm disappointed in the cisco so far as logging is concerned.

The logs give only bare information like this:

Mar 10 10:24:21  - [Firewall Log-PORT SCAN] TCP Packet - 60.173.11.56 -- 
98.217.231.32
Mar 10 10:24:21  - [Firewall Log-PORT SCAN] TCP Packet - 60.173.11.56 -- 
98.217.231.32
[...]

No mention of which port is involved.  Not only on port scans but
ports are never reported.  And of course if you wanted to pursue any
of it by way of google, you'd need the port number.

The Old Netgear sent logs like this (wrapped for mail):

 Sat, 2007-07-28 12:00:11 - TCP packet - Source: 161.170.244.20 -
  Destination: 70.131.83.195 - [Invalid sequence number received with
   Reset, dropping packet Src 443 Dst 1385 from WAN]

----   ---=---   -   

I went for the cisco instead of a newer `gigabit' NETGEAR after seeing
several bad reviews about them.  And I just assumed the cisco would
have as good or better other features.

Another little problem is that the Cicso had reached its end of life
and was reported as such by cisco, well before I bought it.  But of
course, retailers (not cisco) don't bother to give that kind of info,
but the result is that a kind of blackball list that was part of the
deal is no longer kept up to date.

So, cutting to the chase; can anyone recommend from actual use, a home
lan router that has gigabit lan ports and very configurable/
informative logging options?

ps - I'm not interested in running an old linux or openbsd, machine as
router.  Having a silent cool router the size and weight of a medium
book is too appealing.




Re: [gentoo-user] Re: I'm up, at long last!

2011-04-18 Thread Pandu Poluan
On 2011-04-19, Harry Putnam rea...@newsguy.com wrote:
 Alan Mackenzie a...@muc.de writes:

 I think there's really only two ways to install Linux: you either go the
 Ubuntu route, where everything's done for you and you accept somebody
 else's defaults, or you go with Gentoo, where you do everything
 yourself.  I think anything in the middle, like Debian, just leads to
 confusion and uncertainty.  I don't know where Fedora and SuSE fit into
 all this.

 Jumping into the asbestos drawers... the sterling things about Debian
 are that it is more oldschool than ubuntu and its good for when you
 get sick of compiling everything from scratch over and over.

 For some things, I don't care if I'm accepting someone elses' defaults.

 I've stuck with Gentoo for several yrs now for my main desktop and
 would be very unwilling to switch for that usage, however, I prefer
 Debian for virtual guests on windows.  It just installs right off,
 when you need a full linux OS in a bit of a hurry.


I still think Debian installed too many things I don't use. When I
need a Linux VM in a hurry, I'd go Arch. Some people worry about its
unsigned packages, but as long as I stick to well-known mirrors, I
should be okay.

The beauty of Arch is that its installation is very granular; I can
truly pick components I want to have, and leave out those I won't ever
use.

But if I *do* have the time, I'll always take the Gentoo-route :)

--
Pandu E Poluan - IT Optimizer
My website: http://pandu.poluan.info/



Re: [gentoo-user] Howzat!

2011-04-18 Thread Thanasis
on 04/19/2011 12:56 AM Neil Bothwick wrote the following:

 Incidentally, my cron script that runs emerge --sync follows it with
 emerge-uDNf world, so the files are already in $DISTDIR when I want to
 update.


Can you post the script?