From owner-freebsd-ports@FreeBSD.ORG Fri Oct 29 11:51:04 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19C5016A4CE for ; Fri, 29 Oct 2004 11:51:04 +0000 (GMT) Received: from smtp.cegetel.net (mf01.sitadelle.com [212.94.174.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id D79B643D2F for ; Fri, 29 Oct 2004 11:51:03 +0000 (GMT) (envelope-from tataz@sitadelle.com) Received: from droopy.tech.sitadelle.com (213-223-184-201.dti.cegetel.net [213.223.184.201]) by smtp.cegetel.net (Postfix) with ESMTP id B7A7E37B88; Fri, 29 Oct 2004 13:51:02 +0200 (CEST) Received: by droopy.tech.sitadelle.com (Postfix, from userid 1000) id 572A2FC00E; Fri, 29 Oct 2004 13:51:05 +0200 (CEST) Date: Fri, 29 Oct 2004 13:51:05 +0200 From: Jeremie Le Hen To: freebsd-ports@freebsd.org Message-ID: <20041029115105.GC10641@sitadelle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i cc: jeremie@le-hen.org Subject: Building package as simple user X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2004 11:51:04 -0000 Hi list, I have a shell on a really fast -CURRENT box, and I wish to build fat packages for my quite old laptop (which is -CURRENT too) on it. Of course, I use precompiled packages whenever it's possible, but I sometimes use some non-default make args. I tried the following command line to build firefox : X11BASE=$HOME/x11 \ LOCALBASE=$HOME/local \ DISTDIR=$HOME/distfiles \ PACKAGES=$HOME/pkg \ WRKDIRPREFIX=$HOME/work \ make -DWITH_OPTIMIZED_CFLAGS build package Firefox depends on perl, here is what happens : Making Errno (nonxs) Writing Makefile for Errno ../../miniperl "-I../../lib" "-I../../lib" "-I../../lib" "-I../../lib" Errno_pm.PL Errno.pm cp Errno.pm ../../lib/Errno.pm *** Error code 1 (ignored) Everything is up to date. Type 'make test' to run test suite. ===> Installing for perl-5.8.5 ===> Generating temporary packing list ===> Checking if lang/perl5.8 already installed ===> perl-5.8.5 is already installed As you can see there is an unidentified error when building Errno.pm. Furthermore, it seems that the installation step looks in /var/db/pkg/ for installed packages and consequently refuses to install perl. Did I miss something in the ports/Mk/ magic, is there any workaround, or is it simply impossible to build package as user ? Thanks. Regards, -- Jeremie Le Hen jeremie@le-hen.org