[package - 123i386-quarterly][www/p5-WWW-Curl] Failed for p5-WWW-Curl-4.17_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 15 Jan 2023 01:23:39 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     sunpoet@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy4/data/123i386-quarterly/05c521c26097/logs/p5-WWW-Curl-4.17_4.log
Build URL:      https://pkg-status.freebsd.org/beefy4/build.html?mastername=123i386-quarterly&build=05c521c26097
Log:

=>> Building www/p5-WWW-Curl
build started at Sun Jan 15 01:23:31 UTC 2023
port directory: /usr/ports/www/p5-WWW-Curl
package name: p5-WWW-Curl-4.17_4
building for: FreeBSD 123i386-quarterly-job-03 12.3-RELEASE-p10 FreeBSD 12.3-RELEASE-p10 i386
maintained by: sunpoet@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1203000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p10
UNAME_r=12.3-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/123i386-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123i386-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123i386-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
INSTALLDIRS="site" CC="cc" CCFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing " LD="cc" PREFIX="/usr/local"  INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/www/p5-WWW-Curl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/p5-WWW-Curl/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/p5-WWW-Curl/work/.cache  HOME=/wrkdirs/usr/ports/www/p5-WWW-Curl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/p5-WWW-Curl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/p5-WWW-Curl/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES"
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/www/p5-WWW-Curl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/p5-WWW-Curl/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/p5-WWW-Curl/work/.cache  HOME=/wrkdirs/usr/ports/www/p5-WWW-Curl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/p5-WWW-Curl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/p5-WWW-Curl/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  
 BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/WWW-Curl"  EXAMPLESDIR="share/examples/WWW-Curl"  DATADIR="share/WWW-Curl"  WWWDIR="www/WWW-Curl"  ETCDIR="etc/WWW-Curl"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/WWW-Curl DOCSDIR=/usr/local/share/doc/WWW-Curl EXAMPLESDIR=/usr/local/share/examples/WWW-Curl  WWWDIR=/usr/local/www/WWW-Curl ETCDIR=/usr/local/etc/WWW-Curl
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p10
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   p5-WWW-Curl-4.17_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.0.pkg
[123i386-quarterly-job-03] Installing pkg-1.19.0...
[123i386-quarterly-job-03] Extracting pkg-1.19.0: .......... done
===>   p5-WWW-Curl-4.17_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of p5-WWW-Curl-4.17_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by p5-WWW-Curl-4.17_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by p5-WWW-Curl-4.17_4 for building
=> SHA256 Checksum OK for WWW-Curl-4.17.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by p5-WWW-Curl-4.17_4 for building
===>  Extracting for p5-WWW-Curl-4.17_4
=> SHA256 Checksum OK for WWW-Curl-4.17.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for p5-WWW-Curl-4.17_4
===>  Applying FreeBSD patches for p5-WWW-Curl-4.17_4 from /usr/ports/www/p5-WWW-Curl/files
===========================================================================
=======================<phase: build-depends  >============================
===>   p5-WWW-Curl-4.17_4 depends on package: perl5>=5.32.r0<5.33 - not found
===>   Installing existing package /packages/All/perl5-5.32.1_3.pkg
[123i386-quarterly-job-03] Installing perl5-5.32.1_3...
[123i386-quarterly-job-03] Extracting perl5-5.32.1_3: .......... done
===>   p5-WWW-Curl-4.17_4 depends on package: perl5>=5.32.r0<5.33 - found
===>   Returning to build of p5-WWW-Curl-4.17_4
===========================================================================
=======================<phase: lib-depends    >============================
===>   p5-WWW-Curl-4.17_4 depends on shared library: libcurl.so - not found
===>   Installing existing package /packages/All/curl-7.87.0.pkg
[123i386-quarterly-job-03] Installing curl-7.87.0...
[123i386-quarterly-job-03] `-- Installing libnghttp2-1.48.0...
[123i386-quarterly-job-03] `-- Extracting libnghttp2-1.48.0: .......... done
[123i386-quarterly-job-03] `-- Installing libpsl-0.21.1_6...
[123i386-quarterly-job-03] |   `-- Installing gettext-runtime-0.21.1...
[123i386-quarterly-job-03] |   | `-- Installing indexinfo-0.3.1...
[123i386-quarterly-job-03] |   | `-- Extracting indexinfo-0.3.1: .... done
[123i386-quarterly-job-03] |   `-- Extracting gettext-runtime-0.21.1: .......... done
[123i386-quarterly-job-03] |   `-- Installing libidn2-2.3.4...
[123i386-quarterly-job-03] |   | `-- Installing libunistring-1.1...
[123i386-quarterly-job-03] |   | `-- Extracting libunistring-1.1: .......... done
[123i386-quarterly-job-03] |   `-- Extracting libidn2-2.3.4: .......... done
[123i386-quarterly-job-03] `-- Extracting libpsl-0.21.1_6: .......... done
[123i386-quarterly-job-03] `-- Installing libssh2-1.10.0_1,3...
[123i386-quarterly-job-03] `-- Extracting libssh2-1.10.0_1,3: .......... done
[123i386-quarterly-job-03] Extracting curl-7.87.0: .......... done
===>   p5-WWW-Curl-4.17_4 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>   Returning to build of p5-WWW-Curl-4.17_4
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for p5-WWW-Curl-4.17_4
Smartmatch is experimental at ./Makefile.PL line 131.
Locating required external dependency bin:curl-config... found at /usr/local/bin/curl-config.
The version is libcurl 7.87.0
Found curl.h in /usr/local/include/curl/curl.h
Building curlopt-constants.c for your libcurl version
Building Easy.pm constants for your libcurl version
Building Share.pm constants for your libcurl version
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for WWW::Curl
Writing MYMETA.yml and MYMETA.json
===========================================================================
=======================<phase: build          >============================
===>  Building for p5-WWW-Curl-4.17_4
--- blib/lib/WWW/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/WWW/Curl/.exists ---
--- blib/arch/auto/WWW/Curl/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- config ---
--- subdirs ---
--- dynamic ---
--- Curl.c ---
"/usr/local/bin/perl" "-Iinc" "/usr/local/lib/perl5/5.32/ExtUtils/xsubpp"  -typemap '/usr/local/lib/perl5/5.32/ExtUtils/typemap' -typemap '/wrkdirs/usr/ports/www/p5-WWW-Curl/work/WWW-Curl-4.17/typemap'  Curl.xs > Curl.xsc
--- Curl.bs ---
Running Mkbootstrap for Curl ()
chmod 644 "Curl.bs"
--- pm_to_blib ---
cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm
cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
--- Curl.c ---
mv Curl.xsc Curl.c
--- blibdirs ---
--- blib/arch/auto/WWW/Curl/Curl.bs ---
--- Curl.o ---
cc -c  -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing    -DVERSION=\"4.17\"  -DXS_VERSION=\"4.17\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.32/mach/CORE"   Curl.c
--- blib/arch/auto/WWW/Curl/Curl.bs ---
"/usr/local/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644
--- config ---
--- Curl.o ---
In file included from Curl.xs:583:
./curlopt-constants.c:19:51: error: use of undeclared identifier 'CURL_DEPRECATED'
            if (strEQ(name, "DEPRECATED")) return CURL_DEPRECATED;
                                                  ^
