Bug#495074: vim: embedding perl needs PERL_SYS_INIT3()

Niko Tyni ntyni at debian.org
Thu Aug 14 10:52:53 UTC 2008

Package: vim
Version: 2:7.2.000-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-sys-init3

As described in the 'perlembed' document, programs embedding Perl
must use the PERL_SYS_INIT3() and PERL_SYS_TERM() macros to provide
system-specific tune up of the C runtime environment necessary to run
Perl interpreters.

Your package has been identified as failing this:

- at least one of the binary packages built from the source depends
on libperl5.10

- the unpacked source matches 'perl_parse' but not 'PERL_SYS_INIT3'

As a consequence, the embedded Perl interpreter is most probably
broken on the hppa architecture, where PERL_SYS_INIT3() is needed for
initializing lock structures. Without this, calling perl_parse() will
hang inside pthread_mutex_lock(). See #486069 for more information.

Niko Tyni   ntyni at debian.org

More information about the pkg-vim-maintainers mailing list