Date: Thu, 24 Oct 2013 14:28:43 +0300 (EEST) From: Alexandr Kovalenko <never@nevermind.kiev.ua> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/183272: converters/php53-iconv: does not build with base system iconv on 10.0-BETA1 Message-ID: <201310241128.r9OBSh7Z071739@naia.nevermind.kiev.ua> Resent-Message-ID: <201310241130.r9OBU19m050017@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183272 >Category: ports >Synopsis: converters/php53-iconv: does not build with base system iconv on 10.0-BETA1 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 24 11:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexandr Kovalenko >Release: FreeBSD 10.0-BETA1 amd64 >Organization: Nevermind Ltd. >Environment: System: FreeBSD 10.0-BETA1 #0 r257016 >Description: Try to build converters/php53-iconv on 10.0-BETA1, it will fail with the following result: Script started on Thu Oct 24 14:21:27 2013 root@naia:/usr/ports/converters/php53-iconv # ident Makefile Makefile: $FreeBSD: head/converters/php53-iconv/Makefile 327715 2013-09-20 16:05:24Z bapt $ root@naia:/usr/ports/converters/php53-iconv # make ===> php53-iconv-5.3.27 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php53-iconv-5.3.27 for building ===> Extracting for php53-iconv-5.3.27 => SHA256 Checksum OK for php-5.3.27.tar.bz2. ===> Patching for php53-iconv-5.3.27 ===> php53-iconv-5.3.27 depends on file: /usr/local/bin/phpize - found ===> php53-iconv-5.3.27 depends on file: /usr/local/bin/autoconf-2.69 - found ===> PHPizing for php53-iconv-5.3.27 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 configure.in:3: warning: prefer named diversions configure.in:3: warning: prefer named diversions ===> Configuring for php53-iconv-5.3.27 ===> FreeBSD 10 autotools fix applied to /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/build/libtool.m4 ===> FreeBSD 10 autotools fix applied to /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/acinclude.m4 ===> FreeBSD 10 autotools fix applied to /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/configure configure: loading site script /usr/ports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... /usr/bin/sed checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... amd64-portbld-freebsd10.0 checking host system type... amd64-portbld-freebsd10.0 checking target system type... amd64-portbld-freebsd10.0 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/20090626 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking for iconv support... yes, shared checking for iconv... yes checking if iconv is glibc's... no checking if using GNU libiconv... no checking if iconv is Konstantin Chuguev's... no checking if using IBM iconv... no checking if iconv supports errno... yes checking if your cpp allows macro usage in include lines... yes checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd10.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd10.0 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: creating ./config.status config.status: creating config.h ===> Building for php53-iconv-5.3.27 --- iconv.lo --- /bin/sh /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/libtool --mode=compile cc -I"/usr/include" -I. -I/usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv -DPHP_ATOM_INC -I/usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/include -I/usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/main -I/usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -c /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c -o iconv.lo mkdir .libs cc -I/usr/include -I. -I/usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv -DPHP_ATOM_INC -I/usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/include -I/usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/main -I/usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -c /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c -fPIC -DPIC -o .libs/iconv.o /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:254:9: error: use of undeclared identifier '_libiconv_version'; did you mean '_iconv_version'? ((_libiconv_version >> 8) & 0x0f), (_libiconv_version & 0x0f)); ^~~~~~~~~~~~~~~~~ _iconv_version /usr/include/iconv.h:88:12: note: '_iconv_version' declared here extern int _iconv_version; ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:254:43: error: use of undeclared identifier '_libiconv_version'; did you mean '_iconv_version'? ((_libiconv_version >> 8) & 0x0f), (_libiconv_version & 0x0f)); ^~~~~~~~~~~~~~~~~ _iconv_version /usr/include/iconv.h:88:12: note: '_iconv_version' declared here extern int _iconv_version; ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:337:18: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { ^~~~~~~~~~~~~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:501:22: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] result = iconv(cd, (char **) &in_p, &in_left, (char **) &out_p, &out_left); ^~~~~~~~~~~~~~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:615:17: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { ^~~~~~~~~~~~~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:675:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] err = _php_iconv_strlen(&total_len, str, nbytes, enc); ^~~~~~~~~~ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:574:56: note: passing argument to parameter 'pretval' here static php_iconv_err_t _php_iconv_strlen(unsigned int *pretval, const char *str, size_t nbytes, const char *enc) ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:736:18: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv(cd1, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { ^~~~~~~~~~~~~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:868:17: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { ^~~~~~~~~~~~~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:1117:20: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { ^~~~~~~~~~~~~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:1217:20: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { ^~~~~~~~~~~~~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:2545:24: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] if (iconv(self->cd, &pt, &tcnt, &pd, &ocnt) == (size_t)-1) { ^~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv/iconv.c:2624:22: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] iconv(self->cd, (char **)&ps, &icnt, &pd, &ocnt)) == (size_t)-1) { ^~~~~~~~~~~~ /usr/include/iconv.h:63:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ 10 warnings and 2 errors generated. *** [iconv.lo] Error code 1 make[1]: stopped in /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv 1 error make[1]: stopped in /usr/ports/converters/php53-iconv/work/php-5.3.27/ext/iconv ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/converters/php53-iconv root@naia:/usr/ports/converters/php53-iconv # ^Dexit Script done on Thu Oct 24 14:21:56 2013 >How-To-Repeat: Try to build converters/php53-iconv on 10.0-BETA1 >Fix: N/A >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310241128.r9OBSh7Z071739>