From owner-freebsd-ports@FreeBSD.ORG Sun Dec 12 00:08:16 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 6E71516A4CE for ; Sun, 12 Dec 2004 00:08:16 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1964E43D53 for ; Sun, 12 Dec 2004 00:08:16 +0000 (GMT) (envelope-from jez.hancock@gmail.com) Received: by rproxy.gmail.com with SMTP id z35so539565rne for ; Sat, 11 Dec 2004 16:08:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=htMzybeET9FJEwo9N9u7UpLtIrlvFk0vHS9yQjS/KYj3K3g/7dbjXvUE2vuINRTm5kw1fJFp1uLvj330TLQZliuWHfzT1lbzPaitaDAx/X497ZzQQJeuZJcXWwfAFxCCpl13tn5qXmp1O0E8EbekUnrv1bVItPCqearImx8zcvU= Received: by 10.38.97.8 with SMTP id u8mr676750rnb; Sat, 11 Dec 2004 16:08:15 -0800 (PST) Received: by 10.38.83.42 with HTTP; Sat, 11 Dec 2004 16:08:14 -0800 (PST) Message-ID: <7b3c7f0b04121116085dcd7f4f@mail.gmail.com> Date: Sun, 12 Dec 2004 00:08:14 +0000 From: Jez Hancock To: ports@freebsd.org In-Reply-To: <7b3c7f0b0412110035451d776@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <7b3c7f0b0412110035451d776@mail.gmail.com> Subject: Fwd: make broken in ports when DATE environment variable set X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jez Hancock List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 00:08:16 -0000 Please cc me in reply. Forwarding this to ports@, no response from questions@. Is anyone interested in this or shall I just skulk off quietly? Thanks. ---------- Forwarded message ---------- From: Jez Hancock Date: Sat, 11 Dec 2004 08:35:54 +0000 Subject: make broken in ports when DATE environment variable set To: FreeBSD Questions Mailing List I've just gone to run the weekly 'portupgrade -ari' and found that the make process is failing anywhere in /usr/ports. An example of the output is: [8:28:01] root@users /usr/ports# portupgrade vim ---> Upgrading 'vim-6.3.16' to 'vim-6.3.45' (editors/vim) ---> Building '/usr/ports/editors/vim' with make flags: -DNO_GUI ===> Cleaning for libiconv-1.9.2_1 ===> Cleaning for libtool-1.5.10 ===> Cleaning for vim-6.3.45 20041211: not found *** Error code 127 Stop in /usr/ports/editors/vim. Manually changing to /usr/ports/editors/vim and issuing a 'make clean && make' command fails with the same error message as above. Anyway with some digging about I found this entry in /usr/ports/CHANGES: 20041209: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Define new macros: DATE, FMT, MKTEMP, OBJDUMP, and use command macro SORT. By coincidence I have a DATE variable set in my shell rc file and it appears to be this that is stopping the make process in the ports tree. Issuing 'unsetenv DATE' prior to running 'make' in the ports tree actually fixes the problem. My question then is whether this is something that is known or whether I should send a problem report or what? I've had a quick search for PRs relating to the problem but couldn't see anything. I can live with having to run 'unsetenv DATE' any time I need to modify the ports, but perhaps there are wider consequences of this problem? Cheers. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://freebsd.munk.nu/ - A FreeBSD Diary http://ipfwstats.sf.net/ - ipfw peruser traffic logging -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://freebsd.munk.nu/ - A FreeBSD Diary http://ipfwstats.sf.net/ - ipfw peruser traffic logging