<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CAIRO DOES NOT COMPILE after commit a18c0de due to implicit declaration of function ‘FT_Get_Var_Design_Coordinates’"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104584">104584</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CAIRO DOES NOT COMPILE after commit a18c0de due to implicit declaration of function ‘FT_Get_Var_Design_Coordinates’
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hector.edmundox.ramirez.gomez@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=136664" name="attach_136664" title="autogen output">attachment 136664</a> <a href="attachment.cgi?id=136664&action=edit" title="autogen output">[details]</a></span>
autogen output

Followed steps:

1) $ git clone <a href="https://anongit.freedesktop.org/git/cairo/">https://anongit.freedesktop.org/git/cairo/</a>

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
(<a href="https://cgit.freedesktop.org/cairo/commit/?id=a18c0decdacc3846588f424edb6d45ddc9be9560">https://cgit.freedesktop.org/cairo/commit/?id=a18c0decdacc3846588f424edb6d45ddc9be9560</a>)

***
Using previous commit 6b0593827b072abd701ea47448981bcc9bdde9f3
(<a href="https://cgit.freedesktop.org/cairo/commit/?id=6b0593827b072abd701ea47448981bcc9bdde9f3">https://cgit.freedesktop.org/cairo/commit/?id=6b0593827b072abd701ea47448981bcc9bdde9f3</a>)
compilation is succesful</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>