maintainer-feedback requested: [Bug 278657] graphics/poppler: 14-STABLE compile failure: error: "If libc++ starts defining <setjmp.h>

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Apr 2024 04:56:42 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 278657: graphics/poppler: 14-STABLE compile failure: error: "If libc++
starts defining <setjmp.h>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278657



--- Description ---
While the port graphics/poppler compiles fine in CURRENT (both poudriere and
traditional source/make), it fails compiling via make on 14-STABLE (FreeBSD
14.1-PRERELEASE #5 stable/14-n267548-abc4b308894: Mon Apr 29 15:27:50 CEST 2024
amd64)with the error show below. even after recompiling all dependencies via
"portmaster -df graphics/poppler":

[...]
In file included from
/usr/ports/graphics/poppler/work/poppler-24.02.0/poppler/ImageEmbeddingUtils.cc
:23:
/usr/include/c++/v1/csetjmp:40:6: error: "If libc++ starts defining <setjmp.h>,
the __has_include check should move to libc++'s <setjmp.h>"
   40 | #    error "If libc++ starts defining <setjmp.h>, the __has_include
check should move to libc++'s <setjmp.h>"
      |      ^
1 error generated.