Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 18:04:32 +0400 (MSD)
From:      Dmitry Morozovsky <marck@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159997: www/firefox makes wrong link when WRKDIRPREFIX is defined
Message-ID:  <201108221404.p7ME4WJk021937@woozle.rinet.ru>
Resent-Message-ID: <201108221430.p7MEUE87028759@freefall.freebsd.org>

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

>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@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@woozle:~> grep WRK /etc/make.conf
WRKDIRPREFIX?=/ar/tmp


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

marck@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@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:



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