gobject-introspection build error using portupgrade on recent
-current
Andrey Chernov
ache at freebsd.org
Sun Aug 7 16:52:14 UTC 2011
I find the reason. I have python27 compiled with non-default
PYMALLOC "Use python's internal malloc" off
when I change it to "on", the bug gone. This message CCed to python@
PYMALLOC options should be either fixed or removed completely.
On Sun, Aug 07, 2011 at 08:16:05PM +0400, Andrey Chernov wrote:
> "Failed to re-parse" because files are not identical in very small
> section:
>
> --- /tmp/tmpJVlwnO.gir 2011-08-07 20:10:38.000000000 +0400
> +++ /tmp/tmpypFC11.gir 2011-08-07 20:10:39.000000000 +0400
> @@ -44,13 +44,11 @@
> <type name="gint" c:type="gint"/>
> </constant>
> <constant name="CONSTANT_GERROR_DOMAIN"
> - value="OR_DOMAIN"
> - value="">
> + value="OR_DOMAIN" value="">
> <type name="utf8" c:type="gchar*"/>
> </constant>
> <constant name="CONSTANT_GERROR_MESSAGE"
> - value="OR_MESSAGE"
> - value="">
> + value="OR_MESSAGE" value="">
> <type name="utf8" c:type="gchar*"/>
> </constant>
> <constant name="CONSTANT_NUMBER" value="42">
>
> I.e. newline added, but both those values looks like garbadge taken from
> freed memory.
>
>
> On Fri, Aug 05, 2011 at 07:33:55PM +0400, Andrey Chernov wrote:
> > I use portupgrade -vuR, i.e. all lower level ports this port
> > depends are recursively updated, but below is the stop place.
> >
> > g-ir-scanner: link: /bin/sh
> > /usr/ports/devel/gobject-introspection/work/gnome-libtool --mode=link
> > --tag=CC --silent cc -o
> > /usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8/tests/tmp-introspect1PbAvX/GIMarshallingTests-1.0
> > -export-dynamic -Wsign-compare -Wcast-align -Wpointer-arith
> > -Wnested-externs -Wmissing-prototypes -Wmissing-declarations
> > -Wchar-subscripts -Wall -O2 -pipe -march=pentium4 -fno-strict-aliasing -L.
> > libgimarshallingtests-1.0.la -pthread -L/usr/local/lib -lgio-2.0
> > -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0
> > /usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8/tests/tmp-introspect1PbAvX/GIMarshallingTests-1.0.o
> > ERROR: Failed to re-parse gir file; scanned='/tmp/tmpaBnwRN.gir'
> > passthrough='/tmp/tmpIe8m9L.gir'
> > gmake[2]: *** [GIMarshallingTests-1.0.gir] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8/tests'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory
> > `/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
> > gmake: *** [all] Error 2
> > *** Error code 1
> >
> > Stop in /usr/ports/devel/gobject-introspection.
> >
> > --
> > http://ache.vniz.net/
>
>
> --
> http://ache.vniz.net/
--
http://ache.vniz.net/
More information about the freebsd-python
mailing list