[gentoo-user] network scanning with gentoo / hplip / hpaio

2007-01-24 Thread Allan Gottlieb
I have an HP-7310 all-in-one.  We have it on our wired network at URL
192.168.1.50.  As a printer/fax/copier, it works fine.  My problem is
with scanning.

Our older HP-7130 does fine at all tasks.

We have two problems identifying scanners.

ajglap ~ # scanimage -L
device `hpaio:/usb/HP_LaserJet_1200?device=/dev/usb/lp0' is a hp 
HP_LaserJet_1200 multi-function peripheral
ajglap ~ # 

This is wrong.  I do indeed have HP laserjet 1200 attached via usb,
but it is a printer not a multifunction device.

The second problem is that the HP officejet 7310
at location 192.168.1.50 is not found

Add'l info

When at another location with no laserjet but with a USB multifunction
device (officejet 7130 -- not 7310), all is well.

If at the original site I try scanimage without -L, it faults (see
below).

thanks in advance for any help,
allan

ajglap ~ # scanimage
*** glibc detected *** scanimage: munmap_chunk(): invalid pointer: 0xb7dd8391 
***
=== Backtrace: =
/lib/libc.so.6[0xb7e4abab]
/usr/lib/sane/libsane-hpaio.so.1(sane_hpaio_open+0x28d)[0xb7dceb09]
/usr/lib/libsane.so.1(sane_dll_open+0xde)[0xb7fc1e36]
/usr/lib/libsane.so.1(sane_open+0x24)[0xb7fc24c9]
scanimage[0x804ba26]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7dff864]
scanimage[0x80491e1]
=== Memory map: 
08048000-08051000 r-xp  16:03 803995 /usr/bin/scanimage
08051000-08052000 rw-p 8000 16:03 803995 /usr/bin/scanimage
08052000-08073000 rw-p 08052000 00:00 0  [heap]
b7c72000-b7c7b000 r-xp  16:03 670542 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b7c7b000-b7c7c000 rw-p 8000 16:03 670542 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b7c7c000-b7d8f000 r-xp  16:03 1112290/usr/lib/libcrypto.so.0.9.8
b7d8f000-b7da4000 rw-p 00113000 16:03 1112290/usr/lib/libcrypto.so.0.9.8
b7da4000-b7da7000 rw-p b7da4000 00:00 0 
b7da7000-b7dc6000 r-xp  16:03 364633 /usr/lib/libhpip.so.0.0.1
b7dc6000-b7dc7000 rw-p 0001e000 16:03 364633 /usr/lib/libhpip.so.0.0.1
b7dc7000-b7dc9000 rw-p b7dc7000 00:00 0 
b7dc9000-b7ddf000 r-xp  16:03 364636 /usr/lib/libsane-hpaio.so.1.0.0
b7ddf000-b7de rw-p 00015000 16:03 364636 /usr/lib/libsane-hpaio.so.1.0.0
b7de-b7de2000 rw-p b7de 00:00 0 
b7de2000-b7de9000 r-xp  16:03 1112285/usr/lib/libieee1284.so.3.0.4
b7de9000-b7dea000 rw-p 6000 16:03 1112285/usr/lib/libieee1284.so.3.0.4
b7dea000-b7efa000 r-xp  16:03 278468 /lib/libc-2.4.so
b7efa000-b7efc000 r--p 0010f000 16:03 278468 /lib/libc-2.4.so
b7efc000-b7efe000 rw-p 00111000 16:03 278468 /lib/libc-2.4.so
b7efe000-b7f01000 rw-p b7efe000 00:00 0 
Aborted
ajglap ~ # 
-- 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can no longer switch to a VT - OT

2007-01-15 Thread Allan Gottlieb
At Mon, 15 Jan 2007 09:42:32 +0100 Gabriel Rossetti <[EMAIL PROTECTED]> wrote:

> Thank you for your replay Benno, I was not aware that "Top-posting"
> was a bad thing, since you can read the last msg first, which is to me
> better since I don't want to have to re-read/skip the whole history to read
> the last post.

This point has merit when it is a personal conversation between two
people.  Although I still bottom reply in those cases (or inline reply
as you would say), I can see why top replying is not so bad.
However, for mailing lists where there are many readers, a
number of whom have not been actively following the thread, bottom
posting is annoying.

Also I save some message from this group as reference to be read much
later if I encounter a similar problem.  Then bottom-posting is
considerably better.

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bug in usermod, full name of options doesn't work

2007-01-13 Thread Allan Gottlieb
At Sat, 13 Jan 2007 15:13:18 +0100 Benno Schulenberg <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> Goal: add gottlieb to group scanner.
>>
>> It seems that -aG works but --append --groups doesn't
>
> Please try attached patch.
> I'll report this bug upstream, mentioning that you found it.

Thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] telling hpaio / sane what scanners are present

2007-01-12 Thread Allan Gottlieb
Two problems identifying scanners

ajglap ~ # scanimage -L
device `hpaio:/usb/HP_LaserJet_1200?device=/dev/usb/lp0' is a hp 
HP_LaserJet_1200 multi-function peripheral
ajglap ~ # 

This is wrong.  I do indeed have HP laserjet 1200 attached via usb,
but it is a printer not a multifunction device.

The second problem is that there is on the network (at location
192.168.1.50) a real multifunction device, HP officejet 7310.

This is not found.

Add'l info

When at another location with no laserjet but with a USB multifunction
device (officejet 7130 -- not 7310), all is well.

If at the original site I try scanimage without -L, it faults (see
below).

thanks in advance for any help,
allan

ajglap ~ # scanimage
*** glibc detected *** scanimage: munmap_chunk(): invalid pointer: 0xb7dd8391 
***
=== Backtrace: =
/lib/libc.so.6[0xb7e4abab]
/usr/lib/sane/libsane-hpaio.so.1(sane_hpaio_open+0x28d)[0xb7dceb09]
/usr/lib/libsane.so.1(sane_dll_open+0xde)[0xb7fc1e36]
/usr/lib/libsane.so.1(sane_open+0x24)[0xb7fc24c9]
scanimage[0x804ba26]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb7dff864]
scanimage[0x80491e1]
=== Memory map: 
08048000-08051000 r-xp  16:03 803995 /usr/bin/scanimage
08051000-08052000 rw-p 8000 16:03 803995 /usr/bin/scanimage
08052000-08073000 rw-p 08052000 00:00 0  [heap]
b7c72000-b7c7b000 r-xp  16:03 670542 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b7c7b000-b7c7c000 rw-p 8000 16:03 670542 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b7c7c000-b7d8f000 r-xp  16:03 1112290/usr/lib/libcrypto.so.0.9.8
b7d8f000-b7da4000 rw-p 00113000 16:03 1112290/usr/lib/libcrypto.so.0.9.8
b7da4000-b7da7000 rw-p b7da4000 00:00 0 
b7da7000-b7dc6000 r-xp  16:03 364633 /usr/lib/libhpip.so.0.0.1
b7dc6000-b7dc7000 rw-p 0001e000 16:03 364633 /usr/lib/libhpip.so.0.0.1
b7dc7000-b7dc9000 rw-p b7dc7000 00:00 0 
b7dc9000-b7ddf000 r-xp  16:03 364636 /usr/lib/libsane-hpaio.so.1.0.0
b7ddf000-b7de rw-p 00015000 16:03 364636 /usr/lib/libsane-hpaio.so.1.0.0
b7de-b7de2000 rw-p b7de 00:00 0 
b7de2000-b7de9000 r-xp  16:03 1112285/usr/lib/libieee1284.so.3.0.4
b7de9000-b7dea000 rw-p 6000 16:03 1112285/usr/lib/libieee1284.so.3.0.4
b7dea000-b7efa000 r-xp  16:03 278468 /lib/libc-2.4.so
b7efa000-b7efc000 r--p 0010f000 16:03 278468 /lib/libc-2.4.so
b7efc000-b7efe000 rw-p 00111000 16:03 278468 /lib/libc-2.4.so
b7efe000-b7f01000 rw-p b7efe000 00:00 0 
b7f01000-b7f23000 r-xp  16:03 278469 /lib/libm-2.4.so
b7f23000-b7f25000 rw-p 00021000 16:03 278469 /lib/libm-2.4.so
b7f25000-b7f36000 r-xp  16:03 278474 /lib/libz.so.1.2.3
b7f36000-b7f37000 rw-p 0001 16:03 278474 /lib/libz.so.1.2.3
b7f37000-b7f55000 r-xp  16:03 1116899/usr/lib/libjpeg.so.62.0.0
b7f55000-b7f56000 rw-p 0001d000 16:03 1116899/usr/lib/libjpeg.so.62.0.0
b7f56000-b7f57000 rw-p b7f56000 00:00 0 
b7f57000-b7fa6000 r-xp  16:03 375117 /usr/lib/libtiff.so.3.8.2
b7fa6000-b7fa8000 rw-p 0004f000 16:03 375117 /usr/lib/libtiff.so.3.8.2
b7fa8000-b7fb7000 r-xp  16:03 278472 /lib/libpthread-2.4.so
b7fb7000-b7fb8000 r--p e000 16:03 278472 /lib/libpthread-2.4.so
b7fb8000-b7fb9000 rw-p f000 16:03 278472 /lib/libpthread-2.4.so
b7fb9000-b7fbb000 rw-p b7fb9000 00:00 0 
b7fbb000-b7fbd000 r-xp  16:03 278471 /lib/libdl-2.4.so
b7fbd000-b7fbf000 rw-p 1000 16:03 278471 /lib/libdl-2.4.so
b7fbf000-b7fc4000 r-xp  16:03 1112511/usr/lib/libsane.so.1.0.18
b7fc4000-b7fc5000 rw-p 4000 16:03 1112511/usr/lib/libsane.so.1.0.18
b7fd8000-b7fd9000 rw-p b7fd8000 00:00 0 
b7fd9000-b7fda000 r-xp b7fd9000 00:00 0  [vdso]
b7fda000-b7ff3000 r-xp  16:03 278465 /lib/ld-2.4.so
b7ff3000-b7ff4000 r--p 00019000 16:03 278465 /lib/ld-2.4.so
b7ff4000-b7ff5000 rw-p 0001a000 16:03 278465 /lib/ld-2.4.so
bf89c000-bf8b2000 rw-p bf89c000 00:00 0  [stack]
Aborted
ajglap ~ # 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] bug in usermod, full name of options doesn't work

2007-01-12 Thread Allan Gottlieb
Goal: add gottlieb to group scanner.

It seems that -aG works but --append --groups doesn't

I will file a bug in b.g.o. unless I did something wrong.

thanks in advance
allan

ajglap portage # usermod --groups scanner --append gottlieb
Usage: usermod [options] LOGIN

Options:
  -a, --append  append the user to the supplemental GROUPS
(use only with -G)
  -c, --comment COMMENT new value of the GECOS field
  -d, --home HOME_DIR   new home directory for the user account
  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE
  -f, --inactive INACTIVE   set password inactive after expiration
to INACTIVE
  -g, --gid GROUP   force use GROUP as new primary group
  -G, --groups GROUPS   new list of supplementary GROUPS
  -h, --helpdisplay this help message and exit
  -l, --login NEW_LOGIN new value of the login name
  -L, --locklock the user account
  -m, --move-home   move contents of the home directory to the new
location (use only with -d)
  -o, --non-unique  allow using duplicate (non-unique) UID
  -p, --password PASSWORD   use encrypted password for the new password
  -s, --shell SHELL new login shell for the user account
  -u, --uid UID new UID for the user account
  -U, --unlock  unlock the user account

ajglap portage # usermod -aG scanner gottlieb
ajglap portage # grep gottlieb /etc/group
wheel:x:10:root,gottlieb
cron:x:16:cron,gottlieb
audio:x:18:gottlieb
cdrom:x:19:haldaemon,gottlieb
video:x:27:root,gottlieb
games:x:35:gottlieb
cdrw:x:80:gottlieb,haldaemon
portage:x:250:portage,gottlieb
gottlieb:x:1502:
scanner:x:1504:gottlieb
plugdev:x:1507:gottlieb,haldaemon
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] using xsane with a network scanner (hp officejet 7310)

2007-01-03 Thread Allan Gottlieb
xsane was working great with my old hp officejet 7130s (note 7130 not
7310) that were connected to my laptop via usb (one 7130 at each of
two sites).  The home 7130 died and is replaced by a 7310, which is a
network device.  It's local IP number is 192.168.1.50 and as a printer
it works great from every machine on our network.

I need to figure out what name I should must when invoking xsane.

If I try just

   xsane

it complains that it can't open an hp1200 (laserprinter), which is not
plugged in and if I plug it in I gent 

[EMAIL PROTECTED] ~/.sane/xsane $ xsane
*** glibc detected *** xsane: munmap_chunk(): invalid pointer: 0xb7419391 ***
=== Backtrace: =
/lib/libc.so.6[0xb773dbab]
/usr/lib/sane/libsane-hpaio.so.1(sane_hpaio_open+0x28d)[0xb740fb09]
/usr/lib/libsane.so.1(sane_dll_open+0xde)[0xb7f4ee36]
/usr/lib/libsane.so.1(sane_open+0x24)[0xb7f4f4c9]
xsane[0x80b5d66]
xsane[0x80b8b35]
xsane[0x80b9d42]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb76f2864]
xsane[0x804ea41]
=== Memory map: 
08048000-080d2000 r-xp  16:03 801781 /usr/bin/xsane
080d2000-080d7000 rw-p 00089000 16:03 801781 /usr/bin/xsane
080d7000-081d2000 rw-p 080d7000 00:00 0  [heap]
[[ more lines deleted ]]

I have hplip-0.9.7-r3 installed

I presume that if I type

   xsane 

it would find the scanner, but can't figure out the correct name.

Thanks in advance,

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



Re: [gentoo-user] freecell clone?

2007-01-02 Thread Allan Gottlieb
gnome-extra/gnome-games-2.16.2 (/usr/bin/sol)

(you need the guile use flags to get all the games).

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



Re: [gentoo-user] Gnome Power Manager Message (a little OT)

2006-12-15 Thread Allan Gottlieb
At Fri, 15 Dec 2006 06:58:44 +0100 Norman Rieß <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb schrieb:
>> At Thu, 14 Dec 2006 22:49:14 +0100 Norman Rieß <[EMAIL PROTECTED]> wrote:
>>
>>   
>>> Guys guess what. As i have updated my Gnome to 2.16 now, the new
>>> shiny Power Manager tells me, that my laptop runs on battery after i
>>> pull the plug...
>>> Can you believe that?? If i pull the plug on my computer... it runs on
>>> battery. incredible!! And it tells me EVERY time i pull the plug,
>>> that i pulled the plug! I can not imagine what i would have done
>>> without that information... i might have forgotten it one time, when i
>>> pull the plug, that i pulled the plug.
>>> 
>>
>> Assuming this is the one on the panel, right click on the icon and
>> then left click on remove.
>>
>> allan
>>
>>   
> No it´s not. It is the one, that if you delete it from the autostart
> in the sessionmanager, it writes itself back in it, so it starts
> again.
> What you mean is the old power-status-icon. Now there is a power
> manager integrated in gnome.

Did you save the session after you removed it?  For example, did you
click auto save session on logout?

allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome Power Manager Message (a little OT)

2006-12-14 Thread Allan Gottlieb
At Thu, 14 Dec 2006 22:49:14 +0100 Norman Rieß <[EMAIL PROTECTED]> wrote:

> Guys guess what. As i have updated my Gnome to 2.16 now, the new
> shiny Power Manager tells me, that my laptop runs on battery after i
> pull the plug...
> Can you believe that?? If i pull the plug on my computer... it runs on
> battery. incredible!! And it tells me EVERY time i pull the plug,
> that i pulled the plug! I can not imagine what i would have done
> without that information... i might have forgotten it one time, when i
> pull the plug, that i pulled the plug.

Assuming this is the one on the panel, right click on the icon and
then left click on remove.

allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome 2.16 block by non-installed blocker

2006-12-11 Thread Allan Gottlieb
At Mon, 11 Dec 2006 20:52:18 -0600 Dale <[EMAIL PROTECTED]> wrote:

> Thomas Rösner wrote:
>> Allan Gottlieb wrote:
>>> My normal
>>>emerge --tree --ask --verbose --newuse --update --deep world
>>> showed that gnome 2.16 is now stable.  The output starts with
>>>
>>> These are the packages that would be merged, in reverse order:
>>>
>>> Calculating world dependencies... done!
>>> [blocks B ] >> dev-python/pygobject-2.12.3)
>>>   
>>
>> Did you see the >
>>> I know that when A blocks B, you emerge --unmerge A (or do without B).
>>>   
>>
>> In this case it's enough to update A ;-).
>>
>>
>> Regards,
>>T.
>
> emerge -C pygtk then do a emerge -uvD world.  Add in a -p if you need to.
>
> That worked for me last night.  It actually installs a newer version of
> pygtk if I recall correctly.
>
> Hope that helps.

