develooper Front page | perl.perl5.porters | Postings from May 2012

[perl #70690] multiple bugs in perlbug

From:
James E Keenan via RT
Date:
May 1, 2012 18:54
Subject:
[perl #70690] multiple bugs in perlbug
Message ID:
rt-3.6.HEAD-4610-1335923667-1773.70690-15-0@perl.org
On Mon Nov 23 10:17:06 2009, abigail@abigail.be wrote:
> On Mon, Nov 23, 2009 at 06:41:56PM +0100, Abigail wrote:
> > On Fri, Nov 20, 2009 at 02:24:23PM -0800, WK wrote:
> > > # New Ticket Created by  WK 
> > > # Please include the string:  [perl #70690]
> > > # in the subject line of all future correspondence about this issue. 
> > > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=70690 >
> > > 
> > > 
> > > This is a bug report for perl from wanradt@gmail.com,
> > > generated with the help of perlbug 1.36 running under perl 5.10.0.
> > > 
> > > 
> > > -----------------------------------------------------------------
> > > [Please enter your report here]
> > > 
> > > After filling bug report and trying to send it away, i got answer:
> > > 
> > > 	I am terribly sorry, but I cannot find sendmail, or a close
> > > 	equivalent, and the perl package Mail::Send has not been
> > > 	installed, so I can't send your bug report. We apologize for the
> > > 	inconvenience.
> > > 
> > > 	So you may attempt to find some way of sending your message, it
> > > 	has been left in the file `/tmp/QsEe2TfxL9'.
> > > 
> > > On some reason there was now such temp file mentioned above, too. I
> > > looked for such file on many occasion.
> > > 
> > > And still, i had correctly installed  Mail::Send module on system
> > > (/usr/share/perl5/Mail/Send.pm
> > > ), in @INC, as you can check on details below.
> > > 
> > > So,
> > > 1. perlbug does not WARN users on start, that something more is
> > > required to fill report
> 
> That's because perlbug can be used without sending the message. Only
> after the report is made is the user prompted what to do next - with
> Send being one of the options.
> 
> > > 2. perlbug tries send report away without testing requirements and
> > > without warnings
> 
> No, actually. You get that warning when perlbug tests the requirements
> (which, for Linux, means looking for /usr/lib/sendmail, /usr/sbin/sendmail
> and /usr/ucblib/sendmail), and fails to find it. 
> 
> > > 3. perlbug does not save report properly
> 
> Well, it does, but the message can be a bit misleading. At the moment
> the above message is displayed, the report *is* in '/tmp/QsEe2TfxL9'.
> However, afterwards, perlbug prompts you for a filename to save the
> report in, after which it removes the file in /tmp.
> 
> > > 4. perlbug does not use correctly modules on @INC
> > > 
> > 
> > 
> > To address one issue: perlbug doesn't attempt to use Mail::Send if
> > the platform is Linux or OpenBSD, citing:
> > 
> >     # on linux certain "mail" implementations won't accept the subject
> >     # as "~s subject" and thus the Subject header will be corrupted
> >     # so don't use Mail::Send to be safe
> > 
> > as the reason. I'll make a patch to fix the wording.
> 
> 
> That would be commit e90d6148cab189f145114468e60a00cfb4e3ec90.
> 
> 
> Abigail
> 

WK, Abigail:  Have we sufficiently addressed all the issues in this ticket?

Thank you very much.
Jim Keenan



---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=70690



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About