Your message dated Sun, 22 Feb 2009 18:33:50 +0200
with message-id <[email protected]>
and subject line Re: Possible mass bug filing: embedding perl hangs on hppa
without PERL_SYS_INIT3
has caused the Debian Bug report #486069,
regarding perl: embedding perl hangs on hppa without PERL_SYS_INIT3() since
5.10.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
486069: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486069
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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;
}
--- End Message ---
--- Begin Message ---
On Thu, Aug 14, 2008 at 02:03:14PM +0300, Niko Tyni wrote:
> On Wed, Aug 13, 2008 at 12:48:32PM +0200, Sebastian Harl wrote:
>
> > On Sun, Aug 10, 2008 at 10:59:38PM +0300, Niko Tyni wrote:
> > > as seen in #486069, since Perl 5.10.0, embedding Perl hangs on hppa
> > > in pthread_mutex_lock() inside perl_parse() if PERL_SYS_INIT3() hasn't
> > > been called.
>
> > > There are currently (at least) 26 source packages in unstable that
> > > produce binary packages linking against libperl5.10 on amd64 and whose
> > > .orig.tar.gz or .diff.gz matches /perl_parse/ but not /PERL_SYS_INIT3/.
> >
> > This sounds like a valid reason for mass bug filing to me.
>
> Thanks, done. The bugs can be seen at
>
>
> http://bugs.debian.org/cgi-bin/[email protected];tag=perl-sys-init3
This was never a bug in Perl itself, as the need for PERL_SYS_INIT3()
is documented properly in perlembed.pod. The real bugs have been filed,
so I'm closing this one.
--
Niko Tyni [email protected]
--- End Message ---