Skip Menu |

This queue is for tickets about the Barcode-ZBar CPAN distribution.

Report information
The Basics
Id: 128085
Status: open
Priority: 0/
Queue: Barcode-ZBar

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

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



Subject: Compilation error on fedora 28
See subject. Build log: ... cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/opt/perl-5.28.0/lib/5.28.0/x86_64-linux/CORE" ZBar.c ZBar.xs: In function 'XS_Barcode__ZBar_version': ZBar.xs:202:9: error: too few arguments to function 'zbar_version' zbar_version(&major, &minor); ^~~~~~~~~~~~ In file included from ZBar.xs:29: /usr/include/zbar.h:251:12: note: declared here extern int zbar_version(unsigned *major, ^~~~~~~~~~~~ make: *** [Makefile:344: ZBar.o] Error 1 (/usr/bin/make exited with 512) ...
I'm experiencing the same issue with alpine@testing since a few days. Fedora (https://apps.fedoraproject.org/packages/zbar) and Alpine (https://git.alpinelinux.org/aports/commit/testing/zbar?id=6a2548ebf9f70fdf4c367477f3308b3f26a99e38) contain zbar 0.20 or higher. It seems to be a maintained fork of the original zbar source: https://github.com/mchehab/zbar