Coming back after 10 days off-line (there is still some nice snow in the
Alps :-)), I was curious about what Fink had been doing and immediately
did a selfupdate and update-all. I was impressed that everything,
including new versions of fink and such heavyweights as qt, mozilla and
gimp, compiled without any problems. 

On one machine, however, the upgrade of xdvi failed with an error that I
recognized to my horror:

 head -25 xdvi.c > LICENSE
Unknown option: 25
Usage: head [-options] <url>...
    -m <method>   use method for the request (default is 'HEAD')
    -f            make request even if head believes method is illegal
[many more lines like this]
###  failed, exit code 255
Failed: installing xdvi-22.54-1 failed

Now this is what one gets when stupid perl replaces /usr/bin/head by the
HEAD script from its libwww module. Checking this, I found that
/usr/bin/head was still there <big sigh of relief>, but that there was a
new /sw/bin/HEAD script that answered the call for "head". When asked by
"dpkg -S", no package admitted having installed /sw/bin/HEAD, but
further investigations showed that it as well as the identical
/sw/bin/GET and /sw/bin/POST scripts had, in fact, come from the upgrade
of libwww-pm. 

It turns out that libwww-pm-5.64-1 installs these 3 scripts directly
into /sw/bin, and this during the *build* phase! Excerpt from the output
of "fink rebuild libwww-pm":

Installing /sw/src/root-libwww-pm-5.64-1/sw/share/man/man3/WWW::RobotRules.3
Installing 
/sw/src/root-libwww-pm-5.64-1/sw/share/man/man3/WWW::RobotRules::AnyDBM_File.3
Installing /sw/bin/GET
Installing /sw/bin/HEAD
Installing /sw/bin/POST
Writing /sw/src/root-libwww-pm-5.64-1/sw/lib/perl5/darwin/auto/libwww-perl/.packlist
Appending installation info to 
/sw/src/root-libwww-pm-5.64-1/sw/lib/perl5/darwin/perllocal.pod

I don't know how and why the perl makefile does this, but it is
definitely a bug.
(End of the story: after rm'ing /sw/bin/HEAD, xdvi installed without
problem, of course).

-- 
Martin

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

Reply via email to