Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Michael A. Smith

El Nino wrote:

AybOwan!

  is there a way to accelerate the fetching part of emerge
by using prozilla or some other tool?


Someone else answered that question directly, so I'll try the 
indirect approach.


Another way to speed up emerges is to download while you compile:

emerge -fq foo  emerge foo

Of course it only makes sense if 'foo' has at least one dependency, 
but if you use this command frequently it makes sense to alias it.


Concurrent downloads used to be difficult, but now that Portage has 
locking it's reasonably safe. Still, every optimization comes with an 
increase in risk, and concurrent downloading is no different.


Peace,
Mike
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] accelerate emerge

2006-02-28 Thread Michael A. Smith

Iain Buchanan wrote:

On Tue, 2006-02-28 at 17:27 -0500, Walter Dnes wrote:


 I have a different interpretation.



I assume you know about FEATURES=parallel-fetch?
How long has this been around? I couldn't find any mention of it in 
the man files. Where is it documented?


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



[gentoo-user] New Tagline (Was )

2006-02-05 Thread Michael A. Smith

Uwe Thormann wrote:

unsubscribe



[EMAIL PROTECTED]: Where unsubscribe is a 12-reply thread.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem emerging UT2004

2006-02-03 Thread Michael A. Smith

Steve B. wrote:

Hey everybody,

  This is kind of stupid problem, but I just can't seem to figure this one 
out.  I can't emerge UT2004.  I set my CD_ROOT to my cdrom (/media/hdc) and 
the first CD copies fine, but it never gives me time to umount and mount the 
second CD.  It simply tries (and thinks it has success) on the rest of the 
CD's but I know that it just copied the data from CD1 six times.


This is the first time I have ever tried to install a game from CD on linux, 
so any help would be appreciated.  Thanks.


-
Steve B.


I use the DVD, so this is purely hypothetical, but what if you export 
CD1_ROOT instead of CD_ROOT?


Actually looking at the ebuild I expect this not to work, but it 
can't hurt to try.


The ebuild is confusing:

 From ut2004-data-3186.ebuild
DISK1=CD1/
DISK2=CD2/
DISK3=CD3/
DISK4=CD4/
DISK5=CD5/
DISK6=CD6/

...

cp -r ${CDROM_ROOT}/${DISK1}{Animations,ForceFeedback,Help,KarmaData,Map
s,Sounds,Web} ${Ddir} || die copying files

 end snippet

It looks as if it expects all that data to be copied into 6 paths 
inside $CDROM_ROOT. I don't know anyone with 6 spare optical drives, 
so I can't imagine they expected them to be mounted. But how else can 
it be interpreted?


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



Re: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem.

2006-01-27 Thread Michael A. Smith

Abhay Kedia wrote:
I manually set correct time using sites like worldtimezone.com. Then, I 
shutdown the system and boot after a few hours. What I see is that Gentoo 
sets the system time to the same one at which I halted it. For example if I 
shutdown 4 hours ago at 14:00 hrs and boot at 18:00 hrs, it will still set 
the time to 14:00 hrs instead of the correct time.

snip

here is my /etc/conf.d/clock.

-
# /etc/conf.d/clock
CLOCK=local
CLOCK_OPTS=
CLOCK_SYSTOHC=no (have tried both yes and no)
SRM=no
ARC=no
-

I am not using ntp or any other such softwares


Hmm, according to the initscript, /etc/init.d/clock isn't supposed to 
care about the CLOCK_SYSTOHC option until stop(). But it is supposed 
to set the *system* clock to the hardware clock, so that if the 
hardware clock is right at boot time, so should be the system clock.


I'm not sure, but I suspect that somehow the clock device that 
/sbin/hwclock is supposed to be talking to is actually static for 
some reason, and doesn't match your BIOS clock.


That deserves looking into: I'd start with the kernel config. Maybe 
something about /dev/rtc?


