Bug 278657 - graphics/poppler: 14-STABLE compile failure: error: "If libc++ starts defining <setjmp.h>
Summary: graphics/poppler: 14-STABLE compile failure: error: "If libc++ starts definin...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-30 04:56 UTC by O. Hartmann
Modified: 2024-04-30 09:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (desktop)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2024-04-30 04:56:42 UTC
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.
Comment 1 O. Hartmann 2024-04-30 09:12:20 UTC
All right, big OS, too small brains of the user: 14-STABLE has been introduced recently LLVM 18. On CURRENT, the user/writer did already "make delete-old" to eliminate all obsolete headers - on 14-STABLE he did not. Doing so means: problem solved.
Sorry for the disturbances.