[Bug 287493] lang/expect: fails to build on riscv

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 13 Jun 2025 06:44:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287493

Jessica Clarke <jrtc27@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrtc27@freebsd.org

--- Comment #1 from Jessica Clarke <jrtc27@freebsd.org> ---
> configure:4182: /nxb-bin/usr/bin/cc -c -O2 -pipe -march=rv64imafdc -mabi=lp64d  -fstack-protector-strong -fno-strict-aliasing   conftest.c >&5
> eval: /nxb-bin/usr/bin/cc: not found
> configure:4182: $? = 127
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "expect"
> | #define PACKAGE_TARNAME "expect"
> | #define PACKAGE_VERSION "5.45.4"
> | #define PACKAGE_STRING "expect 5.45.4"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL ""
> | /* end confdefs.h.  */
> | 
> | int
> | main (void)
> | {
> | 
> |           #ifdef _WIN32
> |               #error win32
> |           #endif
> | 
> |   ;
> |   return 0;
> | }
> configure:4193: checking for cygpath
> configure:4227: result: echo
> configure:4240: result: windows

So something in your build environment is hosed such that the compiler
specified doesn't exist. After that point it thinks it's building for Windows
so goes off the rails, and ultimately ends up thinking it needs a MinGW
cross-compiler.

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