[Bug 293283] cad/freehdl: Fails to build with GCC 15: 'class db_generic_explorer<kind, key_mapper, DM>' has no member named 'get_key'

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Feb 2026 11:59:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293283

            Bug ID: 293283
           Summary: cad/freehdl: Fails to build with GCC 15: 'class
                    db_generic_explorer<kind, key_mapper, DM>' has no
                    member named 'get_key'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/gohan05/data/143amd64-d
                    efault-foo/2026-01-30_10h01m25s/logs/errors/freehdl-0.
                    0.8_1.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 292692

The port fails to build with GCC 15 and blocks GCC_DEFAULT update to 15. Full
log in URL field. This link might be useful:
https://gcc.gnu.org/gcc-15/porting_to.html .

libtool: compile:  g++15 -DPACKAGE_NAME=\"freehdl\"
-DPACKAGE_TARNAME=\"freehdl\" -DPACKAGE_VERSION=\"0.0.8\"
"-DPACKAGE_STRING=\"freehdl 0.0.8\""
-DPACKAGE_BUGREPORT=\"edwin@ds.e-technik.uni-dortmund.de\" -DPACKAGE_URL=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_MALLOC_H=1
-DHAVE_GETOPT_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA=1
-DHAVE_SOCKET=1 -DHAVE_GETTIMEOFDAY=1 -I. -I.. -I.. -O2 -pipe
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc15
-Wl,-rpath=/usr/local/lib/gcc15 -std=gnu++98 -MT
libfreehdl_kernel_la-name_stack.lo -MD -MP -MF
.deps/libfreehdl_kernel_la-name_stack.Tpo -c name_stack.cc -o
libfreehdl_kernel_la-name_stack.o >/dev/null 2>&1
../freehdl/kernel-db.hh: In member function 'typename kind::data_type&
db_generic_explorer<kind, key_mapper, DM>::get(db_basic_key)':
../freehdl/kernel-db.hh:598:72: error: 'class db_generic_explorer<kind,
key_mapper, DM>' has no member named 'get_key' [-Wtemplate-body]
  598 |   typename kind::data_type &get (db_basic_key key) { return get
(this->get_key (key)); }
      |                                                                       
^~~~~~~


Referenced Bugs:

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