Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2009 14:00:00 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        Dirk Meyer <dinoex@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: graphics/graphviz: stray symlink on install?
Message-ID:  <790a9fff0902241200u58d4dc86jdaa7bd9a9ea527b8@mail.gmail.com>
In-Reply-To: <49A3E32E.1000309@icyb.net.ua>
References:  <49A3E32E.1000309@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 24, 2009 at 6:08 AM, Andriy Gapon <avg@icyb.net.ua> wrote:
>
> It seems that each time I install graphviz there appears a fresh symlink
> in $HOME of a user from which I su -m to root:
>
> gv.so -> /usr/local/lib/graphviz/lua/libgv_lua.so
>

I also noticed this stay symbolic link.

I recently used script to capture the output of the rebuild of this
port, and found this:

gmake[4]: Entering directory
`/usr/ports/graphics/graphviz/work/graphviz-2.20.3/tclpkg'
mkdir -p ;
usage: mkdir [-pv] [-m mode] directory_name ...
gmake[4]: [install-data-hook] Error 64 (ignored)
if test -w ; then \
                (cd ; \
                        ln -s -f
/usr/local/lib/graphviz/lua/libgv_lua.so gv.so;) \
        else \
                echo "Warning:  is not writable."; \
                echo "Skipping system installation of lua binding."; \
        fi

Without looking at the Makefile, it looks like the Makefile in tclpkg
is trying to create a directory, but has an empty variable, this empty
variable is then use with the cd command, which causes the cd command
to change to the users home directory (i.e. /root).

Scot.



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