On poudriere (host running CURRENT, poudriere JAIL is 13.2-RELEASE-p2, see below) port build of print/scribus-devel fails due to the following compiler error: [...] /wrkdirs/usr/ports/print/scribus-devel/work/scribus-1.5.8/scribus/desaxe/digester.cpp:452:37: error: no template named '__unary_function' in namespace 'std'; did you mean 'unary_function'? struct CreateDFAState : public std::__unary_function <std::set<nfa_state_t>, dfa_state_t> { ~~~~~^~~~~~~~~~~~~~~~ unary_function /usr/include/c++/v1/__functional/unary_function.h:21:29: note: 'unary_function' declared here struct _LIBCPP_TEMPLATE_VIS unary_function [...] Environment: =>> Building print/scribus-devel build started at Tue Aug 15 04:25:06 UTC 2023 port directory: /usr/ports/print/scribus-devel package name: scribus-devel-1.5.8_22 building for: FreeBSD host.dr-intern 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 1302001 amd64 maintained by: pkubaj@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2187 Jul 31 08:10 /usr/ports/print/scribus-devel/Makefile Ports top last git commit: 5de6f0a408 Ports top unclean checkout: no Port dir last git commit: fa869802d0 Port dir unclean checkout: no Poudriere version: poudriere-git-3.3.99.20220831 Host OSVERSION: 1400094 Jail OSVERSION: 1302001 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p2 1302001 UNAME_r=13.2-RELEASE-p2 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.99.20220831 MAKEOBJDIRPREFIX=/pool/sources/13.2-RELENG/obj/ MASTERMNT=/pool/poudriere/data/.m/132amd64-head-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=xterm OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/pool/poudriere/data/.m/132amd64-head-default/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=132amd64-head-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/pool/poudriere/data/.m/132amd64-head-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.3.99.20220831 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for scribus-devel-1.5.8_22: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List---
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c960759946217abeef45e5f39e7b224d69812730 commit c960759946217abeef45e5f39e7b224d69812730 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-08-15 23:19:31 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-08-15 23:19:31 +0000 print/scribus-devel: fix build with llvm16 while keeping compatibility with older llvm Previous fix broke llvm < 16. PR: 273140 print/scribus-devel/Makefile | 9 ++++++++- .../files/patch-scribus_desaxe_digester.cpp (gone) | 14 -------------- 2 files changed, 8 insertions(+), 15 deletions(-)