Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. [g++14] src/commands/admin.cc In file included from /usr/local/include/boost/smart_ptr/detail/requires_cxx11.hpp:9, from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/local/include/boost/shared_ptr.hpp:17, from /usr/local/include/boost/iostreams/filter/symmetric.hpp:61, from /usr/local/include/boost/iostreams/filter/zlib.hpp:31, from /usr/local/include/boost/iostreams/filter/gzip.hpp:39, from include/io/filter_traits.h:16, from include/io/filters.h:17, from include/logging/filtered_logger.h:16, from include/logging/vfs_logfile.h:16, from include/logging/chatlog.h:15, from include/irc/channel.h:23, from include/irc/cache.h:11, from src/commands/admin.cc:17: /usr/local/include/boost/smart_ptr/detail/requires_cxx11.hpp:19:1: note: '#pragma message: C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.85.' 19 | BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.SmartPtr 1.82 and will be removed in Boost.SmartPtr 1.85.") | ^~~~~~~~~~~~~~~~~~~~ In file included from src/commands/admin.cc:19: include/conn.h:95:45: error: no declaration matches 'void util::tracked_object<conn>::delete_if(Pred)' 95 | template<typename Pred> friend void util::tracked_object<conn>::delete_if(Pred); | ^~~~ In file included from include/fs/entry.h:11, from include/logging/vfs_logfile.h:19: include/util/tracked_object.h:65:50: note: candidate is: 'template<class Predicate> static void util::tracked_object<T>::delete_if(Predicate) [with T = conn]' 65 | template<typename Predicate> static void delete_if(Predicate pred) { | ^~~~~~~~~ include/util/tracked_object.h:30:25: note: 'class util::tracked_object<conn>' defined here 30 | template<class T> class tracked_object { | ^~~~~~~~~~~~~~ gmake: *** [Makefile:174: src/commands/admin.o] Error 1 *** Error code 1 Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29_19h57m48s/logs/errors/ezbounce-1.99.15_27.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html
(In reply to Lorenzo Salvadore from comment #(In reply to Lorenzo Salvadore from comment #0) Ah. I guess the time has come to drag this port into the 21st century. Thanks, Lorenzo. I'm on it.
The port has been marked as broken as it fails to build with boost-1.85+ with commit https://cgit.freebsd.org/ports/commit/?id=54e319a4d90973f6eab00a4b9a5533d96eab7fc2 . So this is not blocking GCC_DEFAULT update anymore.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ae8995a9fe4816ab9be6267b315bfbb3006af22d commit ae8995a9fe4816ab9be6267b315bfbb3006af22d Author: Gerald Pfeifer <gerald@FreeBSD.org> AuthorDate: 2024-12-24 10:33:44 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2024-12-24 10:39:31 +0000 irc/ezbounce: Deprecate port (again) This port has been marked broken for two-and-a-half months due to a Boost update, does not build with modern compilers (now also GCC 15, not just clang), is dead upstream with the last release 15 years ago. So deprecate (again) with an expiration date in five weeks (= nearly four months after being marked BROKEN). PR: 281235 irc/ezbounce/Makefile | 2 ++ 1 file changed, 2 insertions(+)