gobject-introspection would not build

Mikhail T. mi+thun at aldan.algebra.com
Mon Aug 15 13:51:46 UTC 2011


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



More information about the freebsd-gnome mailing list