Closed ghost closed 3 years ago
Hi! This is absolutely the right place to ask :)
It looks like those sigops functions appeared in FreeBSD 12.2 and are not available in 12.1.
Can you check if the following (completely untested) patch works?
diff --git a/src/signalfd_ctx.c b/src/signalfd_ctx.c
index 73a3443..507be48 100644
--- a/src/signalfd_ctx.c
+++ b/src/signalfd_ctx.c
@@ -29,7 +29,9 @@
__sigandset((sr), (sd)); \
0; \
})
-#elif defined(__DragonFly__)
+#elif defined(__DragonFly__) || \
+ (defined(__FreeBSD__) && __FreeBSD__ == 12 && \
+ __FreeBSD_version < 1201505)
static inline int
sigandset(sigset_t *dest, sigset_t const *left, sigset_t const *right)
{
I could verify a version of the above patch on a 12.1 machine and applied it on master
. All tests ran successfully on 12.1.
Thanks again for the report!
Thank you. It works for me too now.
Hi! I'm not sure that this is the right place to ask for help, so please let me know if I need to ask somewhere else. I'm using Poudriere to build my ports automatically. I'm using the latest head of 12.01 port tree. The devel/libepoll-shim port build fails with linker error.
First these 2 warnings:
then:
Environment details:
Any advise what can be wrong? Thanks.