MidnightBSD Magus

print/ttf2pt1

True Type Font to Postscript Type 1 Converter

Flavor Version Run OSVersion Arch License Restricted Status
3.4.4_7 620 4.0 amd64 bsd3 0 fail

License Permissions:

Events

Machine Type Time Message
m4064b info 2025-10-31 10:31:00.535851 Test Started
m4064b fail 2025-10-31 10:31:10.540117 make build returned non-zero: 1
m4064b fail 2025-10-31 10:31:10.610197 Test complete.

Log

===>  Building for ttf2pt1-3.4.4_7
--- t1asm ---
--- ttf2pt1.o ---
--- pt1.o ---
--- runt1asm.o ---
--- ttf.o ---
--- ft.o ---
--- bdf.o ---
--- bitmap.o ---
--- CHANGES ---
--- README ---
--- FONTS ---
--- FONTS.hpux ---
--- encodings/README ---
--- other/README ---
--- app/X11/README ---
--- app/netscape/README ---
--- app/TeX/README ---
--- app/RPM/Makefile ---
--- app/RPM/ttf2pt1.spec ---
--- t1asm ---
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -DUSE_FREETYPE -isystem /usr/local/include -o t1asm -DSTANDALONE t1asm.c -L/usr/local/lib -lfreetype  -L/usr/local/lib -lm -L/usr/local/lib
--- ttf2pt1.o ---
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -DUSE_FREETYPE -isystem /usr/local/include -c ttf2pt1.c
--- pt1.o ---
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -DUSE_FREETYPE -isystem /usr/local/include -c pt1.c
--- runt1asm.o ---
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -DUSE_FREETYPE -isystem /usr/local/include  -c runt1asm.c
--- ttf.o ---
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -DUSE_FREETYPE -isystem /usr/local/include -c ttf.c
--- ft.o ---
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -DUSE_FREETYPE -isystem /usr/local/include -c ft.c
--- bdf.o ---
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -DUSE_FREETYPE -isystem /usr/local/include -c bdf.c
--- bitmap.o ---
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include  -I/usr/local/include -DUSE_FREETYPE -isystem /usr/local/include -c bitmap.c
--- CHANGES ---
scripts/unhtml CHANGES
--- README ---
scripts/unhtml README
--- FONTS ---
scripts/unhtml FONTS
--- FONTS.hpux ---
scripts/unhtml FONTS.hpux
--- encodings/README ---
scripts/unhtml encodings/README
--- other/README ---
scripts/unhtml other/README
--- app/X11/README ---
scripts/unhtml app/X11/README
--- app/netscape/README ---
scripts/unhtml app/netscape/README
--- app/TeX/README ---
scripts/unhtml app/TeX/README
--- app/RPM/Makefile ---
sed 's/^CFLAGS_SYS.*=.*$/CFLAGS_SYS= -O2 -D_GNU_SOURCE/;/warning:/,/^$/s/^/#/' app/RPM/Makefile
--- app/RPM/ttf2pt1.spec ---
sed 's/^Version:.*/Version: '`grep TTF2PT1_VERSION version.h| cut -d\" -f2`'/' app/RPM/ttf2pt1.spec
--- bitmap.o ---
In file included from bitmap.c:14:
./global.h:90:30: warning: '/*' within block comment [-Wcomment]
   90 | /* #define DBG_GLYPH    "C118"  /* */
      |                                 ^
--- bdf.o ---
In file included from bdf.c:15:
./global.h:90:30: warning: '/*' within block comment [-Wcomment]
   90 | /* #define DBG_GLYPH    "C118"  /* */
      |                                 ^
bdf.c:224:42: warning: passing 'char[2000]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  224 |                         *((char **)(cl->vp[0])) = dupcnstring(bf, s-bf);
      |                                                               ^~
./global.h:120:35: note: passing argument to parameter 's' here
  120 | char *dupcnstring( unsigned char *s, int len);
      |                                   ^
