Skip Menu |

This queue is for tickets about the Image-Size CPAN distribution.

Report information
The Basics
Id: 18516
Status: resolved
Priority: 0/
Queue: Image-Size

People
Owner: Nobody in particular
Requestors: ben [...] cpanel.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.992
Fixed in: (no value)



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.
Prefacing "echo" with the @ sign is habit; it is supposed to suppress the printing of the command by make before it executes it. However, removing the @ doesn't hurt anything, so if it helps BSD packaging it's OK with me. I will be releasing a new version later this week, with this change.