pkgsrc-Users archive

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

Build failure for graphics/graphviz



Building on a NetBSD-9.99.4 amd64 host.  pkgsrc is updated as of
a couple hours ago...

Lots of warnings, but here's the actual error (as far as I can tell):


--- gvtextlayout_pango.lo ---
gvtextlayout_pango.c: In function 'pango_textlayout':
gvtextlayout_pango.c:106:74: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
     if (!fontname || strcmp(fontname, span->font->name) != 0 || fontsize != span->font->size) {
                                                                          ^~
gvtextlayout_pango.c:140:10: error: unknown type name 'FT_Face'
          FT_Face face;
          ^~~~~~~
gvtextlayout_pango.c:142:10: error: unknown type name 'FT_Stream'
          FT_Stream stream;
          ^~~~~~~~~
gvtextlayout_pango.c:143:10: error: unknown type name 'FT_StreamDesc'
          FT_StreamDesc streamdesc;
          ^~~~~~~~~~~~~
... (warnings elided)

gvtextlayout_pango.c:148:23: error: invalid type argument of '->' (have 'int')
       strcat(buf, face->family_name);
                       ^
gvtextlayout_pango.c:148:23: error: invalid type argument of '->' (have 'int')
       strcat(buf, face->family_name);
                       ^
gvtextlayout_pango.c:150:23: error: invalid type argument of '->' (have 'int')
       strcat(buf, face->style_name);
                       ^
gvtextlayout_pango.c:150:23: error: invalid type argument of '->' (have 'int')
       strcat(buf, face->style_name);
                       ^
gvtextlayout_pango.c:153:20: error: invalid type argument of '->' (have 'int')
       stream = face->stream;
                    ^~
gvtextlayout_pango.c:155:23: error: invalid type argument of '->' (have 'int')
    streamdesc = stream->pathname;
                       ^~
gvtextlayout_pango.c:156:18: error: request for member 'pointer' in something not a structure or union
    if (streamdesc.pointer)
                  ^
In file included from /usr/include/string.h:127:0,
                 from gvtextlayout_pango.c:17:
gvtextlayout_pango.c:157:37: error: request for member 'pointer' in something not a structure or union
        strcat(buf, (char*)streamdesc.pointer);
                                     ^
gvtextlayout_pango.c:157:37: error: request for member 'pointer' in something not a structure or union
        strcat(buf, (char*)streamdesc.pointer);
                                     ^
... (more warning elided)



+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
+--------------------+--------------------------+-----------------------+


Home | Main Index | Thread Index | Old Index