ports/159997: www/firefox makes wrong link when WRKDIRPREFIX is defined

Dmitry Morozovsky marck at FreeBSD.org
Mon Aug 22 14:30:15 UTC 2011


>Number:         159997
>Category:       ports
>Synopsis:       www/firefox makes wrong link when WRKDIRPREFIX is defined
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 22 14:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Morozovsky
>Release:        FreeBSD [78]-STABLE {i386,amd64}
>Organization:
Cronyx Plus LLC (RiNet ISP)
>Environment:
System: FreeBSD 8-STABLE, 7-STABLE 


>Description:

On my desktop machine, /usr/ports is symlinked:

marck at woozle:~> l -d /usr/ports
lrwxr-xr-x  1 root  wheel  11 Jan 25  2006 /usr/ports@ -> ../lh/ports

and I have defined WRKDIRPREFIX in /etc/make.conf:

marck at woozle:~> grep WRK /etc/make.conf
WRKDIRPREFIX?=/ar/tmp


after building and istalling firefox-6.0,1, wrong symlink had been made:

marck at woozle:~> l /usr/local/bin/firefox
lrwxr-xr-x  1 root  wheel  58 Aug 17 11:57 /usr/local/bin/firefox@ -> /ar/tmp/lh/ports/www/firefox/work/fake/lib/firefox/firefox

I had to resymlinked it as

marck at woozle:~> l /usr/local/bin/firefox
lrwxr-xr-x  1 root  wheel  22 Aug 22 17:52 /usr/local/bin/firefox@ -> ../lib/firefox/firefox


>How-To-Repeat:

>Fix:

N/A for the moment
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list