But the quick fix is probably rc-update del clock. I don't know if 
that's a Bad Thing To Do (TM), but nobody screamed when I asked about 
it in #gentoo.


Have a great day,
Mike
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc version used for build?

2006-01-27 Thread Michael A. Smith

Phil Sexton wrote:
Could someone expound on these 3 commands?  I don't really understand 
the man and info pages on these.


gcc -v
gcc --version
(I thought the previous two were the same.)
cat /proc/version


gcc -v tells you what programs are invoked by gcc. gcc being a 
collection of compilers, this can differ quite a bit depending on 
your configuration.


*
# gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: 
/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr 
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include 
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man 
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info 
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec 
--enable-nls --without-included-gettext --with-system-zlib 
--disable-checking --disable-werror --disable-libunwind-exceptions 
--disable-multilib --disable-libgcj --enable-languages=c,c++,f77 
--enable-shared --enable-threads=posix --enable-__cxa_atexit 
--enable-clocale=gnu

Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
*

gcc --version very simply tells you the version of gcc and spams you 
about the GPL ;-)


*
# gcc --version
gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There 
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.

*

cat /proc/version tells you a bunch of stuff about your kernel, not 
gcc specifically. It does, however, mention with which version of gcc 
your kernel was compiled.


*
# cat /proc/version
Linux version 2.6.15-gentoo-r1 ([EMAIL PROTECTED]) (gcc version 3.4.4 (Gentoo 
3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP PREEMPT Tue Jan 24 
19:46:43 EST 2006

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



Re: [gentoo-user] Wrong time on reboot. Not a CMOS battery problem.

2006-01-27 Thread Michael A. Smith

Uwe Thiem wrote:

The device hwclock connects to *is* the BIOS clock.

Uwe


Let me rephrase. A physical device has to have a software 
representation for software to connect to it. I'm trying to suggest 
that something is wrong with that interface. Clearly Abhay's BIOS 
clock doesn't jive with what the system *thinks* the hardware clock 
says. /etc/init.d/clock also doesn't break or give an error when he 
runs it (I guess). So that leaves that there is some interface giving 
a syntactically-correct WRONG ANSWER as to the time, at boot time.


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



Re: [gentoo-user] Installing KDE...Again.... (Now at howto install kde)

2006-01-27 Thread Michael A. Smith

Ian wrote:

Thanks Benno!
Now how do I install kde 3.4.3? The main reason for doing this is that I 
dont want arts.


Just set USE=-arts in make.conf

Then emerge whatever KDE stuff you want. Arts will stay away.

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



Re: [gentoo-user] Using 'world' file to clone another machine

2006-01-25 Thread Michael A. Smith

Jeff wrote:

I'm sure this one's been asked a million times too...

Machine A, runs Gentoo/KDE and a handful of other apps I've collected
over the year.

I would like Machine B to have the same exact packages.

How would I use Machine A's /var/lib/portage/world file to make my 'clone'?

Thanks all.


Hypothetically (I haven't tried it.)

1) scp a:/etc/make.conf b:/etc/make.conf
2) modify the CFLAGS in b:/etc/make.conf to suit, but leave the USE 
unchanged.
3) do a basic install on b, you'll want to make sure it can boot into 
a kernel before you do the next step.

4) scp a:/var/lib/portage/world b:/tmp/welcome_to_my_world.lst
5) emerge `cat /tmp/welcome_to_my_world.lst`



Have a nice day.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using 'world' file to clone another machine

2006-01-25 Thread Michael A. Smith

Michael A. Smith wrote:

Jeff wrote:


I'm sure this one's been asked a million times too...

Machine A, runs Gentoo/KDE and a handful of other apps I've collected
over the year.

I would like Machine B to have the same exact packages.

How would I use Machine A's /var/lib/portage/world file to make my 
'clone'?


Thanks all.



