Summary: | ftp/curl: ../lib/http.h:263:8: error: redefinition of 'http_req' | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> | ||||
Component: | Individual Port(s) | Assignee: | Renato Botelho <garga> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | agh, cris, cy, d8zNeCFG, daniel, ish, jreynolds1729, junchoon, m.viey, pi, rhurlin, rrs | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(sunpoet) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
O. Hartmann
2023-05-20 05:24:02 UTC
Surely this is a bug in netinet/tcp.h and not in curl? Why is that header squatting on this name space? No other systems "steal" the 'http_req' name like this in a system header. I believe sys/netinet/tcp.h should make kernel-internal structures private: --- ./netinet/tcp.h.ORIG 2023-05-07 15:15:45.000000000 +0200 +++ ./netinet/tcp.h 2023-05-20 14:11:07.300963000 +0200 @@ -460,6 +460,7 @@ #define TLS_SET_RECORD_TYPE 1 #define TLS_GET_RECORD 2 +#ifdef _KERNEL /* * TCP log user opaque */ @@ -506,6 +507,7 @@ uint32_t hint_maxseg; uint32_t hybrid_flags; }; +#endif /* _KERNEL */ /* * TCP specific variables of interest for tp->t_stats stats(9) accounting. -- Martin (In reply to Daniel Stenberg from comment #1) FYI: This struct is introduced at commit 73ee5756dee6b2110eb6fb2b2ef3cde39a1fcb4f on 2023-04-01 05:46:38 +0000 by Randall Stewart <rrs@FreeBSD.org> [1]. Differential Revision: https://reviews.freebsd.org/D39210 [1] https://cgit.freebsd.org/src/commit/?id=73ee5756dee6b2110eb6fb2b2ef3cde39a1fcb4f Thanks Martin. Some #define are required for buildworld. The following works for me. --- sys/netinet/tcp.h.orig 2023-05-20 14:59:20.729611000 +0200 +++ sys/netinet/tcp.h 2023-05-20 15:00:05.135869000 +0200 @@ -460,6 +460,8 @@ #define TLS_SET_RECORD_TYPE 1 #define TLS_GET_RECORD 2 +#ifdef _KERNEL + /* * TCP log user opaque */ @@ -480,6 +482,8 @@ union tcp_log_userdata data; }; +#endif + /* user types, i.e. apps */ #define TCP_LOG_USER_HTTPD 1 @@ -500,12 +504,16 @@ #define TCP_HYBRID_PACING_S_MSS 0x0020 /* Clent wants us to set the mss overriding gp est in CU */ #define TCP_HYBRID_PACING_SETMSS 0x1000 /* Internal flag that tellsus we set the mss on this entry */ +#ifdef _KERNEL + struct tcp_hybrid_req { struct http_req req; uint64_t cspr; uint32_t hint_maxseg; uint32_t hybrid_flags; }; + +#endif /* * TCP specific variables of interest for tp->t_stats stats(9) accounting. The ARM64 log: https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/peb1aa9292385_sb7afaf8a41/logs/curl-8.1.0.log (In reply to Jonathan Reynolds from comment #4) Thanks! This worked for me, too at git src main commit 902dc544cc5859e24c727126e45416133c1c6d46, amd64. buildworld went fine, too. But I should note that it's NO_CLEN build. Clean buildworld is untested. By the way, the assignee would be better rrs@ than sunpoet@. sunpoet@ is the maintainer of ftp/curl and is not responsible with offending commit. Created attachment 242315 [details]
tcp-http_req-kernel-namespace.patch
Martin Birgmeier's and Jonathan Reynolds' patch—made accessible—as an attachment for users of CURRENT.
Thank you all.
(In reply to Tomoaki AOKI from comment #3) I hope it is ok that I put Randall in the CC list. It seems he is not aware of this problem? curl just updated their code to fix this: https://github.com/curl/curl/commit/54ce13d3ff3391c8ff92c3cf705dbb1f8f8f3acd (In reply to Cristiano Deana from comment #9) Not sure why they did. Everyone seems to agree that base should be patched. Even curl devs say we "kidnapped the name". The curl change is not a fix as much as a workaround to allow FreeBSD 14 users to build the latest curl before FreeBSD is fixed. Rick has a review at: https://reviews.freebsd.org/D40229 A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad3e4398e404b82a8a371808331e3f9c92638c37 commit ad3e4398e404b82a8a371808331e3f9c92638c37 Author: Renato Botelho <garga@FreeBSD.org> AuthorDate: 2023-05-24 02:15:19 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2023-05-24 02:18:52 +0000 ftp/curl: Update to 8.1.1 Upgrade to 8.1.0 broke the build on recent CURRENT and this version contains a fix for that PR: 271526 Reported by: O. Hartmann <ohartmann@walstatt.org> Fixes: 5fae3323ed2f9a1d203ccaed617ed49dec9d85ce Pointy hat to: garga MFH: 2023Q2 Sponsored by: Rubicon Communications, LLC ("Netgate") ftp/curl/Makefile | 2 +- ftp/curl/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) A commit in branch 2023Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d2bf988c1a8610cc8fdc0c265da591dbad88f09b commit d2bf988c1a8610cc8fdc0c265da591dbad88f09b Author: Renato Botelho <garga@FreeBSD.org> AuthorDate: 2023-05-24 02:15:19 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2023-05-24 02:19:10 +0000 ftp/curl: Update to 8.1.1 Upgrade to 8.1.0 broke the build on recent CURRENT and this version contains a fix for that PR: 271526 Reported by: O. Hartmann <ohartmann@walstatt.org> Fixes: 5fae3323ed2f9a1d203ccaed617ed49dec9d85ce Pointy hat to: garga MFH: 2023Q2 Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit ad3e4398e404b82a8a371808331e3f9c92638c37) ftp/curl/Makefile | 2 +- ftp/curl/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) Hi I have still the issue on my side. # git pull Already up to date. root@labo:/usr/src # env MAKE_JOBS_UNSAFE=yes portmaster -a ===>>> Starting check of installed ports for available updates ^[[1;7D===>>> Launching child to update curl-8.0.1 to curl-8.1.0 ===>>> All >> curl-8.0.1 (1/1) ===>>> Currently installed version: curl-8.0.1 ===>>> Port directory: /usr/ports/ftp/curl ===>>> Launching 'make checksum' for ftp/curl in background ===>>> Gathering dependency list for ftp/curl from ports ===>>> Initial dependency check complete for ftp/curl ===>>> Returning to update check of installed ports ===>>> All >> (1) ===>>> The following actions will be taken if you choose to proceed: Upgrade curl-8.0.1 to curl-8.1.0 ===>>> Proceed? y/n [y] y ===>>>y is not a valid response ===>>> Proceed? y/n [y] ===>>> Starting build for ports that need updating <<<=== ===>>> Launching child to install ftp/curl ===>>> All >> ftp/curl (1/1) ===>>> Currently installed version: curl-8.0.1 ===>>> Port directory: /usr/ports/ftp/curl ===>>> Starting check for build dependencies ===>>> Gathering dependency list for ftp/curl from ports ===>>> Dependency check complete for ftp/curl ===>>> All >> curl-8.0.1 (1/1) ===> Cleaning for curl-8.1.0 ===> License MIT accepted by the user ===> curl-8.1.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by curl-8.1.0 for building ===> Extracting for curl-8.1.0 => SHA256 Checksum OK for curl-8.1.0.tar.xz. ===> Patching for curl-8.1.0 ===> Applying FreeBSD patches for curl-8.1.0 from /usr/ports/ftp/curl/files ===> curl-8.1.0 depends on package: pkgconf>=1.3.0_1 - found ===> curl-8.1.0 depends on package: perl5>=5.32.r0<5.33 - found ===> curl-8.1.0 depends on shared library: libnghttp2.so - found (/usr/local/lib/libnghttp2.so) ===> curl-8.1.0 depends on shared library: libssh2.so - found (/usr/local/lib/libssh2.so) ===> Configuring for curl-8.1.0 configure: loading site script /usr/ports/Templates/config.site checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking whether to enable debug build options... no checking whether to enable compiler optimizer... (assumed) yes checking whether to enable strict compiler warnings... no checking whether to enable compiler warnings as errors... no checking whether to enable curl debug memory tracking... no checking whether to enable hiding of library internal symbols... yes checking whether to enable c-ares for DNS lookups... no checking whether to disable dependency on -lrt... (assumed no) checking whether to enable ECH support... no checking for path separator... : checking for sed... (cached) /usr/bin/sed checking for grep... (cached) /usr/bin/grep checking that grep -E works... yes checking for ar... /usr/bin/ar configure: using LIBS: -lkrb5 -lgssapi -lgssapi_krb5 -lkrb5 -lgssapi -lgssapi_krb5 -L/usr/local/lib configure: LIBS note: LIBS should only be used to specify libraries (-lname). configure: using CFLAGS: -I/usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing configure: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not include directories. Use CPPFLAGS for: -I/usr/include configure: WARNING: Continuing even with errors mentioned immediately above this line. checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... cc 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 the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cpp checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for stdatomic.h... yes checking if _Atomic is available... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for code coverage support... no checking whether build environment is sane... yes checking for a race-free mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 checking curl version... 8.1.0 checking for httpd... no checking for apache2... no checking for apachectl... no checking for apxs... no configure: httpd/apache2 not in PATH, http tests disabled configure: apxs not in PATH, http tests disabled checking for nghttpx... no checking for caddy... no checking build system type... amd64-portbld-freebsd14.0 checking host system type... amd64-portbld-freebsd14.0 checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking if OS is AIX (to define _ALL_SOURCE)... no checking if _THREAD_SAFE is already defined... no checking if _THREAD_SAFE is actually needed... no checking if _THREAD_SAFE is onwards defined... no checking if _REENTRANT is already defined... no checking if _REENTRANT is actually needed... no checking if _REENTRANT is onwards defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B checking the name lister (/usr/local/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 524288 checking how to convert amd64-portbld-freebsd14.0 file names to amd64-portbld-freebsd14.0 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd14.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/local/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) 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... freebsd14.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... yes checking whether to build shared libraries with -version-info... yes checking whether to build shared libraries with -no-undefined... no checking whether to build shared libraries with -mimpure-text... no checking whether to build shared libraries with PIC... yes checking whether to build static libraries with PIC... yes checking whether to build shared libraries only... no checking whether to build static libraries only... no checking for windres... no checking for inline... inline checking if cpp -P is needed... no checking if compiler is DEC/Compaq/HP C... no checking if compiler is HP-UX C... no checking if compiler is IBM C... no checking if compiler is Intel C... no checking if compiler is clang... yes checking if compiler is xlclang... no checking if compiler is GNU C... no checking if compiler is LCC... no checking if compiler is SGI MIPSpro C... no checking if compiler is SGI MIPS C... no checking if compiler is SunPro C... no checking if compiler is Tiny C... no checking if compiler accepts some basic options... yes configure: compiler options added: -Qunused-arguments checking if compiler optimizer assumed setting might be used... no checking if compiler accepts strict warning options... yes configure: compiler options added: -Wno-pointer-bool-conversion checking if compiler halts on compilation errors... yes checking if compiler halts on negative sized arrays... yes checking if compiler halts on function prototype mismatch... yes checking if compiler supports hiding library internal symbols... yes checking for windows.h... no checking whether build target is a native Windows one... no checking whether build target supports WIN32 file API... no checking whether build target supports WIN32 crypto API... no checking for good-to-use Darwin CFLAGS... no checking whether to link macOS CoreFoundation and SystemConfiguration framework... no checking to see if the compiler supports __builtin_available()... yes checking whether to support http... yes checking whether to support ftp... yes checking whether to support file... yes checking whether to support ldap... no checking whether to support ldaps... no checking whether to support rtsp... yes checking whether to support proxies... yes checking whether to support dict... yes checking whether to support telnet... yes checking whether to support tftp... yes checking whether to support pop3... yes checking whether to support imap... yes checking whether to support smb... no checking whether to support smtp... yes checking whether to support gopher... yes checking whether to support mqtt... no checking whether to provide built-in manual... yes checking whether to enable generation of C code... yes checking whether to use libgcc... no checking if X/Open network library is required... no checking for gethostbyname... (cached) yes checking for windows.h... (cached) no checking for winsock2.h... (cached) no checking for proto/bsdsocket.h... no checking for connect in libraries... yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for monotonic clock_gettime... yes checking for clock_gettime in libraries... no additional lib required checking if monotonic clock_gettime works... yes checking for zlib options with pkg-config... found checking for zlib.h... (cached) yes configure: found both libz and libz.h header checking whether to enable IPv6... yes checking if struct sockaddr_in6 has sin6_scope_id member... yes checking if argv can be written to... yes checking if GSS-API support is requested... yes checking for mit-krb5-gssapi options with pkg-config... no checking for gss.h... no checking for gssapi/gssapi.h... yes checking for gssapi/gssapi_generic.h... no checking for gssapi/gssapi_krb5.h... yes checking for gssapi.h... yes checking for mit-krb5-gssapi options with pkg-config... no checking if we can link against GSS-API library... yes checking whether to enable Windows native SSL/TLS... no checking whether to enable Secure Transport... no checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no checking for HMAC_Update in -lcrypto... yes checking for SSL_connect in -lssl... yes checking for openssl/x509.h... yes checking for openssl/rsa.h... yes checking for openssl/crypto.h... yes checking for openssl/pem.h... yes checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking for RAND_egd... no checking for BoringSSL... no checking for AWS-LC... no checking for libressl... no checking for OpenSSL >= v3... no configure: Added /usr/lib to CURL_LIBRARY_PATH checking for "/dev/urandom"... yes checking for SRP support in OpenSSL... yes configure: built with one SSL backend checking default CA cert bundle/path... /usr/local/share/certs/ca-root-nss.crt checking whether to use builtin CA store of SSL library... no checking for library containing gsasl_init... no configure: WARNING: libgsasl was not found checking for libssh2 options with pkg-config... found checking for libssh2_session_block_directions in -lssh2... yes checking for libssh2.h... yes configure: Added /usr/local/lib to CURL_LIBRARY_PATH checking whether versioned symbols are wanted... no checking whether to enable Windows native IDN (Windows native builds only)... no checking whether to build with libidn2... no checking for libnghttp2 options with pkg-config... found configure: -l is -lnghttp2 configure: -I is -I/usr/local/include configure: -L is -L/usr/local/lib checking for nghttp2_session_set_local_window_size in -lnghttp2... yes checking for nghttp2/nghttp2.h... yes configure: Added /usr/local/lib to CURL_LIBRARY_PATH checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/uio.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for net/if.h... (cached) yes checking for netinet/in.h... (cached) yes checking for netinet/in6.h... no checking for sys/un.h... (cached) yes checking for linux/tcp.h... no checking for netinet/tcp.h... yes checking for netinet/udp.h... yes checking for netdb.h... (cached) yes checking for sys/sockio.h... yes checking for sys/stat.h... (cached) yes checking for sys/param.h... (cached) yes checking for termios.h... yes checking for termio.h... no checking for fcntl.h... (cached) yes checking for io.h... no checking for pwd.h... (cached) yes checking for utime.h... (cached) yes checking for sys/utime.h... no checking for sys/poll.h... (cached) yes checking for poll.h... (cached) yes checking for socket.h... no checking for sys/resource.h... (cached) yes checking for libgen.h... (cached) yes checking for locale.h... (cached) yes checking for stdbool.h... (cached) yes checking for arpa/tftp.h... yes checking for sys/filio.h... yes checking for sys/wait.h... (cached) yes checking for setjmp.h... yes checking for an ANSI C-conforming const... yes checking for compiler support of C99 variadic macro style... yes checking for compiler support of old gcc variadic macro style... yes checking for size_t... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/socket.h... (cached) yes checking for struct timeval... yes checking run-time libs availability... fine checking size of size_t... 8 checking size of long... 8 checking size of int... 4 checking size of time_t... 8 checking size of off_t... 8 checking size of curl_off_t... 8 checking size of curl_socket_t... 4 checking for long long... (cached) yes checking for ssize_t... (cached) yes checking for bool... yes checking for sa_family_t... yes checking for suseconds_t... yes checking if time_t is unsigned... no checking for sys/types.h... (cached) yes checking for poll.h... (cached) yes checking for sys/poll.h... (cached) yes checking for in_addr_t... (cached) yes checking for struct sockaddr_storage... yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking for select... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for recv... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for send... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for MSG_NOSIGNAL... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking if alarm can be linked... yes checking if alarm is prototyped... yes checking if alarm is compilable... yes checking if alarm usage allowed... yes checking if alarm might be used... yes checking for sys/types.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/types.h... (cached) yes checking for libgen.h... (cached) yes checking if basename can be linked... yes checking if basename is prototyped... yes checking if basename is compilable... yes checking if basename usage allowed... yes checking if basename might be used... yes checking for sys/types.h... (cached) yes checking for socket.h... (cached) no checking if closesocket can be linked... no checking if closesocket might be used... no checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking if CloseSocket can be linked... no checking if CloseSocket might be used... no checking if connect can be linked... yes checking if connect is prototyped... yes checking if connect is compilable... yes checking if connect usage allowed... yes checking if connect might be used... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking if fcntl can be linked... yes checking if fcntl is prototyped... yes checking if fcntl is compilable... yes checking if fcntl usage allowed... yes checking if fcntl might be used... yes checking if fcntl O_NONBLOCK is compilable... yes checking if fcntl O_NONBLOCK usage allowed... yes checking if fcntl O_NONBLOCK might be used... yes checking for windows.h... (cached) no checking for winsock2.h... (cached) no checking for ws2tcpip.h... (cached) no checking for sys/types.h... (cached) yes checking for netdb.h... (cached) yes checking if freeaddrinfo can be linked... yes checking if freeaddrinfo is prototyped... yes checking if freeaddrinfo is compilable... yes checking if freeaddrinfo usage allowed... yes checking if freeaddrinfo might be used... yes checking for sys/types.h... (cached) yes checking for sys/xattr.h... no checking if fsetxattr can be linked... no checking if fsetxattr might be used... no checking if ftruncate can be linked... yes checking if ftruncate is prototyped... yes checking if ftruncate is compilable... yes checking if ftruncate usage allowed... yes checking if ftruncate might be used... yes checking for sys/types.h... (cached) yes checking for stdlib.h... (cached) yes checking if getaddrinfo can be linked... yes checking if getaddrinfo is prototyped... yes checking if getaddrinfo is compilable... yes checking if getaddrinfo seems to work... yes checking if getaddrinfo usage allowed... yes checking if getaddrinfo might be used... yes checking if getaddrinfo is threadsafe... yes checking if gethostbyname can be linked... yes checking if gethostbyname is prototyped... yes checking if gethostbyname is compilable... yes checking if gethostbyname usage allowed... yes checking if gethostbyname might be used... yes checking if gethostbyname_r can be linked... yes checking if gethostbyname_r is prototyped... yes checking if gethostbyname_r takes 3 args.... no checking if gethostbyname_r takes 5 args.... no checking if gethostbyname_r takes 6 args.... yes checking if gethostbyname_r is compilable... yes checking if gethostbyname_r usage allowed... yes checking if gethostbyname_r might be used... yes checking if gethostname can be linked... yes checking if gethostname is prototyped... yes checking if gethostname is compilable... yes checking for gethostname arg 2 data type... size_t checking if gethostname usage allowed... yes checking if gethostname might be used... yes checking if getpeername can be linked... yes checking if getpeername is prototyped... yes checking if getpeername is compilable... yes checking if getpeername usage allowed... yes checking if getpeername might be used... yes checking if getsockname can be linked... yes checking if getsockname is prototyped... yes checking if getsockname is compilable... yes checking if getsockname usage allowed... yes checking if getsockname might be used... yes checking for net/if.h... (cached) yes checking if if_nametoindex can be linked... yes checking if if_nametoindex is prototyped... yes checking if if_nametoindex is compilable... yes checking if if_nametoindex usage allowed... yes checking if if_nametoindex might be used... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netinet/in.h... (cached) yes checking for ifaddrs.h... yes checking if getifaddrs can be linked... yes checking if getifaddrs is prototyped... yes checking if getifaddrs is compilable... yes checking if getifaddrs seems to work... yes checking if getifaddrs usage allowed... yes checking if getifaddrs might be used... yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking if gmtime_r can be linked... yes checking if gmtime_r is prototyped... yes checking if gmtime_r is compilable... yes checking if gmtime_r seems to work... yes checking if gmtime_r usage allowed... yes checking if gmtime_r might be used... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking if inet_ntop can be linked... yes checking if inet_ntop is prototyped... yes checking if inet_ntop is compilable... yes checking if inet_ntop seems to work... yes checking if inet_ntop usage allowed... yes checking if inet_ntop might be used... yes checking if inet_pton can be linked... yes checking if inet_pton is prototyped... yes checking if inet_pton is compilable... yes checking if inet_pton seems to work... yes checking if inet_pton usage allowed... yes checking if inet_pton might be used... yes checking if ioctlsocket can be linked... no checking if ioctlsocket might be used... no checking if IoctlSocket can be linked... no checking if IoctlSocket might be used... no checking if memrchr can be linked... yes checking if memrchr is prototyped... yes checking if memrchr is compilable... yes checking if memrchr usage allowed... yes checking if memrchr might be used... yes checking if poll can be linked... yes checking if poll is prototyped... yes checking if poll is compilable... yes checking if poll seems to work... yes checking if poll usage allowed... yes checking if poll might be used... yes checking for sys/types.h... (cached) yes checking for signal.h... (cached) yes checking if sigaction can be linked... yes checking if sigaction is prototyped... yes checking if sigaction is compilable... yes checking if sigaction usage allowed... yes checking if sigaction might be used... yes checking if siginterrupt can be linked... yes checking if siginterrupt is prototyped... yes checking if siginterrupt is compilable... yes checking if siginterrupt usage allowed... yes checking if siginterrupt might be used... yes checking if signal can be linked... yes checking if signal is prototyped... yes checking if signal is compilable... yes checking if signal usage allowed... yes checking if signal might be used... yes checking for sys/types.h... (cached) yes checking for setjmp.h... (cached) yes checking if sigsetjmp can be linked... yes checking if sigsetjmp is prototyped... yes checking if sigsetjmp is compilable... yes checking if sigsetjmp usage allowed... yes checking if sigsetjmp might be used... yes checking if socket can be linked... yes checking if socket is prototyped... yes checking if socket is compilable... yes checking if socket usage allowed... yes checking if socket might be used... yes checking if socketpair can be linked... yes checking if socketpair is prototyped... yes checking if socketpair is compilable... yes checking if socketpair usage allowed... yes checking if socketpair might be used... yes checking if strcasecmp can be linked... yes checking if strcasecmp is prototyped... yes checking if strcasecmp is compilable... yes checking if strcasecmp usage allowed... yes checking if strcasecmp might be used... yes checking if strcmpi can be linked... no checking if strcmpi might be used... no checking if strdup can be linked... yes checking if strdup is prototyped... yes checking if strdup is compilable... yes checking if strdup usage allowed... yes checking if strdup might be used... yes checking if strerror_r can be linked... yes checking if strerror_r is prototyped... yes checking if strerror_r is compilable... yes checking if strerror_r is glibc like... no checking if strerror_r is POSIX like... yes checking if strerror_r seems to work... yes checking if strerror_r usage allowed... yes checking if strerror_r might be used... yes checking if stricmp can be linked... no checking if stricmp might be used... no checking if strtok_r can be linked... yes checking if strtok_r is prototyped... yes checking if strtok_r is compilable... yes checking if strtok_r usage allowed... yes checking if strtok_r might be used... yes checking if strtoll can be linked... yes checking if strtoll is prototyped... yes checking if strtoll is compilable... yes checking if strtoll usage allowed... yes checking if strtoll might be used... yes checking for cc options needed to detect all undeclared functions... -fno-builtin checking whether getpwuid_r is declared... yes checking for fnmatch... yes checking for fchmod... (cached) yes checking for fork... (cached) yes checking for geteuid... (cached) yes checking for getpass_r... no checking deeper for getpass_r... but still no checking for getppid... yes checking for getpwuid... yes checking for getpwuid_r... yes checking for getrlimit... (cached) yes checking for gettimeofday... (cached) yes checking for if_nametoindex... yes checking for mach_absolute_time... no checking deeper for mach_absolute_time... but still no checking for pipe... (cached) yes checking for sched_yield... (cached) yes checking for sendmsg... (cached) yes checking for setlocale... (cached) yes checking for setmode... yes checking for setrlimit... (cached) yes checking for snprintf... (cached) yes checking for utime... (cached) yes checking for utimes... (cached) yes checking for arc4random... (cached) yes checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK checking for perl... (cached) /usr/local/bin/perl checking for gnroff... no checking for nroff... no configure: WARNING: disabling built-in manual checking whether to enable the threaded resolver... yes checking whether to use POSIX threads for threaded resolver... yes checking for pthread.h... (cached) yes checking for pthread_create... no checking for pthread_create in -lpthread... yes checking convert -I options to -isystem... yes checking whether to enable verbose strings... yes checking whether to enable SSPI support (Windows native builds only)... no checking whether to enable cryptographic authentication methods... yes checking whether to support NTLM... yes checking whether to enable NTLM delegation to winbind's helper... yes checking whether to enable TLS-SRP authentication... yes checking whether to enable Unix domain sockets... auto checking for struct sockaddr_un.sun_path... yes checking whether to support cookies... yes checking whether to support socketpair... yes checking whether to support HTTP authentication... yes checking whether to support DoH... yes checking whether to support the MIME API... yes checking whether to support date parsing... yes checking whether to support netrc parsing... yes checking whether to support progress-meter... yes checking whether to support DNS shuffling... yes checking whether to support curl_easy_option*... yes checking whether to support alt-svc... yes checking whether to support headers-api... yes checking whether to support HSTS... yes checking for SSL_set0_wbio... yes checking whether to support WebSockets... no checking whether hiding of library internal symbols will actually happen... yes configure: using LIBS: -lnghttp2 -lssh2 -L/usr/local/lib -lssh2 -lssl -lcrypto -L/usr/lib -lgssapi -lgssapi_krb5 -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -pthread -lz -lkrb5 -lgssapi -lgssapi_krb5 -lkrb5 -lgssapi -lgssapi_krb5 -L/usr/local/lib configure: LIBS note: LIBS should only be used to specify libraries (-lname). configure: WARNING: Continuing even with errors mentioned immediately above this line. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating docs/Makefile config.status: creating docs/examples/Makefile config.status: creating docs/libcurl/Makefile config.status: creating docs/libcurl/opts/Makefile config.status: creating docs/cmdline-opts/Makefile config.status: creating include/Makefile config.status: creating include/curl/Makefile config.status: creating src/Makefile config.status: creating lib/Makefile config.status: creating scripts/Makefile config.status: creating lib/libcurl.vers config.status: creating lib/libcurl.plist config.status: creating tests/Makefile config.status: creating tests/config config.status: creating tests/certs/Makefile config.status: creating tests/certs/scripts/Makefile config.status: creating tests/data/Makefile config.status: creating tests/server/Makefile config.status: creating tests/libtest/Makefile config.status: creating tests/unit/Makefile config.status: creating tests/http/config.ini config.status: creating tests/http/Makefile config.status: creating tests/http/clients/Makefile config.status: creating packages/Makefile config.status: creating packages/vms/Makefile config.status: creating curl-config config.status: creating libcurl.pc config.status: creating lib/curl_config.h config.status: executing depfiles commands config.status: executing libtool commands configure: Configured to build curl/libcurl: Host setup: amd64-portbld-freebsd14.0 Install prefix: /usr/local Compiler: cc CFLAGS: -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread CPPFLAGS: -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include LDFLAGS: -L/usr/lib -L/usr/lib -fstack-protector-strong -L/lib -L/usr/local/lib -L/usr/local/lib LIBS: -lnghttp2 -lssh2 -L/usr/local/lib -lssh2 -lssl -lcrypto -L/usr/lib -lgssapi -lgssapi_krb5 -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -pthread -lz -lkrb5 -lgssapi -lgssapi_krb5 -lkrb5 -lgssapi -lgssapi_krb5 -L/usr/local/lib curl version: 8.1.0 SSL: enabled (OpenSSL) SSH: enabled (libSSH2) zlib: enabled brotli: no (--with-brotli) zstd: no (--with-zstd) GSS-API: enabled (MIT Kerberos/Heimdal) GSASL: no (libgsasl not found) TLS-SRP: enabled resolver: POSIX threaded IPv6: enabled Unix sockets: enabled IDN: no (--with-{libidn2,winidn}) Build libcurl: Shared=yes, Static=yes Built-in manual: no (--enable-manual) --libcurl option: enabled (--disable-libcurl-option) Verbose errors: enabled (--disable-verbose) Code coverage: disabled SSPI: no (--enable-sspi) ca cert bundle: /usr/local/share/certs/ca-root-nss.crt ca cert path: no ca fallback: no LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS: no (--enable-ldaps) RTSP: enabled RTMP: no (--with-librtmp) PSL: no (--with-libpsl) Alt-svc: enabled (--disable-alt-svc) Headers API: enabled (--disable-headers-api) HSTS: enabled (--disable-hsts) HTTP1: enabled (internal) HTTP2: enabled (nghttp2) HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-msh3) ECH: no (--enable-ech) WebSockets: no (--enable-websockets) Protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SCP SFTP SMTP SMTPS TELNET TFTP Features: AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets alt-svc libz threadsafe ===> Building for curl-8.1.0 Making all in lib /usr/bin/make all-am /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-altsvc.lo -MD -MP -MF .deps/libcurl_la-altsvc.Tpo -c -o libcurl_la-altsvc.lo `test -f 'altsvc.c' || echo './'`altsvc.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-altsvc.lo -MD -MP -MF .deps/libcurl_la-altsvc.Tpo -c altsvc.c -fPIC -DPIC -o .libs/libcurl_la-altsvc.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-altsvc.lo -MD -MP -MF .deps/libcurl_la-altsvc.Tpo -c altsvc.c -fPIC -DPIC -o libcurl_la-altsvc.o >/dev/null 2>&1 mv -f .deps/libcurl_la-altsvc.Tpo .deps/libcurl_la-altsvc.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-amigaos.lo -MD -MP -MF .deps/libcurl_la-amigaos.Tpo -c -o libcurl_la-amigaos.lo `test -f 'amigaos.c' || echo './'`amigaos.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-amigaos.lo -MD -MP -MF .deps/libcurl_la-amigaos.Tpo -c amigaos.c -fPIC -DPIC -o .libs/libcurl_la-amigaos.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-amigaos.lo -MD -MP -MF .deps/libcurl_la-amigaos.Tpo -c amigaos.c -fPIC -DPIC -o libcurl_la-amigaos.o >/dev/null 2>&1 mv -f .deps/libcurl_la-amigaos.Tpo .deps/libcurl_la-amigaos.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-asyn-ares.lo -MD -MP -MF .deps/libcurl_la-asyn-ares.Tpo -c -o libcurl_la-asyn-ares.lo `test -f 'asyn-ares.c' || echo './'`asyn-ares.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-asyn-ares.lo -MD -MP -MF .deps/libcurl_la-asyn-ares.Tpo -c asyn-ares.c -fPIC -DPIC -o .libs/libcurl_la-asyn-ares.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-asyn-ares.lo -MD -MP -MF .deps/libcurl_la-asyn-ares.Tpo -c asyn-ares.c -fPIC -DPIC -o libcurl_la-asyn-ares.o >/dev/null 2>&1 mv -f .deps/libcurl_la-asyn-ares.Tpo .deps/libcurl_la-asyn-ares.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-asyn-thread.lo -MD -MP -MF .deps/libcurl_la-asyn-thread.Tpo -c -o libcurl_la-asyn-thread.lo `test -f 'asyn-thread.c' || echo './'`asyn-thread.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-asyn-thread.lo -MD -MP -MF .deps/libcurl_la-asyn-thread.Tpo -c asyn-thread.c -fPIC -DPIC -o .libs/libcurl_la-asyn-thread.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-asyn-thread.lo -MD -MP -MF .deps/libcurl_la-asyn-thread.Tpo -c asyn-thread.c -fPIC -DPIC -o libcurl_la-asyn-thread.o >/dev/null 2>&1 mv -f .deps/libcurl_la-asyn-thread.Tpo .deps/libcurl_la-asyn-thread.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-base64.lo -MD -MP -MF .deps/libcurl_la-base64.Tpo -c -o libcurl_la-base64.lo `test -f 'base64.c' || echo './'`base64.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-base64.lo -MD -MP -MF .deps/libcurl_la-base64.Tpo -c base64.c -fPIC -DPIC -o .libs/libcurl_la-base64.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-base64.lo -MD -MP -MF .deps/libcurl_la-base64.Tpo -c base64.c -fPIC -DPIC -o libcurl_la-base64.o >/dev/null 2>&1 mv -f .deps/libcurl_la-base64.Tpo .deps/libcurl_la-base64.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-bufq.lo -MD -MP -MF .deps/libcurl_la-bufq.Tpo -c -o libcurl_la-bufq.lo `test -f 'bufq.c' || echo './'`bufq.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-bufq.lo -MD -MP -MF .deps/libcurl_la-bufq.Tpo -c bufq.c -fPIC -DPIC -o .libs/libcurl_la-bufq.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-bufq.lo -MD -MP -MF .deps/libcurl_la-bufq.Tpo -c bufq.c -fPIC -DPIC -o libcurl_la-bufq.o >/dev/null 2>&1 mv -f .deps/libcurl_la-bufq.Tpo .deps/libcurl_la-bufq.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-bufref.lo -MD -MP -MF .deps/libcurl_la-bufref.Tpo -c -o libcurl_la-bufref.lo `test -f 'bufref.c' || echo './'`bufref.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-bufref.lo -MD -MP -MF .deps/libcurl_la-bufref.Tpo -c bufref.c -fPIC -DPIC -o .libs/libcurl_la-bufref.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-bufref.lo -MD -MP -MF .deps/libcurl_la-bufref.Tpo -c bufref.c -fPIC -DPIC -o libcurl_la-bufref.o >/dev/null 2>&1 mv -f .deps/libcurl_la-bufref.Tpo .deps/libcurl_la-bufref.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-c-hyper.lo -MD -MP -MF .deps/libcurl_la-c-hyper.Tpo -c -o libcurl_la-c-hyper.lo `test -f 'c-hyper.c' || echo './'`c-hyper.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-c-hyper.lo -MD -MP -MF .deps/libcurl_la-c-hyper.Tpo -c c-hyper.c -fPIC -DPIC -o .libs/libcurl_la-c-hyper.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-c-hyper.lo -MD -MP -MF .deps/libcurl_la-c-hyper.Tpo -c c-hyper.c -fPIC -DPIC -o libcurl_la-c-hyper.o >/dev/null 2>&1 mv -f .deps/libcurl_la-c-hyper.Tpo .deps/libcurl_la-c-hyper.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-h1-proxy.lo -MD -MP -MF .deps/libcurl_la-cf-h1-proxy.Tpo -c -o libcurl_la-cf-h1-proxy.lo `test -f 'cf-h1-proxy.c' || echo './'`cf-h1-proxy.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-h1-proxy.lo -MD -MP -MF .deps/libcurl_la-cf-h1-proxy.Tpo -c cf-h1-proxy.c -fPIC -DPIC -o .libs/libcurl_la-cf-h1-proxy.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-h1-proxy.lo -MD -MP -MF .deps/libcurl_la-cf-h1-proxy.Tpo -c cf-h1-proxy.c -fPIC -DPIC -o libcurl_la-cf-h1-proxy.o >/dev/null 2>&1 mv -f .deps/libcurl_la-cf-h1-proxy.Tpo .deps/libcurl_la-cf-h1-proxy.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-h2-proxy.lo -MD -MP -MF .deps/libcurl_la-cf-h2-proxy.Tpo -c -o libcurl_la-cf-h2-proxy.lo `test -f 'cf-h2-proxy.c' || echo './'`cf-h2-proxy.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-h2-proxy.lo -MD -MP -MF .deps/libcurl_la-cf-h2-proxy.Tpo -c cf-h2-proxy.c -fPIC -DPIC -o .libs/libcurl_la-cf-h2-proxy.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-h2-proxy.lo -MD -MP -MF .deps/libcurl_la-cf-h2-proxy.Tpo -c cf-h2-proxy.c -fPIC -DPIC -o libcurl_la-cf-h2-proxy.o >/dev/null 2>&1 mv -f .deps/libcurl_la-cf-h2-proxy.Tpo .deps/libcurl_la-cf-h2-proxy.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-haproxy.lo -MD -MP -MF .deps/libcurl_la-cf-haproxy.Tpo -c -o libcurl_la-cf-haproxy.lo `test -f 'cf-haproxy.c' || echo './'`cf-haproxy.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-haproxy.lo -MD -MP -MF .deps/libcurl_la-cf-haproxy.Tpo -c cf-haproxy.c -fPIC -DPIC -o .libs/libcurl_la-cf-haproxy.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-haproxy.lo -MD -MP -MF .deps/libcurl_la-cf-haproxy.Tpo -c cf-haproxy.c -fPIC -DPIC -o libcurl_la-cf-haproxy.o >/dev/null 2>&1 mv -f .deps/libcurl_la-cf-haproxy.Tpo .deps/libcurl_la-cf-haproxy.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-https-connect.lo -MD -MP -MF .deps/libcurl_la-cf-https-connect.Tpo -c -o libcurl_la-cf-https-connect.lo `test -f 'cf-https-connect.c' || echo './'`cf-https-connect.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-https-connect.lo -MD -MP -MF .deps/libcurl_la-cf-https-connect.Tpo -c cf-https-connect.c -fPIC -DPIC -o .libs/libcurl_la-cf-https-connect.o libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-https-connect.lo -MD -MP -MF .deps/libcurl_la-cf-https-connect.Tpo -c cf-https-connect.c -fPIC -DPIC -o libcurl_la-cf-https-connect.o >/dev/null 2>&1 mv -f .deps/libcurl_la-cf-https-connect.Tpo .deps/libcurl_la-cf-https-connect.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-socket.lo -MD -MP -MF .deps/libcurl_la-cf-socket.Tpo -c -o libcurl_la-cf-socket.lo `test -f 'cf-socket.c' || echo './'`cf-socket.c libtool: compile: cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -isystem /usr/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/include -isystem /usr/local/include -isystem /usr/local/include -fvisibility=hidden -isystem /usr/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Qunused-arguments -Wno-pointer-bool-conversion -pthread -MT libcurl_la-cf-socket.lo -MD -MP -MF .deps/libcurl_la-cf-socket.Tpo -c cf-socket.c -fPIC -DPIC -o .libs/libcurl_la-cf-socket.o In file included from cf-socket.c:56: In file included from ../lib/urldata.h:168: ../lib/http.h:263:8: error: redefinition of 'http_req' struct http_req { ^ /usr/include/netinet/tcp.h:466:8: note: previous definition is here struct http_req { ^ 1 error generated. *** Error code 1 Stop. make[4]: stopped in /usr/ports/ftp/curl/work/curl-8.1.0/lib *** Error code 1 Stop. make[3]: stopped in /usr/ports/ftp/curl/work/curl-8.1.0/lib *** Error code 1 Stop. make[2]: stopped in /usr/ports/ftp/curl/work/curl-8.1.0 *** Error code 1 Stop. make[1]: stopped in /usr/ports/ftp/curl *** Error code 1 Stop. make: stopped in /usr/ports/ftp/curl ===>>> make build failed for ftp/curl ===>>> Aborting update ===>>> Update for ftp/curl failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster <flags> ftp/curl This command has been saved to ~/portmasterfail.txt root@labo:/usr/src # git branch * main Michael still has the same problem. (In reply to Michael V from comment #15) curl version 8.1.1 fixed it. Your log still shows 8.1.0 Oh yes sorry. It works after `git pull`. I thought I had. I am compiling the 8.1.1 right now. seems to work. Thank you. Thanks! The recent ports tree builds port ftp/curl (8.1.0) fine. Thank you very much for taking care of that! FYI main is fixed now. review D39210 https://cgit.freebsd.org/src/commit/?id=73ee5756dee6b2110eb6fb2b2ef3cde39a1fcb4f (In reply to Jonathan Reynolds from comment #21) No. It's what broke ftp/curl. Differential revision D40229 [1] and its corresponding commit base 57a3a161a92fb8eb15cadca917d351628105d9e5 [2] on git main fixed it. [1] https://reviews.freebsd.org/D40229 [2] https://cgit.freebsd.org/src/commit/?id=57a3a161a92fb8eb15cadca917d351628105d9e5 (In reply to Tomoaki AOKI from comment #22) Oops, sorry for the mixup. Thanks. |