[cairo-bugs] [Bug 99474] New: Cairo make ignores sysroot.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 20 13:32:04 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99474
Bug ID: 99474
Summary: Cairo make ignores sysroot.
Product: cairo
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: chris at chris-wilson.co.uk
Reporter: AlastairGrowcott at yahoo.co.uk
QA Contact: cairo-bugs at cairographics.org
I cloned Cairo from the git repository. Last commit was
dd4706d0a9d123d3aa4284ac9ab35fbe165278b2, "pdf: Fix wrong
cairo_pdf_outline_flags_t item prefix", last tag was 1.15.14.
I am working on Ubuntu, compiling using MinGW.
I used the following command to configure:
./configure --prefix=${HOME}/Workspace/mingw/cairo --host=x86_64-w64-mingw32
--enable-xlib=no --enable-xlib-xrender=no --enable-xcb=no --enable-xlib-xcb=no
--enable-xcb-shm=no --enable-png=yes --with-sysroot=/usr/x86_64-w64-mingw32
The compile fails as follows:
In file included from /usr/include/freetype2/ft2build.h:37:0,
from cairo-ft.h:46,
from cairo-ft-private.h:41,
from cairo-script-surface.c:88:
/usr/include/freetype2/freetype/config/ftheader.h:78:3: error: #error unknown
multiarch location for ftheader.h
# error unknown multiarch location for ftheader.h
This error is generated from /usr/include/freetype2/freetype/config/ftheader.h
but the compile SHOULD be using
/usr/x86_64-w64-mingw32/include/freetype2/freetype/config/ftheader.h.
I have built all the dependencies using a similar configure line but without
the "--with-sysroot" option and they all compiled fine and were evidently
getting files from the right location as can be seen by the fact that header
files that were on the build system and not on the target system were reported
as missing.
If you want to reproduce this issue, I can save you some time with the
dependencies. I have been making them available at
https://gitlab.com/AGrowcott/Ubuntu-mingw-prebuilt-libs. Note that I built
libpng16 rather than libpng12 though. I am going to have to edit your make
files before I am finished I think.
--
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/20170120/c47e8971/attachment.html>
More information about the cairo-bugs
mailing list