Yes it does.
thanks,
allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome 2.16 block by non-installed blocker

2006-12-11 Thread Allan Gottlieb
At Tue, 12 Dec 2006 03:22:20 +0100 Thomas Rösner <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> My normal
>>emerge --tree --ask --verbose --newuse --update --deep world
>> showed that gnome 2.16 is now stable.  The output starts with
>>
>> These are the packages that would be merged, in reverse order:
>>
>> Calculating world dependencies... done!
>> [blocks B ] > dev-python/pygobject-2.12.3)
>>   
>
> Did you see the 
>> I know that when A blocks B, you emerge --unmerge A (or do without B).
>>   
>
> In this case it's enough to update A ;-).

Thanks,
allan

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gnome 2.16 block by non-installed blocker

2006-12-11 Thread Allan Gottlieb
My normal
   emerge --tree --ask --verbose --newuse --update --deep world
showed that gnome 2.16 is now stable.  The output starts with

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

Calculating world dependencies... done!
[blocks B ] >> These are the packages that would be unmerged:

--- Couldn't find 'dev-python/pygtk-2.9' to unmerge.

>>> No packages selected for removal by unmerge.

ajglap gottlieb # eix pygtk
* dev-python/pygtk
 Available versions:  [M]0.6.11:1.2 [M]0.6.11-r1:1.2 2.6.1:2 ~2.6.2:2 
2.8.2:2 ~2.8.4:2 2.8.6:2 ~2.10.1:2 *2.10.1-r1:2 2.10.3:2
 Installed:   2.8.6

Should I be unmerging pygtk-2.8.6 and am I wrong to expect that the
specific version mention in the block msg will be installed on my
system?

thanks in advance,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] recommendation for printer/fax/copier/scanner combo

2006-11-10 Thread Allan Gottlieb
We currently have an HP 7130 that is wearing out and needs
replacement.  I would appreciate recommendations for a replacement.

1.  Good gentoo/linux/cups support (the HP 7130 does fine)

2.  Printer, copier, fax, scanner

3.  Color

4.  Duplex

5.  "Network Printer"  I would like to plug it into our linksys router
(wireless or wired ethernet is OK).  The linksys is a wrt54G.

6.  Also to be used (again via ethernet) from my wife's windows XP laptop

7.  Usage level is light.  My wife (windows XP) and I rarely print 50
pages in one day.

8.  I have had good luck with HP printers so would prefer an HP (and
would pay a little more for that).  But this is not a requirement.

thanks in advance,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] htaccess with userdir not working

2006-10-22 Thread Allan Gottlieb
At Thu, 28 Sep 2006 11:22:49 +0200 Henti Smith <[EMAIL PROTECTED]> wrote:

> I've setup a user Apache setup but for some reason I cannot htaccess
> the cgi-bin in the one folder.
>
> here is the details : 
>
> .htaccess in /home/user/public_html/cgi-bin
>
> AuthType Basic
> AuthUserFile /etc/apache2/htpasswd/user
> AuthName "user"
> require valid-user
> satisfy any
>
> httpd.conf 
>
> 
> Options ExecCGI
> SetHandler cgi-script
> 
>
> when I go to the cgi-bin for the user .. it runs the cgi without
> probltping for user/.pass 
>
> any ideas ? 

Are the htaccess/htpasswd files readable by apache?
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo GCC 4.1.1 Upgrade Guide

2006-09-14 Thread Allan Gottlieb
At Thu, 14 Sep 2006 20:44:04 -0400 Allan Gottlieb <[EMAIL PROTECTED]> wrote:

> I like it.

Sorry, I meant to send that to the author Ben Reubenstein not to the
list.

allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where to put mount --bind during startup

2006-09-14 Thread Allan Gottlieb
At Thu, 14 Sep 2006 23:55:48 +0100 Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Thu, 14 Sep 2006 18:31:52 -0400, Allan Gottlieb wrote:
>
>> 2.  Assuming I want to go with mount --bind, how do I make it happen
>> during startup (I assume the mount is not preserved across
>> reboots).  The man pages for fstab doesn't suggest that fstab is
>> the way to go.  Do you put the mount in the boot runlevel and if so
>> where?
>
> You can do it in fstab, I've been doing it for a while. Just make sure
> the bind line is after the one mounting the target.
>
> /dev/hda1    /localsomefsblah
> /local/allan/gottlieb/home/gottliebauto  bind

Thank you.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo GCC 4.1.1 Upgrade Guide

2006-09-14 Thread Allan Gottlieb
I like it.
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] where to put mount --bind during startup

2006-09-14 Thread Allan Gottlieb
I have had /home/gottlieb a symlink to /local/allan/gottlieb
for a while.  Now I am having a problem because apache doenn't follow
symlinks by default (presumably due to some security concern).

As a test I did

   rm /home/gottlieb
   mkdir /home/gottlieb
   mount --bind /local/allan/gottlieb /home/gottlieb

and all seems well.

Two questions.

1.  Are there common gotcha's with mount --bind.  That is, will
programs that have worked fine with the symlink now fail?

2.  Assuming I want to go with mount --bind, how do I make it happen
during startup (I assume the mount is not preserved across
reboots).  The man pages for fstab doesn't suggest that fstab is
the way to go.  Do you put the mount in the boot runlevel and if so
where?

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] another openoffice build failure

2006-09-04 Thread Allan Gottlieb
At Sat, 02 Sep 2006 19:16:05 -0700 Richard Fish <[EMAIL PROTECTED]> wrote:

> On 9/2/06, Allan Gottlieb <[EMAIL PROTECTED]> wrote:
>> I am not sure what to try next.  I suppose I could try to revert back
>> to gcc3.4.6
>> ajglap hdc10 # gcc-config --list-profiles
>>  [1] i686-pc-linux-gnu-3.4.6
>>  [2] i686-pc-linux-gnu-3.4.6-hardened
>>  [3] i686-pc-linux-gnu-3.4.6-hardenednopie
>>  [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
>>  [5] i686-pc-linux-gnu-3.4.6-hardenednossp
>>  [6] i686-pc-linux-gnu-4.1.1 *
>> ajglap hdc10 #
>>
>> Any ideas would be welcome
>
> Well googling wasn't terribly helpful for me, and I couldn't find any
> bug report on bugs.gentoo.org.

Same here

> The program that is failing ("ar") comes from binutils.  Maybe you can
> try the 2.17 version of binutils...it's what I built OOo with.
> echo "~sys-devel/binutils-2.17 ~x86  >> /etc/portage/package.keywords
> emerge --oneshot binutils
> binutils-config -l  # make sure it shows 2.17 as selected
> emerge --oneshot openoffice

I just tried this and the same error

> If this doesn't work, reverting gcc versions,

Same story

> or maybe even just merge openoffice-bin.

Well my openoffice emerged before the emerge world that accompanied
the gcc upgrade still works fine so I will continue to use that.  But
I am disquieted by no longer being able to emerge openoffice.  Clearly
something is wrong somewhere.  I guess I will stop pursuing it
actively and wait for some more symptoms.

Thanks for all your efforts.
allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] another openoffice build failure

2006-09-02 Thread Allan Gottlieb
At Sat, 02 Sep 2006 19:14:56 -0400 Allan Gottlieb <[EMAIL PROTECTED]> wrote:

> At Sat, 02 Sep 2006 14:10:10 -0700 Richard Fish <[EMAIL PROTECTED]> wrote:
>
>> On 9/2/06, Allan Gottlieb <[EMAIL PROTECTED]> wrote:
>>> Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion `new 
>>> == ptr' failed!
>>
>> Well this looks suspiciously like a hardware problem to me, but it
>> could also be simply running out of memory.  Can you try:
>>
>> MAKEOPTS=-j1 emerge --oneshot openoffice
>>
>> You might also want to add a fan to blow on your laptop while the
>> build is running... :-)
>
> I should have thought of -j1, thanks.  It is running now.  Will try
> the fan if this fails.  I will also check to see if it dies in the
> same place, which would argue against the hardware problem.

Failed at exactly the same place.  Since each log file is 30,544 lines
long, it doesn't seem likely to be heat related (i.e., I would suspect
that a heat related hardware failure would not be so deterministic as
to fail after so many compiles in the same place).

I am not sure, but it might be that the ebuild forces -j1 by itself

,
| src_compile() {
| 
|   unset LIBC
|   addpredict "/bin"
|   addpredict "/root/.gconfd"
|   addpredict "/root/.gnome"
| 
|   # Should the build use multiprocessing? Not enabled by default, as it 
tends to break
|   export JOBS="1"
| 
| ...
| 
|   ./configure ${MYCONF} \
|   --with-distro="${DISTRO}" \
|   --with-arch="${ARCH}" \
|   --with-srcdir="${DISTDIR}" \
|   --with-lang="${LINGUAS_OOO}" \
|   --with-num-cpus="${JOBS}" \
`

I then though of possibly running out of disk space.  That seemed
unlikely since I had 7.5G and it failed comparatively early in the
run.  But to be sure I ran it again with

   while true; do df -h | grep /mnt/hdc10; sleep 10; done >> /tmp/time

also running and the available space never went below 5.9G.  Once
again it failed at the same place.

So I don't see it as a hardware failure, due to the repeatability.
It is not inadequate disk space.
I have 1GB of mem
ajglap hdc10 # cat /proc/meminfo
MemTotal:  1033932 kB
MemFree: 72632 kB
Buffers: 40180 kB
Cached: 559036 kB
SwapCached:  0 kB
Active: 628840 kB
Inactive:   253460 kB
HighTotal:  130876 kB
HighFree:  284 kB
LowTotal:   903056 kB
LowFree: 72348 kB
SwapTotal: 2008084 kB
SwapFree:  2007840 kB
Dirty:  44 kB
Writeback:   0 kB
Mapped: 398488 kB
Slab:63836 kB
CommitLimit:   2525048 kB
Committed_AS:   923704 kB
PageTables:   2320 kB
VmallocTotal:   114680 kB
VmallocUsed: 33344 kB
VmallocChunk:77812 kB

I am not sure what to try next.  I suppose I could try to revert back
to gcc3.4.6
ajglap hdc10 # gcc-config --list-profiles
 [1] i686-pc-linux-gnu-3.4.6
 [2] i686-pc-linux-gnu-3.4.6-hardened
 [3] i686-pc-linux-gnu-3.4.6-hardenednopie
 [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.6-hardenednossp
 [6] i686-pc-linux-gnu-4.1.1 *
ajglap hdc10 #

Any ideas would be welcome

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] another openoffice build failure

2006-09-02 Thread Allan Gottlieb
At Sat, 02 Sep 2006 14:10:10 -0700 Richard Fish <[EMAIL PROTECTED]> wrote:

> On 9/2/06, Allan Gottlieb <[EMAIL PROTECTED]> wrote:
>> Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion `new 
>> == ptr' failed!
>
> Well this looks suspiciously like a hardware problem to me, but it
> could also be simply running out of memory.  Can you try:
>
> MAKEOPTS=-j1 emerge --oneshot openoffice
>
> You might also want to add a fan to blow on your laptop while the
> build is running... :-)

I should have thought of -j1, thanks.  It is running now.  Will try
the fan if this fails.  I will also check to see if it dies in the
same place, which would argue against the hardware problem.

thanks again,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] another openoffice build failure

2006-09-02 Thread Allan Gottlieb
At Sat, 02 Sep 2006 20:22:16 +0200 Rafael Fernández López <[EMAIL PROTECTED]> 
wrote:

> On Sat, Sep 02, 2006 at 02:07:32PM -0400, Allan Gottlieb wrote:
>> This occurred as part of my emerge --emptytree world after upgrading
>> gcc.  I did not find a bugzilla entry.
>> 
>
> Did you run 'emerge --emptytree system' before running 'emerge
> --emptytree world'?

Yes I did.

I probably should have added that revdep-rebuild wants to rebuild
gcc.  I have let it do so and it still wants to rebuild gcc.  I do not
believe that this explains the ooo problem, but realize that I might
be wrong and should give full information.

allan

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] another openoffice build failure

2006-09-02 Thread Allan Gottlieb
This occurred as part of my emerge --emptytree world after upgrading
gcc.  I did not find a bugzilla entry.

tia,
allan

gcc -D_REENTRANT -I../../common -I../../common -DHAVE_CONFIG_H -O 
-march=pentium4 -pipe -O2  -c   -o uconvmsg/uconvmsg_dat.o 
uconvmsg/uconvmsg_dat.c
/usr/bin/ar rv uconvmsg/libuconvmsg.a uconvmsg/uconvmsg_dat.o
/usr/bin/ar: creating uconvmsg/libuconvmsg.a
a - uconvmsg/uconvmsg_dat.o
Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion `new == 
ptr' failed!
gmake[4]: *** [uconvmsg/uconvmsg_root_res.ao] Error 127
rm uconvmsg/uconvmsg_dat.o
gmake[4]: Leaving directory 
`/mnt/hdc10/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/icu/unxlngi6.pro/misc/build/icu/source/extra/uconv'
make[3]: *** [package-resfiles] Error 2
make[3]: Leaving directory 
`/mnt/hdc10/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/icu/unxlngi6.pro/misc/build/icu/source/extra/uconv'
make[2]: *** [all-recursive] Error 2
make[2]: Leaving directory 
`/mnt/hdc10/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/icu/unxlngi6.pro/misc/build/icu/source/extra'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory 
`/mnt/hdc10/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/icu/unxlngi6.pro/misc/build/icu/source'
dmake:  Error code 2, while making './unxlngi6.pro/misc/build/so_built_so_icu'
'---* tg_merge.mk *---'


 emerge --info 

Gentoo Base System version 1.12.4
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 
2.6.17-gentoo-r7 i686)
=
System uname: 2.6.17-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo 
http://mirrors.acm.cs.rpi.edu/gentoo http://gentoo.mirrored.ca/ 
http://prometheus.cs.wmich.edu/gentoo";
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts cli crypt cups dbus 
dlloader doc dri dvd dvdr eds emacs emboss encode esd firefox foomaticdb 
fortran gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 guile imap imlib 
ipv6 isdnlog java jpeg libg++ libwww mad mikmod mime motif mp3 mpeg ncurses nls 
nptl nptlonly nsplugin nvidia ogg opengl pam pcre pda pdflib perl png ppds pppd 
python quicktime readline reflection scanner sdl session spell spl ssl tcpd 
tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv 
zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux 
userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, 
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] trouble with bcm43xx

2006-07-26 Thread Allan Gottlieb
At Wed, 26 Jul 2006 23:49:49 +0100 Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 26 Jul 2006 10:44:55 -0400, Allan Gottlieb wrote:
>
>> 02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T
>> (rev 01)
>
> It seems that you are trying to use the wrong module. This is a 4400
> wired card, not a 4300 wireless one that the BCM43xx driver is for. A
> quick Google indicates you may need the B44 module, or have you posted
> the wrong part of lspci's output?

The latter, I'm sorry.  Here is the correct (I hope) part.

allan

  02:02.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 02)
  Subsystem: Dell Truemobile 1400
  Flags: bus master, fast devsel, latency 32, IRQ 20
  Memory at faffc000 (32-bit, non-prefetchable) [size=8K]
  Capabilities: [40] Power Management version 2
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] trouble with bcm43xx

2006-07-26 Thread Allan Gottlieb
At Wed, 26 Jul 2006 08:36:16 +0100 Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Tue, 25 Jul 2006 22:00:11 -0400, Allan Gottlieb wrote:
>
>> The guide recommended wl_apsta.o for firmware, but that failed the
>> bcm43xx-fwcutter command so I then tried wl.o, which bcm43xx was happy
>> with.
>
> It seems that some cards can be fussy about firmware, so try some
> different ones. I have the following installed and my card works OK,
> although it sometimes takes a couple of attempts to get a good
> connection.
>
> bcm43xx_initval01.fw  bcm43xx_initval07.fwbcm43xx_microcode4.fw
> bcm43xx_initval02.fw  bcm43xx_initval08.fwbcm43xx_microcode5.fw
> bcm43xx_initval03.fw  bcm43xx_initval09.fwbcm43xx_pcm4.fw
> bcm43xx_initval04.fw  bcm43xx_initval10.fwbcm43xx_pcm5.fw
> bcm43xx_initval05.fw  bcm43xx_microcode11.fw
> bcm43xx_initval06.fw  bcm43xx_microcode2.fw
>
> You don't say which card you are using, some are more problematic than
> others, the gentoo-sources Changleog shows that support for some versions
> is still being added. "lspci | grep BCM" will show you the exact model.

Sorry for forgetting to include the lspci output

02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
Subsystem: Dell Unknown device 015f
Flags: bus master, fast devsel, latency 32, IRQ 17
Memory at faffe000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2

I will load more firmware and try again.  Here is the message I get
when trying to use fwcutter for some of the firmware listed in
/usr/doc/bcm43xx-fwcutter-004/README.gz

