Skip Menu |

This queue is for tickets about the Lingua-Identify-CLD2 CPAN distribution.

Report information
The Basics
Id: 125554
Status: open
Priority: 0/
Queue: Lingua-Identify-CLD2

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 fails on debian/stretch
See subject. Build log: ... cc -I/opt/perl-5.28.0-RC2/lib/5.28.0/x86_64-linux/CORE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -xc++ -Isrc/cld2/internal -Isrc/cld2/public -Icld2/internal -Icld2/public -Isrc -Ibuildtmp -c -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 -o src/cld2/internal/cld_generated_cjk_uni_prop_80.o src/cld2/internal/cld_generated_cjk_uni_prop_80.cc src/cld2/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of ‘-14’ from ‘int’ to ‘CLD2::uint8 {aka unsigned char}’ inside { } [-Wnarrowing] }; ^ src/cld2/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of ‘-14’ from ‘int’ to ‘CLD2::uint8 {aka unsigned char}’ inside { } [-Wnarrowing] src/cld2/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of ‘-14’ from ‘int’ to ‘CLD2::uint8 {aka unsigned char}’ inside { } [-Wnarrowing] ... (etc) ...
On 2018-06-11 14:28:18, SREZIC wrote: Show quoted text
> See subject. Build log: > > ... > cc -I/opt/perl-5.28.0-RC2/lib/5.28.0/x86_64-linux/CORE -fPIC -fwrapv > -fno-strict-aliasing -pipe -fstack-protector-strong > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_FORTIFY_SOURCE=2 -xc++ -Isrc/cld2/internal -Isrc/cld2/public > -Icld2/internal -Icld2/public -Isrc -Ibuildtmp -c -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 -o > src/cld2/internal/cld_generated_cjk_uni_prop_80.o > src/cld2/internal/cld_generated_cjk_uni_prop_80.cc > src/cld2/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: > narrowing conversion of ‘-14’ from ‘int’ to ‘CLD2::uint8 > {aka unsigned char}’ inside { } [-Wnarrowing] > }; > ^ > src/cld2/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: > narrowing conversion of ‘-14’ from ‘int’ to ‘CLD2::uint8 > {aka unsigned char}’ inside { } [-Wnarrowing] > src/cld2/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: > narrowing conversion of ‘-14’ from ‘int’ to ‘CLD2::uint8 > {aka unsigned char}’ inside { } [-Wnarrowing] > ... (etc) ...
Compilation failures seen also on other newer Unix systems, e.g. Fedora 28, Ubuntu 18.04, Debian buster, FreeBSD 12...
Try https://github.com/kni/p5-Lingua-Identify-CLD2 I test on FreeBSD and Debian. You need install libcld2 package and then build perl package.