At 9:21 Uhr -0500 07.03.2002, Chris Zubrzycki wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>there is a problem with the docbook-dtd-4.1.2-1 install script. the 
>last mkdir, where it breaks, breaks because there is a trailing /. 
>it needs to be removed (or at least given the -p switch), or GNU 
>mkdir from fileutils chokes:
>
>Compile phase: nothing to do.
>rm -rf /sw/src/root-docbook-dtd-4.1.2-1
>mkdir -p /sw/src/root-docbook-dtd-4.1.2-1/sw
>mkdir -p /sw/src/root-docbook-dtd-4.1.2-1/DEBIAN
>mkdir -p /sw/src/root-docbook-dtd-4.1.2-1/sw/share/sgml/dtd/docbook/
>touch /sw/src/root-docbook-dtd-4.1.2-1/sw/share/sgml/dtd/docbook/catalog
>mkdir /sw/src/root-docbook-dtd-4.1.2-1/sw/share/sgml/dtd/docbook/1.0/
>mkdir: cannot make directory `/sw/src/root-docbook-
>dtd-4.1.2-1/sw/share/sgml/dtd/docbook/1.0/': No such file or directory
>### mkdir failed, exit code 1
>Failed: installing docbook-dtd-4.1.2-1 failed

This is actually caused by a bug in the operating system, which also 
affect various other system calls. Apple knows about it for well over 
a yeah now, but they are reluctant to fix, since it seems any proper 
fixes requires some major changes, and it's easy to fix one thing and 
break ten others without noticing.

I propose the following:

1) docbook-dtd should be "fixed" to not use a trailing slash
2) Somebody shouild take a look at the fileutils package, and add a 
workaround for this to the mkdir command (and possible rm and other 
commands that may be affected). Apple did this in their own mkdir 
command, obviously.



Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to