From owner-freebsd-ports Fri Feb 22 11:30:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A9CC937B416 for ; Fri, 22 Feb 2002 11:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1MJU0A69103; Fri, 22 Feb 2002 11:30:00 -0800 (PST) (envelope-from gnats) Received: from blueyonder.co.uk (pcow057o.blueyonder.co.uk [195.188.53.94]) by hub.freebsd.org (Postfix) with ESMTP id 6EB4737B416 for ; Fri, 22 Feb 2002 11:29:03 -0800 (PST) Received: from pcow057o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Fri, 22 Feb 2002 19:29:02 +0000 Received: from mail.yahoo.com (unverified [62.30.255.232]) by pcow057o.blueyonder.co.uk (Content Technologies SMTPRS 4.2.9) with ESMTP id for ; Fri, 22 Feb 2002 19:29:02 +0000 Received: (from root@localhost) by mail.yahoo.com (8.11.6/8.11.6) id g1MJSxZ60320; Fri, 22 Feb 2002 19:28:59 GMT (envelope-from steve) Message-Id: <200202221928.g1MJSxZ60320@mail.yahoo.com> Date: Fri, 22 Feb 2002 19:28:59 GMT From: Stephen Roome Reply-To: Stephen Roome To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35218: WRKDIRPREFIX while /usr/obj exists Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35218 >Category: ports >Synopsis: WRKDIRPREFIX while /usr/obj exists >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 22 11:30:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Stephen Roome >Release: FreeBSD 4.4-RELEASE i386 >Organization: >Environment: System: FreeBSD dylan.home 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Fri Jan 18 17:13:55 GMT 2002 steve@dylan.home:/usr/src/sys/compile/DYLAN-TWO i386 ports cvsupped 22 Feb 2002 Ports in /usr/ports as normal spare space to build them in /home dylan# df -k /usr /home /dev/da0s1f 3816204 1603494 1907414 46% /usr /dev/ad0s2e 10163179 1734369 7615756 19% /home >Description: No ports will build properly with WRKDIRPREFIX set and /usr/obj symlinked to the same directory. (it may just be WRKDIRPREFIX and usr/obj exists) from /etc/make.conf I have: WRKDIRPREFIX=/home/obj For keeping obj dirs for ports and src on separate disks from the srcs. Ports I have tried to build so far all fail with "don't know how to make real-build. Stop" >How-To-Repeat: # Set up a breaking environment mkdir /home/obj echo "WRKDIRPREFIX=/home/obj" >> /etc/make.conf cd /usr rm -f obj ln -s /home/obj /usr/obj # try it out. cd /usr/ports/security/nmap # OR SOME OTHER PORT # e.g. cd /usr/ports/sysutils/file make install # DIES WITH # make: don't know how to make real-build. Stop >Fix: rm /usr/obj A better fix would obviously be in the makefiles somewhere. But I've not got that bit where / how. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message