Hypothetically (I haven't tried it.)

1) scp a:/etc/make.conf b:/etc/make.conf
2) modify the CFLAGS in b:/etc/make.conf to suit, but leave the USE 
unchanged.
3) do a basic install on b, you'll want to make sure it can boot into a 
kernel before you do the next step.

4) scp a:/var/lib/portage/world b:/tmp/welcome_to_my_world.lst
5) emerge `cat /tmp/welcome_to_my_world.lst`



Have a nice day.


Correction. emerge --ask `cat /tmp/welcome_to_my_world.lst`

;-D
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using 'world' file to clone another machine

2006-01-25 Thread Michael A. Smith

Chris White wrote:

On Thursday 26 January 2006 06:03, Michael A. Smith wrote:


Correction. emerge --ask `cat /tmp/welcome_to_my_world.lst`


Correction, Correction:
`emerge --ask $( /tmp/welcome_to_my_world.lst)`


Way to decrease entropy, Chris. Why don't you email the whole list 
and tell them how to implement a minute reduction in CPU cycles. ;-D

(I'm just kidding, this is a better way.)


or heck:

`emerge --ask  /tmp/welcome_to_my_world.lst`


This doesn't work, nor does

cat welcome_to_my_world.lst | emerge --ask
cat welcome_to_my_world.lst | emerge --pretend
cat welcome_to_my_world.lst | xargs emerge --ask

However,

cat welcome_to_my_world.lst | xargs emerge --pretend

does work.

I didn't try it without pretend, but I betcha it'd work.

Weird, huh?

-Mike Smith
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Packages list

2006-01-20 Thread Michael A. Smith

Phil Sexton wrote:

Felipe Ribeiro wrote:


Where do I find the list with all installed packages?

Cheers,

Felipe



The ones you emerged are listed in the file:

/var/lib/portage/world

Want it in alphabetical order?

cat /var/lib/portage/world|less



Isn't that a superfluous use of cat? Why not

less /var/lib/portage/world

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



Re: [gentoo-user] Installing KDE...Again....

2006-01-20 Thread Michael A. Smith
3.5 is still keyworded, iirc. If you remove kde from 
/etc/packages.keyword, it should install 3.4.3. This command will 
insert a # before each kde line. (It also makes a backup).


sed -i.bak s/kde-/\#\ kde-/ /etc/portage/package.keywords

KDE is slotted, and I'm not sure what happens when you 
re-keyword-mask something slotted that you've emerged, but it will 
probably try to unmerge 3.5 -- That's what you want, right?


You might also consider putting kde-base/arts into 
/etc/portage/package.mask . Not sure what that'll break, but it might 
Just Work (TM).


Peace,
Mike

Ian wrote:

Hey everyone.
Here is my situation. Its a rather long one:
I want to get kde 3.4.3 without arts. At all.
I am hoping to go USE=-arts +alsa emerge =kde-3.4.3

That seems easy, but it isn't.
I already have 3.4.1 installed. As well as 3.5.0.
I think I used the split ebuild thing (grrr) which involved using a 
loop-style

bash script to put a lot into /etc/portage/package.keywords for 3.4.1.

I think I just used emerge kde to get 3.5.

What I want, is to end up with kde 3.4.3 (only) installed, without arts.
I would first like to unmerge both 3.5 and 3.4.1, but as I used the split
ebuilds Im not sure how

Any and all help would be very much appreciated.
Also, Please dont try and convince me to just use GNOME or *box or 
something.

I love KDE and I hate arts. :)

I did a search for kde stuff (emerge search kde) and it seemed kinna weird.
I wont post it as it is huge. Unless, of course you want to see it.
Thanks a lot!
Cheers,
Ian



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: emerge --sync vs emerge -sync

2006-01-19 Thread Michael A. Smith

Charles Marcus wrote:

Richard Fish wrote:


On 1/18/06, Charles Marcus [EMAIL PROTECTED] wrote:


This may be the ultimate dumb question, but no amount of googling could
satisfy my ignorance...

