Bug 272968 - editors/kakoune: build failed version 2023.08.05
Summary: editors/kakoune: build failed version 2023.08.05
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-06 08:37 UTC by Oleh Hushchenkov
Modified: 2023-08-06 19:16 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ashish)


Attachments
Fix for 13.2-STABLE (clang16) (1.60 KB, patch)
2023-08-06 14:12 UTC, Ashish SHUKLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh Hushchenkov 2023-08-06 08:37:07 UTC
c++ -I/usr/local/include -O2 -pipe -march=haswell -fstack-protector-strong -fno-strict-aliasing   -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address -frelaxed-template-template-args -Wno-ambiguous-reversed-operator -MD -MP -MF .commands.opt.d -c -o .commands.opt.o commands.cc
command_manager.cc:97:24: error: no matching function for call to 'gather'
                     | gather<HashSet>();
                       ^~~~~~~~~~~~~~~
./ranges.hh:633:6: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Container'
auto gather()
     ^
./ranges.hh:642:6: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Container'
auto gather()
     ^
1 error generated.
gmake[2]: *** [Makefile:103: .command_manager.opt.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
commands.cc:2154:76: error: no matching function for call to 'gather'
                CommandManager::instance().execute_single_command(parser | gather<Vector>(), context, shell_context);
                                                                           ^~~~~~~~~~~~~~
./ranges.hh:633:6: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Container'
auto gather()
     ^
./ranges.hh:642:6: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'Container'
auto gather()
     ^
1 error generated.
gmake[2]: *** [Makefile:103: .commands.opt.o] Error 1
gmake[2]: Leaving directory '/tmp/stage/usr/ports/editors/kakoune/work/kakoune-2023.08.05/src'
===> Compilation failed unexpectedly.
Comment 1 Oleh Hushchenkov 2023-08-06 08:40:34 UTC
FreeBSD 13.2-STABLE amd64, system clang++ 16.0.6.
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2023-08-06 14:12:02 UTC
Created attachment 243891 [details]
Fix for 13.2-STABLE (clang16)

The fix incorporates the patch from:

https://github.com/krobelus/kakoune/commit/344d31f42b8ced12626d4f87a22ffa5a671668fd

Could you please test it ?

Thanks!
Comment 3 Oleh Hushchenkov 2023-08-06 15:51:38 UTC
(In reply to Ashish SHUKLA from comment #2)
Yes, it helps. Thanks.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-08-06 19:15:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d0a2e9fe2049332f3a0d84e751f00db9be5c1ce

commit 5d0a2e9fe2049332f3a0d84e751f00db9be5c1ce
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2023-08-06 13:15:49 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2023-08-06 19:12:06 +0000

    editors/kakoune: Fix building on 13.2-STABLE

    PR:             272968
    Reported by:    Oleh Hushchenkov <o dot hushchenkov at gmail dot com>

 editors/kakoune/Makefile | 10 +++++++++-
 editors/kakoune/distinfo |  4 +++-
 2 files changed, 12 insertions(+), 2 deletions(-)
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2023-08-06 19:16:42 UTC
Thanks for testing. Committed!