I've seen this a few times with different perlmods, and we've had 
reports on IRC and the lists.  Here's the scenario:

1) The build system picks up the wrong Perl somehow.  My example today 
was test-simple-pm5123:

ARCHFLAGS="" /usr/bin/arch -x86_64 perl5.12 Makefile.PL 
PERL="/usr/bin/arch -x86_64 perl5.12" PREFIX=/sw 
INSTALLPRIVLIB=/sw/lib/perl5/5.12.4 
INSTALLARCHLIB=/sw/lib/perl5/5.12.4/darwin-thread-multi-2level 
INSTALLSITELIB=/sw/lib/perl5/5.12.4 
INSTALLSITEARCH=/sw/lib/perl5/5.12.4/darwin-thread-multi-2level 
INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 
INSTALLSITEMAN1DIR=/sw/share/man/man1 
INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin 
INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin
...
sudo -u fink-bld [ENV] sh -c /tmp/fink.2IMt2
make -j1 install PREFIX=/sw INSTALLPRIVLIB=/sw/lib/perl5/5.12.4 
INSTALLARCHLIB=/sw/lib/perl5/5.12.4/darwin-thread-multi-2level 
INSTALLSITELIB=/sw/lib/perl5/5.12.4 
INSTALLSITEARCH=/sw/lib/perl5/5.12.4/darwin-thread-multi-2level 
INSTALLMAN1DIR=/sw/share/man/man1 INSTALLMAN3DIR=/sw/share/man/man3 
INSTALLSITEMAN1DIR=/sw/share/man/man1 
INSTALLSITEMAN3DIR=/sw/share/man/man3 INSTALLBIN=/sw/bin 
INSTALLSITEBIN=/sw/bin INSTALLSCRIPT=/sw/bin 
DESTDIR=/sw/src/fink.build/root-test-simple-pm5123-1.001002-1
Installing 
/sw/src/fink.build/root-test-simple-pm5123-1.001002-1/sw/lib/perl5/5.12.4/Test/Builder.pm
...
Appending installation info to 
/sw/src/fink.build/root-test-simple-pm5123-1.001002-1/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/perllocal.pod
...
/bin/mkdir -p 
/sw/src/fink.build/root-test-simple-pm5123-1.001002-1/sw/share/podfiles/5.12.4
for i in `find /sw/src/fink.build/root-test-simple-pm5123-1.001002-1/sw 
-name perllocal.pod`; do /bin/cat $i | sed -e 
s,/sw/src/fink.build/root-test-simple-pm5123-1.001002-1/sw/lib/perl5,/sw/lib/perl5,
 
 >> 
/sw/src/fink.build/root-test-simple-pm5123-1.001002-1/sw/share/podfiles/5.12.4/perllocal.test-simple-pm5123.pod;
 
/bin/rm -rf $i; done;

and a possible install-time failure:

/sw/bin/dpkg: error processing 
/sw/fink/dists/stable/main/binary-darwin-x86_64/libs/perlmods/test-simple-pm5123_1.001002-1_darwin-x86_64.deb
 
(--install):
  trying to overwrite 
`/sw/lib/perl5/5.12.4/darwin-thread-multi-2level/auto/Test/Simple/.packlist', 
which is also in package test-simple-pm5124

Then, with exactly the same packages installed, I immediately used "fink 
rebuild test-simple-pm5123", and the build was *fine*.  All of the 
extraneous "5.12.4" above were replaced by "5.12.3".

The report from IRC was from someone who had a problem with -pm5124 
modules on 10.8, so it doesn't seem just to be related to building 
"off-system" perlmods.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to