Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 19:28:59 GMT
From:      Stephen Roome <stephen_roome@yahoo.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35218: WRKDIRPREFIX while /usr/obj exists
Message-ID:  <200202221928.g1MJSxZ60320@mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202221928.g1MJSxZ60320>