net/gp-openconnect failed to build in my latest amd64 bulk build.
Here's the tail end of the build log:
Compiling mac-addr v0.3.0
Running `/usr/local/bin/rustc --crate-name mac_addr --edition=2024
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/modcargo-crates/mac-addr-0.3.0/src/lib.rs
--error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat
--crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C
embed-bitcode=no -C codegen-units=4 --cfg 'feature="default"' --cfg
'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature,
values("alloc", "default", "serde", "std"))' -C metadata=a55ae0a480f45e5b -C
extra-filename=-d69fd9c11757a830 --out-dir
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/target/release/deps
-C strip=symbols -L
dependency=/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/target/release/deps
--cap-lints allow`
error: failed to run custom build command for `openconnect v2.5.3
(/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect)`
Caused by:
process didn't exit successfully:
`/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/target/release/build/openconnect-0a1325b7d2cced3e/build-script-build`
(exit status: 101)
--- stdout
cargo:rerun-if-changed=/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/openconnect
cargo:rerun-if-changed=/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0001-Add-support-for-GlobalProtect-app-version-handling.patch
Applying patch:
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0001-Add-support-for-GlobalProtect-app-version-handling.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From a8d5ec198ca9ae47a0e6b4f1ea244d2738acf055 Mon Sep 17 00:00:00 2001
|From: Kevin Yue <[email protected]>
|Date: Sun, 14 Dec 2025 17:10:02 +0800
|Subject: [PATCH 1/4] Add support for GlobalProtect app version handling
|
|- Introduced `gp_app_version` field in `openconnect_info` structure.
|- Implemented `openconnect_set_gp_app_version` and
`openconnect_get_gp_app_version` functions.
|- Updated `gpst_get_config` to use the app version in requests.
|- Free `gp_app_version` in `openconnect_vpninfo_free` to prevent memory
leaks.
|---
| gpst.c | 8 +++++---
| library.c | 15 +++++++++++++++
| openconnect-internal.h | 4 ++++
| openconnect.h | 2 ++
| 4 files changed, 26 insertions(+), 3 deletions(-)
|
|diff --git a/gpst.c b/gpst.c
|index 244aaf04..5c24bbd2 100644
|--- a/gpst.c
|+++ b/gpst.c
--------------------------
Patching file gpst.c using Plan A...
Hunk #1 succeeded at 650.
Hunk #2 succeeded at 1043.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/library.c b/library.c
|index b5e74e9b..18334c76 100644
|--- a/library.c
|+++ b/library.c
--------------------------
Patching file library.c using Plan A...
Hunk #1 succeeded at 896.
Hunk #2 succeeded at 1020.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/openconnect-internal.h b/openconnect-internal.h
|index abf45bbd..988f85f0 100644
|--- a/openconnect-internal.h
|+++ b/openconnect-internal.h
--------------------------
Patching file openconnect-internal.h using Plan A...
Hunk #1 succeeded at 786.
Hunk #2 succeeded at 1678.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/openconnect.h b/openconnect.h
|index 136f181a..7d4f3399 100644
|--- a/openconnect.h
|+++ b/openconnect.h
--------------------------
Patching file openconnect.h using Plan A...
Hunk #1 succeeded at 470.
Hmm... Ignoring the trailing garbage.
done
cargo:rerun-if-changed=/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0002-Update-user-agent-for-common-headers-in-GlobalProtec.patch
Applying patch:
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0002-Update-user-agent-for-common-headers-in-GlobalProtec.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 8591eba702f52dae335601c997271786be50dff7 Mon Sep 17 00:00:00 2001
|From: Kevin Yue <[email protected]>
|Date: Sun, 14 Dec 2025 17:10:52 +0800
|Subject: [PATCH 2/4] Update user agent for common headers in GlobalProtect
| authentication
|
|---
| auth-globalprotect.c | 7 -------
| 1 file changed, 7 deletions(-)
|
|diff --git a/auth-globalprotect.c b/auth-globalprotect.c
|index 8d094273..27e41c2b 100644
|--- a/auth-globalprotect.c
|+++ b/auth-globalprotect.c
--------------------------
Patching file auth-globalprotect.c using Plan A...
Hunk #1 succeeded at 34.
Hmm... Ignoring the trailing garbage.
done
cargo:rerun-if-changed=/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0003-Add-support-for-OS-version-handling-in-GlobalProtect.patch
Applying patch:
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0003-Add-support-for-OS-version-handling-in-GlobalProtect.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From dda2aceca7e614af65b968e632065ef223cb6612 Mon Sep 17 00:00:00 2001
|From: Kevin Yue <[email protected]>
|Date: Sun, 14 Dec 2025 17:14:08 +0800
|Subject: [PATCH 3/4] Add support for OS version handling in GlobalProtect
| authentication
|
|---
| auth-globalprotect.c | 2 +-
| gpst.c | 4 ++--
| library.c | 15 +++++++++++++++
| openconnect-internal.h | 4 ++++
| openconnect.h | 3 +++
| 5 files changed, 25 insertions(+), 3 deletions(-)
|
|diff --git a/auth-globalprotect.c b/auth-globalprotect.c
|index 27e41c2b..59d6de3b 100644
|--- a/auth-globalprotect.c
|+++ b/auth-globalprotect.c
--------------------------
Patching file auth-globalprotect.c using Plan A...
Hunk #1 succeeded at 731.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/gpst.c b/gpst.c
|index 5c24bbd2..0373fce0 100644
|--- a/gpst.c
|+++ b/gpst.c
--------------------------
Patching file gpst.c using Plan A...
Hunk #1 succeeded at 657.
Hunk #2 succeeded at 1044.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/library.c b/library.c
|index 18334c76..e2169054 100644
|--- a/library.c
|+++ b/library.c
--------------------------
Patching file library.c using Plan A...
Hunk #1 succeeded at 897.
Hunk #2 succeeded at 1035.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/openconnect-internal.h b/openconnect-internal.h
|index 988f85f0..5c8d2909 100644
|--- a/openconnect-internal.h
|+++ b/openconnect-internal.h
--------------------------
Patching file openconnect-internal.h using Plan A...
Hunk #1 succeeded at 787.
Hunk #2 succeeded at 1682.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/openconnect.h b/openconnect.h
|index 7d4f3399..aa96a53b 100644
|--- a/openconnect.h
|+++ b/openconnect.h
--------------------------
Patching file openconnect.h using Plan A...
Hunk #1 succeeded at 472.
Hmm... Ignoring the trailing garbage.
done
cargo:rerun-if-changed=/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0004-Add-client-version-and-OS-information-to-HIP-script-.patch
Applying patch:
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0004-Add-client-version-and-OS-information-to-HIP-script-.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 3915a51c81831a1a9b087d82f0c760365682f23b Mon Sep 17 00:00:00 2001
|From: Kevin Yue <[email protected]>
|Date: Mon, 15 Dec 2025 19:20:44 +0800
|Subject: [PATCH 4/4] Add client version and OS information to HIP script
| arguments
|
|---
| gpst.c | 8 ++++++--
| 1 file changed, 6 insertions(+), 2 deletions(-)
|
|diff --git a/gpst.c b/gpst.c
|index 0373fce0..d04c42c2 100644
|--- a/gpst.c
|+++ b/gpst.c
--------------------------
Patching file gpst.c using Plan A...
Hunk #1 succeeded at 1013.
Hunk #2 succeeded at 1031.
Hmm... Ignoring the trailing garbage.
done
cargo:rerun-if-changed=/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0005-Expose-GlobalProtect-session-metadata.patch
Applying patch:
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0005-Expose-GlobalProtect-session-metadata.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/gpst.c b/gpst.c
|index 244aaf04..78c16d1c 100644
|--- a/gpst.c
|+++ b/gpst.c
--------------------------
Patching file gpst.c using Plan A...
Hunk #1 succeeded at 438.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/libopenconnect.map.in b/libopenconnect.map.in
|index f036c071..44110486 100644
|--- a/libopenconnect.map.in
|+++ b/libopenconnect.map.in
--------------------------
Patching file libopenconnect.map.in using Plan A...
Hunk #1 succeeded at 113.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/libopenconnect5.symbols b/libopenconnect5.symbols
|index 7cb04d05..2c7af781 100644
|--- a/libopenconnect5.symbols
|+++ b/libopenconnect5.symbols
--------------------------
Patching file libopenconnect5.symbols using Plan A...
Hunk #1 succeeded at 94.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/library.c b/library.c
|index b5e74e9b..03f47004 100644
|--- a/library.c
|+++ b/library.c
--------------------------
Patching file library.c using Plan A...
Hunk #1 succeeded at 838.
Hunk #2 succeeded at 1168 (offset 30 lines).
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/openconnect-internal.h b/openconnect-internal.h
|index abf45bbd..dd5507ca 100644
|--- a/openconnect-internal.h
|+++ b/openconnect-internal.h
--------------------------
Patching file openconnect-internal.h using Plan A...
Hunk #1 succeeded at 647.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/openconnect.h b/openconnect.h
|index 136f181a..febf15cc 100644
|--- a/openconnect.h
|+++ b/openconnect.h
--------------------------
Patching file openconnect.h using Plan A...
Hunk #1 succeeded at 660 (offset 5 lines).
done
cargo:rerun-if-changed=/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0006-Debug-log-GlobalProtect-getconfig-response.patch
Applying patch:
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/crates/openconnect/deps/patches/0006-Debug-log-GlobalProtect-getconfig-response.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/gpst.c b/gpst.c
|index 244aaf04..fb8d945d 100644
|--- a/gpst.c
|+++ b/gpst.c
--------------------------
Patching file gpst.c using Plan A...
Hunk #1 succeeded at 685 (offset 16 lines).
done
running: cd
"/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/target/release/build/openconnect-1a21c5901649bd7c/out/openconnect_build"
&& "sh" "-c" "exec \"$0\" \"$@\"" "autoreconf" "-ivf"
--- stderr
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.ac: not using Gettext
autoreconf-2.69: running: aclocal --force -I m4
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: configure.ac: not using Libtool
autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force
configure.ac:366: error: possibly undefined macro: AC_ENABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:367: error: possibly undefined macro: AC_DISABLE_STATIC
autoreconf-2.69: /usr/local/bin/autoconf-2.69 failed with exit status: 1
thread 'main' (473127) panicked at
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3/modcargo-crates/autotools-0.2.7/src/lib.rs:790:5:
command did not execute successfully, got: exit status: 1
build script failed, must exit now
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
gmake: *** [Makefile:94: build-rs] Error 101
*** Error 2 in net/gp-openconnect (Makefile:43 'do-build': @cd
/usr/obj/ports/gp-openconnect-2.5.3/GlobalProtect-openconnect-2.5.3 && env
-i...)
--
Christian "naddy" Weisgerber [email protected]