pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/49982: graphics/py-cairo does not compile on Solaris
The following reply was made to PR pkg/49982; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/49982: graphics/py-cairo does not compile on Solaris
Date: Thu, 18 Jun 2015 02:48:12 +0000
On Wed, Jun 17, 2015 at 07:00:00AM +0000, joern.clausen%uni-bielefeld.de@localhost wrote:
> libtool: compile: gcc -DHAVE_CONFIG_H -I.
> -I/opt/pkgsrc/pkg-hrz/pkgsrc/graphics/py-cairo/work.pkgsrc-sol11i86/.buildlink/include/python2.7
> -I/opt/pkgsrc/pkg-hrz/pkgsrc/graphics/py-cairo/work.pkgsrc-sol11i86/.buildlink/include
> -I/opt/pkgsrc/pkg-hrz/pkgsrc/graphics/py-cairo/work.pkgsrc-sol11i86/.buildlink/include/freetype2
> -O2 -Wall -fno-strict-aliasing
> -MT _cairo_la-cairomodule.lo -MD -MP -MF .deps/_cairo_la-cairomodule.Tpo
> -c cairomodule.c
> -fPIC -DPIC -o .libs/_cairo_la-cairomodule.o
My corresponding compile line (on NetBSD) looks like this:
> libtool: compile: gcc -DHAVE_CONFIG_H -I.
> -I/usr/pkgsrc/graphics/py-cairo/work/.buildlink/include/python2.7
> -D_REENTRANT
> -I/usr/pkgsrc/graphics/py-cairo/work/.buildlink/include/cairo
> -I/usr/pkgsrc/graphics/py-cairo/work/.x11-buildlink/include/pixman-1
> -I/usr/pkgsrc/graphics/py-cairo/work/.x11-buildlink/include
> -I/usr/pkgsrc/graphics/py-cairo/work/.x11-buildlink/include/freetype2
> -I/usr/pkgsrc/graphics/py-cairo/work/.buildlink/include/libpng16
> -I/usr/pkgsrc/graphics/py-cairo/work/.buildlink/include
> -I/usr/pkgsrc/graphics/py-cairo/work/.x11-buildlink/include/libdrm
> -O2 -std=c99 -Wall -fno-strict-aliasing
> -MT _cairo_la-cairomodule.lo -MD -MP -MF .deps/_cairo_la-cairomodule.Tpo
> -c cairomodule.c
> -fPIC -DPIC -o .libs/_cairo_la-cairomodule.o
The lack of .buildlink/include/cairo in yours is why it doesn't build
(otherwise the cairo header is cairo/cairo.h) so the question is where
that went. (And the -I for png too, probably. I'm assuming the
.x11-buildlink differences are harmless until proven otherwise.)
The configure script says "checking for CAIRO... yes" so it's probably
doing it with pkg-config.
Is there a native cairo.pc that it might be finding by accident?
> During extraction, this error/warning is shown:
>
> ===> Extracting for py27-cairo-1.10.0nb4
> cd /opt/pkgsrc/pkg-hrz/pkgsrc/graphics/py-cairo/work.pkgsrc-sol11i86/py2cairo-1.10.0 && touch ChangeLog && aclocal && automake -a
> Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/pkgsrc/pkg-hrz/pkgsrc/graphics/py-cairo/work.pkgsrc-sol11i86/.tools/bin/automake line 3936.
>
> which is a difference to building this package e.g. on NetBSD. It
> is unclear to me, though, where this regex is found and who
> actually tries to use it.
I am seeing this on NetBSD too and it doesn't seem to be important.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index