The port graphics/opencollada fails to build for me using poudriere on stable 13 amd64 with fatal error: 'tr1/unordered_map' file not found. The build log of the error: In file included from /wrkdirs/usr/ports/graphics/opencollada/work/OpenCOLLADA-1.6.68/common/libBuffer/src/CommonFWriteBufferFlusher.cpp:11: /wrkdirs/usr/ports/graphics/opencollada/work/OpenCOLLADA-1.6.68/common/libBuffer/include/CommonFWriteBufferFlusher.h:23:11: fatal error: 'tr1/unordered_map' file not found # include <tr1/unordered_map> ^~~~~~~~~~~~~~~~~~~ 1 error generated.
Created attachment 230852 [details] Patch for common/libBuffer/include/CommonFWriteBufferFlusher.h
It also happens on FreeBSD 12.3-STABLE 1203505 amd64. (stable/12-n234674-e7a6dc01fac7-dirty) cc -v returns FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
Created attachment 231262 [details] proposal patch for graphics/opencollada (In reply to Trond.Endrestol from comment #1) How about this?
(In reply to Tatsuki Makino from comment #3) It looks good and might be accepted upstream. It's certainly better than my quick and dirty patch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fda63ef69a8fc2c1f67922fa47bb31533383ccf commit 4fda63ef69a8fc2c1f67922fa47bb31533383ccf Author: Tatsuki Makino <tatsuki_makino@hotmail.com> AuthorDate: 2022-03-25 13:12:28 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-25 13:38:02 +0000 graphics/opencollada: Fix build with Clang 13+ PR: 260808 Reported by: Robert Cina <transitive@gmail.com> graphics/opencollada/files/patch-clang13 (new) | 11 +++++++++++ 1 file changed, 11 insertions(+)
Committed. Thanks!