[MacPorts] #72068: openssl3 @3.4.1.0 bad include files
MacPorts
noreply at macports.org
Fri Feb 14 22:58:14 UTC 2025
#72068: openssl3 @3.4.1.0 bad include files
------------------------+----------------------
Reporter: mouse07410 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: openssl3
------------------------+----------------------
Problem discovered when building an OpenSSL-dependent package "yubico-piv-
tool".
File {{{/opt/local/libexec/openssl3/include/util.h}}} that is a part of
the port, attempts to include {{{"config.h"}}} which does not exist:
{{{
. . .
In file included from /Users/ur20980/src/yubico-piv-
tool/lib/tests/api.c:33:
/opt/local/libexec/openssl3/include/util.h:45:10: fatal error: 'config.h'
file not found
45 | #include "config.h"
| ^~~~~~~~~~
1 error generated.
}}}
This the workaround, which probably is not correct - but it gets the
Yubico package to build and pass its internal tests:
{{{
diff -uw /opt/local/libexec/openssl3/include/util.h-orig
/opt/local/libexec/openssl3/include/util.h
--- /opt/local/libexec/openssl3/include/util.h-orig 2025-02-14
17:54:42
+++ /opt/local/libexec/openssl3/include/util.h 2025-02-14 17:55:02
@@ -42,7 +42,7 @@
#define LOG_DEBUG 7
#else
#include <syslog.h>
-#include "config.h"
+//#include "config.h"
#endif
/* defined in util_uri.c */
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72068>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list