[Bug 262824] net/pecl-xmlrpc: build fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 03 Apr 2022 22:20:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262824

--- Comment #5 from Ivan Rozhuk <rozhuk.im@gmail.com> ---
This is FreeBSD 13 amd64 @ latest commits + ports @ latest commits.
Build from ports, no pudrile.
php 8.0.

I do small googling.
Probably port requires net/xmlrpc-epi, but xmlrpc-c installed and they
conflict.
Or xmlrpc-epi-php.c is wrongly compiled and must be some other xml wrapper must
be used, that capable with xmlrpc-c.


===>  Configuring for php80-pecl-xmlrpc-1.0.0.r3_1,1
Configuring for:
PHP Api Version:         20200930
Zend Module Api No:      20200930
Zend Extension Api No:   420200930
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... (cached) /usr/bin/sed
checking pkg-config is at least version 0.9.0... yes
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 for system library directory... lib
checking if compiler supports -Wl,-rpath,... yes
checking build system type... amd64-portbld-freebsd13.0
checking host system type... amd64-portbld-freebsd13.0
checking target system type... amd64-portbld-freebsd13.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/20200930
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking whether to build with XMLRPC-EPI support... yes, shared
checking whether to build with expat support... no
checking iconv dir for XMLRPC-EPI... /usr/local
checking for libxml-2.0 >= 2.9.0... yes
checking for a sed that does not truncate output... /usr/local/bin/gsed
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
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) 524288
checking command to parse /usr/bin/nm 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... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
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... freebsd13.0 ld.so
(cached) (cached) checking how to hardcode library paths into programs...
unsupported
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
===>  Building for php80-pecl-xmlrpc-1.0.0.r3_1,1
--- xmlrpc-epi-php.lo ---
--- libxmlrpc/base64.lo ---
--- libxmlrpc/simplestring.lo ---
--- libxmlrpc/xml_to_dandarpc.lo ---
--- libxmlrpc/xmlrpc_introspection.lo ---
--- libxmlrpc/encodings.lo ---
--- libxmlrpc/system_methods.lo ---
--- libxmlrpc/xml_to_xmlrpc.lo ---
--- libxmlrpc/queue.lo ---
--- libxmlrpc/xml_element.lo ---
--- libxmlrpc/xmlrpc.lo ---
--- libxmlrpc/xml_to_soap.lo ---
--- xmlrpc-epi-php.lo ---
....

-- 
You are receiving this mail because:
You are the assignee for the bug.