Bug#544540: libfcgi-perl: Use of FILENO on FCGI file handles causes error

Simon Waters simon at technocool.net
Tue Sep 1 10:30:21 UTC 2009


Package: libfcgi-perl
Version: 0.67-2.1+b1
Severity: normal


Attempting to use Perl Inline Java with FCGI.pm gives the error:

mod_fcgid: stderr: Trapped error: Caught exception in pajax::Controller::cp->purchase "Can't exec JVM: Can't locate object method "FILENO" via package "FCGI::Stream" at /usr/share/perl/5.10/IPC/Open3.pm line 79.  at /usr/local/share/perl/5.10.0/Inline/Java.pm line 484"

This is a known issue as described here:

http://www.mail-archive.com/ports@openbsd.org/msg16948.html

There is a commented out definition of FILENO in the file /usr/lib/perl5/FCGI.pm which describes the issue.

Uncommenting this resolved the issue.

I feel this should be resolved properly, possibly by modifying the behaviour of the calling modules.

Is it any clearer to the Debian Perl maintainers in which package this issue would properly be addressed? 

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libfcgi-perl depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.10.0]    5.10.0-19  minimal Perl system

libfcgi-perl recommends no packages.

libfcgi-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list