Your message dated Mon, 1 Aug 2005 16:47:40 +0200
with message-id <[EMAIL PROTECTED]>
and subject line perl-base: Errno.pm does not export ERRNOs on hurd-i386
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Mar 2005 16:28:02 +0000
>From [EMAIL PROTECTED] Tue Mar 22 08:28:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from pop.gmx.net (mail.gmx.net) [213.165.64.20] 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1DDmEb-0002xO-00; Tue, 22 Mar 2005 08:28:02 -0800
Received: (qmail invoked by alias); 22 Mar 2005 16:27:30 -0000
Received: from ppp-82-135-10-141.mnet-online.de (EHLO localhost.localdomain) 
[82.135.10.141]
  by mail.gmx.net (mp013) with SMTP; 22 Mar 2005 17:27:30 +0100
X-Authenticated: #686195
Received: from mbanck by localhost.localdomain with local (Exim 4.34)
        id 1DDnAC-0007LN-BC
        for [EMAIL PROTECTED]; Tue, 22 Mar 2005 18:27:32 +0100
Date: Tue, 22 Mar 2005 18:27:32 +0100
From: Michael Banck <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: perl-base: Errno.pm does not export ERRNOs on hurd-i386
Message-ID: <[EMAIL PROTECTED]>
Reply-To: Michael Banck <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.5ubuntu5
User-Agent: Mutt/1.5.6+20040907i
X-Y-GMX-Trusted: 0
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: perl-base
Version: 5.8.4-5
Severity: important

Hi,

dupload on GNU/Hurd breaks like this:

[EMAIL PROTECTED]:~/build$ ../dupload hello_2.1.1-4_hurd-i386.changes 
dupload note: no announcement will be sent.
Uploading (ftp) to ftp-master.debian.org:/pub/UploadQueue/
[ job hello_2.1.1-4_hurd-i386 from hello_2.1.1-4_hurd-i386.changes
 hello_2.1.1-4_hurd-i386.deb, md5sum ok
 hello_2.1.1-4_hurd-i386.changes ok ]
Uploading (ftp) to anonymous-ftp-master (ftp-master.debian.org)
+ FTP passive mode selected
dupload fatal error: Net::FTP: connect: Operation now in progress at
../dupload line 816

I tracked this down to /usr/lib/perl/5.8.4/IO/Socket.pm:115, where
$!{EINPROGRESS} is "" on GNU/Hurd, while it is "115" on GNU/Linux.  If I
remove the test for $!{EINPROGRESS}, dupload works fine.  The reason for
this appears to be that /usr/lib/perl/5.8.4/Errno.pm does not
export any of the ERRNOs:

[EMAIL PROTECTED]:~/build$ grep EINPROGRESS /usr/lib/perl/5.8.4/Errno.pm 
[EMAIL PROTECTED]:~/build$ 

(You the find this file as generated on hurd-i386 at
http://people.debian.org/~mbanck/Errno.pm )

while on GNU/Linux:

nighthawk~$ grep EINPROGRESS /usr/lib/perl/5.8.4/Errno.pm 
        ENOTSOCK EDESTADDRREQ EIO ENOSPC EIDRM EMEDIUMTYPE EINPROGRESS ERANGE
        EINPROGRESS EINTR EINVAL EIO EISCONN EISDIR ELOOP EMFILE EMLINK
sub EINPROGRESS () { 115 }

I think this is due to no general glibc inclusion of <errno.h> in
perl-5.8.4/ext/Errno/Errno_pm.PL, only linux is tested for.  So I guess
either a test for 'gnu' (or whatever perl calls it) should be added or
the 'linux' test be generalized for all glibc-using architectures.


cheers,

Michael

---------------------------------------
Received: (at 300914-done) by bugs.debian.org; 1 Aug 2005 14:48:13 +0000
>From [EMAIL PROTECTED] Mon Aug 01 07:48:13 2005
Return-path: <[EMAIL PROTECTED]>
Received: from server.theo.chemie.tu-muenchen.de [129.187.122.133] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DzbaO-0004Ao-00; Mon, 01 Aug 2005 07:48:13 -0700
Received: by castor.theo.chemie.tu-muenchen.de (Postfix, from userid 557)
        id 1B0A74196; Mon,  1 Aug 2005 16:47:40 +0200 (CEST)
Date: Mon, 1 Aug 2005 16:47:40 +0200
From: Michael Banck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: perl-base: Errno.pm does not export ERRNOs on hurd-i386
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Version: 5.8.7-1

The current version of perl contains the patch, as far as I can tell, thus
I am closing this bug.


thanks,

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to