develooper Front page | perl.perl5.porters | Postings from July 2018

Issues porting 5.28.0 to Openwrt

Thread Next
From:
Philip Prindeville
Date:
July 1, 2018 21:21
Subject:
Issues porting 5.28.0 to Openwrt
Message ID:
D43A721B-73CF-4C45-8799-75BC40123D78@cpan.org
Hi.

I’m one of the two maintainers for Perl on Openwrt.

I’m trying to update to 5.28.0, and encountered a couple of issues, and sent some patches for those issues a little while ago.

But even with those changes, plus the updates here:

https://github.com/openwrt/packages/compare/master...pprindeville:perl-5.28.0

I’m still seeing the following breakage:

x86_64-openwrt-linux-musl-gcc -c -DPERL_CORE -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -I/home/philipp/lede/staging_dir/target-x86_64_musl/usr/include -I/home/philipp/lede/staging_dir/target-x86_64_musl/include -I/home/philipp/lede/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/usr/include -I/home/philipp/lede/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/include/fortify -I/home/philipp/lede/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/include -std=c89 -O2 -Wall -Werror=declaration-after-statement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -fPIC regexec.c
regexec.c: In function 'S_isFOO_utf8_lc':
regexec.c:493:5: warning: implicit declaration of function '_CHECK_AND_OUTPUT_WIDE_LOCALE_UTF8_MSG' [-Wimplicit-function-declaration]
     _CHECK_AND_OUTPUT_WIDE_LOCALE_UTF8_MSG(character, e);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regexec.c: In function 'S_find_byclass':
regexec.c:2210:9: error: '_CHECK_AND_WARN_PROBLEMATIC_LOCALE' undeclared (first use in this function)
         _CHECK_AND_WARN_PROBLEMATIC_LOCALE;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regexec.c:2210:9: note: each undeclared identifier is reported only once for each function it appears in
regexec.c: In function 'S_regmatch':
regexec.c:5924:21: error: '_CHECK_AND_WARN_PROBLEMATIC_LOCALE' undeclared (first use in this function)
                     _CHECK_AND_WARN_PROBLEMATIC_LOCALE;
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regexec.c: In function 'S_regrepeat':
regexec.c:9173:9: error: '_CHECK_AND_WARN_PROBLEMATIC_LOCALE' undeclared (first use in this function)
         _CHECK_AND_WARN_PROBLEMATIC_LOCALE;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regexec.c: In function 'S_reginclass':
regexec.c:9688:13: warning: implicit declaration of function '_CHECK_AND_OUTPUT_WIDE_LOCALE_CP_MSG' [-Wimplicit-function-declaration]
             _CHECK_AND_OUTPUT_WIDE_LOCALE_CP_MSG(c);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:250: recipe for target 'regexec.o' failed
make[3]: *** [regexec.o] Error 1


What am I missing?

Any pointers on where to go looking?

Thanks,

-Philip

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About