./curlopt-constants.c:65:59: error: use of undeclared identifier 'CURL_IGNORE_DEPRECATION'
            if (strEQ(name, "IGNORE_DEPRECATION")) return CURL_IGNORE_DEPRECATION;
                                                          ^
./curlopt-constants.c:2770:58: error: use of undeclared identifier 'CURLOPTDEPRECATED'; did you mean 'CURLOPT_PRIVATE'?
            if (strEQ(name, "CURLOPTDEPRECATED")) return CURLOPTDEPRECATED;
                                                         ^~~~~~~~~~~~~~~~~
                                                         CURLOPT_PRIVATE
/usr/local/include/curl/curl.h:1468:11: note: 'CURLOPT_PRIVATE' declared here
  CURLOPT(CURLOPT_PRIVATE, CURLOPTTYPE_OBJECTPOINT, 103),
          ^
Curl.xs:1110:26: warning: implicit conversion from enumeration type 'CURLINFO' to different enumeration type 'CURLoption' [-Wenum-conversion]
                curl_easy_setopt(easy, CURLINFO_PRIVATE, NULL);
                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/curl/curl.h:3201:68: note: expanded from macro 'curl_easy_setopt'
#define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param)
                                           ~~~~~~~~~~~~~~~~        ^~~
1 warning and 3 errors generated.
*** [Curl.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/www/p5-WWW-Curl/work/WWW-Curl-4.17
1 error

make[1]: stopped in /wrkdirs/usr/ports/www/p5-WWW-Curl/work/WWW-Curl-4.17
===> 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/www/p5-WWW-Curl