Sorry, the input file is either wrong or not supported by
bcm43xx-fwcutter.  I can't find the MD5sum
1c104a2604fe0cef8c8ea187dc752e43 :(

So far I have

bcm43xx_initval01.fw  bcm43xx_initval06.fw  bcm43xx_microcode2.fw
bcm43xx_initval02.fw  bcm43xx_initval07.fw  bcm43xx_microcode4.fw
bcm43xx_initval03.fw  bcm43xx_initval08.fw  bcm43xx_microcode5.fw
bcm43xx_initval04.fw  bcm43xx_initval09.fw  bcm43xx_pcm4.fw
bcm43xx_initval05.fw  bcm43xx_initval10.fw  bcm43xx_pcm5.fw

and still /etc/init.d/net.eth1 fails.  The end of dmesg is

bcm43xx: set security called
bcm43xx:.level = 0
bcm43xx:.enabled = 0
bcm43xx:.encrypt = 0
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Unable to find matching network after scan!
bcm43xx: Radio turned off
bcm43xx: DMA 0x0260 (RX) max used slots: 1/64
bcm43xx: DMA 0x0200 (RX) max used slots: 1/64
bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
bcm43xx: DMA 0x0220 (TX) max used slots: 2/512
bcm43xx: DMA 0x0200 (TX) max used slots: 0/512
bcm43xx: Radio turned off
bcm43xx: DMA 0x0260 (RX) max used slots: 0/64
bcm43xx: DMA 0x0200 (RX) max used slots: 0/64
bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
bcm43xx: DMA 0x0220 (TX) max used slots: 0/512
bcm43xx: DMA 0x0200 (TX) max used slots: 0/512

I assume I have some config wrong or forgot to do something, but I
don't know what it is.  I guess I will grab some more firmware since
you have more that I do :-).

Thanks for your help,
allan

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] trouble with bcm43xx

2006-07-25 Thread Allan Gottlieb
I followed the instructions from the forum (listed below)
I built the driver and networking code as modules as specified.
(I also tried building them into the kernel with essentially the same
bad results).

I would appreciate any help.  Details follow.
allan

The guide recommended wl_apsta.o for firmware, but that failed the
bcm43xx-fwcutter command so I then tried wl.o, which bcm43xx was happy
with.

The modprobe of bcm43xx worked and lsmod showed the driver, the
network code and the cryptographic code.  I then added bcm43xx to the
appropriate modules.autoload.

In either case (manual modprobe or modules.autoload)
/etc/init.d/net.eth1 failed as follows

ajglap gottlieb # /etc/init.d/net.eth1 start
 * Starting eth1
 *   Configuring wireless network for eth1
 *   Failed to configure wireless for eth1 [ !! ]

I ran dmesg both before and after the /etc/init.d/net.eth1 start

The new material from dmesg was

bcm43xx: PHY connected
bcm43xx: PHY disconnected
bcm43xx: PHY connected
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: PHY disconnected
bcm43xx: Radio turned off
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1608
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1611
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1651
bcm43xx: Radio turned on
bcm43xx: TODO: Incomplete code in bcm43xx_phy_inita() at 
drivers/net/wireless/bcm43xx/bcm43xx_phy.c:577
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1608
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1611
bcm43xx: TODO: Incomplete code in bcm43xx_radio_selectchannel() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1651
bcm43xx: TODO: Incomplete code in bcm43xx_radio_set_txpower_a() at 
drivers/net/wireless/bcm43xx/bcm43xx_radio.c:1802
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: Radio turned off
bcm43xx: 80211 cores initialized
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1130
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at 
drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: Keys cleared
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: set security called
bcm43xx:.level = 0
bcm43xx:.enabled = 0
bcm43xx:.encrypt = 0
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
bcm43xx: set security called
bcm43xx:.level = 0
bcm43xx:.enabled = 0
bcm43xx:.encrypt = 0
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
SoftMAC: Scanning finished
SoftMAC: Unable to find matching network after scan!
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Unable to find matching network after scan!
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Start scanning with channel: 1
SoftMAC: Scanning 14 channels
SoftMAC: Scanning finished
SoftMAC: Associate: Scanning for networks first.
So

Re: [gentoo-user] Trying the masked version

2006-07-18 Thread Allan Gottlieb
At Tue, 18 Jul 2006 09:00:48 -0700 Grant <[EMAIL PROTECTED]> wrote:

> What do you guys do when you want to try the masked version of a
> package to fix a problem you're having with the stable version, but
> you don't want to follow the ~x86 version indefinitely?  I've just
> been adding the package to package.keywords, but that obviously
> follows the masked version until you remember to remove the entry.  Is
> there a better solution?

Let assume the package is gnumeric version 1.6.3
Then put the following line into /etc/portage/package.keywords

   ~app-office/gnumeric-1.6.3

This way you will get -1.6.3 and, if there is a GENTOO version bump,
to ~app-office/gnumeric-1.6.3-r1, you will get that as well even if it
is keyword masked (i.e. is ~x86).  But you will *not* get -1.6.4 if it
is ~x86 so you will in good time return to a stable version.

allan gottlieb

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Update world message

2006-07-17 Thread Allan Gottlieb
At Mon, 17 Jul 2006 22:46:54 +0100 Mick <[EMAIL PROTECTED]> wrote:

> On Monday 17 July 2006 22:29, Allan Gottlieb wrote:
>
>> I believe the suggested entry in package.keywords would have been
>>
>> ~dev-libs/ilbc-rfc3951-0 ~x86
>>
>> (initial ~ instead of =) so that the specification includes version
>> bumps (null --> -r1 --> -r2 ---> ...)
>
> Thank you Allan.  Yes it could have been, but I set it with ' = ' so that it 
> would stay at the '0' version until masked as stable.  I am trying to keep 
> this box as stable as possible.

That would happen with ~ as well.  That is, it would stay at the -0
(rather than -1, -2, etc).  The ~ just allows gentoo version bumps -0
to -0-r1 to -0-r2 etc.  The trade-off is what happens when -0 is
stable and -0-r1 becomes keyword masked.  I prefer to go to -0-r1, but
I can understand why you might want to stay at -0.  Like you I want to
keep my box as "stable" as possible and keep my package.keyword file
small and restricted (= or ~).

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



Re: [gentoo-user] Update world message

2006-07-17 Thread Allan Gottlieb
At Mon, 17 Jul 2006 22:02:06 +0100 Mick <[EMAIL PROTECTED]> wrote:

