Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 19627
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: rafan [...] infor.org
Cc:
AdminCc:

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



Subject: build failed with Digest::SHA >= 5.38
I'm trying building PAR 0.92/0.93 on FreeBSD 6.x/7.x with Digest::SHA 5.39 (or 5.38) installed. Build will fail, the log can be viewed at http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.6.2006031421/p5-PAR-0.92.log If I use Digest::SHA 5.37, then everything will be fine.
From: william [...] knowmad.com
I'm also seeing this problem under Ubuntu Linux. I removed the if block around line 489 and added the following line as a temporary measure: $ctx->addfile($progname) if ($ctx); This is probably a bug in Digest::SHA which changed the functionality of addfile() in v5.38. The line in addfile() which checks if a ref is being passed in makes the $file param a reference so that it is no longer a GLOB and therefore breaks PAR. William
RT-Send-CC: rafan [...] infor.org
On Do. 01. Jun. 2006, 11:44:04, guest wrote: Show quoted text
> I'm also seeing this problem under Ubuntu Linux. I removed the if block > around line 489 and added the following line as a temporary measure: > > $ctx->addfile($progname) if ($ctx); > > This is probably a bug in Digest::SHA which changed the functionality of > addfile() in v5.38. The line in addfile() which checks if a ref is being > passed in makes the $file param a reference so that it is no longer a > GLOB and therefore breaks PAR.
Much thanks for pointing this out and fixing it. The author of Digest::SHA has confirmed that this is a bug in Digest::SHA 5.38 and 5.39. He has not released a fixed version to CPAN yet. I have included a workaround (similar to the one above) into the subversion version of PAR which will eventually become PAR 0.94. You can get a working copy of the repository with the command "svn checkout http://svn.openfoundry.org/par" (You can use the svk tool as well.) I'm not sure when I will be able to release PAR 0.94. It might be a bit until I have the time to do a proper release. Steffen