[Bug 286835] ftp/curl failed to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 May 2025 14:57:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286835

            Bug ID: 286835
           Summary: ftp/curl failed to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: ant_mail@inbox.ru
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Hello,

I'm trying to build some ports via poudriere and got:

[09:19:41] Failed ports: ftp/curl:configure
[14S-current] [2025-05-14_16h14m44s] [committing] Queued: 129 Built: 127
Failed: 1 Skipped: 1

The error is (config.log):
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  Configuring for curl-8.13.0_2
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
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... yes
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 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... configure: error: in
`/wrkdirs/usr/ports/ftp/curl/work/curl-8.13.0':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/ftp/curl/work/curl-8.13.0/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

---
uname -m = amd64
uname -r = 14.2-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 14.2-STABLE stable/14-n270286-b40f5ebc4581 GENERIC

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