Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Aug 2011 20:36:39 +0400
From:      Andrey Chernov <ache@freebsd.org>
To:        gnome@freebsd.org, kwm@freebsd.org, python@freebsd.org
Subject:   Re: gobject-introspection build error using portupgrade on recent -current
Message-ID:  <20110807163638.GA37122@vniz.net>
In-Reply-To: <20110807161604.GA18754@vniz.net>
References:  <20110805153355.GA42852@vniz.net> <20110807161604.GA18754@vniz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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&quot;
> -              value=&quot;">
> +              value="OR_DOMAIN&quot;               value=&quot;">
>        <type name="utf8" c:type="gchar*"/>
>      </constant>
>      <constant name="CONSTANT_GERROR_MESSAGE"
> -              value="OR_MESSAGE&quot;
> -              value=&quot;">
> +              value="OR_MESSAGE&quot;               value=&quot;">
>        <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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110807163638.GA37122>