Is there any difference? If not, why are the double hyphens almost
always specified?



-- is the GNU getopt syntax for long options.  For normal GNU programs:

--opt is processed as a single option (opt)
-opt is processed as 6 options ('o', 'p', and 't').

--sync is correct.  -sync is wrong and generates an error.



Ahem... not for me it didn't... thats why I asked - wondered if I may 
have hosed anything (can't imagine that such a minor, easy-to-make typo 
would caus ebad things to happen, though).


Thanks for the detailed explanation, though... now I at least know the 
differences.


Now, why did it not generate an error for me, I wonder?


Maybe you're thinking of emerge sync:
$ emerge -sync
!!! Error: -y is an invalid short action or option.
dell src # emerge sync
 starting rsync with rsync://129.21.154.146/gentoo-portage...

emerge sync does the same thing as emerge --sync, but actually it's a 
bad habit to get into, because the default behavior for portage is to 
install its non-flag arguments. The implication is that 'emerge sync' 
should install a package named 'sync'.


Of course, that doesn't happen. emerge (sync|info|metadata|...) all 
don't install packages. If you want to install app-vim/info,  you 
have to fully specify its name: emerge app-vim/info.


But you can never tell when such behavior will change. :-)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge world?

2006-01-17 Thread Michael A. Smith

Matthias Bethke wrote:

Hi Uwe,
on Tuesday, 2006-01-17 at 15:53:20, you wrote:

If I understand the ebuild of portaltransforms correctly it wants either 
pdftohtml or lynx. Maybe you can get away by installing lynx?



No, it wants both of them. I do have lynx but that's probably for
HTML-text and the other, as the name says, PDF-HTML.

regards
  Matthias


What ebuild did you use? Portaltransforms is supposed to have been 
fixed to have an dependency on either pdftohtml OR poppler. See 
http://bugs.gentoo.org/show_bug.cgi?id=105187#c66


Peace,
Michael
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge world?

2006-01-17 Thread Michael A. Smith

Uwe Thiem wrote:

*** begin snippet ***

RDEPEND==net-zope/cmf-1.4.7
app-text/htmltidy
app-text/wv
dev-libs/libxslt
app-text/xlhtml
app-text/unrtf
dev-python/docutils
www-client/lynx
|| ( app-text/pdftohtml app-text/poppler )

*** end snippet ***

Isn't that || a logical OR? Actually, what does the whole last line mean?

Uwe



Just what you thought -- portaltransforms depends on either pdftohtml 
OR poppler.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge world?

2006-01-17 Thread Michael A. Smith

Matthias Bethke wrote:

Hi Michael,
on Tuesday, 2006-01-17 at 09:47:44, you wrote:


Matthias Bethke wrote:


Hi Uwe,
on Tuesday, 2006-01-17 at 15:53:20, you wrote:


If I understand the ebuild of portaltransforms correctly it wants either 
pdftohtml or lynx. Maybe you can get away by installing lynx?



No, it wants both of them. I do have lynx but that's probably for
HTML-text and the other, as the name says, PDF-HTML.

regards
Matthias


What ebuild did you use? Portaltransforms is supposed to have been 
fixed to have an dependency on either pdftohtml OR poppler. See 
http://bugs.gentoo.org/show_bug.cgi?id=105187#c66



Sorry, I should have mentioned that was portaltransforms-1.0.4.ebuild,
mosdef with the bug still in. I just noticed there's -r1 with the fix,
but it's still in unstable. Just syncing again, maybe it will have moved
up to stable...

regards
Matthias


Plone in portage hasn't changed in a very long time. I recommend you 
get the new ebuilds from 
http://bugs.gentoo.org/show_bug.cgi?id=105187 and install them, then 
put your comments in that bug to let the devs know that it's working.


Or, if you want, you can modify the 1.0.4 ebuild to accept poppler.

Sorry it's so complicated.

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