Package: pike7.6-perl
Version: 7.6.112-2
Severity: grave
Justification: renders package unusable
>From the buildd log:
## Configuring module: Perl
[...]
checking if perl is embeddable... no
[...]
build information:
[...]
Perl................ no (dependencies failed)
The resulting plugin file (./usr/lib/pike/7.6.112/modules/Perl.so)
is only 3.5k and doesn't link against libperl, so it's clearly
broken.
The bug is in libperl-dev: the attached autoconf test program from
src/modules/Perl/configure.in exits with a timeout after 10 seconds on
hppa. I'll clone this against perl and block accordingly.
That said, there's also a sourceful bug in pike7.6 because the build
doesn't fail on such an error but produces a broken package instead.
--
Niko Tyni [EMAIL PROTECTED]
#include <EXTERN.h>
#include <perl.h>
#include <unistd.h>
static PerlInterpreter *my_perl;
int main(int argc, char **argv, char **env)
{
char *args[4];
args[0]="perl";
args[1]="-e";
args[2]="1";
args[3]=0;
alarm(10);
my_perl = perl_alloc();
#ifndef DBsub
/* perl5.6 */
PL_perl_destruct_level=2;
#else
/* perl5.005 */
perl_destruct_level=2;
#endif
perl_construct(my_perl);
perl_parse(my_perl, NULL, 2, args, (char **)NULL);
perl_run(my_perl);
perl_destruct(my_perl);
perl_free(my_perl);
return 0;
}