--- bitmap.o ---
bitmap.c:457:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  457 |                                         || ( abs(limfront[0]-limend[0]) >= abs(pf->vect[0][0]-pf->vect[3][0])
      |                                              ^
bitmap.c:457:11: note: use function 'fabs' instead
--- runt1asm.o ---
In file included from runt1asm.c:60:
--- bitmap.o ---
  457 |                                         || ( abs(limfront[0]-limend[0]) >= abs(pf->vect[0][0]-pf->vect[3][0])
      |                                              ^~~
      |                                              fabs
--- runt1asm.o ---
./t1asm.c:375:13: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
--- bitmap.o ---
bitmap.c:457:41: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
--- runt1asm.o ---
  374 |     fprintf(stderr, "error: charstring_buf full (%d bytes)\n",
      |                                                  ~~
      |                                                  %lu
  375 |             sizeof(charstring_buf));
      |             ^~~~~~~~~~~~~~~~~~~~~~
--- bitmap.o ---
  457 |                                         || ( abs(limfront[0]-limend[0]) >= abs(pf->vect[0][0]-pf->vect[3][0])
      |                                                                            ^
bitmap.c:457:41: note: use function 'fabs' instead
  457 |                                         || ( abs(limfront[0]-limend[0]) >= abs(pf->vect[0][0]-pf->vect[3][0])
      |                                                                            ^~~
      |                                                                            fabs
bitmap.c:458:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  458 |                                                 && abs(limfront[1]-limend[1]) >= abs(pf->vect[0][1]-pf->vect[3][1]) ))
      |                                                    ^
--- runt1asm.o ---
./t1asm.c:388:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
  388 |   sprintf(line, "%d ", charstring_bp - charstring_buf);
      |                  ~~    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  %ld
--- bitmap.o ---
bitmap.c:458:10: note: use function 'fabs' instead
  458 |                                                 && abs(limfront[1]-limend[1]) >= abs(pf->vect[0][1]-pf->vect[3][1]) ))
      |                                                    ^~~
      |                                                    fabs
bitmap.c:458:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  458 |                                                 && abs(limfront[1]-limend[1]) >= abs(pf->vect[0][1]-pf->vect[3][1]) ))
      |                                                                                  ^
bitmap.c:458:40: note: use function 'fabs' instead
  458 |                                                 && abs(limfront[1]-limend[1]) >= abs(pf->vect[0][1]-pf->vect[3][1]) ))
      |                                                                                  ^~~
      |                                                                                  fabs
bitmap.c:467:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  467 |                                         || ( abs(limfront[0]-limend[0]) >= abs(lf->vect[0][0]-lf->vect[3][0])
      |                                              ^
bitmap.c:467:11: note: use function 'fabs' instead
  467 |                                         || ( abs(limfront[0]-limend[0]) >= abs(lf->vect[0][0]-lf->vect[3][0])
      |                                              ^~~
      |                                              fabs
bitmap.c:467:41: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  467 |                                         || ( abs(limfront[0]-limend[0]) >= abs(lf->vect[0][0]-lf->vect[3][0])
      |                                                                            ^
bitmap.c:467:41: note: use function 'fabs' instead
  467 |                                         || ( abs(limfront[0]-limend[0]) >= abs(lf->vect[0][0]-lf->vect[3][0])
      |                                                                            ^~~
      |                                                                            fabs
bitmap.c:468:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  468 |                                                 && abs(limfront[1]-limend[1]) >= abs(lf->vect[0][1]-lf->vect[3][1]) )) 
      |                                                    ^
bitmap.c:468:10: note: use function 'fabs' instead
  468 |                                                 && abs(limfront[1]-limend[1]) >= abs(lf->vect[0][1]-lf->vect[3][1]) )) 
      |                                                    ^~~
      |                                                    fabs
bitmap.c:468:40: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  468 |                                                 && abs(limfront[1]-limend[1]) >= abs(lf->vect[0][1]-lf->vect[3][1]) )) 
      |                                                                                  ^
bitmap.c:468:40: note: use function 'fabs' instead
  468 |                                                 && abs(limfront[1]-limend[1]) >= abs(lf->vect[0][1]-lf->vect[3][1]) )) 
      |                                                                                  ^~~
      |                                                                                  fabs
--- ft.o ---
In file included from ft.c:22:
./global.h:90:30: warning: '/*' within block comment [-Wcomment]
   90 | /* #define DBG_GLYPH    "C118"  /* */
      |                                 ^
