Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2011 09:22:49 -0400
From:      "Mikhail T." <mi+thun@aldan.algebra.com>
To:        Joe Marcus Clarke <marcus@freebsd.org>
Cc:        gnome@freebsd.org
Subject:   Re: gobject-introspection would not build
Message-ID:  <4E491DA9.6030003@aldan.algebra.com>
In-Reply-To: <4E47FB22.1010901@freebsd.org>
References:  <201108140536.p7E5aRr3051495@narawntapu.narawntapu> <4E47FB22.1010901@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14.08.2011 12:43, Joe Marcus Clarke wrote:
> Ache found that this was due to the Python malloc implementation being
> enabled.  Rebuild Python without it, and gobject-introspection will
> build.  The Python team has been informed.
Negative. I did not use Python's malloc. Here is the contents of my 
/var/db/ports/python27/options:

    # This file is auto-generated by 'make config'.
    # No user-servicable parts inside!
    # Options for python27-2.7.2_1
    _OPTIONS_READ=python27-2.7.2_1
    WITH_THREADS=true
    WITHOUT_HUGE_STACK_SIZE=true
    WITHOUT_SEM=true
    WITHOUT_PTH=true
    WITH_UCS4=true
    *WITHOUT_PYMALLOC=true*
    WITHOUT_IPV6=true
    WITH_FPECTL=true

It may be, that some other knob triggers this, but the problem seems 
with the gobject-introspection.

And, at any rate, when their configure is invoked with 
``--disable-tests'' (as the port is doing), they should not be testing 
for this. Meanwhile, I suggest the following patch:

    --- tests/Makefile.in   2011-04-21 09:37:00.000000000 -0400
    +++ tests/Makefile.in   2011-08-15 09:18:57.000000000 -0400
    @@ -822,3 +822,3 @@
      Everything-1.0.gir: libeverything-1.0.la Makefile
    -       $(AM_V_GEN) $(INTROSPECTION_SCANNER)
    $(INTROSPECTION_SCANNER_ARGS) --warn-all
    --warn-error--reparse-validate \
    +       $(AM_V_GEN) $(INTROSPECTION_SCANNER)
    $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error \
             --namespace=Everything --nsversion=1.0 \
    @@ -830,3 +830,3 @@
      GIMarshallingTests-1.0.gir: libgimarshallingtests-1.0.la Makefile
    -       $(AM_V_GEN) $(INTROSPECTION_SCANNER)
    $(INTROSPECTION_SCANNER_ARGS) --warn-all
    --warn-error--reparse-validate \
    +       $(AM_V_GEN) $(INTROSPECTION_SCANNER)
    $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error \
             --namespace=GIMarshallingTests
    --symbol-prefix=gi_marshalling_tests --nsversion=1.0 \

After this I was able to continue building out the new machine. Yours,

    -mi




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