Skip Menu |

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

Report information
The Basics
Id: 129235
Status: new
Priority: 0/
Queue: Image-LibRaw

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

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



Subject: Compilation error
The module cannot be compiled on several of my smoker systems (freebsd 11 .. 13, macosx, debian, ubuntu 16.04 + 18.04). A sample compile log: ... cc -c "-I." -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -o LibRaw.o -DPIC -fPIC "-I/usr/perl5.24.0p/lib/5.24.0/amd64-freebsd/CORE" -DUSE_PPPORT LibRaw.cc In file included from LibRaw.cc:3: ./bindpp.h:230:20: error: class member cannot be redeclared static SV *to_sv(I32 v) { ^ ./bindpp.h:227:20: note: previous declaration is here static SV *to_sv(int v) { ^ ./bindpp.h:230:20: error: redefinition of 'to_sv' static SV *to_sv(I32 v) { ^ ./bindpp.h:227:20: note: previous definition is here static SV *to_sv(int v) { ^ LibRaw.cc:59:52: error: no member named 'bottom_margin' in 'libraw_image_sizes_t'; did you mean 'top_margin'? res.store("bottom_margin", self->imgdata.sizes.bottom_margin); ^~~~~~~~~~~~~ top_margin /usr/local/include/libraw/libraw_types.h:193:15: note: 'top_margin' declared here top_margin, ^ LibRaw.cc:60:51: error: no member named 'right_margin' in 'libraw_image_sizes_t'; did you mean 'left_margin'? res.store("right_margin", self->imgdata.sizes.right_margin); ^~~~~~~~~~~~ left_margin /usr/local/include/libraw/libraw_types.h:194:15: note: 'left_margin' declared here left_margin; ^ LibRaw.cc:118:17: error: no member named 'rotate_fuji_raw' in 'LibRaw' c.ret(self->rotate_fuji_raw()); ~~~~ ^ In file included from LibRaw.cc:3: ./bindpp.h:1008:18: error: call to 'to_sv' is ambiguous SV * v = Scalar::to_sv(value); ^~~~~~~~~~~~~ ./bindpp.h:412:19: note: in instantiation of function template specialization 'pl::Hash::store<long>' requested here this->store(key, strlen(key), value); ^ LibRaw.cc:77:9: note: in instantiation of function template specialization 'pl::Hash::store<long>' requested here res.store("timestamp", self->imgdata.other.timestamp); ^ ./bindpp.h:224:20: note: candidate function static SV *to_sv(unsigned int v) { ^ ./bindpp.h:230:20: note: candidate function static SV *to_sv(I32 v) { ^ ./bindpp.h:233:20: note: candidate function static SV *to_sv(double v) { ^ ./bindpp.h:246:20: note: candidate function static SV *to_sv(bool b) { ^ 6 errors generated. *** Error code 1 ...