ft.c:82:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   82 |         if( error = FT_New_Face( library, fname, 0, &face ) ) {
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ft.c:82:12: note: place parentheses around the assignment to silence this warning
   82 |         if( error = FT_New_Face( library, fname, 0, &face ) ) {
      |                   ^
      |             (                                              )
ft.c:82:12: note: use '==' to turn this assignment into an equality comparison
   82 |         if( error = FT_New_Face( library, fname, 0, &face ) ) {
      |                   ^
      |                   ==
ft.c:129:55: warning: format specifies type 'int' but the argument has type 'FT_Long' (aka 'long') [-Wformat]
  129 |         if(ISDBG(FT)) fprintf(stderr, "%d glyphs in font\n", face->num_glyphs);
      |                                        ~~                    ^~~~~~~~~~~~~~~~
      |                                        %ld
ft.c:155:12: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  155 |                         sprintf(bf, "_g_%d", i);
      |                                 ^~
/usr/include/stdio.h:285:31: note: passing argument to parameter here
  285 | int      sprintf(char * __restrict, const char * __restrict, ...);
      |                                   ^
ft.c:159:31: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  159 |                 glyph_list[i].name = strdup(bf);
      |                                             ^~
/usr/include/string.h:90:26: note: passing argument to parameter here
   90 | char    *strdup(const char *) __malloc_like;
      |                             ^
--- pt1.o ---
In file included from pt1.c:24:
./global.h:90:30: warning: '/*' within block comment [-Wcomment]
   90 | /* #define DBG_GLYPH    "C118"  /* */
      |                                 ^
--- ttf2pt1.o ---
In file included from ttf2pt1.c:85:
./global.h:90:30: warning: '/*' within block comment [-Wcomment]
   90 | /* #define DBG_GLYPH    "C118"  /* */
      |                                 ^
--- ttf.o ---
In file included from ttf.c:29:
./global.h:90:30: warning: '/*' within block comment [-Wcomment]
   90 | /* #define DBG_GLYPH    "C118"  /* */
      |                                 ^
--- ft.o ---
ft.c:427:2: warning: '/*' within block comment [-Wcomment]
  427 |         /* guess the boldness from the font names */
      |         ^
--- pt1.o ---
pt1.c:307:5: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
  306 |                         fprintf(stderr, "unidirectional chain 0x%x -next-> 0x%x -prev-> 0x%x \n",
      |                                                                 ~~
  307 |                                 pe, ge, ge->prev);
      |                                 ^~
pt1.c:307:9: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
  306 |                         fprintf(stderr, "unidirectional chain 0x%x -next-> 0x%x -prev-> 0x%x \n",
      |                                                                              ~~
  307 |                                 pe, ge, ge->prev);
      |                                     ^~
pt1.c:307:13: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat]
  306 |                         fprintf(stderr, "unidirectional chain 0x%x -next-> 0x%x -prev-> 0x%x \n",
      |                                                                                           ~~
  307 |                                 pe, ge, ge->prev);
      |                                         ^~~~~~~~
pt1.c:317:46: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
  317 |                                 fprintf(stderr, "empty path at 0x%x \n", ge);
      |                                                                  ~~      ^~
--- ft.o ---
ft.c:537:2: error: incompatible function pointer types initializing 'FT_Outline_MoveToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
  537 |         outl_moveto,
      |         ^~~~~~~~~~~
--- pt1.o ---
pt1.c:326:6: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
--- ft.o ---
ft.c:538:2: error: incompatible function pointer types initializing 'FT_Outline_LineToFunc' (aka 'int (*)(const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
  538 |         outl_lineto,
      |         ^~~~~~~~~~~
ft.c:539:2: error: incompatible function pointer types initializing 'FT_Outline_ConicToFunc' (aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
  539 |         outl_conicto,
      |         ^~~~~~~~~~~~
ft.c:540:2: error: incompatible function pointer types initializing 'FT_Outline_CubicToFunc' (aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, const struct FT_Vector_ *, void *)') with an expression of type 'int (FT_Vector *, FT_Vector *, FT_Vector *, void *)' (aka 'int (struct FT_Vector_ *, struct FT_Vector_ *, struct FT_Vector_ *, void *)') [-Wincompatible-function-pointer-types]
  540 |         outl_cubicto,
      |         ^~~~~~~~~~~~
--- pt1.o ---
  325 |                                 fprintf(stderr, "unidirectional chain 0x%x -frwd-> 0x%x -bkwd-> 0x%x \n",
      |                                                                         ~~
  326 |                                         ge, ge->frwd, ge->frwd->bkwd);
      |                                         ^~
pt1.c:326:10: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat]
  325 |                                 fprintf(stderr, "unidirectional chain 0x%x -frwd-> 0x%x -bkwd-> 0x%x \n",
      |                                                                                      ~~
  326 |                                         ge, ge->frwd, ge->frwd->bkwd);
      |                                             ^~~~~~~~
pt1.c:326:20: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat]
  325 |                                 fprintf(stderr, "unidirectional chain 0x%x -frwd-> 0x%x -bkwd-> 0x%x \n",
      |                                                                                                   ~~
  326 |                                         ge, ge->frwd, ge->frwd->bkwd);
      |                                                       ^~~~~~~~~~~~~~
pt1.c:334:7: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
  333 |                                         fprintf(stderr, "broken first backlink 0x%x -bkwd-> 0x%x -next-> 0x%x \n",
      |                                                                                  ~~
  334 |                                                 ge, ge->bkwd, ge->bkwd->next);
      |                                                 ^~
pt1.c:334:11: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat]
  333 |                                         fprintf(stderr, "broken first backlink 0x%x -bkwd-> 0x%x -next-> 0x%x \n",
      |                                                                                               ~~
  334 |                                                 ge, ge->bkwd, ge->bkwd->next);
      |                                                     ^~~~~~~~
pt1.c:334:21: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat]
  333 |                                         fprintf(stderr, "broken first backlink 0x%x -bkwd-> 0x%x -next-> 0x%x \n",
      |                                                                                                            ~~
  334 |                                                 ge, ge->bkwd, ge->bkwd->next);
      |                                                               ^~~~~~~~~~~~~~
