Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 13:15:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281235] irc/ezbounce: Fails to build with GCC 14: error: no declaration matches 'void util::tracked_object<conn>::delete_if(Pred)'
Message-ID:  <bug-281235-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281235

            Bug ID: 281235
           Summary: irc/ezbounce: Fails to build with GCC 14: error: no
                    declaration matches 'void
                    util::tracked_object<conn>::delete_if(Pred)'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d
                    efault-foo/2024-08-29_19h57m48s/logs/errors/ezbounce-1
                    .99.15_27.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
                CC: portmaster@bsdforge.com
            Blocks: 281091
             Flags: maintainer-feedback?(portmaster@bsdforge.com)
                CC: portmaster@bsdforge.com

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 w=
ill
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 =3D
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


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091
[Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281235-7788>