pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
zeek: Document how the build fails on NetBSD
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sun Feb 19 18:58:10 2023 +0100
Changeset: e92473c0eb36f544fac42d0d7534e683c359c616
Modified Files:
zeek/TODO
Log Message:
zeek: Document how the build fails on NetBSD
At least on NetBSD/amd64 9.99.98 the build seems to fail due that
missing DBL_DECIMAL_DIG. Needs to be investigated.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e92473c0eb36f544fac42d0d7534e683c359c616
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
zeek/TODO | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diffs:
diff --git a/zeek/TODO b/zeek/TODO
index ce9ba18108..bb6fd2e7ec 100644
--- a/zeek/TODO
+++ b/zeek/TODO
@@ -6,3 +6,22 @@ nros: CVE-2021-41732 seems to be nothing according to the zeek developers:
nros: how to get the package to find the python version that is
PYTHON_VERSION_DEFAULT without adding lang/python/tool.mk ?
+
+On NetBSD 9.99.x build fails with:
+
+ [ 97%] Building C object src/CMakeFiles/zeek_objs.dir/modp_numtoa.c.o
+ In file included from /usr/include/stdio.h:595,
+ from .../wip/zeek/work/zeek-4.0.4/src/modp_numtoa.c:7:
+ .../wip/zeek/work/zeek-4.0.4/src/modp_numtoa.c: In function 'modp_dtoa':
+ .../wip/zeek/work/zeek-4.0.4/src/modp_numtoa.c:174:30: error: 'DBL_DECIMAL_DIG' undeclared (first use in this function); did you
+ mean 'DECIMAL_DIG'?
+ 174 | sprintf(str, "%.*e", DBL_DECIMAL_DIG - 1, neg ? -value : value);
+ | ^~~~~~~~~~~~~~~
+ .../wip/zeek/work/zeek-4.0.4/src/modp_numtoa.c:174:30: note: each undeclared identifier is reported only once for each function
+ it appears in
+ .../wip/zeek/work/zeek-4.0.4/src/modp_numtoa.c: In function 'modp_dtoa2':
+ .../wip/zeek/work/zeek-4.0.4/src/modp_numtoa.c:274:30: error: 'DBL_DECIMAL_DIG' undeclared (first use in this function); did you
+ mean 'DECIMAL_DIG'?
+ 274 | sprintf(str, "%.*e", DBL_DECIMAL_DIG - 1, neg ? -value : value);
+ | ^~~~~~~~~~~~~~~
+ --- src/CMakeFiles/zeek_objs.dir/modp_numtoa.c.o ---
Home |
Main Index |
Thread Index |
Old Index