Subject: | Test libraries don't compile in GIO 0.009 |
When running 'make test' prior to the release, I noticed that most of the tests were being
skipped. Uncommenting the output redirects to /dev/null in Makefile.PL gets me:
[Glib-Object-Introspection-0.009]$ perl Makefile.PL
Trying to build test libraries... /opt/local/share/gobject-introspection-1.0/tests/regress.c: In
function ‘regress_test_closure_variant’:
/opt/local/share/gobject-introspection-1.0/tests/regress.c:232: warning: passing argument 2
of ‘g_value_set_variant’ discards qualifiers from pointer target type
/opt/local/share/gobject-introspection-1.0/tests/regress.c: In function
‘regress_test_array_fixed_out_objects’:
/opt/local/share/gobject-introspection-1.0/tests/regress.c:2378: warning: initialization from
incompatible pointer type
ld: unknown option: --no-as-needed
collect2: ld returned 1 exit status
not OK
Writing Makefile for Glib::Object::Introspection
Writing MYMETA.yml
I played with the first compile statement in Makefile.PL in order to try to get the test libraries to
compile, but I just ended up generating more errors.
OS X: 10.7.4 (x86_64 Intel)
Perl: This is perl 5, version 14, subversion 2 (v5.14.2) built for darwin-thread-multi-2level
Glib: 1.242
GIO: 0.009 from the same tarball I uploaded to CPAN
gobject-introspection: 1.30.0_0