[tlbuild] Errors in dvisvgm

Richard M. Koch koch at uoregon.edu
Wed Feb 1 02:40:44 CET 2017


Karl and TLbuilders,

Lots of errors in dvisvgm. I can look in detail if necessary, but perhaps the errors in the log file are enough for you
and others to determine the problems.

Summary of errors:

1) unknown type name 'locale-r'

2) implicit declaration of function 'newlocale'

3) undeclared identifier 'LC_NUMERIC_MASK'

4) implicit 'uselocale' is invalid in C99

5) undeclared identifier 'LC_GLOBAL-LOCALE'

All of these problems are on the latest operating system, Sierra. I'll also try to compile on Yosemite, where we will actually build the binaries
this year. But it is important to make this work on Sierra, and frankly I suspect the same errors on Yosemite.

Dick Koch
koch at uoregon.edu <mailto:koch at uoregon.edu>

depbase=`echo fontforge/alphabet.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I. -I../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff -I../../..    -I../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/inc -I../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge -g -O2 -MT fontforge/alphabet.o -MD -MP -MF $depbase.Tpo -c -o fontforge/alphabet.o ../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/alphabet.c &&\
	mv -f $depbase.Tpo $depbase.Po
depbase=`echo fontforge/asmfpst.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I. -I../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff -I../../..    -I../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/inc -I../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge -g -O2 -MT fontforge/asmfpst.o -MD -MP -MF $depbase.Tpo -c -o fontforge/asmfpst.o ../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/asmfpst.c &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from ../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/asmfpst.c:27:
In file included from ../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/fontforgevw.h:30:
In file included from ../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/fontforge.h:37:
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2563:39: error: unknown type name 'locale_t'
static inline void switch_to_c_locale(locale_t * tmplocale_p, locale_t * oldlocale_p) {
                                      ^
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2563:63: error: unknown type name 'locale_t'
static inline void switch_to_c_locale(locale_t * tmplocale_p, locale_t * oldlocale_p) {
                                                              ^
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2565:18: warning: implicit declaration of function 'newlocale' is invalid in C99 [-Wimplicit-function-declaration]
  *tmplocale_p = newlocale(LC_NUMERIC_MASK, "C", NULL);
                 ^
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2565:28: error: use of undeclared identifier 'LC_NUMERIC_MASK'
  *tmplocale_p = newlocale(LC_NUMERIC_MASK, "C", NULL);
                           ^
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2567:28: warning: implicit declaration of function 'uselocale' is invalid in C99 [-Wimplicit-function-declaration]
  else if ((*oldlocale_p = uselocale(*tmplocale_p)) == NULL) {
                           ^
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2569:5: warning: implicit declaration of function 'freelocale' is invalid in C99 [-Wimplicit-function-declaration]
    freelocale(*tmplocale_p); *tmplocale_p = NULL;
    ^
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2578:41: error: unknown type name 'locale_t'
static inline void switch_to_old_locale(locale_t * tmplocale_p, locale_t * oldlocale_p) {
                                        ^
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2578:65: error: unknown type name 'locale_t'
static inline void switch_to_old_locale(locale_t * tmplocale_p, locale_t * oldlocale_p) {
                                                                ^
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:2580:75: error: use of undeclared identifier 'LC_GLOBAL_LOCALE'
  if (*oldlocale_p != NULL) { uselocale(*oldlocale_p); } else { uselocale(LC_GLOBAL_LOCALE); }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20170131/f2f5ba8e/attachment.html>


More information about the tlbuild mailing list