From owner-freebsd-perl@FreeBSD.ORG Mon Feb 28 15:39:26 2011 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C2B21065672 for ; Mon, 28 Feb 2011 15:39:26 +0000 (UTC) (envelope-from freebsd@tern.ru) Received: from ns.tern.ru (ns.tern.ru [89.175.165.150]) by mx1.freebsd.org (Postfix) with ESMTP id D83AB8FC0C for ; Mon, 28 Feb 2011 15:39:25 +0000 (UTC) Received: from mail.tern.ru (mail.tern.ru [192.168.1.140]) by ns.tern.ru (X/X) with ESMTP id p1SFLnYQ019479 for ; Mon, 28 Feb 2011 18:21:50 +0300 (????) Received: from mail.tern.ru (root@localhost) by mail.tern.ru (X/X) with SMTP id p1SFLnfJ080050 for ; Mon, 28 Feb 2011 18:21:49 +0300 (MSK) Received: from localhost (snork.tern.ru [192.168.1.133]) by mail.tern.ru (X/X) with ESMTP id p1SFLm5j080045; Mon, 28 Feb 2011 18:21:49 +0300 (MSK) Date: Mon, 28 Feb 2011 18:21:48 +0300 From: freebsd@tern.ru Organization: Tern X-Priority: 3 (Normal) Message-ID: <707888276.20110228182148@tern.ru> To: perl@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Cc: Subject: Problem with File::Tem (p5-ExtUtils-CBuilder/gcc and some others) X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@tern.ru 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, 28 Feb 2011 15:39:26 -0000 Hello Perl Team. I faced a bug ("feature") in File::Temp that prevents use of p5-ExtUtils-CBuilder-0.2802_1,1 and, as a result, build and install of such packages like p5-Params-Validate-0.95_3, p5-DateTime-0.66, p5-XML-Parser-2.40, p5-IPC-ShareLite-0.17 When I tried building the above packages I received different kinds of errors stating that I do not have CBuilder and/or gcc and can't create temp file. After a lot of investigation I finally found that the problem is in NFS that hosts my ports tree. As I've understood, test code tries to create temporary file for test compile. temp file is created with routine in File::Temp that tries to set some FS flags/locks that do not work on NFS. Although zero sized temp files are created successfully (but without the required flags) the routine fails and as a result compile of test file also fails. Build stops and empty temp file is left after each build attempt. I have FreeBSD 7.4-PRERELEASE #2: Tue Feb 1 17:50:19 MSK 2011 i386 perl 5.8.9_4 p5-ExtUtils-CBuilder-0.2802_1,1 FreeBSD Ports site states that p5-ExtUtils-CBuilder-0.2802_1,1 requires perl-5.10.1_3l but actual port build does not state this and tries to use perl 5.8.9 that I have. If the above behavior is expectable it would be great to have some corresponding info published, as I spent vast of time looking for the problem of gcc/CBuilder in Internet but found nothing relevant. PS. Work around - to copy the problem port directory localy (e.g. to /tmp) With best regards, Alexandre Krasnov.