[Bug 295831] devel/esbuild: fails to build after go-bump

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Jun 2026 21:23:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295831

            Bug ID: 295831
           Summary: devel/esbuild: fails to build after go-bump
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dch@freebsd.org
          Reporter: jonc@chen.org.nz
             Flags: maintainer-feedback?(dch@freebsd.org)
          Assignee: dch@freebsd.org

Currently failing to build (using synth):

--------------------------------------------------------------------------------
--  Phase: build
--------------------------------------------------------------------------------
===>  Building for esbuild-0.28.0_2
(cd /construction/xports/devel/esbuild/work/github.com/evanw/esbuild@v0.28.0; 
f
or t in ./cmd/esbuild:esbuild; do  out=$(/usr/bin/basename $(echo ${t} | 
/usr/b
in/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/esbuild/'));  pkg=$(echo ${t} |
 /usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^esbuild$/./');  echo "===> 
Buildin
g ${out} from ${pkg}";  /usr/bin/env -i
HOME=/construction/xports/devel/esbuild/
work  MACHINE_ARCH=amd64  PWD="${PWD}" 
GIT_CEILING_DIRECTORIES=/construction/xp
orts/devel/esbuild/work  __MAKE_CONF=/nonexistent OSVERSION=1501500
PATH=/usr/lo
cal/libexec/ccache:/construction/xports/devel/esbuild/work/.bin:/sbin:/bin:/usr/
sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=dumb TMPDIR=/tmp
UNAME_m=amd64
 UNAME_p=amd64 UNAME_r=15.1-SYNTH UNAME_s=FreeBSD UNAME_v=FreeBSD\ 15.1-SYNTH
XD
G_DATA_HOME=/construction/xports/devel/esbuild/work 
XDG_CONFIG_HOME=/constructi
on/xports/devel/esbuild/work 
XDG_CACHE_HOME=/construction/xports/devel/esbuild/
work/.cache  HOME=/construction/xports/devel/esbuild/work TMPDIR="/tmp"
PATH=/us
r/local/libexec/ccache:/construction/xports/devel/esbuild/work/.bin:/sbin:/bin:/
usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
PKG_CONFIG_LIBDIR=/construction
/xports/devel/esbuild/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/sh
are/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no
SHEL
L=/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=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong
-f
no-strict-aliasing   " CCACHE_DIR="/ccache" 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"
CGO_EN
ABLED=1  CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib" 
GOAM
D64=  GOARM=  GOTMPDIR="/construction/xports/devel/esbuild/work"
GOPATH="/distfi
les/go/devel_esbuild"  GOBIN="/construction/xports/devel/esbuild/work/bin" 
GO11
1MODULE=on  GOFLAGS=-modcacherw  GOSUMDB=sum.golang.org GOMAXPROCS=6
GOPROXY=off
 /usr/local/bin/go125 build -buildmode=exe -v -trimpath -ldflags '-s '
-buildvcs
=false -mod=vendor  -o /construction/xports/devel/esbuild/work/bin/${out} 
${pkg
};  done)
===>  Building esbuild from ./cmd/esbuild
internal/fs/modkey_unix.go:9:2: cannot find module providing package
golang.org/
x/sys/unix: import lookup disabled by -mod=vendor
*** Error code 1

Stop.
make: stopped making "build" in /xports/devel/esbuild

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