[tlbuild] Can't build latest TeX Live on NetBSD/amd64

Marc Baudoin babafou at babafou.eu.org
Sat Aug 4 09:13:32 CEST 2018


Hi,

Karl Berry <karl at freefriends.org> écrit :
> 
>     Since two weeks ago,
> 
> According to svn log, the last code change to lcdf-typetools was Feb 22.
> So I wonder, did your system change two weeks ago, e.g., new compiler?

Crap! You're so right.  I upgraded from NetBSD 7 to NetBSD 8.

>   ../../../../../texk/lcdf-typetools/lcdf-typetools-src/libefont/cff.cc:351:58:
>   error: '_Static_assert' was not declared in this scope
> 
> It appears that something on your system is #defining static_assert to
> use _Static_assert, which is undefined.

It's in /usr/include/assert.h:

#if ((__cplusplus - 0) < 201103L)
#ifndef static_assert
#define static_assert _Static_assert
#endif /* static_assert */
#endif

> BTW, it does compile for me with the gcc coming with CentOS7, which
> reports itself today as
> gcc version 4.8.5 20150623 (Red Hat 4.8.5-28). -k

I don't think the compiler is at fault here.  I tried a build
with CXXFLAGS=-std=c++11 and it's OK.

Thanks!


More information about the tlbuild mailing list