From owner-freebsd-perl@FreeBSD.ORG Mon May 10 11:01:37 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D60A916A4CE for ; Mon, 10 May 2004 11:01:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B17F943D2D for ; Mon, 10 May 2004 11:01:37 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i4AI1boo095807 for ; Mon, 10 May 2004 11:01:37 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4AI1b7P095801 for freebsd-perl@freebsd.org; Mon, 10 May 2004 11:01:37 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 10 May 2004 11:01:37 -0700 (PDT) Message-Id: <200405101801.i4AI1b7P095801@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-perl@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 18:01:37 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/03/02] ports/63670 perl 'Unable to read from thread kernel pipe' 1 problem total. Non-critical problems From owner-freebsd-perl@FreeBSD.ORG Sat May 15 09:50:38 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3AFA16A4CE for ; Sat, 15 May 2004 09:50:38 -0700 (PDT) Received: from atlas.informatik.rwth-aachen.de (atlas.informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C18E43D1F for ; Sat, 15 May 2004 09:50:37 -0700 (PDT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from menelaos.informatik.rwth-aachen.de (menelaos.informatik.RWTH-Aachen.DE [137.226.194.73]) 8.11.1-0.5-michaelw-20030918) with ESMTP id i4FGoZ426564 for ; Sat, 15 May 2004 18:50:35 +0200 Received: (from stolz@localhost)i4FGoZsL082740 for freebsd-perl@freebsd.org; Sat, 15 May 2004 18:50:35 +0200 (CEST) (envelope-from stolz) Date: Sat, 15 May 2004 18:50:35 +0200 From: Volker Stolz To: freebsd-perl@freebsd.org Message-ID: <20040515165035.GA82726@i2.informatik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.4i Subject: MakeMaker / security/p5-Crypt-Anubis X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2004 16:50:39 -0000 Hi, a quick question to the perl-hackers: http://pointyhat.freebsd.org/errorlogs/i386-4-latest/p5-Crypt-Anubis-1.0.4.log I thought -.if ${OSVERSION} < 500000 -BROKEN= "Does not compile" +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 's/^our (\S+)/use vars qw{$$1};$$1/g' ${WRKSRC}/Anubis.pm .endif would DTRT, but I get: In file included from Anubis.xs:5: _anubis.c:980: conflicting types for `main' /usr/libdata/perl/5.00503/mach/CORE/proto.h:267: previous declaration of `main' Anubis.xs: In function `XS_Crypt__Anubis_new': Anubis.xs:43: warning: passing arg 1 of `NESSIEkeysetup' makes pointer from integer without a cast Anubis.xs: In function `XS_Crypt__Anubis_encrypt': Anubis.xs:61: warning: passing arg 3 of `NESSIEencrypt' makes pointer from integer without a cast Anubis.xs: In function `XS_Crypt__Anubis_decrypt': Anubis.xs:80: warning: passing arg 3 of `NESSIEdecrypt' makes pointer from integer without a cast *** Error code 1 Stop in /usr/ports/security/p5-Crypt-Anubis/work/Crypt-Anubis-1.0.4. *** Error code 1 Stop in /usr/ports/security/p5-Crypt-Anubis. The port builds fine with perl5.6. Is there something else wrong or should I simply raise the bar to 5.6? I couldn't find any decent requirements on CPAN either. Cheers, Volker (please cc: replies) -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME Neu! Ändern Sie den Anfangstag Ihrer Woche From owner-freebsd-perl@FreeBSD.ORG Sat May 15 10:41:16 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05CE016A4CE for ; Sat, 15 May 2004 10:41:16 -0700 (PDT) Received: from plouf.absolight.net (plouf.absolight.net [212.43.217.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C3343D58 for ; Sat, 15 May 2004 10:41:15 -0700 (PDT) (envelope-from mat@mat.cc) Received: from localhost (localhost [127.0.0.1]) by plouf.absolight.net (Postfix) with ESMTP id 76BE2764A51 for ; Sat, 15 May 2004 19:41:14 +0200 (CEST) Received: from pouet.in.mat.cc (pouet.in.mat.cc [212.43.217.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by plouf.absolight.net (Postfix) with ESMTP id 43307764A45 for ; Sat, 15 May 2004 19:41:13 +0200 (CEST) Date: Sat, 15 May 2004 19:41:12 +0200 From: Mathieu Arnold To: perl@freebsd.org Message-ID: X-Mailer: Mulberry/3.1.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd 0.1 Subject: Re: MakeMaker / security/p5-Crypt-Anubis X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2004 17:41:16 -0000 +-Le 15/05/2004 18:50 +0200, Volker Stolz a dit : | Hi, a quick question to the perl-hackers: | | http://pointyhat.freebsd.org/errorlogs/i386-4-latest/p5-Crypt-Anubis-1.0. | 4.log | | I thought | -.if ${OSVERSION} < 500000 | -BROKEN= "Does not compile" | +.if ${PERL_LEVEL} < 500600 | +post-patch: | + @${PERL} -pi -e 's/^our (\S+)/use vars qw{$$1};$$1/g' | ${WRKSRC}/Anubis.pm .endif | | would DTRT, but I get: | | In file included from Anubis.xs:5: | _anubis.c:980: conflicting types for `main' | /usr/libdata/perl/5.00503/mach/CORE/proto.h:267: previous declaration of | `main' Anubis.xs: In function `XS_Crypt__Anubis_new': | Anubis.xs:43: warning: passing arg 1 of `NESSIEkeysetup' makes pointer | from integer without a cast Anubis.xs: In function | `XS_Crypt__Anubis_encrypt': | Anubis.xs:61: warning: passing arg 3 of `NESSIEencrypt' makes pointer | from integer without a cast Anubis.xs: In function | `XS_Crypt__Anubis_decrypt': | Anubis.xs:80: warning: passing arg 3 of `NESSIEdecrypt' makes pointer | from integer without a cast *** Error code 1 | | Stop in /usr/ports/security/p5-Crypt-Anubis/work/Crypt-Anubis-1.0.4. | *** Error code 1 | | Stop in /usr/ports/security/p5-Crypt-Anubis. | | The port builds fine with perl5.6. Is there something else wrong | or should I simply raise the bar to 5.6? I couldn't find any decent | requirements on CPAN either. | | Cheers, | Volker (please cc: replies) Hum, in 5.005's CORE/proto.h, main is defined like this : int main _((int argc, char** argv, char** env)); and in _anubis.c as : int main(void) merely replacing it's prototype in _anubis.c with : int main _((int argc, char** argv, char** env)) is enough to make it work. 5.6 and later versions don't have main declaration in CORE/proto.h, which is why it works. -- Mathieu Arnold