tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: x11/worker build failure on NetBSD 9
Paolo Vincenzo Olivo <vins%NetBSD.org@localhost> writes:
> Hi,
>
> I recently updated x11/worker to the last official release.
> Apparently, the package is now broken on NetBSD 9 [0], failing
> with `non-trivial designated initializers not supported'. As far as I
> can see, this requires GCC8 [1]. Should I set GCC_REQD to GCC8 in the
> package Makefile?
>
> [0] http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20250529.1343/worker-5.2.1/build.log
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
Except that we really try hard not to set to specific versions. I view
setting GCC_REQD directly as almost always a bug.
Probably, this is a clue that a higher c or c++ std is needed, and
USE_CC_FEATURES or USE_CXX_FEATURES.
Reading the bug, I see talk of C++20.
Of course, for a lightweight wm, you could file a bug that it needs an
unreasonably recent compiler.
Home |
Main Index |
Thread Index |
Old Index