# New Ticket Created by Andy Dougherty
# Please include the string: [perl #47393]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=47393 >
On a fresh checkout today, t/configure/107-inter_progs-*.t all fail
with identical output:
ok 1 - use config::init::defaults;
ok 2 - use config::init::install;
ok 3 - use config::init::hints;
ok 4 - use config::inter::progs;
ok 5 - init::defaults constructor returned defined value
ok 6 - The object isa init::defaults
ok 7 - init::defaults has description
ok 8 - init::defaults runstep() returned defined value
ok 9 - init::install constructor returned defined value
ok 10 - The object isa init::install
ok 11 - init::install has description
ok 12 - init::install runstep() returned defined value
ok 13 - init::hints constructor returned defined value
ok 14 - The object isa init::hints
ok 15 - init::hints has description
ok 16 - init::hints runstep() returned defined value
ok 17 - inter::progs constructor returned defined value
ok 18 - The object isa inter::progs
ok 19 - inter::progs has description
ok 20 - Tie::Filehandle::Preempt::Stdin->can('READLINE')
ok 21 - The object isa Tie::Filehandle::Preempt::Stdin
Compilation failed with 'cc'
1..21
However, the test harness still reports this as 'ok'!
The problem here is twofold: First, t/configure/107-inter_progs-01.t
is relying on values pulled from perl5's Configure to be correct.
That's simply not right, as is discussed more thoroughly under
ticket [perl #47391].
Second, the error message
Compilation failed with 'cc'
comes from this section of config/inter/prog.pm:
unless ( eval { cc_build(); 1 } ) {
warn "Compilation failed with '$cc'\n";
exit 1;
}
See my extensive postings under
[perl #41168] graceful "no compiler" error message?
for more context and opinion on this particular snippet.
--
Andy Dougherty [EMAIL PROTECTED]