From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 31 01:30:23 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0301216A4D0 for ; Wed, 31 Mar 2004 01:30:23 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D553443D2D for ; Wed, 31 Mar 2004 01:30:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2V9UMbv053938 for ; Wed, 31 Mar 2004 01:30:22 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2V9UMML053937; Wed, 31 Mar 2004 01:30:22 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 31 Mar 2004 01:30:22 -0800 (PST) Resent-Message-Id: <200403310930.i2V9UMML053937@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jurij Ivliev Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FEAF16A4CE; Wed, 31 Mar 2004 01:22:40 -0800 (PST) Received: from shelob.esterdev.com (unknown [212.22.68.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B0B443D5C; Wed, 31 Mar 2004 01:22:38 -0800 (PST) (envelope-from yury@shelob.esterdev.com) Received: from shelob.esterdev.com (argv@localhost [127.0.0.1]) by shelob.esterdev.com (8.12.9p2/8.12.9) with ESMTP id i2V9MZMh090999; Wed, 31 Mar 2004 13:22:35 +0400 (MSD) (envelope-from yury@shelob.esterdev.com) Received: (from yury@localhost) by shelob.esterdev.com (8.12.9p2/8.12.9/Submit) id i2V9MY1e090998; Wed, 31 Mar 2004 13:22:34 +0400 (MSD) (envelope-from yury) Message-Id: <200403310922.i2V9MY1e090998@shelob.esterdev.com> Date: Wed, 31 Mar 2004 13:22:34 +0400 (MSD) From: Jurij Ivliev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: des@FreeBSD.org Subject: ports/64984: porteasy 2.7.12 doesn't work on FreeBSD-4 with system core's perl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jurij Ivliev List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 09:30:23 -0000 >Number: 64984 >Category: ports >Synopsis: porteasy 2.7.12 doesn't work on FreeBSD-4 with system core's perl >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 31 01:30:22 PST 2004 >Closed-Date: >Last-Modified: >Originator: Jurij Ivliev >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: EsterDev, Ltd >Environment: System: FreeBSD smaug.esterdev.com 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #0: Thu Jan 1 22:45:35 GMT 2004 root@smaug.esterdev.com:/usr/obj/usr/src/sys/SMAUG-VM i386 $ perl -v This is perl, version 5.005_03 built for i386-freebsd >Description: FreeBSD-4 system core's perl (version 5.005_03) cannot compile porteasy because of it doesn't have mkdir function with one argument. >How-To-Repeat: $ porteasy Not enough arguments for mkdir at /usr/local/bin/porteasy line 341, near ""$portsdir/packages") " Execution of /usr/local/bin/porteasy aborted due to compilation errors. >Fix: --- /usr/local/bin/porteasy.orig Wed Mar 31 08:33:17 2004 +++ /usr/local/bin/porteasy Wed Mar 31 08:34:24 2004 @@ -337,7 +337,7 @@ or bsd::errx(1, "error updating the index file"); } if ($packages && ! -d "$portsdir/packages") { - mkdir("$portsdir/packages") + mkdir("$portsdir/packages",0777) or bsd::errx(1, "error creating the package directory"); } cvs("update", "Mk", "Templates", "Tools") >Release-Note: >Audit-Trail: >Unformatted: