pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/61049: arp-scan fails to build with fix
>Number: 61049
>Category: pkg
>Synopsis: initial build fails for missing lib and ints
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 23 02:40:00 +0000 2026
>Originator: Tyto Strix
>Release: NetBSD 11.99.11
>Organization:
just a user
>Environment:
System: NetBSD persephone.farpointstation.net 11.99.11 NetBSD 11.99.11 (PERSEPHONE) #2: Wed Nov 11 18:02:22 EST 2026 tyto%persephone.farpointstation.net@localhost:/usr/obj/sys/arch/amd64/compile/PERSEPHONE amd64
Architecture: x86_64
Machine: amd64
>Description:
The generated configure script does not specify stdlib.h inclusion
for two tests using the exit() function, and has several implicit
ints as well. There was an existing patch file already, I appended
my fix to that, hope that's ok.
>How-To-Repeat:
cd /usr/pkgsrc/net/arp-scan && bmake
>Fix:
patch-configure_new:
--- configure-p1 2026-11-22 18:26:29.029707232 -0500
+++ configure 2026-11-22 18:50:31.754278675 -0500
@@ -3830,7 +3830,7 @@ else
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
echo $ssp_cc
- if test "X$ssp_cc" = "Xno"; then
+ if true; then
CFLAGS="$ssp_old_cflags"
else
@@ -4914,6 +4914,8 @@
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#include <stdlib.h>
+
typedef long int int64;
/*
@@ -4937,7 +4939,7 @@
return 0;
return 1;
}
-main() {
+int main() {
exit(! does_int64_work());
}
_ACEOF
@@ -4997,6 +4999,8 @@
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#include <stdlib.h>
+
typedef long long int int64;
/*
@@ -5020,7 +5024,7 @@
return 0;
return 1;
}
-main() {
+int main() {
exit(! does_int64_work());
}
_ACEOF
@@ -5096,7 +5100,7 @@
return 0; /* either multiply or snprintf is busted */
return 1;
}
-main() {
+int main() {
exit(! does_int64_snprintf_work());
}
_ACEOF
Home |
Main Index |
Thread Index |
Old Index