pkgsrc-Bugs archive

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

pkg/49982: graphics/py-cairo does not compile on Solaris



>Number:         49982
>Category:       pkg
>Synopsis:       graphics/py-cairo does not compile on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 17 07:00:00 +0000 2015
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
Solaris 11.2/i86, GCC 4.8.2
>Description:
Compilation of graphics/py-cairo fails on Solaris 11.2:

/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I/opt/pkg-hrz/20150608/include/python2.7 -I/opt/pkg-hrz/20150608/include/python2.7  -I/usr/include -I/opt/pkg-hrz/20150608/include -I/opt/pkg-hrz/20150608/include/freetype2  -O2 -I/usr/include -I/opt/pkg-hrz/20150608/include -I/opt/pkg-hrz/20150608/include/freetype2 -std=c99 -Wall -fno-strict-aliasing -MT _cairo_la-cairomodule.lo -MD -MP -MF .deps/_cairo_la-cairomodule.Tpo -c -o _cairo_la-cairomodule.lo `test -f 'cairomodule.c' || echo './'`cairomodule.c
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
In file included from private.h:41:0,
                 from cairomodule.c:35:
pycairo.h:36:19: fatal error: cairo.h: No such file or directory
 #include <cairo.h>
                   ^
compilation terminated.


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.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index