Re: [Fink-devel] bootstrap process

2004-01-25 Thread Likai Liu
Unfortunately Solaris' mv is too brain dead such that it won't work 
unless I use another mv.

Actually, more fiddling reveals that fink probably needs to be 
rewritten to port to another platform at all (and I'm not going to 
advocate this, at least not on fink's own mailing list :-] ). There is 
a lot of hard coded assumptions (in fink's perlmod) about a system that 
I ended up vandalizing a lot of code just to try on Solaris. These 
assumptions probably deserve to be abstracted away from the code.

That said, on a Mac OS X system, I'm perfectly happy with the way Fink 
is. I only wish it would be a drop in package management solution for 
commercial *nix not limited to Mac OS X if Fink can be more generic.

liulk

On Jan 24, 2004, at 8:21 PM, David R. Morrison wrote:

It's true: during bootstrap, fink moves files to the same place they
already are, when there is a splitoff.  The /bin/mv available on OS X
tolerates this; apparently the /bin/mv on Solaris does not.  Look at
"man mv": is there any flag you could pass to mv to let it do this?
  -- Dave



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] bootstrap process

2004-01-24 Thread David R. Morrison
It's true: during bootstrap, fink moves files to the same place they
already are, when there is a splitoff.  The /bin/mv available on OS X
tolerates this; apparently the /bin/mv on Solaris does not.  Look at
"man mv": is there any flag you could pass to mv to let it do this?

  -- Dave



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] bootstrap process

2004-01-24 Thread Likai Liu
Hello,

I'm currently (playfully) porting fink to Solaris 2.6 platform. While I
obtained gcc 3.3 and setup various gnu tools to best match the 10.3
environment (and even created a special sun4u distribution), phase two of
the bootstrap process bails out. It happens right after successfully
compiling gettext (bootstrap) and during the installation of the first
split-off package.

The transcript is the following (where the middle tedious parts have been
eliminated).

 >8 
Bootstrapping a base system via /sw/bootstrap.
mkdir -p /sw/bootstrap
mkdir -p /sw/bootstrap/bin
mkdir -p /sw/bootstrap/sbin
mkdir -p /sw/bootstrap/lib
mkdir -p /sw/var/lib/dpkg
touch /sw/var/lib/dpkg/status
touch /sw/var/lib/dpkg/available
touch /sw/var/lib/dpkg/diversions
Reading package info...
Updating package index... done.
Information about 39 packages read in 1 seconds.

BOOTSTRAP PHASE ONE: download tarballs.


BOOTSTRAP PHASE TWO: installing neccessary packages to /sw/bootstrap
without
package management.

rm -rf gettext-0.10.40-17
mkdir -p /sw/src/gettext-0.10.40-17
gzip -dc /sw/src/gettext-0.10.40.tar.gz |
/home/church2/liulk/local/bin/gnutar -xf - 
patch -p1 >

make[1]: Entering directory `/sw/src/gettext-0.10.40-17/gettext-0.10.40'
make[2]: Entering directory `/sw/src/gettext-0.10.40-17/gettext-0.10.40'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ./mkinstalldirs /sw/bootstrap/share/gettext
 /usr/local/gnu/bin/install -c -m 644 ./ABOUT-NLS
/sw/bootstrap/share/gettext/ABOUT-NLS
make[2]: Leaving directory `/sw/src/gettext-0.10.40-17/gettext-0.10.40'
make[1]: Leaving directory `/sw/src/gettext-0.10.40-17/gettext-0.10.40'
 sed 's;-L/sw/src/gettext-0.10.40-17/gettext-0.10.40/intl/.libs;;'
/sw/bootstrap/lib/libintl.la.tmp
 mv -f /sw/bootstrap/lib/libintl.la.tmp /sw/bootstrap/lib/libintl.la
 rm -f /sw/bootstrap/lib/charset.alias
install -d -m 755 /sw/bootstrap/share/doc/gettext
install -c -p -m 644 README* AUTHORS BUGS COPYING* NEWS THANKS TODO
/sw/bootstrap/share/doc/gettext/
rm -f /sw/bootstrap/info/dir /sw/bootstrap/info/dir.old
/sw/bootstrap/share/info/dir /sw/bootstrap/share/info/dir.old
mkdir -p /sw/bootstrap
install -d -m 755 /sw/bootstrap
mv /sw/bootstrap/bin /sw/bootstrap/
mv: `/sw/bootstrap/bin' and `/sw/bootstrap/bin' are the same file
### execution of mv failed, exit code 1
installing gettext-bin-0.10.40-17 failed
 >8 

To my utmost curiousity, the failure happens because gettext's first split
off file is "bin", and /sw/bootstrap/bin is already there.

Anyone can enlighten me of this?

liulk

ps. Please cc me a copy of responses, as I'm not on the list.
Unfortunately I cannot devote much attention to read all discussions on
fink-devel, as much as I would like to.

pps. I did a search on the mailing list of the keyword "bootstrap" but
nothing relevant turned up.



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel