Skip Menu |

This queue is for tickets about the HiPi CPAN distribution.

Report information
The Basics
Id: 111281
Status: resolved
Priority: 0/
Queue: HiPi

People
Owner: mdootson [...] cpan.org
Requestors: tmurray [...] wumpus-cave.net
Cc:
AdminCc:

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



Subject: Build failed on Pi2/Debian Jessie for Exec.pm
On a Raspberry Pi Model 2 with the latest Jessie image, the build fails with the following: Exec.pm can't find _compress_buffer() function (from Exec.xs) Exec.pm contains the line: XSLoader::load 'HiPi::Utils::Exec', $VERSION if is_raspberry; I checked the is_raspberry() function (from HiPi::Utils), and it's set by checking if /proc/cpuinfo matches /BCM2708/. The Pi2 uses the BCM2709, so it fails to match. I was able to fix it by changing it to /BCM270[89]/. I'm also thinking there must be a better way to set this flag (since it will break again with another CPU revision), though I'm not sure what that would be.
Current builds fix this issue for Pi 2, 3 and Zero On Mon Jan 18 19:20:08 2016, TMURRAY wrote: Show quoted text
> On a Raspberry Pi Model 2 with the latest Jessie image, the build > fails with the following: > > Exec.pm can't find _compress_buffer() function (from Exec.xs) > > Exec.pm contains the line: > > XSLoader::load 'HiPi::Utils::Exec', $VERSION if is_raspberry; > > I checked the is_raspberry() function (from HiPi::Utils), and it's set > by checking if /proc/cpuinfo matches /BCM2708/. The Pi2 uses the > BCM2709, so it fails to match. > > I was able to fix it by changing it to /BCM270[89]/. I'm also thinking > there must be a better way to set this flag (since it will break again > with another CPU revision), though I'm not sure what that would be.
This issue fixed some time ago so I'm marking as resolved