Building port with GCC 11 gives the following error message (full log in URL): !!! build failure encountered !!! 5140,1 Fon 153 | char z2via (int z) throw (except_done); | ^~~~~ MMBK.h:261:49: error: ISO C++17 does not allow dynamic exception specifications 261 | CFig (string &nameLofig, string &namePhfig) throw (except_done); | ^~~~~ MMBK.h:354:60: error: ISO C++17 does not allow dynamic exception specifications 354 | CPowers (CFig*, long xoff, long yoff, char, int, long) throw (except_done); | ^~~~~ In file included from RDefs.h:23, from nero.cpp:19: ADefs.h:274:38: error: ISO C++17 does not allow dynamic exception specifications 274 | private: bool step (void) throw (trapped_astar); | ^~~~~ ADefs.h:282:44: error: ISO C++17 does not allow dynamic exception specifications 282 | public: void route (CNet *pNet) throw (reach_max_pri); | ^~~~~ In file included from nero.cpp:19: RDefs.h:73:42: error: ISO C++17 does not allow dynamic exception specifications 73 | public: void mbksave (string &name) throw (except_done); | ^~~~~
The port has been marked as broken after the date of the exp-run with BROKEN= fails to build with latest TeX2021 Please see https://cgit.freebsd.org/ports/commit/?id=6e7c07e3a636f52c452d030a4db680c859d70437 So this can't block GCC default version update and I remove the exp-run from the 'Blocks' field.
I just committed some changes on this port: see commit 99731f4c2354. I' is OK for me, but I have been unable to reproduce the error you reported before my fixes: could you please check?
(In reply to Thierry Thomas from comment #2) I will check as soon as possible and let you know. You might want to test the port build with GCC 12 too, as I do not think it as ever been tested in any of the exp-run I requested for the update of GCC_DEFAULT to version 12. Please see also bug #265948.
I have built the port successfully both with GCC 11 and GCC 12 on FreeBSD 13.1 amd64. I guess this bug can be safely closed with "Overcome by events".
I close this bug. Freshports also reports the port is being built successfully with a GCC 12 dependency: https://www.freshports.org/cad/alliance/ .