Current-Users archive

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

freetype build failing with "error: unknown type name 'Byte'"



I'm making a bit of progress building -current on macOS, and I've
updated everything from git today, and now I'm seeing this:

In file included from /Volumes/work/woods/g-NetBSD-xsrc/external/mit/freetype/dist/src/gzip/ftgzip.c:72:
In file included from /Volumes/work/woods/g-NetBSD-xsrc/external/mit/freetype/dist/src/gzip/zlib.h:34:
/Volumes/work/woods/g-NetBSD-xsrc/external/mit/freetype/dist/src/gzip/ftzconf.h:228:12: error: unknown type name 'Byte'
  228 |    typedef Byte  FAR Bytef;
      |            ^
[[ .... ]]
*** Failed target: ftgzip.lo
*** In directory: /Volumes/work/woods/g-NetBSD-src/external/mit/xorg/tools/mkfontscale
*** Failed commands:
        ${_MKTARGET_COMPILE}
        => @echo '   ' "compile " mkfontscale/ftgzip.lo
        ${HOST_COMPILE.c} -o ${.TARGET}.o ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC}
        => cc -O -O2  -DFONTENC_NO_LIBFONT -DXFREE86_FT2 -DFONTENC_NO_LIBFONT  -DFT2_BUILD_LIBRARY -DDARWIN_NO_CARBON  -DFONT_ENCODINGS_DIRECTORY=\"/Users/woods/build/woods/very.local/trunk-amd64-destdir/usr/X11R7/lib/X11/fonts/encodings/encodings.dir\"  -DPACKAGE_STRING=\"NetBSD\ tools\ version\" -DFT_CONFIG_OPTION_DISABLE_BZIP2 -DFC_NO_MT=1 -I/Volumes/work/woods/g-NetBSD-xsrc/external/mit/freetype/dist/include -I/Volumes/work/woods/g-NetBSD-xsrc/external/mit/freetype/dist/include/freetype  -I/Users/woods/build/woods/very.local/trunk-amd64-destdir/usr/X11R7/include  -I/Users/woods/build/woods/very.local/trunk-amd64-destdir/usr/X11R7/include/freetype2 -DTOOL_FCCACHE -c -o ftgzip.lo.o    /Volumes/work/woods/g-NetBSD-xsrc/external/mit/freetype/dist/src/gzip/ftgzip.c


Src is at bf03e67bbdc0
Xsrc is at a6437d194

I do see others using freetype have encountered this problem, but not in
NetBSD?

Am I missing something somewhere?

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgp9py2AfLX0n.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index