pt1.c:342:7: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
  341 |                                         fprintf(stderr, "broken loop 0x%x -...-> 0x%x -frwd-> 0x%x \n",
      |                                                                        ~~
  342 |                                                 first, ge, ge->frwd);
      |                                                 ^~~~~
pt1.c:342:14: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
  341 |                                         fprintf(stderr, "broken loop 0x%x -...-> 0x%x -frwd-> 0x%x \n",
      |                                                                                    ~~
  342 |                                                 first, ge, ge->frwd);
      |                                                        ^~
--- ttf.o ---
ttf.c:224:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  224 |                                         name_fields[k] = dupcnstring(p, len);
      |                                                                      ^
./global.h:120:35: note: passing argument to parameter 's' here
--- pt1.o ---
pt1.c:342:18: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat]
--- bitmap.o ---
bitmap.c:1594:42: warning: ^ has lower precedence than !=; != will be evaluated first [-Wparentheses]
 1594 |                                         } while(stepmore || ge != cge->next ^ delaystop);
      |                                                             ~~~~~~~~~~~~~~~~^
--- ttf.o ---
  120 | char *dupcnstring( unsigned char *s, int len);
      |                                   ^
--- pt1.o ---
  341 |                                         fprintf(stderr, "broken loop 0x%x -...-> 0x%x -frwd-> 0x%x \n",
      |                                                                                                 ~~
  342 |                                                 first, ge, ge->frwd);
      |                                                            ^~~~~~~~
--- bitmap.o ---
bitmap.c:1594:42: note: place parentheses around the '!=' expression to silence this warning
 1594 |                                         } while(stepmore || ge != cge->next ^ delaystop);
      |                                                                             ^
      |                                                             (              )
bitmap.c:1594:42: note: place parentheses around the ^ expression to evaluate it first
 1594 |                                         } while(stepmore || ge != cge->next ^ delaystop);
--- ttf2pt1.o ---
ttf2pt1.c:647:33: warning: format specifies type 'int *' but the argument has type 'int' [-Wformat]
--- bitmap.o ---
      |                                                                             ^          
      |                                                                   (                    )
