[cairo-bugs] [Bug 104584] New: CAIRO DOES NOT COMPILE after commit a18c0de due to implicit declaration of function ‘FT_Get_Var_Design_Coordinates’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 11 17:55:05 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104584

            Bug ID: 104584
           Summary: CAIRO DOES NOT COMPILE after commit a18c0de due to
                    implicit declaration of function
                    ‘FT_Get_Var_Design_Coordinates’
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: hector.edmundox.ramirez.gomez at intel.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 136664
  --> https://bugs.freedesktop.org/attachment.cgi?id=136664&action=edit
autogen output

Followed steps:

1) $ git clone https://anongit.freedesktop.org/git/cairo/

2) $ sudo./autogen.sh --prefix=/opt/X11R7 --libdir=/opt/X11R7/lib

3) $ sudo make

***
Compilation fails, log attached. Main error:

cairo-ft-font.c: In function ‘_cairo_ft_unscaled_font_init’:
cairo-ft-font.c:460:7: error: implicit declaration of function
‘FT_Get_Var_Design_Coordinates’ [-Werror=implicit-function-declaration]
       FT_Get_Var_Design_Coordinates (face, ft_mm_var->num_axis,
unscaled->variations);
       ^
cairo-ft-font.c: In function ‘_cairo_ft_has_color_glyphs’:
cairo-ft-font.c:3007:9: warning: ignoring return value of
‘_cairo_ft_unscaled_font_lock_face’, declared with attribute warn_unused_result
[-Wunused-result]
         _cairo_ft_unscaled_font_lock_face (unscaled);
         ^
  CC       cairo-pdf-interchange.lo
cairo-png.c: In function ‘read_png’:
cairo-png.c:550:15: warning: variable ‘data’ might be clobbered by ‘longjmp’ or
‘vfork’ [-Wclobbered]
     png_byte *data = NULL;
               ^
  CC       cairo-tag-stack.lo
cairo-png.c:551:16: warning: variable ‘row_pointers’ might be clobbered by
‘longjmp’ or ‘vfork’ [-Wclobbered]
     png_byte **row_pointers = NULL;
                ^
  CC       cairo-svg-surface.lo
cc1: some warnings being treated as errors
Makefile:2376: recipe for target 'cairo-ft-font.lo' failed

***
This error was introduced in commit a18c0decdacc3846588f424edb6d45ddc9be9560
(https://cgit.freedesktop.org/cairo/commit/?id=a18c0decdacc3846588f424edb6d45ddc9be9560)

***
Using previous commit 6b0593827b072abd701ea47448981bcc9bdde9f3
(https://cgit.freedesktop.org/cairo/commit/?id=6b0593827b072abd701ea47448981bcc9bdde9f3)
compilation is succesful

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20180111/1bdd5394/attachment.html>


More information about the cairo-bugs mailing list