Subject: | FreeBSD package registration failing |
The echo command on line 23 of Makefile.PL is incorrect and generates
the following error on FreeBSD (duplicated on multiple servers):
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/all....ok
All tests successful.
Files=1, Tests=16, 1 wallclock secs ( 0.09 cusr + 0.10 csys = 0.19 CPU)
/usr/bin/make test -- OK
Running make install
Writing /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/Image/Size/.packlist
FreeBSD: Registering installation in the package database
Cannot create directory /var/db/pkg/bsdpan-Image-Size-2.992: File exists
@echo:No such file or directory
*** Error code 1
Stop in /usr/home/.cpan/build/Image-Size-2.992.
/usr/bin/make install UNINST=1 -- NOT OK
Failed during this command:
RJRAY/Image-Size-2.992.tar.gz : install NO
Dropping the "\@" before echo resolves this issue. I'm not sure that's
the best fix; that was just my quick hack to get it working.