Hi folks, thanks a lot for your instantaneous response.
The FILENO patch works just fine for my installation. Thus, I have not tried the other possible solution. I must, however, admit that I inserted the three-liner manually into Trapper.pm, not using your patch file. Since I am testing this on a windows box, I figured this would be easier than to install the GNU patch tool and do it that way. Anyways, thank you very much - and keep going! This is really a tool worth developing. Mit freundlichen Grüßen/Kind regards Markus Kling Software Architect Daimler TSS GmbH Consulting Wilhelm-Runge-Strasse 11 89081 Ulm/Germany Phone +49–(0)731 / 5 05-63 05 Mobile +49-(0)160 / 86 77 433 Fax +49–(0)711 / 30 52 18 01 79 mailto:[email protected] http://www.daimler-tss.com Daimler TSS GmbH Sitz und Registergericht/Domicile and Register Court: Ulm, HRB-Nr./Commercial Register No.: 3844 Geschäftsführung/Management: Gerhard Streit (Vorsitzender/Chairperson), Dr. Stefan Eberhardt Beiratsvorsitzende/Chairperson of the Advisory Board: Dr. Helmut Mahler [email protected] 16.07.2010 18:42 An [email protected] Kopie [email protected] Thema Re: [scmbug-users] Scmbug error 79: Package 'Bugzilla' not found Hi Markus, First, thanks a lot for providing such a detailed description of the problem. I've just noticed something I had missed before. Let's see if we can finally get this fixed On Fri, 2010-07-16 at 14:37 +0200, [email protected] wrote: > [after - with require Bugzilla]: > 2010/07/16 13:47:09 Scmbug WARN> > Daemon.pm:81:Scmbug::Daemon::Daemon::read_configuration - Read > configuration file 'C:/Program Files/Scmbug/etc/scmbug/daemon.conf' > 2010/07/16 13:47:10 Scmbug ERROR> > Common.pm:334:Scmbug::Common::package_exists - Can't locate object method > "FILENO" via package "Scmbug::Daemon::Trapper" at C:/Perl/lib/CGI.pm line > 822. object method "FILENO". I missed this before. I wonder if the Trapper object supplied to log4perl also requires a definition of FILENO. I'm attaching a patch for supplying such a method, although it practically does nothing. If this patch does not work, perhaps you could also try to not tie STDERR to log4perl, using another patch attached. > Seems like Bugzilla.pm tries to use Bugzilla::CGI that in turn tries to use > Perl's CGI.pm that in turn dies in this method: > > 820># put a filehandle into binary mode (DOS) > 821>sub binmode { > 822> return unless defined($_[1]) && defined fileno($_[1]); > 823> CORE::binmode($_[1]); > 824>} This is a very good observation. I had never dug into the CGI source before. The call to fileno() is probably what requires a FILENO method from the trapper to be available. Please try the patches and report if it works. [Anhang "trapper_FILENO.patch" gelöscht von Markus Kling/415/INT/EEC] [Anhang "do_not_tie_trapper.patch" gelöscht von Markus Kling/415/INT/EEC] [Anhang "signature.asc" gelöscht von Markus Kling/415/INT/EEC] If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
