Subject: problems with devel/p5-Module-Build on Mac OS X 10.4.6
To: None <pkgsrc-users@netbsd.org>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-users
Date: 05/05/2006 18:08:34
I need to install some Perl modules that use Module::Build. Building
p5-Module-Build appears to go successfully (except for a complaint that the
installed version of YAML.pm is too new for Module::Build, so is ignored). The
problem comes in the 'test' phase (see below).

Any clues about how to fix this?

My pkgsrc is from HEAD, installed perl is perl-5.8.8nb1.

Thanks,
Mark

-> bmake test
===> Checking for vulnerabilities in p5-Module-Build-0.2611
===> Testing for p5-Module-Build-0.2611
t/basic.........ok
t/compat........ok 2/62Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Failed test 5 in t/compat.t at line 42
#  t/compat.t line 42 is:   ok $build->do_system(@make);
t/compat........NOK 5Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Failed test 6 in t/compat.t at line 49
#  t/compat.t line 49 is:   ok $success;
# Test 7 got: "MAKE TEST\n/VOLUMES/NETBSD/PKG/BIN/PERL BUILD
--MAKEFILE_ENV_MACROS 1 TEST\n*** ERROR CODE 255\n\nSTOP.\nMAKE: STOPPED IN
/VOLUMES/NETBSD/PKGSRC/DEVEL/P5-MODULE-BUILD/WORK/MODULE-BUILD-0.2611/T/SAMPLE\n"
(t/compat.t at line 50)
#   Expected: "(?-xism:DONE\\.|SUCCESS)" (Make sure 'make test' ran)
#  t/compat.t line 50 is:   ok uc $output, qr{DONE\.|SUCCESS}, "Make sure
'make test' ran";
t/compat........NOK 7Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Failed test 8 in t/compat.t at line 52
#  t/compat.t line 52 is:   ok $build->do_system(@make, 'realclean');
t/compat........ok 9/62Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Test 11 got: "" (t/compat.t at line 176)
#    Expected: "1" (Makefile shouldn't exist)
#  t/compat.t line 176 is:     ok !-e 'Makefile', 1, "Makefile shouldn't exist";
t/compat........ok 12/62Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Failed test 15 in t/compat.t at line 42 fail #2
t/compat........NOK 15Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Failed test 16 in t/compat.t at line 49 fail #2
# Test 17 got: "MAKE TEST\n/VOLUMES/NETBSD/PKG/BIN/PERL BUILD
--MAKEFILE_ENV_MACROS 1 TEST\n*** ERROR CODE 255\n\nSTOP.\nMAKE: STOPPED IN
/VOLUMES/NETBSD/PKGSRC/DEVEL/P5-MODULE-BUILD/WORK/MODULE-BUILD-0.2611/T/SAMPLE\n"
(t/compat.t at line 50 fail #2)
#    Expected: "(?-xism:DONE\\.|SUCCESS)" (Make sure 'make test' ran)
t/compat........NOK 17Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Failed test 18 in t/compat.t at line 52 fail #2
t/compat........ok 19/62Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Test 21 got: "" (t/compat.t at line 176 fail #2)
#    Expected: "1" (Makefile shouldn't exist)
t/compat........ok 46/62Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
t/compat........NOK 52# Failed test 52 in t/compat.t at line 124
#  t/compat.t line 124 is:   ok $ran_ok;
t/compat........NOK 53# Test 53 got: "# make test\n#
/Volumes/NetBSD/pkg/bin/perl Build --makefile_env_macros 1 test\n# *** Error
code 255\n# \n# Stop.\n# make: stopped in
/Volumes/NetBSD/pkgsrc/devel/p5-Module-Build/work/Module-Build-0.2611/t/Sample\n"
(t/compat.t at line 126)
#    Expected: "(?-xism:# ok 1\\s+# ok 2\\s+)" (Should be verbose)
#  t/compat.t line 126 is:   ok $output, qr/# ok 1\s+# ok 2\s+/, 'Should be
verbose';
Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
t/compat........NOK 54# Failed test 54 in t/compat.t at line 130
#  t/compat.t line 130 is:   ok $ran_ok;
t/compat........NOK 55# Test 55 got: "# make test TEST_VERBOSE=0\n#
/Volumes/NetBSD/pkg/bin/perl Build --makefile_env_macros 1 test\n# *** Error
code 255\n# \n# Stop.\n# make: stopped in
/Volumes/NetBSD/pkgsrc/devel/p5-Module-Build/work/Module-Build-0.2611/t/Sample\n"
(t/compat.t at line 132)
#    Expected: "(?-xism:# test\\.+ok\\s+# All)" (Should be non-verbose)
#  t/compat.t line 132 is:   ok $output, qr/# test\.+ok\s+# All/, 'Should be
non-verbose';
t/compat........ok 56/62Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
# Test 59 got: "" (t/compat.t at line 143)
#    Expected: "1" (Makefile shouldn't exist)
#  t/compat.t line 143 is:   ok !-e 'Makefile', 1, "Makefile shouldn't exist";
t/compat........ok 61/62Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
t/compat........FAILED tests 5-8, 11, 15-18, 21, 52-55, 59
        Failed 15/62 tests, 75.81% okay
t/ext...........ok
t/extend........ok
t/files.........ok
t/install.......ok
t/manifypods....ok
t/notes.........ok
t/pod_parser....ok
t/runthrough....ok
        7/28 skipped: YAML.pm is not installed, or disabled
t/signature.....skipped
        all skipped: Skipping unless $ENV{TEST_SIGNATURE} is true
t/versions......ok
t/xs............ok
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/compat.t                62   15  24.19%  5-8 11 15-18 21 52-55 59
1 test and 7 subtests skipped.
Failed 1/13 test scripts, 92.31% okay. 15/323 subtests failed, 95.36% okay.
*** Error code 255

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/devel/p5-Module-Build
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/devel/p5-Module-Build