Subject: | installation of glib from cpan is broken in 1.303 |
When I try to install glib 1.303 using cpanm, I get https://travis-ci.org/JasonGross/barnowl/jobs/15991398:
Configuring Glib-1.303
Running Makefile.PL
Including generated API documentation...
***
*** configuring Glib to build without thread safety
***
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Glib
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::Makaker 0 ... Yes (6.82)
Checking if you have ExtUtils::Depends 0.300 ... Yes (0.306)
Checking if you have ExtUtils::PkgConfig 1.000 ... Yes (1.15)
Building and testing Glib-1.303
cp lib/Glib/GenPod.pm blib/lib/Glib/GenPod.pm
cp build/IFiles.pm blib/arch/Glib/Install/Files.pm
cp lib/Glib.pm blib/lib/Glib.pm
cp gperl.h blib/arch/Glib/Install/gperl.h
cp lib/Glib/Object/Subclass.pm blib/lib/Glib/Object/Subclass.pm
cp devel.pod blib/lib/Glib/devel.pod
cp gperl_marshal.h blib/arch/Glib/Install/gperl_marshal.h
cp lib/Glib/ParseXSDoc.pm blib/lib/Glib/ParseXSDoc.pm
cp lib/Glib/MakeHelper.pm blib/lib/Glib/MakeHelper.pm
cp lib/Glib/CodeGen.pm blib/lib/Glib/CodeGen.pm
cp doctypes blib/arch/Glib/Install/doctypes
cp /home/travis/.cpanm/work/1388067496.3963/Glib-1.303/typemap blib/arch/Glib/Install/typemap
[ XS Glib.xs ]
[ CC Glib.c ]
[ XS GError.xs ]
[ CC GError.c ]
[ XS GUtils.xs ]
[ CC GUtils.c ]
[ XS GLog.xs ]
[ CC GLog.c ]
[ XS GType.xs ]
[ CC GType.c ]
[ XS GBoxed.xs ]
[ CC GBoxed.c ]
[ XS GObject.xs ]
[ CC GObject.c ]
[ XS GValue.xs ]
[ CC GValue.c ]
[ XS GClosure.xs ]
[ CC GClosure.c ]
[ XS GSignal.xs ]
[ CC GSignal.c ]
[ XS GMainLoop.xs ]
[ CC GMainLoop.c ]
[ XS GIOChannel.xs ]
[ CC GIOChannel.c ]
[ XS GParamSpec.xs ]
[ CC GParamSpec.c ]
[ XS GKeyFile.xs ]
[ CC GKeyFile.c ]
[ XS GOption.xs ]
[ CC GOption.c ]
[ XS GBookmarkFile.xs ]
[ CC GBookmarkFile.c ]
[ CC gperl-gtypes.c ]
gperl-gtypes.c: In function ‘gperl_spawn_flags_get_type’:
gperl-gtypes.c:190:9: error: ‘G_SPAWN_SEARCH_PATH_FROM_ENVP’ undeclared (first use in this function)
gperl-gtypes.c:190:9: note: each undeclared identifier is reported only once for each function it appears in
make: *** [gperl-gtypes.o] Error 1
-> FAIL Installing Glib failed. See /home/travis/.cpanm/work/1388067496.3963/build.log for details. Retry with --force to force install it.
1.302 works fine. According to http://about.travis-ci.org/docs/user/ci-environment/, I'm running on Ubuntu 12.04 LTS Server Edition 64 bit.