Date: Tue, 29 Oct 2024 15:36:14 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282407] sysutils/lnav: Fails to build with clang 19 (main) Message-ID: <bug-282407-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282407 Bug ID: 282407 Summary: sysutils/lnav: Fails to build with clang 19 (main) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: eduardo@FreeBSD.org CC: tom@hur.st Flags: maintainer-feedback?(tom@hur.st) CC: tom@hur.st Hello, sysutils/lnav fails to build on main after clang 19 import. I'm using this PR to gather all info and try to get a fix. Already opened an upstream PR. Cheers ``` gmake[3]: Entering directory '/wrkdirs/usr/ports/sysutils/lnav/work/lnav-0.12.2/src/pcrepp' depbase=3D`echo pcre2pp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ c++ -std=3Dc++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_OS_TZDB=3D1 -DHAS_REMOTE_API=3D0 -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pthread -MT pcre2pp.o -MD = -MP -MF $depbase.Tpo -c -o pcre2pp.o pcre2pp.cc &&\ mv -f $depbase.Tpo $depbase.Po In file included from pcre2pp.cc:32: In file included from ./pcre2pp.hh:42: ../../src/base/intern_string.hh:371:36: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 371 | auto left =3D this->template find_left_boundary(start, pred= icate, count); | ^ ../../src/base/intern_string.hh:618:28: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 618 | this->template to_c_str(allocator), | ^ 2 errors generated. gmake[3]: *** [Makefile:681: pcre2pp.o] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/sysutils/lnav/work/lnav-0.12.2/src/pcrepp' gmake[2]: *** [Makefile:1686: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/lnav/work/lnav-0.12.2/src' gmake[1]: *** [Makefile:1325: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/lnav/work/lnav-0.12.2/src' gmake: *** [Makefile:527: all-recursive] Error 1 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 ``` --=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-282407-7788>