--- ttf2pt1.o ---
  647 |                 if(sscanf(buffer, "id %d %d", pid, eid)==2) {
      |                                       ~~      ^~~
ttf2pt1.c:647:38: warning: format specifies type 'int *' but the argument has type 'int' [-Wformat]
  647 |                 if(sscanf(buffer, "id %d %d", pid, eid)==2) {
      |                                          ~~        ^~~
--- ttf.o ---
ttf.c:248:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  248 |                                                 name_fields[k] = dupcnstring(p, len);
      |                                                                              ^
./global.h:120:35: note: passing argument to parameter 's' here
  120 | char *dupcnstring( unsigned char *s, int len);
      |                                   ^
--- ft.o ---
6 warnings and 4 errors generated.
--- bitmap.o ---
bitmap.c:2000:49: warning: data argument not used by format string [-Wformat-extra-args]
 1999 |                                                                 fprintf(stderr, "    removed %s frag at %p len=%d covered by line\n", 
      |                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2000 |                                                                         gxf_name[d], pge, X_FRAG(pge)->len[d], len);
      |                                                                                                                ^
--- ft.o ---
*** [ft.o] Error code 1

make: stopped in /magus/work/usr/mports/print/ttf2pt1/work/ttf2pt1-3.4.4
--- pt1.o ---
pt1.c:763:69: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
  763 |                 fprintf(stderr, "**! fixcvends(0x%x) on floating entry, ABORT\n", ge);
      |                                                  ~~                               ^~
--- t1asm ---
t1asm.c:375:13: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  374 |     fprintf(stderr, "error: charstring_buf full (%d bytes)\n",
      |                                                  ~~
      |                                                  %lu
  375 |             sizeof(charstring_buf));
      |             ^~~~~~~~~~~~~~~~~~~~~~
--- ttf2pt1.o ---
ttf2pt1.c:1331:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 1331 |                                         nametoprint(glyph_list[n].name));
      |                                                     ^~~~~~~~~~~~~~~~~~
ttf2pt1.c:1151:17: note: passing argument to parameter 's' here
--- t1asm ---
t1asm.c:388:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
--- ttf2pt1.o ---
 1151 |         unsigned char *s
      |                        ^
--- t1asm ---
  388 |   sprintf(line, "%d ", charstring_bp - charstring_buf);
      |                  ~~    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  %ld
--- ttf2pt1.o ---
ttf2pt1.c:1392:46: warning: passing 'unsigned int[1024]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
 1392 |                         type = cursw->glenc(glyph_list, encoding, unicode_map);
      |                                                                   ^~~~~~~~~~~
ttf2pt1.c:1406:46: warning: passing 'unsigned int[1024]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
 1406 |                         type = cursw->glenc(glyph_list, encoding, unicode_map);
      |                                                                   ^~~~~~~~~~~
--- t1asm ---
t1asm.c:501:15: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  501 |   while ((c = getopt(argc, argv, "bl:")) != -1)
      |               ^
--- pt1.o ---
pt1.c:913:68: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
  913 |                 fprintf(stderr, "**! fixcvdir(0x%x) on floating entry, ABORT\n", ge);
      |                                                 ~~                               ^~
pt1.c:1043:64: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 1043 |                 fprintf(stderr, "**! fgetcvdir(0x%x) on int entry, ABORT\n", ge);
      |                                                  ~~                          ^~
pt1.c:1105:69: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 1105 |                 fprintf(stderr, "**! igetcvdir(0x%x) on floating entry, ABORT\n", ge);
      |                                                  ~~                               ^~
pt1.c:1203:36: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 1203 |                 fprintf(stderr, " %c %8x", mark, ge);
      |                                      ~~~         ^~
pt1.c:1336:63: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 1336 |                 fprintf(stderr, "**! fcheckcv(0x%x) on int entry, ABORT\n", ge);
      |                                                 ~~                          ^~
pt1.c:1364:68: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 1364 |                 fprintf(stderr, "**! icheckcv(0x%x) on floating entry, ABORT\n", ge);
      |                                                 ~~                               ^~
pt1.c:2921:21: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 2920 |                                         "dbg: possible self-intersection at v=%d o=%d exp_ge=0x%x ge=0x%x\n",
      |                                                                                                ~~
 2921 |                                         value, origin, ge, sp[si].ge);
      |                                                        ^~
pt1.c:2921:25: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 2920 |                                         "dbg: possible self-intersection at v=%d o=%d exp_ge=0x%x ge=0x%x\n",
      |                                                                                                        ~~
 2921 |                                         value, origin, ge, sp[si].ge);
      |                                                            ^~~~~~~~~
