pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fonts/harfbuzz build failure, cc1plus: some warnings being treated as errors



On Thu, 13 Aug 2020 at 06:12, David H. Gutteridge <david%gutteridge.ca@localhost> wrote:
>
> On Wed, 12 Aug 2020 at 09:56:50 +0100, Mike Pumford wrote:
> > On 11/08/2020 21:29, Ottavio Caruso wrote:
> >>
> >>       HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference,
> >> _hb_##name##_destroy)
> >>       ^~~~~~~~~~~~~~~~~~~~
> >>    ../src/hb-gobject-structs.cc:107:1: note: in expansion of macro
> >>    'HB_DEFINE_VALUE_TYPE'
> >>      HB_DEFINE_VALUE_TYPE (ot_math_glyph_part)
> >>      ^~~~~~~~~~~~~~~~~~~~
> >>    cc1plus: some warnings being treated as errors
> >>    ninja: build stopped: subcommand failed.
> >>    *** Error code 1
> >>
> >>    Stop.
> >>    bmake[1]: stopped in /root/cvs/pkgsrc/current/pkgsrc/fonts/harfbuzz
> >>    *** Error code 1
> >>
> >>    Stop.
> >>    bmake: stopped in /root/cvs/pkgsrc/current/pkgsrc/fonts/harfbuzz
> >>
> > I see exactly the same error output on NetBSD 8.2-STABLE amd64
>
> This is https://github.com/harfbuzz/harfbuzz/pull/2628 upstream.
> (I have no time to do anything further tonight, I'm afraid.)

Thanks for spotting that. A long term solution is to wait for release 2.7.1.

Temporary fix (credit to Leonardo Taccari):

in Makefile, change GITHUB_TAG= 1e4fe10b98a291787ae561beca80cb70b481b108

[b]make makesum

[b]make build

-- 
Ottavio Caruso


Home | Main Index | Thread Index | Old Index