> On Monday 17 July 2006 11:19, Mick wrote:
>> On Monday 17 July 2006 10:27, Arnau Bria wrote:
>> > You have to allow portage to emerge/upgrade dev-libs/ilbc-rfc3951 which
>> > is masked and you have installed in past.
>> >
>> > Just add it to package.keywords like my sylpheed-claws:
>>
>> Usually an emerge would stall until a masked package is unmasked, but
>> relevant entries in /etc/portage/* files.  On this occasion an emerge
>> update does not seem to try to install dev-libs/ilbc-rfc3951, it just
>> mentions that atom error.  The emerge update continues fine thereafter.
>
> Found it!  I had entered:
> =dev-libs/ilbc-rfc3951-0 ~x86
> in my /etc/portage/package.keywords and this package has now been revised 
> to -r1 for unstable.  

I believe the suggested entry in package.keywords would have been

~dev-libs/ilbc-rfc3951-0 ~x86

(initial ~ instead of =) so that the specification includes version
bumps (null --> -r1 --> -r2 ---> ...)

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



Re: [gentoo-user] OT - Can't save in gnumeric-1.4.3

2006-07-16 Thread Allan Gottlieb
At Sun, 16 Jul 2006 17:20:26 -0500 Michael Sullivan <[EMAIL PROTECTED]> wrote:

> I've run revdep-rebuild and it says there's nothing in need of repair,
> but I can't save files in gnumeric.  When I try, it gives me an error:
>
> Unable to open module file
> "/usr/lib/gnumeric/1.4.3/plugins/xml_sax/xml_sax",
> /usr/lib/gnumeric/1.4.3/plugins/xml_sax/xml_sax.so:  undefined
> symbol:  gsf_xml_in_parse

I get the exact same error.  I guess my joy in gnumeric finally
emerging without error was premature.

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



Re: [gentoo-user] Build error: gnumeric-1.4.3-r3

2006-07-15 Thread Allan Gottlieb
At Sat, 15 Jul 2006 16:18:35 +0200 (CEST) Meino Christian Cramer <[EMAIL 
PROTECTED]> wrote:

> From: Allan Gottlieb <[EMAIL PROTECTED]>
> Subject: Re: [gentoo-user] Build error: gnumeric-1.4.3-r3
> Date: Sat, 15 Jul 2006 10:11:55 -0400
>
>> At Fri, 14 Jul 2006 22:33:45 -0400 Allan Gottlieb <[EMAIL PROTECTED]> wrote:
>> 
>> > Has anyone solved this problem.  I have it too as I mentioned in a
>> > previous post.
>> 
>> It has been solved (at least for me).  A thank you to whoever fixed
>> it.  My 2.14 is now fully installed.  With Xorg and gnome upgraded it
>> must be about time for gcc v4 to go stable :-).
>> 
>> gentoo-user@gentoo.org mailing list
>
> So... what shoukd I reinstall/delete/do again/fix/patch... to get this
> fixed version ? 

All I did was my usual morning routine.

1.  anacron executes   eix-sync

2.  At a gnome-terminal I typed
  emerge --tree --ask --verbose --newuse --update --deep world

The emerge offered to install totem and gnumeric.

3.  I said yes, expecting totem to succeed and gnumeric to fail, but
both succeeded.

Hope it goes as well with you.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Build error: gnumeric-1.4.3-r3

2006-07-15 Thread Allan Gottlieb
At Fri, 14 Jul 2006 22:33:45 -0400 Allan Gottlieb <[EMAIL PROTECTED]> wrote:

> Has anyone solved this problem.  I have it too as I mentioned in a
> previous post.

It has been solved (at least for me).  A thank you to whoever fixed
it.  My 2.14 is now fully installed.  With Xorg and gnome upgraded it
must be about time for gcc v4 to go stable :-).

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



Re: [gentoo-user] Build error: gnumeric-1.4.3-r3

2006-07-14 Thread Allan Gottlieb
At Fri, 14 Jul 2006 04:48:53 +0200 (CEST) Meino Christian Cramer <[EMAIL 
PROTECTED]> wrote:

> Hi,
>
>  This happens:
>
> i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H
> -I. -I. -I../../../.. -I../../../.. -I../../../../src
> -I../../../../src -I../../../../src/cut-n-paste-code

[ snipped ]

> (multiple columns and shrinking text) make[7]: Leaving directory
> `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice/graph'
> make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory
> `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice/graph'
> make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory
> `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code/goffice'
> make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory
> `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src/cut-n-paste-code'
> make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
> `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src' make[2]:
> *** [all] Error 2 make[2]: Leaving directory
> `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3/src' make[1]:
> *** [all-recursive] Error 1 make[1]: Leaving directory
> `/var/tmp/portage/gnumeric-1.4.3-r3/work/gnumeric-1.4.3' make: ***
> [all] Error 2
>
> !!! ERROR: app-office/gnumeric-1.4.3-r3 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_compile
>   ebuild.sh, line 939:   Called src_compile
>   gnumeric-1.4.3-r3.ebuild, line 93:   Called die
>
> !!! Compilation failed

Has anyone solved this problem.  I have it too as I mentioned in a
previous post.

I don't see a bug in bugs.gentoo.org.  Should I file one?

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



Re: [gentoo-user] Error emerging media-videog/totem

2006-07-14 Thread Allan Gottlieb
At Fri, 14 Jul 2006 21:58:11 +0200 Philipp Riegger <[EMAIL PROTECTED]> wrote:

>> Any idea what i can do? Of course, i can emerge said package (it is
>> ~x86, i think) but that seems to be an error not only i have which
>> should be solved. Anyone had similar problems?
>
>
> Sorry, my fault, it is stable (gst-plugins-good). Is this a missing
> dependancy?

Yes and I saw a bug for it in bugs.gentoo.org.  I believe you can find
the bug searching for pango.

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



Re: [gentoo-user] infinite battle between emerge --depclean and revdep-rebuild

2006-07-14 Thread Allan Gottlieb
At Fri, 14 Jul 2006 01:42:26 -0700 Richard Fish <[EMAIL PROTECTED]> wrote:

> On 7/13/06, Allan Gottlieb <[EMAIL PROTECTED]> wrote:
>> ajglap gottlieb # emerge --ask --depclean; revdep-rebuild --pretend
>
> Looks like a circular dependancy between gst-plugins-alsa and
> gst-plugins.  Circular dependancies are not handled well in portage.
>
>> *** WARNING ***  --depclean is known to be broken. It is highly recommended
>> [rest of warning snipped]
>
> Did you read the rest of the warning???  It gives you the solution:
>
> emerge --noreplace gst-plugins

I did read it, but obviously not with full understanding.  That
solution, which indeed does solve my problem, is correctly stated to
place gst-plugins into the world file.  But that is not what I though
world was for.  I though it was for applications that I use directly.
I thought the --noreplace suggestion was for the case when --depclean
wants to remove something you actually run.  I foolishly hadn't
realized that this advice emerge --noreplace  was also to be
used to break circular dependencies.

Thanks for the enlightenment.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Build error: gnumeric-1.4.3-r3

2006-07-13 Thread Allan Gottlieb
See http://bugs.gentoo.org/show_bug.cgi?id=139612, items 27 and 28.

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



[gentoo-user] infinite battle between emerge --depclean and revdep-rebuild

2006-07-13 Thread Allan Gottlieb
The short story is that these two utilities will repeatedly remove and
restore  media-libs/gst-plugins-0.8.11.

The long version follows.

thanks in advance for any help.
allan

1. Revdep-rebuild is initially happy

ajglap gottlieb # revdep-rebuild
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.

2.  But --depclean makes it unhappy.  I issue my std 2 commands

ajglap gottlieb # emerge --ask --depclean; revdep-rebuild --pretend

*** WARNING ***  --depclean is known to be broken. It is highly recommended
[rest of warning snipped]

Calculating dependencies... done!

>>> These are the packages that would be unmerged:

 media-libs/gst-plugins
selected: 0.8.11
   protected: none
 omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] yes


[ gst-plugins removed without incident.]

3.  Unhappy revdep: then 2nd command then continues. 

Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/gstreamer-0.8/libgstalsa.so (requires  
libgstinterfaces-0.8.so.0)
  broken /usr/lib/gstreamer-0.8/libgstalsa.la (requires 
/usr/lib/libgstinterfaces-0.8.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot --pretend =media-plugins/gst-plugins-alsa-0.8.11

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

Calculating dependencies... done!
[ebuild  N] media-libs/gst-plugins-0.8.11  USE="alsa esd -debug -oss"
[ebuild   R   ] media-plugins/gst-plugins-alsa-0.8.11

4.  I run revdep-rebuild without --pretend

the two packages are emerged without incident.

5.  As suggested I run revdep-rebuild again

No rebuilds required.

6.  So we try again

ajglap gottlieb # emerge --ask --depclean; revdep-rebuild --pretend

*** WARNING ***  --depclean is known to be broken. It is highly recommended
[snipped again]

Calculating dependencies... done!

>>> These are the packages that would be unmerged:

 media-libs/gst-plugins
selected: 0.8.11
   protected: none
 omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No]

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



Re: [gentoo-user] Build error: gnumeric-1.4.3-r3

2006-07-13 Thread Allan Gottlieb
As a followup to my previous posting giving this same error with
modest CFLAGS I should point out the following.

1.  During the big upgrade of gnome-lite to 1.14, the following
appeared.

Subject: [portage] ebuild log for gnome-extra/libgsf-1.14.0 on
localhost.localdomain
Date: Thu, 13 Jul 2006 07:38:21 -0400

INFO: unpack
Fixing OMF Makefiles ...

INFO: compile
Running elibtoolize in: libgsf-1.14.0
  Applying portage-1.5.10.patch ...
  Applying max_cmd_len-1.5.20.patch ...
  Applying sed-1.5.6.patch ...

WARN: postinst
An old version of an installed library was detected on your system.
In order to avoid breaking packages that link against it, this older version
is not being removed.  In order to make full use of this newer version,
you will need to execute the following command:
  revdep-rebuild --library libgsf-1.so.1

After doing that, you can safely remove /usr/lib/libgsf-1.so.1
Note: 'emerge gentoolkit' to get revdep-rebuild
An old version of an installed library was detected on your system.
In order to avoid breaking packages that link against it, this older version
is not being removed.  In order to make full use of this newer version,
you will need to execute the following command:
  revdep-rebuild --library libgsf-gnome-1.so.1

After doing that, you can safely remove /usr/lib/libgsf-gnome-1.so.1

Each of these revdep-rebuilds tries to emerge gnumeric and gives the
failure indicated previously.

2.  Presumably unrelated, but I am also now witnessing an infinite
battle between emerge --depclean and revdep-rebuild.

  --depclean wants to remove

media-libs/gst-plugins
selected: 0.8.11
protected: none
omitted: none

 revdep-rebuild then wants it back

[ebuild  N] media-libs/gst-plugins-0.8.11  USE="alsa esd -debug -oss"
[ebuild   R   ] media-plugins/gst-plugins-alsa-0.8.11

I will post another msg starting a new thread about this since I
suspect it is not related.

thanks for any help,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Build error: gnumeric-1.4.3-r3

2006-07-13 Thread Allan Gottlieb
At Thu, 13 Jul 2006 20:03:45 -0700 Ryan Tandy <[EMAIL PROTECTED]> wrote:

> Meino Christian Cramer wrote:
>> -O3 -m3dnow -march=athlon-xp
>> -mtune=athlon64 -msse -msse2 -msse3 -m3dnow -mfpmath=sse
>> -funroll-loops -fomit-frame-pointer -fforce-mem -fforce-addr
>> -finline-functions -falign-functions=4 -mpreferred-stack-boundary=2
>
> Hmm... do you get a different result with, for example, CFLAGS="-Os
> -march=athlon-xp -pipe"?
>
> Yes, I know I'm being a bit of a torch-and-pitchfork type here, but if
> changing the CFLAGS *doesn't* solve anything, I'm perfectly willing to
> dig deeper. ;)

I get a very similar error with more modest CFLAGS.

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-I. -I. -I../../../.. -I../../../.. -I../../../../src
-I../../../../src -I../../../../src/cut-n-paste-code
-I../../../../src/cut-n-paste-code/goffice
-I../../../../src/cut-n-paste-code/foocanvas -DORBIT2=1 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libgsf-1 -I/usr/include/libxml2
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/libglade-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/libgnomeprint-2.2
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libgnomeui-2.0
-I/usr/include/gnome-keyring-1 -I/usr/include/gnome-vfs-module-2.0
-I../../../../src/cut-n-paste-code -march=pentium4 -pipe -O2
-DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED
-DLIBGLADE_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
-DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -Wall
-Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs
-Wchar-subscripts -Wwrite-strings -MT gog-axis.lo -MD -MP -MF
.deps/gog-axis.Tpo -c gog-axis.c -fPIC -DPIC -o .libs/gog-axis.o if
/bin/sh ../../../../libtool --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../.. -I../../../../src
-I../../../../src -I../../../../src/cut-n-paste-code
-I../../../../src/cut-n-paste-code/goffice
-I../../../../src/cut-n-paste-code/foocanvas -DORBIT2=1 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libgsf-1 -I/usr/include/libxml2
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/libglade-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/libgnomeprint-2.2
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libgnomeui-2.0
-I/usr/include/gnome-keyring-1 -I/usr/include/gnome-vfs-module-2.0
-I../../../../src/cut-n-paste-code -march=pentium4 -pipe -O2
-DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGDK_MULTIHEAD_SAFE -DGTK_DISABLE_DEPRECATED
-DLIBGLADE_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
-DBONOBO_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_DEPRECATED -Wall
-Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs
-Wchar-subscripts -Wwrite-strings -MT gog-label.lo -MD -MP -MF
".deps/gog-label.Tpo" \ -c -o gog-label.lo `test -f 'gog-label.c' ||
echo './'`gog-label.c; \ then mv -f ".deps/gog-label.Tpo"
".deps/gog-label.Plo"; \ else rm -f ".deps/gog-label.Tpo"; exit 1; \
fi gog-axis.c:1683:58: macro "GSF_CLASS_FULL" requires 10 arguments,
but only 7 given gog-axis.c:1686: error: syntax error before
"GogAxisType" gog-axis.c:1536: warning: 'gog_axis_class_init' defined
but not used gog-axis.c:1622: warning: 'gog_axis_init' defined but not
used gog-axis.c:1674: warning: 'gog_axis_dataset_init' defined but not
used make[7]: *** [gog-axis.lo] Error 1 make[7]: *** Waiting for
unfinished jobs
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Font missing after xorg upgrade

2006-07-12 Thread Allan Gottlieb
At Wed, 12 Jul 2006 14:50:11 -0700 Donnie Berkholz <[EMAIL PROTECTED]> wrote:

> darren kirby wrote:
>> quoth the Donnie Berkholz:
>>> Try font-adobe-100dpi or font-adobe-75dpi or possibly font-ibm-type1.
>> 
>> The adobe fonts were already installed (no 10 pitch) and I installed the IBM 
>> fonts and it was not there either. However, "Courier [IBM]" seems to look 
>> fine, and will be suitable.
>> 
>> I would still like to know where the 10 pitch is if anybody knows... 
>
> Oh, do you not have ttf-bitstream-vera installed? It looks like I've got
> bitstream fonts providing it, maybe font-bitstream-type1 if you can't
> get it from the other.

(Donnie, Thanks for all your informative replies on the Xorg issues.)

I notice that some of the fonts you mention are keyword masked (at
least on x86).  For example font-bitstream-* (except for -vera) and
font-ibm-type1.  Are these fonts less tested?  Would you recommend
unmasking all of them?  Would you want me to file a bug asking for
stabilization?  I should add that I am not at all hurting with just
the (stable) fonts that I do have installed.

thanks again,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-11 Thread Allan Gottlieb
At Tue, 11 Jul 2006 16:01:00 -0500 Dale <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> [Discussion about etc-update (and friends) changing something that was
>> set by the user]
>>
>> I believe there is a misunderstanding.  Perhaps what the OP is noting
>> is that etc-update gives you diffs between
>>
>>   * The file as on your system (which may have user changes)
>>
>>   * The file as in the current emerge of this package
>>
>> I believe he would prefer to know the difference
>>
>>   * The file as in the previous emerge of this package
>>
>>   * The file as in the current emerge of this package
>>
>> Then he would decide what to do with these changes.
>>
>> I use etc-update but I believe that dispatch-conf can keep an RCS
>> revision history.  This should help determine the desired difference.
>>
>> I apologize if it is I who have misunderstood the conversation and am
>> increasing the confusion.
>>
>> allan
>>   
>
> Maybe I have something set different but mine does tell what is going to
> be changed between the two files and you can select what you want to
> change or not change.

I don't think it is a settings difference.  I believe it is giving you
the differences between the first two files I listed above and the OP
wanted the difference between the last two

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



Re: [gentoo-user] Things that can be improved

2006-07-11 Thread Allan Gottlieb
[Discussion about etc-update (and friends) changing something that was
set by the user]

I believe there is a misunderstanding.  Perhaps what the OP is noting
is that etc-update gives you diffs between

  * The file as on your system (which may have user changes)

  * The file as in the current emerge of this package

I believe he would prefer to know the difference

  * The file as in the previous emerge of this package

  * The file as in the current emerge of this package

Then he would decide what to do with these changes.

I use etc-update but I believe that dispatch-conf can keep an RCS
revision history.  This should help determine the desired difference.

I apologize if it is I who have misunderstood the conversation and am
increasing the confusion.

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



Re: [gentoo-user] xsane not recognizing hp 7130

2006-07-10 Thread Allan Gottlieb
At Mon, 10 Jul 2006 13:41:14 -0700 Richard Fish <[EMAIL PROTECTED]> wrote:

> On 7/10/06, Allan Gottlieb <[EMAIL PROTECTED]> wrote:
>> xsane is no longer recognizing my officejet 7130.
>
> Hmm, is an etc-update pending?

No.

>> Bus 002 Device 003: ID 03f0:2611 Hewlett-Packard
>
> Did you merge hplip with USE=scanner?  (emerge -pv hplip)

Bingo!  Works fine now.  I am hoping this is a new use flag.  I
*really* don't believe I removed any use flags from make.conf.

> Does /etc/sane.d/dll.conf contain the line "hpaio"?

Yes.

Thank you VERY much.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xsane not recognizing hp 7130

2006-07-10 Thread Allan Gottlieb
At Mon, 10 Jul 2006 20:31:08 +0100 Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Mon, 10 Jul 2006 14:09:24 -0400, Allan Gottlieb wrote:
>
>> xsane is no longer recognizing my officejet 7130.
>
> ~What does "scanimage -L" show, run as root and as a normal user?

[EMAIL PROTECTED] ~ $ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[EMAIL PROTECTED] ~ $ ss
ajglap ~ # scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
ajglap ~ #

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xsane not recognizing hp 7130

2006-07-10 Thread Allan Gottlieb
xsane is no longer recognizing my officejet 7130.

I have emerged sane-backends and hplip.

This used to work (well) and I didn't deliberately disable anything.

Thanks in advance for any help; some system information is below.

allan

ajglap gottlieb # eix sane
* games-arcade/insaneodyssey
 Available versions:  000311
 Installed:   none
 Homepage:
http://members.fortunecity.com/rivalentertainment/iox.html
 Description: Help West Muldune escape from a futuristic mental 
hospital

* media-gfx/sane-backends
 Available versions:  1.0.13-r3 1.0.15 ~1.0.15-r3 ~1.0.16-r4 ~1.0.17
 Installed:   1.0.15
 Homepage:http://www.sane-project.org/
 Description: Scanner Access Now Easy - Backends

* media-gfx/sane-frontends
 Available versions:  1.0.13 ~1.0.14
 Installed:   none
 Homepage:http://www.sane-project.org
 Description: Scanner Access Now Easy

* media-gfx/xsane
 Available versions:  0.991
 Installed:   0.991
 Homepage:http://www.xsane.org/
 Description: graphical scanning frontend


Found 4 matches
ajglap gottlieb #
ajglap gottlieb # eix hplip
* net-print/hplip
 Available versions:  0.9.7-r3 ~1.6.6 ~1.6.6-r1
 Installed:   0.9.7-r3
 Homepage:http://hplip.sourceforge.net/
 Description: HP Linux Imaging and Printing System. Includes 
net-print/hpijs, scanner drivers and service tools.


Found 1 matches
ajglap gottlieb #
ajglap gottlieb # uname --all
Linux ajglap 2.6.14-gentoo-r4 #2 SMP PREEMPT Sat Feb 4 21:49:59 EST 2006 i686 
Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz GNU/Linux
ajglap gottlieb #
ajglap gottlieb # lsusb
Bus 004 Device 001: ID :
Bus 003 Device 004: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Bus 003 Device 003: ID 05f3:0007 PI Engineering, Inc. Kinesis Advantage PRO 
MPC/USB Keyboard
Bus 003 Device 002: ID 05f3:0081 PI Engineering, Inc. Kinesis Integrated Hub
Bus 003 Device 001: ID :
Bus 002 Device 003: ID 03f0:2611 Hewlett-Packard
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :
ajglap gottlieb #
ajglap gottlieb # lsusb -v -s 2:3

Bus 002 Device 003: ID 03f0:2611 Hewlett-Packard
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor   0x03f0 Hewlett-Packard
  idProduct  0x2611
  bcdDevice1.00
  iManufacturer   1 Hewlett-Packard
  iProduct2 officejet 7100 series
  iSerial 3 SG2CGB20QK6H
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   78
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0
bmAttributes 0xc0
  Self Powered
MaxPower2mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   3
  bInterfaceClass 7 Printer
  bInterfaceSubClass  1 Printer
  bInterfaceProtocol  3 IEEE 1284.4 compatible bidirectional
  iInterface  0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01  EP 1 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82  EP 2 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   1
  bNumEndpoints   2
  bInterfaceClass 7 Printer
  bInterfaceSubClass  1 Printer
  bInterfaceProtocol  2 Bidirectional
  iInterface  0
  Endpoint Descriptor:
bLength 7
bDescriptorTyp

Re: [gentoo-user] OT logitech mouse recommendation (MX1000 vs G7)

2006-07-07 Thread Allan Gottlieb
At Fri, 07 Jul 2006 17:54:25 -0700 Richard Fish <[EMAIL PROTECTED]> wrote:

> BTW, how is the mobility for the G7/MX1000?  Do they come with bulky
> cradles that one would have to carry around?

I believe both have a cradle.  However, I already own a tiny trivial
mouse for trips.  The G7/MX1000 would stay in one place (with my
external monitor and allegedly-hand-and-wrist-friendly keyboard).

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



Re: [gentoo-user] OT logitech mouse recommendation (MX1000 vs G7)

2006-07-07 Thread Allan Gottlieb
At Sat, 08 Jul 2006 00:19:01 +0200 Daniel Waeber <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> Now that I have xorg-7.0-r1 installed, I am planning to upgrade my
>> logitech cordless mouseman optical to one of the new toys, either the
>> MX1000 or the G7.  I have read the helpful gentoo-wiki entry.
>
> I'm currently using a G7 on my laptop and it works great, all 8 buttons
> and on-the-fly sensitivity just feel good. Moreover having two battaries
> is super.
> But i never tested the MX1000, so i just can say that G7 rocks :)

Thanks.  That is two strong votes for the G7.  That is my planned
purchase now.

thanks again.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT logitech mouse recommendation (MX1000 vs G7)

2006-07-07 Thread Allan Gottlieb
At Fri, 07 Jul 2006 22:15:18 +0200 Rick van Hattem <[EMAIL PROTECTED]> wrote:

> On Friday 07 July 2006 21:39, Allan Gottlieb wrote:
>> Now that I have xorg-7.0-r1 installed, I am planning to upgrade my
>> logitech cordless mouseman optical to one of the new toys, either the
>> MX1000 or the G7.  I have read the helpful gentoo-wiki entry.
>>
>> I am looking for recommendations/experiences.  Would I perceive any
>> difference between them?  In particular
>>
>> 1.  This is for a laptop (dell 5150) so there will also be the
>> synaptics two button touchpad on the keyboard.  I assume either of
>> the two new mice would work and would not disable the touchpad (I
>> know about "alwayscore").  Correct?
>>
>> 2.  I do not play high speed games, but would consider it a mild plus
>> if such games were better supported since my children (low 20s) do
>> play these games and very occasionally use my system.
>>
>> thanks in advance,
>> allan

> I'd go for the G7, it's got 2 replaceable  batteries which make it a lot 
> better imho, I currently have an MX700 but my next upgrade will definately 
> not be a MX1000, I'll be a G7 or higher (by the time I'll need to upgrade)

Thanks.  These batteries are rechargeable, right?  I was hoping not to
have to replace batteries as often as I do with my current mouse.  The
multibutton logitech that I remember seeing a year ago had a cradle
into which the mouse can be placed and recharged.

I will probably go for the G7 as you recommend.

Thanks again,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT logitech mouse recommendation (MX1000 vs G7)

2006-07-07 Thread Allan Gottlieb
Now that I have xorg-7.0-r1 installed, I am planning to upgrade my
logitech cordless mouseman optical to one of the new toys, either the
MX1000 or the G7.  I have read the helpful gentoo-wiki entry.

I am looking for recommendations/experiences.  Would I perceive any
difference between them?  In particular

1.  This is for a laptop (dell 5150) so there will also be the
synaptics two button touchpad on the keyboard.  I assume either of
the two new mice would work and would not disable the touchpad (I
know about "alwayscore").  Correct?

2.  I do not play high speed games, but would consider it a mild plus
if such games were better supported since my children (low 20s) do
play these games and very occasionally use my system.

thanks in advance,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] package version notification (~/+)?

2006-07-04 Thread Allan Gottlieb
At Tue, 04 Jul 2006 16:09:35 +0200 Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

> On Tuesday 04 July 2006 14:21, Allan Gottlieb wrote:
>> Good find.  I saw some posts here using it and wondered why the same
>> "typo" appeared.  I just checked the portage man page, which describes
>> the various package.* files, and this usage of `~' is not documented.
>> Should I file a documentation bug?
>
> It's in `man 5 ebuild`.

I see.  I guess this is a change in the new portage.  I *believe* that
previously the operators were explained in man portage, but I see now
that not even the old operators = >= <= are there but instead we are
referred to ebuild.

For my previous msg I just searched for ~ and didn't think of the
possibility that all the operators moved.

My error, sorry.
allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] package version notification (~/+)?

2006-07-04 Thread Allan Gottlieb
At Tue, 04 Jul 2006 01:50:12 -0500 Roy Wright <[EMAIL PROTECTED]> wrote:

> I just read this in the developer's guide:
>
>   http://devmanual.gentoo.org/general-concepts/dependencies/index.html
>
>   |~app-misc/foo-1.23| Version 1.23 (or any |1.23-r*|) is required.
>
> I was wondering if this would work in package.keywords, package.mask, etc.
> so tried it.  It does appear to work...
>
> # eix -e portage
> * sys-apps/portage
>  Available versions:  2.0.51.22-r3 2.0.54-r2 2.1 2.1-r1
>  2.1.1_pre1-r5 2.1.1_pre2-r2
>
> # echo "~sys-apps/portage-2.1" >> /etc/portage/package.mask
>
> # eix -e portage
> * sys-apps/portage
>  Available versions:  2.0.51.22-r3 2.0.54-r2 [M]2.1 [M]2.1-r1
>  2.1.1_pre1-r5 2.1.1_pre2-r2

Good find.  I saw some posts here using it and wondered why the same
"typo" appeared.  I just checked the portage man page, which describes
the various package.* files, and this usage of `~' is not documented.
Should I file a documentation bug?

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



Re: [gentoo-user] package version notification (~/+)?

2006-07-03 Thread Allan Gottlieb
At Mon, 03 Jul 2006 22:34:17 -0400 "John J. Foster" <[EMAIL PROTECTED]> wrote:

> Excellent. Thanks Neil and Allan.

Glad to be of help

> You know, I just went back and re-read the man page for portage, and
> it made perfect sense. I'd read that fucking page probably 10 times
> before and didn't get it.

I know the feeling ...
... all too well.

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



Re: [gentoo-user] package version notification (~/+)?

2006-07-03 Thread Allan Gottlieb
At Mon, 03 Jul 2006 21:06:07 -0400 "John J. Foster" <[EMAIL PROTECTED]> wrote:

> On Mon, Jul 03, 2006 at 08:07:24PM +0100, Neil Bothwick wrote:
>> 
>> No, but if you put a specific version in /etc/portage/package.keywords,
>> only that version will be installed from testing. It will only be
>> upgraded when a newer version goes stable.
>
> Neil - I _think_ this is what I have not been able to understand for
> over a year now. I run an almost entirely stable system, and want to
> keep it that way. But occassionally there is something I want that is
> currently ~x86, for instance amarok. So what you're saying is that if I
>
> #echo =media-sound/amarok-1.4.0a-r1 >> /etc/portage/package.keywords
>
> I will not get the next testing version of amarok, but will get the next
> stable?

Yes.  The line you are adding to package.keywords says that for *the
specific version listed* (since you begin with "=") you will emerge
it, if it is keyworded (or stable).  For any other version, in
particular for the next version issued from upstream, the line you
added says nothing.  Hence, since you are running a stable system,
only stable versions (except for 1.4.0a-r1) are eligible for emerging.

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



Re: [gentoo-user] Re: cups web interface (localhost:631) missing

2006-07-03 Thread Allan Gottlieb
At Mon, 03 Jul 2006 12:05:52 -0500 Dale <[EMAIL PROTECTED]> wrote:

> I have ran into things like this with services before.  This is how I
> do.  I stop the service, /etc/init.d/ stop.  Then I make sure it
> is not still running somewhere.  ps aux | grep   If nothing comes
> up but the grep command then it is not running.  If something does come
> up then you need to kill it.  I usually do killall .  If all is
> well, then zap it and restart the service.  It should be a clean start.
>
> Hope that helps.

Indeed it does.  My error was in not remembering (or checking) the
meaning of zap.  I misremembered it as similar to killall.

Thank you and Stefan for setting me straight.

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



[gentoo-user] Re: cups web interface (localhost:631) missing

2006-07-03 Thread Allan Gottlieb
At Mon, 03 Jul 2006 12:10:19 -0400 Allan Gottlieb <[EMAIL PROTECTED]> wrote:

> The web based administration interface for cups appears to be missing.
> I just installed the unstable version today to fix the libpng problem.
>
> When I browse   http://localhost:631/helpI receive
>
> Not Found
> The requested resource was not found on this server.
>
> I haven't used this interface in a while so I can't say for sure it
> was due to the upgrade to unstable.
>
> I can say that the man page for cups-config does include
> SEE ALSO
>   http://localhost:631/help
>
> Thanks in advance for any help.
> allan

Oops.  I spoke too soon, but do have a question.

I had done an etc-update and took the new config (which specifically now
enables listening on 631).

I tried /etc/init.d/cupsd restartbut it failed ( [??] )

Then did /etc/init.d/cupsd zap; /etc/init.d/cupsd start both of which
succeeded.  At this point I could *not* access localhost:631.

However, a reboot fixed this.

I am fairly sure a reboot should not be required (and the elog doesn't
mention one).  What did I do wrong?

Sorry for jumping to conclusions in my first msg.

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



[gentoo-user] cups web interface (localhost:631) missing

2006-07-03 Thread Allan Gottlieb
The web based administration interface for cups appears to be missing.
I just installed the unstable version today to fix the libpng problem.

When I browse   http://localhost:631/helpI receive

Not Found
The requested resource was not found on this server.

I haven't used this interface in a while so I can't say for sure it
was due to the upgrade to unstable.

I can say that the man page for cups-config does include
SEE ALSO
http://localhost:631/help

Thanks in advance for any help.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] supported mp3 players (hardware)

2006-06-16 Thread Allan Gottlieb
As the OP, let me thank all the responders for the helpful
comments/suggestions.

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



Re: [gentoo-user] supported mp3 players (hardware)

2006-06-16 Thread Allan Gottlieb
At Fri, 16 Jun 2006 23:20:01 + "b.n." <[EMAIL PROTECTED]> wrote:

> Anyway, since you want to interface it with your portable, why don't you
> bring your portable in the shop and ask to try it with your portable?

A great idea.  I will ask that they let me open the box and try it.

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



Re: [gentoo-user] supported mp3 players (hardware)

2006-06-16 Thread Allan Gottlieb
At Fri, 16 Jun 2006 22:28:19 + "b.n." <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> Although I can reboot my laptop into windows (very useful for getting
>> dell service), I would probably stick to CDs if transferring MP3 to
>> the device requires windows.
>
> I think any pendrive-like mp3 player doesn't require windows. It just
> behaves as a flash USB pendrive, but plays audio files that are in it.
> Mine works perfectly :) .

So the typical 1/4-1 gig or so flash mp3 players (e.g. creative's zen
nano plus) will all work?  Could I ask what model you have?

> Also if you stick with an ipod, there should be linux sw able to
> interface with it (gtkpod I guess).

I prefer your first option.

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] supported mp3 players (hardware)

2006-06-16 Thread Allan Gottlieb
My kids have finally convinced me that instead of burning CDs to play
in the car I should get a portable MP3 player (and use my existing
"adapter" that plugs into the headphone and presents a cassette tape
to the car's audio system).

What players would you recommend.  My needs are modest, a few hours of
MP3s would be enough.  My primary goal is to listen to "the teaching
company" lectures.

Although I can reboot my laptop into windows (very useful for getting
dell service), I would probably stick to CDs if transferring MP3 to
the device requires windows.

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to trigger complete rebuild after changing CFLAGS oder USEFLAGS

2006-06-15 Thread Allan Gottlieb
At Thu, 15 Jun 2006 18:43:03 +0200 Enrico Weigelt <[EMAIL PROTECTED]> wrote:

> So "system" represents the base system ? 
> And "world" represents evrything I emerge'd manually ?

World also includes system.

The packages mentioned in the file /var/lib/portage/world.
were emerged by you manually.  An
   emerge foo
also emerges packages that are required by foo.  These are not,
however, placed in the world file by this emerge.

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



[gentoo-user] removing esearch leaves /usr/lib/esearch/common.pyc

2006-06-09 Thread Allan Gottlieb
I am trying out eix to replace esearch.  When I did an
  emerge --unmerge --ask esearch
/usr/lib/esearch/common.pyc remains

Am I correct in believing that this is a compiled version of
/usr/lib/esearch/common.py and should be removed?  If so I will file a
bug.

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] YTMND Site

2006-06-03 Thread Allan Gottlieb
At Sat, 03 Jun 2006 18:47:25 -0600 Ian Kabeary <[EMAIL PROTECTED]> wrote:

> Hi there,
> I notice that I can never hear sound on this site, (I can on others).
> After doing a little digging, I found that they seem to be using wav files
> to play the sounds/nonsense/music.
> Is there a way to get Firefox to play these?
> Cheers,
> Ian

I just sent a msg asserting that you had hijacked a thread.  This was
an error on my part.  Please accept my apology.  I misread my summary
buffer.

Very Sorry,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] YTMND Site

2006-06-03 Thread Allan Gottlieb
From: Ian Kabeary <[EMAIL PROTECTED]>
Subject: [gentoo-user] YTMND Site
To: gentoo-user@lists.gentoo.org
Date: Sat, 03 Jun 2006 18:47:25 -0600
Reply-to: gentoo-user@lists.gentoo.org

Hi there,
I notice that I can never hear sound on this site, (I can on others).
After doing a little digging, I found that they seem to be using wav files
to play the sounds/nonsense/music.
Is there a way to get Firefox to play these?
Cheers,
Ian

When you wish to initiate a new subject, please send a *new* message
rather than replying to an unrelated message.  "Hijacking" a thread as
you did makes reading the list more difficult for those of us who use
threaded readers.

thank you,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] utempter vs libutempter

2006-06-03 Thread Allan Gottlieb
At Sun, 04 Jun 2006 00:07:44 +0200 Benno Schulenberg <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> These examples are admittedly rather comtrived.  My google search
>> result (posted a few msgs ago) gave the three step sequence you
>> quoted above.
>
> When googling for advice, you may want to include "site:gentoo.org" 
> in your terms, and maybe even "handbook".

Terrific suggestion.  Thanks.

> Searching for 'blocking site:gentoo.org handbook' gives a link to a 
> Portage Introduction and one to a Quick Install Guide that although 
> very terse are together clear enough, in my opinion.
>
>>   However, if A was originally in world and not depended upon
>>   by anything else, it will not be remerged.  If A is still needed
>
> If A was in world, it was by definition not needed.  Sure, the user 
> wanted the package, but that is something else.  :)

Cute.  Not relevant, but indeed cute.  -:)

>>   it must be explicitly emerged.
>
> No need to tell the user that: she will remember which packages she 
> wants to have installed.

A rather optimistic assumption.  One might have originally emerged A
quite a *long* time ago.

Nonetheless, I must agree that your procedure will work nearly all the
time, and the extra coverage I offered may well be offset by the extra
complexity of the wording, which is not needed in nearly all cases.

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



Re: [gentoo-user] utempter vs libutempter

2006-06-03 Thread Allan Gottlieb
At Sat, 03 Jun 2006 22:20:25 +0200 Benno Schulenberg <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>>unmerge A
>>merge B
>>merge A
>
> When A is blocking B, the normal thing to do is to just unmerge A, 
> and then execute again the command that reported the blockage.  
> This is normally something like 'emerge -vaDu world'.  If the 
> package you unmerged is still needed, it will then automatically 
> get remerged.

I see.  This would cover many cases.  But the command original command
could have been "emerge (perhaps --update) B".  A might still be
needed (e.g. it might have been in world).  With (the updated) B
merged an emerge of A could still be successful since the ebuild for A
might behave differently with (the updated) B present.  Another
example would be the original command was 'emerge -vaDu world', but A
was in world and is not depended upon by anything else.  Since A was
unmerged, it will not be remerged.

I don't know if this occurs in practice.

These examples are admittedly rather comtrived.  My google search
result (posted a few msgs ago) gave the three step sequence you quoted
above.  I agree that your proposed two step procedure is more likely
to give better results.  Is the following modification of yours better
or worse.  It does seem to cover an extra case, but may be too
complicated to put in a wiki page

When A is blocking B, the normal thing to do is to unmerge A, and
then execute again the command that reported the blockage.  This
command is normally something like 'emerge -vaDu world'.  If the
package you unmerged is still needed, it will often automatically
get remerged.

However, if A was originally in world and not depended upon by
anything else, it will not be remerged.  If A is still needed it
must be explicitly emerged.  (With the, possibly updated, B now
merged the ebuild of A may behave differently so that no blockage
occurs.)

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



Re: [gentoo-user] utempter vs libutempter

2006-06-03 Thread Allan Gottlieb
At Sat, 03 Jun 2006 23:46:48 +0930 Raymond Lewis Rebbeck <[EMAIL PROTECTED]> 
wrote:

> On Saturday, 3 June 2006 23:24, Allan Gottlieb wrote:
>> So this utmpter/libutmpter appears to be a special case where the
>> normal
>>
>>unmerge A
>>merge B
>>merge A
>>
>> is wrong.
>>
>> thanks again,
>> allan
>
> I don't believe the procedure you mentioned has ever been normal. If packages 
> block it usually indicates that a package is being replaced by another. An 
> example is how shadow recently replaced pam-login.

"Normal" was a poor word choice.  It is sometimes done.  For example
when I googled "packages which cannot be installed" on the first page
I found

GENTOO Tips
When updating your system, the following error may occur: "Error: The
above package list contains packages which cannot be installed on the
same system." ...  ww2.cs.fsu.edu/~stanovic/gentoo.html - 3k - Cached
- Similar pages

Following the link gave

When updating your system, the following error may occur: "Error: The
above package list contains packages which cannot be installed on the
same system."

* In order to overcome this error, it is probably best to first
  run emerge with the --ask argument. This will give you the
  package that wishes to be installed and the package that is
  blocking it. First unmerge the blocking package, then emerge the
  package that wished to be installed. Finally emerge the package
  that you initially unmerged.

I would think that the idea is that merging B (which is new or
updated) changed the system so that A can now be remerged.  For
example perhaps the updated B has changed DEPEND and/or PROVIDE.

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



Re: [gentoo-user] utempter vs libutempter

2006-06-03 Thread Allan Gottlieb
At Sat, 03 Jun 2006 22:56:21 +0930 Raymond Lewis Rebbeck <[EMAIL PROTECTED]> 
wrote:

> On Saturday, 3 June 2006 22:48, Allan Gottlieb wrote:
>> When doing an
>>
>>   emerge --tree --ask --verbose --newuse --update --deep world
>>
>> I received the following error
>>
>> These are the packages that I would merge, in reverse order:
>>
>> Calculating world dependencies ...done!
>> [blocks B ] sys-apps/utempter (is blocking
>> sys-libs/libutempter-1.1.2.1) [ebuild U ] x11-terms/xterm-207-r1 [207]
>> -Xaw3d +doc -toolbar +truetype +unicode 727 kB [ebuild  N] 
>> sys-libs/libutempter-1.1.2.1  21 kB
>>
>> Total size of downloads: 749 kB
>>
>> !!! Error: The above package list contains packages which cannot be
>> installed !!!on the same system.
>>
>> I *thought* I knew what to do when such a blockage occurs.  I
>>
>> 1.  did a quickpge utempter (for safety)
>>
>> 2.  unmerged utempter
>>
>> 3.  emerged libutempter
>>
>> 4.  re-emerged utempter (from the portage tree not /usr/portage/packages)
>>
>> No errors were reported during any of these 4 steps.  But now an
>> emerge world reports
>>
>> Calculating world dependencies ...done!
>> [blocks B ] sys-apps/utempter (is blocking
>> sys-libs/libutempter-1.1.2.1) [nomerge  ] x11-terms/xterm-207-r1 
>> -Xaw3d +doc -toolbar +truetype +unicode [nomerge  ] 
>> sys-libs/libutempter-1.1.2.1
>>
>> Total size of downloads: 0 kB
>>
>> !!! Error: The above package list contains packages which cannot be
>> installed !!!on the same system.
>>
>> Reading the ebuilds I can see the problem.
>>
>>* both: PROVIDE="virtual/utempter"
>>
>>* libutempter demands exclusivity: DEPEND="!virtual/utempter"
>>
>> So they really do block.  Which one am I supposed to keep and which
>> one should I unmerge ...
>>
>> ... and how should I have figured this out?
>>
>> What is the correct procedure when a blockage is encountered?  Should
>> I write a wiki page with this information?
>>
>> thanks,
>> allan
>
> There was a blog entry on planet gentoo recently about this:
>
> http://planet.gentoo.org/developers/seemant/2006/06/02/utemptations_with_xterm
>
> It looks like you have to unmerge utempter and then emerge libutempter and 
> rebuild xterm.
>
> -- 
> Raymond Lewis Rebbeck

Thanks for the pointer.  It is just what I needed.

(I reorganized your response into bottom-posting style, which I
believe is the convention for this group).

So this utmpter/libutmpter appears to be a special case where the
normal

   unmerge A
   merge B
   merge A

is wrong.

thanks again,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] utempter vs libutempter

2006-06-03 Thread Allan Gottlieb
When doing an

  emerge --tree --ask --verbose --newuse --update --deep world

I received the following error

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
[ebuild U ] x11-terms/xterm-207-r1 [207] -Xaw3d +doc -toolbar +truetype 
+unicode 727 kB
[ebuild  N]  sys-libs/libutempter-1.1.2.1  21 kB

Total size of downloads: 749 kB

!!! Error: The above package list contains packages which cannot be 
installed
!!!on the same system.

I *thought* I knew what to do when such a blockage occurs.  I

1.  did a quickpge utempter (for safety)

2.  unmerged utempter

3.  emerged libutempter

4.  re-emerged utempter (from the portage tree not /usr/portage/packages)

No errors were reported during any of these 4 steps.  But now an
emerge world reports

Calculating world dependencies ...done!
[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
[nomerge  ] x11-terms/xterm-207-r1  -Xaw3d +doc -toolbar +truetype 
+unicode
[nomerge  ]  sys-libs/libutempter-1.1.2.1

Total size of downloads: 0 kB

!!! Error: The above package list contains packages which cannot be 
installed
!!!on the same system.

Reading the ebuilds I can see the problem.

   * both: PROVIDE="virtual/utempter"

   * libutempter demands exclusivity: DEPEND="!virtual/utempter"

So they really do block.  Which one am I supposed to keep and which
one should I unmerge ...

... and how should I have figured this out?

What is the correct procedure when a blockage is encountered?  Should
I write a wiki page with this information?

thanks,
allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Change profile

2006-06-02 Thread Allan Gottlieb
At Fri, 02 Jun 2006 17:47:03 +0100 Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Fri, 02 Jun 2006 12:33:39 -0400, Allan Gottlieb wrote:
>
>> Which version of emerge/portage is being discussed?
>
> 2.1-rc3

That explains why I didn't see it.  Thanks.

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



Re: [gentoo-user] Change profile

2006-06-02 Thread Allan Gottlieb
At Fri, 02 Jun 2006 00:29:10 +0100 Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Fri, 2 Jun 2006 00:48:21 +0200, Hemmann, Volker Armin wrote:
>
>> > You'll need to add --update --deep to catch packages affected by the
>> > changed USE flags.
>> 
>> no you have not:
>> 
>> emerge -a --newuse world
>> >>> --newuse implies --update... adding --update to options.
>> 
>> and I can't remember that this was different in the past.
>
> Yes it was. Adding --update pulled in extra packages, even though they
> were the same version as installed. This was somewhat counter-intuitive,
> so the new behaviour makes more sense. You should still need --deep
> though.

Which version of emerge/portage is being discussed?  I am running
portage-2.0.54-r2.  The man page for emerge suggests (but does not
state) that --update is still needed.

  --update (-u)

Updates packages to the best version available, which may not
always be the highest version number due to masking for
testing and development.  This will also update direct
dependencies which may not be what you want.  In general, use
this option only in combination with the world or system
target.

I also don't see an explicit mention that --newuse implies --update

  --newuse (-N)

Tells emerge to include installed packages where USE flags
have changed since compilation.  An asterisk marks when a USE
flag has changed since the package was compiled.

Thanks in advance for the clarification and also a general thank you
for your high-quality contributions to the newsgroup.

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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-25 Thread Allan Gottlieb
At Thu, 25 May 2006 18:21:39 + Alex <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> At Thu, 25 May 2006 10:40:26 + Alex <[EMAIL PROTECTED]> wrote:
>>
>>>Allan Gottlieb wrote:
>>>
>>>>You have to do experiments.  It depends heavily on your application
>>>>mix.
>>>
>>>Yes, that would be the best, but I'm wondering how, because e.g. "time
>>>bzip2 -9 foobar" wouldn't be helpfull. So now I've switched to "-Os"
>>>and soon I can test, if it's a real difference.
>> Please report back your findings, including the application mix you
>> tested.  Although "scientific" timed benchmarks are important, I would
>> also be interested in how the system feels.  For the latter ("feels"),
>> you should qualitatively describe the use of the system (web server,
>> desktop, laptop, etc) and what you commonly run (program devel, games,
>> scientific/engineering apps, etc).
>> thanks,
>> allan
>
> Hi,
>
> I've a desktop system and I commonly use applications like firefox,
> thunderbird and so on, kde, gaim and a terminal is nearly always
> there. Sometimes I'm running vim or kate.
>
> If you're interested in some tests, not relevant for desktop systems,
> there are some I made:
>
> Time wasted to compress a 416 mb tar:
>  bzip2   gzip
> -O3 2m40.882s   1m20.445s
> -Os 2m39.314s   1m21.157s
>
> decompress:
>  bzip2   gzip
> -O3 0m52.575s   0m4.972s
> -Os 0m53.387s   0m4.828s
>
> Convert 203 Mbs MP3s to WAV using LAME:
> -O3 14m4.461s
> -Os 16m50.599s
>
> from wav to mp3:
> -O3 1m1.708s
> -Os 1m12.841s
>
> Now I'm emerging -e world with -Os. When it is finished, I'll mail you
> the results.

The conversion programs you ran might not stress the memory system.  I
suspect that they only keep a fixed size portion of the input and
output files in memory when you run them with ever larger inputs.

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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-25 Thread Allan Gottlieb
At Thu, 25 May 2006 10:40:26 + Alex <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> You have to do experiments.  It depends heavily on your application
>> mix.
>
> Yes, that would be the best, but I'm wondering how, because e.g. "time
> bzip2 -9 foobar" wouldn't be helpfull. So now I've switched to "-Os"
> and soon I can test, if it's a real difference.

Please report back your findings, including the application mix you
tested.  Although "scientific" timed benchmarks are important, I would
also be interested in how the system feels.  For the latter ("feels"),
you should qualitatively describe the use of the system (web server,
desktop, laptop, etc) and what you commonly run (program devel, games,
scientific/engineering apps, etc).

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Allan Gottlieb
At Wed, 24 May 2006 23:24:50 + Alex <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> Often the bigger problem with large binaries is that their working
>> sets exceeds the sizes of the L1 and (possibly) L2 caches.
>
> Well, I'm using -O3 and I have 1Mb L2, do you think I should "migrate"
> to -Os?

You have to do experiments.  It depends heavily on your application
mix.

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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Allan Gottlieb
At Wed, 24 May 2006 20:52:21 + Alex <[EMAIL PROTECTED]> wrote:

> Hi,
>
> znx wrote:
>> http://gentoo-wiki.com/TIP_Free_up_disk_space_in_Gentoo
>
>  > Using  CFLAGS="-Os" or  CFLAGS="-O2" is much more effective on
>  > a desktop system and can shave off more than 30% of the size. This is
>  > because larger binaries (like the HUGE ones produced by -O3)
>  > take longer to load, and occupy more RAM.
>
> Is that always true? I mean, I'm not loading and unloading
> applications the whole time. Additionally I've enough RAM for all
> applications I use and so I can't imagine that (on my computer with my
> use) applications, which are slower and smaller, can be faster than
> applications which are bigger and faster.

Often the bigger problem with large binaries is that their working
sets exceeds the sizes of the L1 and (possibly) L2 caches.  So, you
may well be right that your gigabytes of RAM greatly reduce disk
access to load and demand page applications, you may still get a
slowdown due to cache misses.  Central memory, which is the fast &
small storage when considering demand paging, is the large but slow
storage when considering caching.

allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge error with sys-apps/apmd

2006-05-19 Thread Allan Gottlieb
At Fri, 19 May 2006 18:48:52 -0400 JimD <[EMAIL PROTECTED]> wrote:

> I am getting this error when trying to update apmd.
>
> [EMAIL PROTECTED] $ sudo emerge -vb sys-apps/apmd
> Calculating dependencies... done!
 Emerging (1 of 1) sys-apps/apmd-3.2.2_p5 to /
 checking ebuild checksums ;-)
 checking auxfile checksums ;-)
 checking miscfile checksums ;-)
 checking apmd_3.2.2.orig.tar.gz ;-)
 checking apmd_3.2.2-5.diff.gz ;-)
 Unpacking source...
 Unpacking apmd_3.2.2.orig.tar.gz to /var/tmp/portage/apmd-3.2.2_p5/work
 Unpacking apmd_3.2.2-5.diff.gz to /var/tmp/portage/apmd-3.2.2_p5/work
>  * Applying apmd_3.2.2-5.diff ...
>
>
> ...
>
> i686-pc-linux-gnu-g++:
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No such file or
> directory
>
> ...
>
> The weird thing is that I have gcc 3.4.5 installed, not 3.4.4.  Is there
> some system file that is telling libtool to use 3.4.4?

I think you need to re-emerge libtool
and then run

fix_libtool_files.sh 3.4.4

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



Re: [gentoo-user] Trouble updating apmd (wrong gcc version?) (SOLVED)

2006-05-15 Thread Allan Gottlieb
At Mon, 15 May 2006 15:29:18 -0400 Allan Gottlieb <[EMAIL PROTECTED]> wrote:

> At Mon, 15 May 2006 20:55:41 +0300 Rumen Yotov <[EMAIL PROTECTED]> wrote:
>
>> Allan Gottlieb wrote:
>>> At Mon, 15 May 2006 22:07:08 +0530 Farhan Ahmed <[EMAIL PROTECTED]> wrote:
>>> 
>>>> Allan Gottlieb wrote:
>>>>> My normal 
>>>>>
>>>>>emerge --tree --ask --verbose --newuse --update --deep world
>>>>>
>>>>> produced the following
>>>>>
>>>>> [snip]
>>>>>
>>>>> libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
>>>>> -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I 
>>>>> /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" 
>>>>> -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
>>>>> libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib 
>>>>> -version-info 1:0
>>>>> i686-pc-linux-gnu-g++: 
>>>>> /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No such file or 
>>>>> directory
>>>>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: 
>>>>> No such file or directory
>>>>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No 
>>>>> such file or directory
>>>>> i686-pc-linux-gnu-g++: 
>>>>> /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No such file or 
>>>>> directory
>>>>> make: *** [libapm.la] Error 1
>>>>> make: *** Waiting for unfinished jobs
>>>>> apmsleep.c:60: warning: 'rcsid' defined but not used
>>>>> rm apm.o
>>>>>
>>>>> ajglap ~ # ls  /usr/lib/gcc/i686-pc-linux-gnu
>>>>> 3.4.5
>>>>> ajglap ~ #
>>>> Try this
>>>>
>>>>   # gcc-config i686-pc-linux-gnu-3.4.5
>>>>   # source /etc/profile
>>> 
>>> Thanks, but this does not appear to help.
>>> 
>
> [Snip (same error as above)]
>
>> Hi,
>> Run "fix_libtool_files.sh 3.4.4", but first run it w/o arguments (3.4.4)
>> just to see the options.
>> Then run it again w/ required options.
>> HTH.Rumen
>
> Thank you.  I had tried this before, but to be sure I tried it again
> (I have never changed CHOST so don't need --oldarch).
>
> ajglap ~ # fix_libtool_files.sh 3.4.4

[snip (same error as above)]

Seems I had forgotten a basic magic lesson.  One must re-emerge
libtool when you upgrade the compiler.  After executing

   emerge libtool
   fix_libtool_files.sh 3.4.4

all is well.

thanks to all,
allan

PS I had my memory jogged by a similar problem/fix in b.g.o for apmd.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trouble updating apmd (wrong gcc version?)

2006-05-15 Thread Allan Gottlieb
At Mon, 15 May 2006 20:55:41 +0300 Rumen Yotov <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> At Mon, 15 May 2006 22:07:08 +0530 Farhan Ahmed <[EMAIL PROTECTED]> wrote:
>> 
>>> Allan Gottlieb wrote:
>>>> My normal 
>>>>
>>>>emerge --tree --ask --verbose --newuse --update --deep world
>>>>
>>>> produced the following
>>>>
>>>> [snip]
>>>>
>>>> libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
>>>> -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I 
>>>> /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" 
>>>> -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
>>>> libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib 
>>>> -version-info 1:0
>>>> i686-pc-linux-gnu-g++: 
>>>> /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No such file or 
>>>> directory
>>>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: 
>>>> No such file or directory
>>>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No 
>>>> such file or directory
>>>> i686-pc-linux-gnu-g++: 
>>>> /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No such file or 
>>>> directory
>>>> make: *** [libapm.la] Error 1
>>>> make: *** Waiting for unfinished jobs
>>>> apmsleep.c:60: warning: 'rcsid' defined but not used
>>>> rm apm.o
>>>>
>>>> ajglap ~ # ls  /usr/lib/gcc/i686-pc-linux-gnu
>>>> 3.4.5
>>>> ajglap ~ #
>>> Try this
>>>
>>>   # gcc-config i686-pc-linux-gnu-3.4.5
>>>   # source /etc/profile
>> 
>> Thanks, but this does not appear to help.
>> 

[Snip (same error as above)]

> Hi,
> Run "fix_libtool_files.sh 3.4.4", but first run it w/o arguments (3.4.4)
> just to see the options.
> Then run it again w/ required options.
> HTH.Rumen

Thank you.  I had tried this before, but to be sure I tried it again
(I have never changed CHOST so don't need --oldarch).

ajglap ~ # fix_libtool_files.sh 3.4.4
 * Scanning libtool files for hardcoded gcc library paths...
 *   [1/7] Scanning /lib ...
 *   [2/7] Scanning /usr/lib ...
 *   [3/7] Scanning //usr//lib/opengl/nvidia/lib ...
 *   [4/7] Scanning /opt/blackdown-jdk-1.4.2.03/jre/lib/i386 ...
 *   [5/7] Scanning /usr/games/lib ...
 *   [6/7] Scanning /usr/i686-pc-linux-gnu/lib ...
 *   [7/7] Scanning /usr/local/lib ...
ajglap ~ # emerge --ask apmd

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] sys-apps/apmd-3.2.2_p5 [3.2.1_p4]

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) sys-apps/apmd-3.2.2_p5 to /
>>> md5 files   ;-) apmd-3.0.2-r3.ebuild
>>> md5 files   ;-) apmd-3.2.0.ebuild
>>> md5 files   ;-) apmd-3.2.1_p4.ebuild
>>> md5 files   ;-) apmd-3.2.2_p5.ebuild
>>> md5 files   ;-) files/apmsleep.c.diff
>>> md5 files   ;-) files/apmd.rc6
>>> md5 files   ;-) files/apmd-3.2.0.kernel26x.patch
>>> md5 files   ;-) files/apmd.confd
>>> md5 files   ;-) files/apmd.kernel26x.patch
>>> md5 files   ;-) files/apmsleep.c.diff.3.2.0
>>> md5 files   ;-) files/digest-apmd-3.0.2-r3
>>> md5 files   ;-) files/digest-apmd-3.2.0
>>> md5 files   ;-) files/digest-apmd-3.2.1_p4
>>> md5 files   ;-) files/apmd-no-on_ac_power_script.patch
>>> md5 files   ;-) files/digest-apmd-3.2.2_p5
>>> md5 src_uri ;-) apmd_3.2.2.orig.tar.gz
>>> md5 src_uri ;-) apmd_3.2.2-5.diff.gz
>>> Unpacking source...
>>> Unpacking apmd_3.2.2.orig.tar.gz to /var/tmp/portage/apmd-3.2.2_p5/work
>>> Unpacking apmd_3.2.2-5.diff.gz to /var/tmp/portage/apmd-3.2.2_p5/work
 * Applying apmd_3.2.2-5.diff ... [ ok 
] * Applying apmd-no-on_ac_power_script.patch ...  [ ok 
]>>> Source unpacked.
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include 
-DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmlib.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include 
-DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apm.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include 
-DVERSION=\"3.2.1\"

Re: [gentoo-user] Trouble updating apmd (wrong gcc version?)

2006-05-15 Thread Allan Gottlieb
At Mon, 15 May 2006 22:07:08 +0530 Farhan Ahmed <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> My normal 
>> 
>>emerge --tree --ask --verbose --newuse --update --deep world
>> 
>> produced the following
>> 
>> [snip]
>> 
>> libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
>> -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I 
>> /usr/src/linux-2.0/include -DVERSION=\"3.2.1\" 
>> -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
>> libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib 
>> -version-info 1:0
>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: 
>> No such file or directory
>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No 
>> such file or directory
>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No 
>> such file or directory
>> i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: 
>> No such file or directory
>> make: *** [libapm.la] Error 1
>> make: *** Waiting for unfinished jobs
>> apmsleep.c:60: warning: 'rcsid' defined but not used
>> rm apm.o
>> 
>> ajglap ~ # ls  /usr/lib/gcc/i686-pc-linux-gnu
>> 3.4.5
>> ajglap ~ #
>
> Try this
>
>   # gcc-config i686-pc-linux-gnu-3.4.5
>   # source /etc/profile

Thanks, but this does not appear to help.

ajglap ~ # gcc-config i686-pc-linux-gnu-3.4.5
 * Switching native-compiler to i686-pc-linux-gnu-3.4.5 ...   [ ok ]
ajglap ~ # source /etc/profile
ajglap ~ # emerge --ask apmd

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild U ] sys-apps/apmd-3.2.2_p5 [3.2.1_p4]

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) sys-apps/apmd-3.2.2_p5 to /
>>> md5 files   ;-) apmd-3.0.2-r3.ebuild
>>> md5 files   ;-) apmd-3.2.0.ebuild
>>> md5 files   ;-) apmd-3.2.1_p4.ebuild
>>> md5 files   ;-) apmd-3.2.2_p5.ebuild
>>> md5 files   ;-) files/apmsleep.c.diff
>>> md5 files   ;-) files/apmd.rc6
>>> md5 files   ;-) files/apmd-3.2.0.kernel26x.patch
>>> md5 files   ;-) files/apmd.confd
>>> md5 files   ;-) files/apmd.kernel26x.patch
>>> md5 files   ;-) files/apmsleep.c.diff.3.2.0
>>> md5 files   ;-) files/digest-apmd-3.0.2-r3
>>> md5 files   ;-) files/digest-apmd-3.2.0
>>> md5 files   ;-) files/digest-apmd-3.2.1_p4
>>> md5 files   ;-) files/apmd-no-on_ac_power_script.patch
>>> md5 files   ;-) files/digest-apmd-3.2.2_p5
>>> md5 src_uri ;-) apmd_3.2.2.orig.tar.gz
>>> md5 src_uri ;-) apmd_3.2.2-5.diff.gz
>>> Unpacking source...
>>> Unpacking apmd_3.2.2.orig.tar.gz to /var/tmp/portage/apmd-3.2.2_p5/work
>>> Unpacking apmd_3.2.2-5.diff.gz to /var/tmp/portage/apmd-3.2.2_p5/work
 * Applying apmd_3.2.2-5.diff ... [ ok ]
 * Applying apmd-no-on_ac_power_script.patch ...  [ ok ]
>>> Source unpacked.
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/inclu de -I/usr/src/linux-2.2/include -I 
/usr/src/linux-2.0/include -DVERSION=\"3.2.1\ " 
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmlib.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/inclu de -I/usr/src/linux-2.2/include -I 
/usr/src/linux-2.0/include -DVERSION=\"3.2.1\ " 
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apm.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/inclu de -I/usr/src/linux-2.2/include -I 
/usr/src/linux-2.0/include -DVERSION=\"3.2.1\ " 
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmd.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/inclu de -I/usr/src/linux-2.2/include -I 
/usr/src/linux-2.0/include -DVERSION=\"3.2.1\ " 
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" -DNARROWPROTO xapm.c
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/inclu de -I/usr/src/linux-2.2/include -I 
/usr/src/linux-2.0/include -DVERSION=\"3.2.1\ " 
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib 
-version- info 1:0
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No 
such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No 
such  file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No such 
f ile or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No 
such file or directory
make: *** [libapm.la] Error 1
make: *** Waiting for unfinished jobs
apmsleep.c:60: warning: 'rcsid' defined but not used
rm apm.o
ajglap ~ #
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Trouble updating apmd (wrong gcc version?)

2006-05-15 Thread Allan Gottlieb
My normal 

   emerge --tree --ask --verbose --newuse --update --deep world

produced the following

[snip]

libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.  
-I/usr/X11R6/include -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include 
-DVERSION=\"3.2.1\" -DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib 
-version-info 1:0
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No 
such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No 
such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No such 
file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No 
such file or directory
make: *** [libapm.la] Error 1
make: *** Waiting for unfinished jobs
apmsleep.c:60: warning: 'rcsid' defined but not used
rm apm.o

ajglap ~ # ls  /usr/lib/gcc/i686-pc-linux-gnu
3.4.5
ajglap ~ #

I did not find a relate bug in bugs.gentoo.org.

Thanks in advance for any help,
allan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo-wiki

2006-01-30 Thread Allan Gottlieb
At Mon, 30 Jan 2006 14:15:13 + znx <[EMAIL PROTECTED]> wrote:

> Hi,
>
> My guess is this:
> http://gentoo-wiki.com/Gentoo_Linux_Wiki:Fundraising  (if you can get there)
>
> Also see:
> http://digg.com/linux_unix/Gentoo_Wiki_Fundraising (if you can't :P)

To whom/what do we make the check and to what address should it be
sent?

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Are multiple emerges safe?

2006-01-29 Thread Allan Gottlieb
At Sun, 29 Jan 2006 13:03:19 -0600 Dale <[EMAIL PROTECTED]> wrote:

> Alexander Skwar wrote:
>
>>Something that I always wondered about - does it
>>actually *lose* speed? IOW: Is it, *IN* *TOTAL*
>>slower to do multiple emerges in parallel compared
>>to doing them sequentially?
>>
> I'm no guru for sure but here is my $.02 worth.  Let's say emerge one
> takes ten minutes and emerge two takes 30 minutes.  If you have a single
> CPU machine I would think that if both were started at the same time,
> the both of them would take 40 minutes.  So in my theory, "emerge one &&
> emerge two" should be the same as doing seperately.

It is more complicated than that.

1.  A single CPU machine most likely has a DMA I/O controller and
hence more than one action can be concurrent.

2.  I/O itself causes long delays while the disk is active, with a
second emerge (or any other processor) the CPU can be concurrent
with this delay.

These two argue for the concurrent emerges to be faster, but

3.  The context switching between processes is not free and adds CPU
(at least) requirements to the concurrent emerge situation.

4.  The concurrent invocation increases the cache pressure (i.e.,
demand) which most likely increases the cache miss rate.

5.  Similarly for the buffer cache.

etc

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



Re: [gentoo-user] This is weird. upgrade and downgrade at the same time. ???

2005-12-25 Thread Allan Gottlieb
At Sat, 24 Dec 2005 15:19:27 +0100 Holly Bostick <[EMAIL PROTECTED]> wrote:

> It's not much use telling a native Dutch
> speaker to choose Edit=>Preferences=>Composition=>Send Options if their
> desktop is not in English, they don't speak English,

Really?  My (limited) experiences with native dutch people is that
their spoken english is such that the best way to detect that they are
dutch and not american is to notice the complete absence of
grammatical errors.

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



Re: [gentoo-user] vmware workstation daemon problem

2005-12-11 Thread Allan Gottlieb
At Sun, 11 Dec 2005 23:33:31 +0100 Jan Callewaert <[EMAIL PROTECTED]> wrote:

> 2005/12/11, Richard Fish <[EMAIL PROTECTED]>:
>> On 12/11/05, Grant <[EMAIL PROTECTED]> wrote:
>> > Hello, the vmware workstation daemon has always seemed a bit touchy,
>> > but it's being persistent this time.  When I run:
>> >
>> > /opt/vmware/workstation/bin/vmware-config.pl
>> >
>> > the daemon is started properly and I can fully use the application.
>> > But when Gentoo tries to start the daemon, 2 of the processes always
>> > fail and vmware-config.pl must be run again for it to start properly.
>> > Even trying to run 'rc' right after a successful completion of
>> > vmware-config.pl fails.
>>
>> When I was using workstation 4.5, I found the best results if you run
>> /etc/vmware/init.d/vmware stop after vmware-config.pl:
>>
>> vmware-config.pl -default
>> /etc/vmware/init.d/vmware stop
>> /etc/init.d/vmware start
>>
>> HTH,
>> -Richard
>>
>> --
>> gentoo-user@gentoo.org mailing list
>>
>>
>
> There is file in the directory /etc/vmware which you have to delete
> after a configure, for some strange reason. It's a blank file, but
> unfortunately I can't remember the filename anymore. Pbb something
> with config in its name.

I believe it is called "notconfigured" and yes it is zero length.

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



Re: [gentoo-user] Laptop Install Issue

2005-12-11 Thread Allan Gottlieb
At Sun, 11 Dec 2005 15:27:10 + "C. Beamer" <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>
>>Had you built xorg-x11 when the kernel didn't have acpi support?
>>I ask because a long build could be raising the temperature of your
>>laptop and it is shutting off to save itself from frying.
>>
>>I have had dell service replace motherboards on two laptops because of
>>this problem.
>>
>
> Actually, my laptop is a Dell.  To answer your question, I had build
> acpi into the kernel prior to trying to emerge xorg-x11.

I would say that it is then more likely to be heat caused by the long
build than by acpi.  But of course you can turn off acpi and try the
emerge again to be sure.

> However, I didn't change any of the default selections that were
> there when I ran genkernel --menuconfig all.  The think I didn't do
> was emerge acpid and adjust the settings as per the instructions in
> the ACPI Guide.  I'm going to try this now to see if that fixes the
> problem.
>
> Another thing, there was a choice to build Dell laptop support into the
> kernel and I selected this.  Hopefully, that isn't 'causing anything
> "quirky".

I have a dell 5150 and the only kernel options I remember were for a
different dell (8600?) so I didn't use them.

I would run dell's diagnostic.  The best case (assuming you have a
service contract) would be if it found an error; the second best would
be if the machine turned off during the diagnostic.

I have dell service and when the laptop turned off, dell fixed it with
no real fuss.

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



Re: [gentoo-user] Laptop Install Issue

2005-12-11 Thread Allan Gottlieb
At Sun, 11 Dec 2005 10:42:13 + "C. Beamer" <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> I'm at the point where I can boot the system and I've been trying to
> install xorg-x11.  However, the laptop keeps powering off on me.
>
> This wasn't a problem until I build the kernel where I built acpi
> support into it.  However, I *didn't* read the ACPI Guide and obviously,
> should have.  That's no big problem, I'll just recompile the kernel and
> follow what the Guide says.

Had you built xorg-x11 when the kernel didn't have acpi support?
I ask because a long build could be raising the temperature of your
laptop and it is shutting off to save itself from frying.

I have had dell service replace motherboards on two laptops because of
this problem.  But it could be much simpler

1.  Make sure you don't have any vents blocked.  For example, don't
place your laptop on a soft surface if it has bottom vents.

2.  Blow or vacuum the vents to hopefully remove any blockage.

> My issue is this:  The computer powered off in the middle of the install
> of xorg-x11.  This has happened a couple of times.  I haven't been
> having problems with the laptop, so I'm pretty sure the issue has
> something to do with power management since I built power management
> into the kernel, but didn't emerge acpid.  Anyway, since the emerge of
> xorg-x11 has bombed a couple of times, is there anything that I should
> do in the way of clean up before trying to emerge it again?

It is of course not good to have a machine shut off in the middle of
execution.  I don't know if the heat sensing shutoff has fail-stop or
byzantine semantics.  Presumably your file systems are journaling so
you have a good chance of surviving without any damage (I would do an
e2fsck -f   --or equivalent for your filesystem type--
on each filesystem, but I am somewhat paranoid).

Having an emerge stop (say by Control-C) in the middle of a *compile*
phase should not be a serious problem.  You might check
/var/tmp/portage to see if the tmp directory for xorg-x11 is still
there.

hth,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] "ACCESS VIOLATION" with emerge -e world

2005-12-11 Thread Allan Gottlieb
At Sun, 11 Dec 2005 02:35:01 -0600 Roy Wright <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>
>>After upgrading gcc I did the safer post-installation,
>>   emerge -e system
>>   emerge -e world
>>
>>The first went fine.  The second died after about 300 emerges and
>>printed
>>
>>making executable: /usr/lib/libgtkhtml-1.1.so.3.0.5
>>>>> Completed installing gtkhtml-1.1.10-r1 into 
>> /var/tmp/portage/gtkhtml-1.1.10-r1/image/
>>
>>--- ACCESS VIOLATION SUMMARY 
>> ---
>>LOG FILE = 
>> "/var/log/sandbox/sandbox-gnome-extra_-_gtkhtml-1.1.10-r1-32251.log"
>>
>>open_wr:   /usr/share/gnome/html/gtkhtml/gtkhtml-gtkhtml-enums.html.new
>>
>> 
>>ajglap ~ #
>>
> Check your disk space.  I hit the same problem and was out of space on
> root...
> /var/logs got slashed.
> /var/tmp/portage got bound to a different drive
> /var/cache/http-replicator got bound to a different drive
>
> Seems to require about 6GB of free space on root for my system...
>
> Sometimes emerge --resume works, sometimes it doesn't.  Haven't figured
> this out yet.  Currently at 318 of 1046 on emerge -e world...

The disk space was fine for these builds.  Apparently this is a know
problem, see bug #114399.  A workaround was given

unmerge gtkhtml
unmerge libgtkhtml
remove any gtkhtml and gtkhtml from /var/tmp/portage
emerge gtkhtml and libgtkhtml

This did fix it for me.  However, I had already done an
   emerge --resume --skipfirst
so the newly built [lib]gtkhtml (with gcc 3.4) were not available for
the remainder of myemerge -e world.
I also had some small problems with synaptics (I forget the problem)
and firefox (corrupted distfile).

Those two problems were easy to fix and the emerge -e world has
finished.  For "cleanliness"  I am running another emerge -e world
to see if it can go all the way through without any problems.
(I have run emerge depclean and revdep-rebuild.)

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



[gentoo-user] "ACCESS VIOLATION" with emerge -e world

2005-12-09 Thread Allan Gottlieb
After upgrading gcc I did the safer post-installation,
   emerge -e system
   emerge -e world

The first went fine.  The second died after about 300 emerges and
printed

making executable: /usr/lib/libgtkhtml-1.1.so.3.0.5
>>> Completed installing gtkhtml-1.1.10-r1 into 
/var/tmp/portage/gtkhtml-1.1.10-r1/image/

--- ACCESS VIOLATION SUMMARY 
---
LOG FILE = 
"/var/log/sandbox/sandbox-gnome-extra_-_gtkhtml-1.1.10-r1-32251.log"

open_wr:   /usr/share/gnome/html/gtkhtml/gtkhtml-gtkhtml-enums.html.new


ajglap ~ #

The exact emerge I used was

emerge -e --tree --verbose --ask  world

My make.conf is

#  -*- shell-script -*-
# These settings were set by the catalyst build script that
# automatically built this stage.
# Then edited by allan.
# Please consult /etc/make.conf.example for a more detailed example.

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O2"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
USE="apache2 doc dvd dvdr emacs firefox imap mime nvidia ppds \
 scanner tcltk unicode usb \
 -arts -kde -libg -oss -qt"
PORT_LOGDIR=/var/log/portage
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo 
http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ 
http://gentoo.mirrored.ca/ http://prometheus.cs.wmich.edu/gentoo";
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"

I presume I can safely do

emerge --resume --skipfirst

but will wait a few hours in case that is not advisible.

Thanks in advance for any help.

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



Re: [gentoo-user] Re: changing CHOST in stage3

2005-11-24 Thread Allan Gottlieb
At Thu, 24 Nov 2005 19:55:03 + Ciaran McCreesh <[EMAIL PROTECTED]> wrote:

> On Thu, 24 Nov 2005 12:48:34 -0500 Allan Gottlieb <[EMAIL PROTECTED]>
> wrote:
> | It surprises me that release engineering starts with a stage1 to get a
> | stage3 and then we use this stage3 to build a stage1.  I mention this
> | only out of curiosity; there is a stage3 with my desired CHOST and I
> | expect to do all future installs starting with stage3 (I formerly used
> | stage1).
>
> Well... You need a reasonably complete system to build a toolchain,
> hence the stage 3 seed. Building a toolchain with a different CHOST is
> pretty close to cross-compiling, so the only way you can do it safely
> is to start from scratch, hence building up from a stage 1.

Thank you for this clear explanation.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: changing CHOST in stage3

2005-11-24 Thread Allan Gottlieb
At Thu, 24 Nov 2005 04:58:07 + Ciaran McCreesh <[EMAIL PROTECTED]> wrote:

> On Wed, 23 Nov 2005 15:34:27 -0500 Allan Gottlieb <[EMAIL PROTECTED]>
> wrote:
> | At Tue, 22 Nov 2005 13:17:27 + Ciaran McCreesh
> | <[EMAIL PROTECTED]> wrote:
> | > The only way you can safely change CHOST is by making new stages
> | > through catalyst. There're various scripts which *sometimes* fix
> | > your system after a CHOST change, but they're not reliable...
> | 
> | Does this mean that, if one needs a CHOST value not represented in any
> | of the current stage3 tar files, your recommendation would be to begin
> | with a stage1?
>
> Nope. You need a stage3 to build a stage1 with a new CHOST.

In the faq (http://www.gentoo.org/doc/en/faq.xml#stage12) I find.

How do I Install Gentoo Using a Stage1 or Stage2 Tarball?

The Gentoo Handbook only describes a Gentoo installation using a
stage3 tarball. However, Gentoo still provides stage1 and stage2
tarballs. This is for development purposes (the Release Engineering
team starts from a stage1 tarball to obtain a stage3) but shouldn't be
used by users: a stage3 tarball can very well be used to bootstrap the
system. You do need a working Internet connection.

It surprises me that release engineering starts with a stage1 to get a
stage3 and then we use this stage3 to build a stage1.  I mention this
only out of curiosity; there is a stage3 with my desired CHOST and I
expect to do all future installs starting with stage3 (I formerly used
stage1).

thanks,
allan

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: changing CHOST in stage3

2005-11-23 Thread Allan Gottlieb
At Tue, 22 Nov 2005 13:17:27 + Ciaran McCreesh <[EMAIL PROTECTED]> wrote:

> The only way you can safely change CHOST is by making new stages
> through catalyst. There're various scripts which *sometimes* fix your
> system after a CHOST change, but they're not reliable...

Does this mean that, if one needs a CHOST value not represented in any
of the current stage3 tar files, your recommendation would be to begin
with a stage1?

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: default stage3

2005-11-21 Thread Allan Gottlieb
At Mon, 21 Nov 2005 14:13:14 +0100 "Hemmann, Volker Armin" <[EMAIL PROTECTED]> 
wrote:

> On Monday 21 November 2005 13:33, Steve B wrote:
>> WTF.. I'm getting ready to rebuild my gentoo box. I have always did a stage
>> 1 install. i was under the impression that if u used a stage 3 u couldn't
>> muck with your CFLAGS or what not.

We have a lot in common in this regard.

I also always had done stage1 installs.
I also misremembered that CFLAGS couldn't be changed if using stage3.
I also posted this mis-remembrance to the present list.

As was very politely explained to me:

1.  It was CHOST, not CFLAGS.

2.  You can (at least now, not sure about previously) actually change
CHOST, but must run a utility afterward.

3.  If you fiddle with USE flags, /etc/package.* files, etc, you can
get the effect of a customized stage1 install by recompiling
everything twice.  I suspect simply
 emerge -e world; emerge -e world

3A.  Only a few items really need to be compiled the first time.

3B.  There are scripts in the forums to do this "automatically".

Thus, I conclude that, unless you are changing bootstrap.sh (which I
never did), you really can get the effect of a stage1 starting with
stage3.

I would not use the term "faster" to describe the stage3 equivalent of
stage1, especially if you are lazy and do the double emerge -e world.
Instead, I would say that there are two advantages to the user

1.  You can use your machine for reading/sending mail, browsing the
web, etc while all the compilation is proceeding.  So the machine
is usable sooner, even if the procedure is not faster.

2.  You avoid the chance to make the kind of error I did in changed
USE flags too aggressively, *too early* in the process.

Perhaps more important is that there is one big advantage to the
developers and seasoned gentoo experts on this list.

1.  Fewer installation errors due to faulty understanding of a stage1
process results in fewer requests for help, requests that likely
to the expert seem to all be essentially the same, and do not lead
to improvement of the stage1 process.

A converted supported of stage3 --> stage1-equivalent installs,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Allan Gottlieb
At Thu, 17 Nov 2005 14:35:27 + Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Thu, 17 Nov 2005 08:52:47 -0500, Allan Gottlieb wrote:
>
>> What about -march ?  At one point that was something that you weren't
>> supposed to change unless using stage1.  If one changes -march after
>> stage3, are we supposed to first run bootstrap.sh before emerge -e ?
>
> There's no problem with changing -march, you're thinking of changing
> CHOST, which can break things. The answer is to run fix_libtool_files.sh
> after changing CHOST. I didn't change CHOST on this machine, because
> there is only one possible setting for it.

You are correct, I meant CHOST.  Seeing your answer, I now realize
why, unless one is changing bootstrap.sh, there is no need to do a
stage1 compile.

thank you,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-17 Thread Allan Gottlieb
At Thu, 17 Nov 2005 09:23:46 + Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 16 Nov 2005 19:03:18 -0800, Mark Knecht wrote:
>
>>Would you mind sharing what changes you made to your CFLAGS to get
>> the equivalent of a Stage 1 install?
>
> When installing a stage 3 you are using packages compiled with the
> default compiler and USE flags. All I did was set them up as I wanted and
> rebuilt everything with emerge -e world. The specific change I made in
> this case was changing -mcpu to G4 and adding -fomit-frame-pointer, which
> may be unnecessary. But that's not relevant, the emerge -e world is.

What about -march ?  At one point that was something that you weren't
supposed to change unless using stage1.  If one changes -march after
stage3, are we supposed to first run bootstrap.sh before emerge -e ?

Although I always did stage1 installs, I must confess to once getting
into trouble by changing USE flags "too early".  This taught me the
advantage of first going stage1-->stage2-->stage3 with the std USE
flags and only then changing USE flags.  I realize that in that case
one might as well start with stage3 (assuming you can change -march).

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fixing fstab

2005-11-14 Thread Allan Gottlieb
(I prefer bottom posting but am following the prev poster.)

I looks as though you had /boot on a separate partition from / (in you
new install).

So instead of

mount /dev/hda3 /mnt/gentoo

you need

mount /dev/hdax /mnt/gentoo

where x is 1 or 2 or whichever partition you used for /.

HTH,
allan

At Mon, 14 Nov 2005 16:23:41 -0500 Mark <[EMAIL PROTECTED]> wrote:

> Well, I thought so too. So I booted to the Universal CD. Then I did
>   mount /dev/hda3 /mnt/gentoo
>
> Then I did cd /mnt/gentoo and did a ls
>
> all I see is boot and lost+found
>
> Did I make a bigger mess than I thought?
>
> On 11/14/05, Petteri Räty <[EMAIL PROTECTED]> wrote:
>> Mark wrote:
>> > I made a mistake while creating my fstab on a new install, and I can't
>> > boot. If I use my Universal CD to boot up, what command(s) will I have
>> > to run to get access to the fstab to fix it? (I'm assuming I have to
>> > re-mount & chroot but I don't know specifically what to do). Thanks!
>>
>> You only need to mount your root partition to /mnt/gentoo and then
>> execute nano /mnt/gentoo/etc/fstab -w. You can change nano to another
>> editor if you like.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: java-config issues

2005-11-08 Thread Allan Gottlieb
At Tue, 08 Nov 2005 02:00:41 + Qian Qiao <[EMAIL PROTECTED]> wrote:

> On 11/8/05, Willie Wong <[EMAIL PROTECTED]> wrote:
>> On Mon, Nov 07, 2005 at 08:48:20PM +, Qian Qiao wrote:
>>
>> Can't resist: you left out one option. I do my updates unattended: I
>> sync, I look at what should be updated, set emerge up to run over
>> night to update those packages, and go to bed.
>>
>> BUT! I did set PORT_LOGDIR in /etc/make.conf and I check the next
>> morning to see if there are any important messages from einfo or
>> ewarn.
>>
>> To be honest, I can't quite imagine you staring at the screen for 2
>> bloody hours the next time you update glibc, or mozilla, or kde...
>
> Easy enough, pipe the output to a text file.

That seems fairly similar to PORT_LOGDIR.  I prefer the logdir, since
it splits off the portage messages into a separate file.

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



Re: [gentoo-user] Re: oops with 2.6.13-gentto-r3

2005-10-10 Thread Allan Gottlieb
At Sun, 09 Oct 2005 21:29:02 +0200 Benno Schulenberg <[EMAIL PROTECTED]> wrote:

> Allan Gottlieb wrote:
>> At Sun, 09 Oct 2005 07:56:18 +0200 Francesco Talamona 
>> <[EMAIL PROTECTED]> wrote:
>> > On Sunday 09 October 2005 04:37, Allan Gottlieb wrote:
>> >> make
>> >> make install#I don't have any modules
>> >
>> > In such cases first of all do a "make oldconfig".
>>
>> Really?  I did make menuconfig
>
> Ah, but you didn't say that.  :)  You said you "copied .config and 
> executed make; make install".

My error, sorry.  I thought I did say it, but I did not.
>
> Also, the nice thing of 'make oldconfig' is you get to see all the 
> new options, maybe showing something you want to use or look into 
> further.  What happens if you run oldconfig now?

Attached below is the output.  It wrote a new .config, which it
appears was not changed.

ajglap linux # diff .config .config.old
4c4
< # Mon Oct 10 16:32:22 2005
---
> # Sun Sep  4 00:11:24 2005


I note however that I will be following richard brown's advice and
applying the procedure in
http://dev.gentoo.org/~dsd/genpatches/bugs.htm.  Item 3 is.

If you compiled your kernel with "make oldconfig", then clear your
.config and manually configure it all again. You'd be suprised at how
many problems this fixes. Sometimes it is user error, sometimes it is
just oddities with the kernel build system. I personally don't like
"make oldconfig".

thanks,
allan

scripts/kconfig/conf -o arch/i386/Kconfig
#
# using defaults found in .config
#
*
* Linux Kernel Configuration
*
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
  Select only drivers expected to compile cleanly (CLEAN_COMPILE) [Y/n/?] y
*
* General setup
*
Local version - append to kernel release (LOCALVERSION) [] 
Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y
System V IPC (SYSVIPC) [Y/n/?] y
POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y
BSD Process Accounting (BSD_PROCESS_ACCT) [N/y/?] n
Sysctl support (SYSCTL) [Y/n/?] y
Auditing support (AUDIT) [N/y/?] n
Support for hot-pluggable devices (HOTPLUG) [Y/?] y
Kernel Userspace Events (KOBJECT_UEVENT) [Y/n/?] y
Kernel .config support (IKCONFIG) [N/y/?] n
Cpuset support (CPUSETS) [N/y/?] n
*
* Configure standard kernel features (for small systems)
*
Configure standard kernel features (for small systems) (EMBEDDED) [N/y/?] n
  Load all symbols for debugging/kksymoops (KALLSYMS) [Y/?] (NEW) y
Do an extra kallsyms pass (KALLSYMS_EXTRA_PASS) [N/y/?] n
*
* Loadable module support
*
Enable loadable module support (MODULES) [Y/n/?] y
  Module unloading (MODULE_UNLOAD) [N/y/?] n
  Module versioning support (EXPERIMENTAL) (MODVERSIONS) [N/y/?] n
  Source checksum for all modules (MODULE_SRCVERSION_ALL) [N/y/?] n
  Automatic kernel module loading (KMOD) [N/y/?] n
*
* Processor type and features
*
Subarchitecture Type
> 1. PC-compatible (X86_PC)
  2. AMD Elan (X86_ELAN)
  3. Voyager (NCR) (X86_VOYAGER)
  4. NUMAQ (IBM/Sequent) (X86_NUMAQ)
  5. Summit/EXA (IBM x440) (X86_SUMMIT)
  6. Support for other sub-arch SMP systems with more than 8 CPUs (X86_BIGSMP)
  7. SGI 320/540 (Visual Workstation) (X86_VISWS)
  8. Generic architecture (Summit, bigsmp, ES7000, default) (X86_GENERICARCH)
  9. Support for Unisys ES7000 IA32 series (X86_ES7000)
choice[1-9]: 1
Processor family
  1. 386 (M386)
  2. 486 (M486)
  3. 586/K5/5x86/6x86/6x86MX (M586)
  4. Pentium-Classic (M586TSC)
  5. Pentium-MMX (M586MMX)
  6. Pentium-Pro (M686)
  7. Pentium-II/Celeron(pre-Coppermine) (MPENTIUMII)
  8. Pentium-III/Celeron(Coppermine)/Pentium-III Xeon (MPENTIUMIII)
  9. Pentium M (MPENTIUMM)
> 10. Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon (MPENTIUM4)
  11. K6/K6-II/K6-III (MK6)
  12. Athlon/Duron/K7 (MK7)
  13. Opteron/Athlon64/Hammer/K8 (MK8)
  14. Crusoe (MCRUSOE)
  15. Efficeon (MEFFICEON)
  16. Winchip-C6 (MWINCHIPC6)
  17. Winchip-2 (MWINCHIP2)
  18. Winchip-2A/Winchip-3 (MWINCHIP3D)
  19. GeodeGX1 (MGEODEGX1)
  20. CyrixIII/VIA-C3 (MCYRIXIII)
  21. VIA C3-2 (Nehemiah) (MVIAC3_2)
choice[1-21]: 10
Generic x86 support (X86_GENERIC) [N/y/?] n
HPET Timer Support (HPET_TIMER) [Y/n/?] y
Symmetric multi-processing support (SMP) [Y/n/?] y
  Maximum number of CPUs (2-255) (NR_CPUS) [2] 2
  SMT (Hyperthreading) scheduler support (SCHED_SMT) [Y/n/?] y
Preemptible Kernel (PREEMPT) [Y/n/?] y
  Preempt The Big Kernel Lock (PREEMPT_BKL) [Y/n/?] y
Machine Check Exception (X86_MCE) [Y/n/?] y
  Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4 
(X86_MCE_NONFATAL) [Y/n/m/?] y
  check for P4 thermal throttling interrupt. (X86_MCE_P4THERMAL) [Y/n/?] y
Toshiba Laptop support (TOSHIBA) [N/m/y/?] n
Dell laptop support (I8K) [N/m/y/?] n
Enable X86 board specific fixups for reboot (X86_REBOOTFIXUPS) [N/

Re: [gentoo-user] Re: oops with 2.6.13-gentto-r3

2005-10-09 Thread Allan Gottlieb
At Sun, 09 Oct 2005 07:56:18 +0200 Francesco Talamona <[EMAIL PROTECTED]> wrote:

> On Sunday 09 October 2005 04:37, Allan Gottlieb wrote:
>> make
>> make install#I don't have any modules
>
> In such cases first of all do a "make oldconfig".

Really?  I did make menuconfig and have never used oldconfig before
when moving to a new kernel.

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



[gentoo-user] oops with 2.6.13-gentto-r3

2005-10-08 Thread Allan Gottlieb
I just emerged gentoo-sources and obtained 2.6.13-gentoo-r3.
I copied over my .config from linux-2.6.12-gentoo-r10 then executed

make
make install#I don't have any modules

When I booted an oops occurred, the output of dmsg is attached
as is my .config.

The .config contains two variables not use in 2.6.13.  I am fairly
sure no harm is done leaving the variables there, but I did a run with
them removed and an oops still occurred.

I think my .config is fairly vanilla.  I do have an SMT intel
processor (dell 5150--/proc/cpuinfo is below).

[EMAIL PROTECTED] ~ $ gcc --version
gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

[EMAIL PROTECTED] ~ $ /sbin/lspci
:00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor 
to I/O Controller (rev 02)
:00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV 
Processor to I/O Controller (rev 02)
:00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV 
Processor to I/O Controller (rev 02)
:00:01.0 PCI bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor 
to AGP Controller (rev 02)
:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM 
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM 
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM 
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 
EHCI Controller (rev 01)
:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
:00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface 
Bridge (rev 01)
:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller 
(rev 01)
:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM 
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) 
AC'97 Modem Controller (rev 01)
:01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX 
Go5200] (rev a1)
:02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 
01)
:02:02.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 
02)
:02:04.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus 
Controller (rev 02)
:02:04.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 
Controller

Any help would be appreciated.
thanks,
allan

Linux version 2.6.13-gentoo-r3 ([EMAIL PROTECTED]) (gcc version 3.3.6 (Gentoo 
3.3.6, ssp-3.3.6-1.0, pie-8.7.8)) #1 SMP Sat Oct 8 22:19:26 EDT 2005
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f000 (usable)
 BIOS-e820: 0009f000 - 000a (reserved)
 BIOS-e820: 0010 - 3ffcf800 (usable)
 BIOS-e820: 3ffcf800 - 4000 (reserved)
 BIOS-e820: fec0 - fec2 (reserved)
 BIOS-e820: feda - fee1 (reserved)
 BIOS-e820: ffb0 - 0001 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
On node 0 totalpages: 262095
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 32719 pages, LIFO batch:15
DMI 2.3 present.
ACPI: RSDP (v000 DELL  ) @ 0x000fdea0
ACPI: RSDT (v001 DELLCPi R   0x27d40c0a ASL  0x0061) @ 0x3fff
ACPI: FADT (v001 DELLCPi R   0x27d40c0a ASL  0x0061) @ 0x3fff0400
ACPI: MADT (v001 DELLCPi R   0x27d40c0a ASL  0x0047) @ 0x3fff0c00
ACPI: BOOT (v001 DELLCPi R   0x27d40c0a ASL  0x0061) @ 0x3fff07c0
ACPI: DSDT (v001 INT430 SYSFexxx 0x1001 MSFT 0x010e) @ 0x
ACPI: Local APIC address 0xfee0
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:2 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec0, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 4000 (gap: 4000:bec0)
Built 1 zonelists
Kernel command line: root=/dev/hdc3 init 1
mapped APIC to d000 (fee0)
mapped IOAPIC to c000 (fec0)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 3189.812 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries

Re: [gentoo-user] mplayer, audio but no video

2005-09-25 Thread Allan Gottlieb
At Sun, 25 Sep 2005 20:06:00 +0100 Peter Ruskin <[EMAIL PROTECTED]> wrote:

> On Sunday 25 September 2005 19:25, Allan Gottlieb wrote:
>> At Sun, 25 Sep 2005 13:37:08 -0400 Walter Dnes 
> <[EMAIL PROTECTED]> wrote:
>> > On Sun, Sep 25, 2005 at 07:14:32AM -0700, Mark Knecht wrote
>> >
>> > emerge net-www/mplayerplug-in
>>
>> I just tried this and it seems to want xemacs.  Is this correct? 
>> I already have fsf emacs installed?
>>
>> thanks,
>> allan
>>
>> ajglap ~ # emerge -v --tree --ask emerge net-www/mplayerplug-in
>
> You typed emerge twice, so it also wants to emerge 
> app-xemacs/emerge.

Gack.  Sorry and thanks.
allan
-- 
gentoo-user@gentoo.org mailing list



<    3   4   5   6   7   8   9   >