pt1.c:3911:8: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
 3911 |                                 && fabs(pge->fpoints[o][2] != pge->prev->fpoints[o][2]) ) {
      |                                    ^
pt1.c:3911:8: note: use function 'abs' instead
 3911 |                                 && fabs(pge->fpoints[o][2] != pge->prev->fpoints[o][2]) ) {
      |                                    ^~~~
      |                                    abs
pt1.c:3912:91: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 3912 |                                         if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with previous 0x%x 0x%x\n", pge, ge);
      |                                                                                                                  ~~          ^~~
pt1.c:3912:96: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 3912 |                                         if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with previous 0x%x 0x%x\n", pge, ge);
      |                                                                                                                       ~~          ^~
pt1.c:3926:8: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value]
 3926 |                                 && fabs(nge->fpoints[o][2] != ge->fpoints[o][2]) ) {
      |                                    ^
pt1.c:3926:8: note: use function 'abs' instead
 3926 |                                 && fabs(nge->fpoints[o][2] != ge->fpoints[o][2]) ) {
      |                                    ^~~~
      |                                    abs
pt1.c:3927:87: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 3927 |                                         if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with next 0x%x 0x%x\n", ge, nge);
      |                                                                                                              ~~          ^~
pt1.c:3927:91: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 3927 |                                         if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with next 0x%x 0x%x\n", ge, nge);
      |                                                                                                                   ~~         ^~~
pt1.c:4059:5: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 4058 |                         fprintf(stderr, "%s: trying 0x%x (%g %g) (%g %g) (%g %g) (%g %g)\n  ", g->name,
      |                                                       ~~
 4059 |                                 ge,  ge->prev->fx3, ge->prev->fy3, ge->fx1, ge->fy1, ge->fx2, ge->fy2,
      |                                 ^~
pt1.c:4080:15: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 4079 |                                 fprintf(stderr, "%s: 0x%x: %d pts(%c): ", 
      |                                                        ~~
 4080 |                                         g->name, ge, np-oldnp, i? 'y':'x');
      |                                                  ^~
pt1.c:4131:5: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 4130 |                         fprintf(stderr, "%s: splitting 0x%x (%g %g) (%g %g) (%g %g) (%g %g) at %d points\n  ", g->name,
      |                                                          ~~
 4131 |                                 ge,  ge->prev->fx3, ge->prev->fy3, ge->fx1, ge->fy1, ge->fx2, ge->fy2,
      |                                 ^~
pt1.c:4152:55: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 4152 |                         if(ISDBG(QUAD)) fprintf(stderr, "   0x%x %g/%g\n", ge, k1, k2);
      |                                                               ~~           ^~
pt1.c:4693:13: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 4692 |                         fprintf(stderr, "glyph %s has very small fragments(%x..%x..%x)\n", 
      |                                                                            ~~
 4693 |                         g->name, pge, ge, nge);
      |                                  ^~~
pt1.c:4693:18: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 4692 |                         fprintf(stderr, "glyph %s has very small fragments(%x..%x..%x)\n", 
      |                                                                                ~~
 4693 |                         g->name, pge, ge, nge);
      |                                       ^~
pt1.c:4693:22: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 4692 |                         fprintf(stderr, "glyph %s has very small fragments(%x..%x..%x)\n", 
      |                                                                                    ~~
 4693 |                         g->name, pge, ge, nge);
      |                                           ^~~
--- bdf.o ---
2 warnings generated.
--- pt1.o ---
pt1.c:5943:45: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 5943 |                         fprintf(stderr, ": 0x%x\nnext -> 0x%p ", pge, nge);
      |                                              ~~                  ^~~
pt1.c:5977:32: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 5977 |                         fprintf(stderr, ": 0x%x\n", nge);
      |                                              ~~     ^~~
pt1.c:6181:6: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 6180 |                                 fprintf(stderr, "(p=%p/%x n=0x%x/%x) ", pge, pgex->flags & GEXF_JLINE, 
      |                                                               ~~
 6181 |                                         nge, ngex->flags & GEXF_JLINE);
      |                                         ^~~
--- runt1asm.o ---
2 warnings generated.
--- pt1.o ---
pt1.c:7069:58: warning: format specifies type 'unsigned int' but the argument has type 'GENTRY *' (aka 'struct gentry *') [-Wformat]
 7069 |                                 fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd);
      |                                                                 ~~                   ^~
pt1.c:7069:62: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat]
 7069 |                                 fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd);
      |                                                                         ~~               ^~~~~~~~
pt1.c:7069:72: warning: format specifies type 'unsigned int' but the argument has type 'struct gentry *' [-Wformat]
 7069 |                                 fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd);
      |                                                                               ~~                   ^~~~~~~~
--- t1asm ---
3 warnings generated.
--- ttf.o ---
3 warnings generated.
--- ttf2pt1.o ---
6 warnings generated.
--- bitmap.o ---
11 warnings generated.
--- pt1.o ---
42 warnings generated.
1 error

make: stopped in /magus/work/usr/mports/print/ttf2pt1/work/ttf2pt1-3.4.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/print/ttf2pt1

Links

Depends On

Depend Of

Categories

CVEs

  • Loading CVE information...

LLM Analysis