Bug 274347 - x11/wcm: implicit instantiation of undefined template std::array
Summary: x11/wcm: implicit instantiation of undefined template std::array
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jan Beich
URL: https://github.com/freebsd/freebsd-po...
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2023-10-08 04:02 UTC by Chad Jacob Milios
Modified: 2023-10-08 08:55 UTC (History)
1 user (show)

See Also:
jbeich: maintainer-feedback+


Attachments
error transcript from make build (23.50 KB, text/plain)
2023-10-08 04:02 UTC, Chad Jacob Milios
no flags Details
adds x11/wcm/files/patch-src_wcm.hpp (446 bytes, patch)
2023-10-08 04:07 UTC, Chad Jacob Milios
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Jacob Milios 2023-10-08 04:02:52 UTC
Created attachment 245493 [details]
error transcript from make build

building wcm-0.8.0, got this error, fixed with this patch
Comment 1 Chad Jacob Milios 2023-10-08 04:07:26 UTC
Created attachment 245494 [details]
adds x11/wcm/files/patch-src_wcm.hpp
Comment 2 Chad Jacob Milios 2023-10-08 04:12:34 UTC
oh, if any of this matters:


# uname -a
FreeBSD willy.woneye.site 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 releng/13.2-n254638-d20ece445acf NUOS amd64

# cat /etc/make.conf 
CPUTYPE?=opteron-sse3
DEFAULT_VERSIONS= bdb=18 gcc=13 ghostscript=10 java=18 llvm=16 lua=5.4 mysql=8.0 nodejs=20 perl5=5.38 pgsql=15 php=8.2 python=3.11 python3=3.11 ruby=3.2 samba=4.16 ssl=openssl
Comment 3 Graham Perrin 2023-10-08 06:40:36 UTC
Thank you for the files, and for the supporting information.

(In reply to Chad Jacob Milios from comment #2)

> … FreeBSD 13.2-RELEASE-p4 releng/13.2-n254638-d20ece445acf NUOS amd64

For reference, 132amd64-quarterly context: x11/wcm was successfully built on Friday 2023-10-06 at <https://pkg-status.freebsd.org/beefy14/build.html?mastername=132amd64-quarterly&build=2195304f98e0>. 


----
<https://www.freshports.org/x11/wcm/>
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-10-08 08:54:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=590c8a3b56754bbfb6bc9e72fa6cc8fa7d3e4535

commit 590c8a3b56754bbfb6bc9e72fa6cc8fa7d3e4535
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-10-08 08:51:10 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-10-08 08:53:29 +0000

    x11/wcm: unbreak build with libc++ < 16 after 275590e5fab0

    In file included from ../src/wcm.cpp:1:
    ../src/wcm.hpp:69:52: error: implicit instantiation of undefined template 'std::array<Gtk::Separator, 7>'
        std::array<Gtk::Separator, NUM_CATEGORIES - 1> separators;
                                                       ^
    /usr/include/c++/v1/__tuple:219:64: note: template is declared here
    template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                                   ^

    PR:             274347
    Reported by:    Chad Jacob Milios

 x11/wcm/Makefile | 3 +++
 x11/wcm/distinfo | 2 ++
 2 files changed, 5 insertions(+)
Comment 5 Jan Beich freebsd_committer freebsd_triage 2023-10-08 08:55:47 UTC
Thanks. I didn't notice upstream re-tagged v0.8.0 only in wayfire and wf-shell but not wcm.