Skip Menu |

This queue is for tickets about the Imager-File-WEBP CPAN distribution.

Report information
The Basics
Id: 127895
Status: resolved
Priority: 0/
Queue: Imager-File-WEBP

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Compilation error on CentOS 7
Compilation fails on my CentOS7 smoker: ... cc -c -I/home/eserte/.cpan/build/2018120322/Imager-1.007-0/blib/lib/Imager/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.002\" -DXS_VERSION=\"0.002\" -fPIC "-I/opt/perl-5.28.0/lib/5.28.0/x86_64-linux/CORE" imwebp.c imwebp.c: In function ‘get_image’: imwebp.c:148:8: error: ‘WebPMuxFrameInfo’ has no member named ‘blend_method’ if (f.blend_method == WEBP_MUX_BLEND) ^ imwebp.c:148:25: error: ‘WEBP_MUX_BLEND’ undeclared (first use in this function) if (f.blend_method == WEBP_MUX_BLEND) ^ imwebp.c:148:25: note: each undeclared identifier is reported only once for each function it appears in imwebp.c: In function ‘i_writewebp_multi’: imwebp.c:423:5: error: ‘WebPMuxFrameInfo’ has no member named ‘blend_method’ f.blend_method = WEBP_MUX_BLEND; ^ imwebp.c:423:21: error: ‘WEBP_MUX_BLEND’ undeclared (first use in this function) f.blend_method = WEBP_MUX_BLEND; ^ imwebp.c:426:5: error: ‘WebPMuxFrameInfo’ has no member named ‘blend_method’ f.blend_method = WEBP_MUX_NO_BLEND; ^ imwebp.c:426:21: error: ‘WEBP_MUX_NO_BLEND’ undeclared (first use in this function) f.blend_method = WEBP_MUX_NO_BLEND; ^ imwebp.c:434:3: error: ‘WebPMuxFrameInfo’ has no member named ‘blend_method’ f.blend_method = WEBP_MUX_BLEND; ^ make: *** [imwebp.o] Error 1 ...
CC: ;
Subject: Re: [rt.cpan.org #127895] Compilation error on CentOS 7
Date: Tue, 4 Dec 2018 09:16:01 +1100
To: Slaven_Rezic via RT <bug-Imager-File-WEBP [...] rt.cpan.org>
From: Tony Cook <tony [...] develop-help.com>
On Mon, Dec 03, 2018 at 04:33:04PM -0500, Slaven_Rezic via RT wrote: Show quoted text
> Compilation fails on my CentOS7 smoker: > > ... > cc -c -I/home/eserte/.cpan/build/2018120322/Imager-1.007-0/blib/lib/Imager/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.002\" -DXS_VERSION=\"0.002\" -fPIC "-I/opt/perl-5.28.0/lib/5.28.0/x86_64-linux/CORE" imwebp.c > imwebp.c: In function ‘get_image’: > imwebp.c:148:8: error: ‘WebPMuxFrameInfo’ has no member named ‘blend_method’ > if (f.blend_method == WEBP_MUX_BLEND) > ^ > imwebp.c:148:25: error: ‘WEBP_MUX_BLEND’ undeclared (first use in this function) > if (f.blend_method == WEBP_MUX_BLEND)
... Thanks for the reports, I'll enforce a recent version of libwebp. Tony
On Mon Dec 03 17:16:18 2018, tony@develop-help.com wrote: Show quoted text
> On Mon, Dec 03, 2018 at 04:33:04PM -0500, Slaven_Rezic via RT wrote:
> > Compilation fails on my CentOS7 smoker: > > > > ... > > cc -c -I/home/eserte/.cpan/build/2018120322/Imager-1.007- > > 0/blib/lib/Imager/include -fwrapv -fno-strict-aliasing -pipe > > -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.002\" > > -DXS_VERSION=\"0.002\" -fPIC "-I/opt/perl-5.28.0/lib/5.28.0/x86_64- > > linux/CORE" imwebp.c > > imwebp.c: In function ‘get_image’: > > imwebp.c:148:8: error: ‘WebPMuxFrameInfo’ has no member named > > ‘blend_method’ > > if (f.blend_method == WEBP_MUX_BLEND) > > ^ > > imwebp.c:148:25: error: ‘WEBP_MUX_BLEND’ undeclared (first use in > > this function) > > if (f.blend_method == WEBP_MUX_BLEND)
> ... > > Thanks for the reports, I'll enforce a recent version of libwebp.
Which was done in Imager::File::WEBP 0.003. Tony