GNOME Bugzilla – Bug 547781
Embedding perl needs PERL_SYS_INIT3()
Last modified: 2008-08-19 13:15:25 UTC
Originally reported as http://bugs.debian.org/495062: ---------------------------------------------------------------------------- Package: gnumeric Version: 1.8.3-4 Severity: important User: debian-perl@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. Cheers, -- Niko Tyni ntyni@debian.org ----------------------------------------------------------------------------
Created attachment 116581 [details] [review] Proposed patch
Comment on attachment 116581 [details] [review] Proposed patch The docs are clear. My only worry would be the implications of a user enabling then disabling and enabling again. We lack a 'can not disable this till you exit' capability. Please commit both branches.
Committed: http://svn.gnome.org/viewvc/gnumeric?view=revision&revision=16737 (trunk) http://svn.gnome.org/viewvc/gnumeric?view=revision&revision=16738 (1.8 branch)