Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Aug 2017 15:02:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221296] 'make -C /path/to/some/port install' fails when /usr/ports is symbolic link to other directory
Message-ID:  <bug-221296-13-dcXsQGPe4u@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221296-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221296-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221296

Joseph Mingrone <jrm@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrm@freebsd.org

--- Comment #1 from Joseph Mingrone <jrm@freebsd.org> ---
I am able to reproduce this.

% cd / && ls -lh home
lrwxr-xr-x  1 root  wheel     8B Jun 25  2015 home -> usr/home

% PORTSDIR=3D/home/jrm/scm/freebsd/freebsd-ports.svn make -C
/home/jrm/scm/freebsd/freebsd-ports.svn/lang/perl5.26 install
=3D=3D=3D>  Switching to root credentials to create /var/db/ports/lang_perl=
5.26
Password:
=3D=3D=3D>  Returning to user credentials

=3D=3D=3D>  Switching to root credentials to write
/var/db/ports/lang_perl5.26/options
Password:
=3D=3D=3D>  Returning to user credentials
make[1]: don't know how to make
/home/jrm/scm/freebsd/freebsd-ports.svn/lang/perl5.26/work/.install_done.pe=
rl._usr_local.
Stop

make[1]: stopped in /usr/home/jrm/scm/freebsd/freebsd-ports.svn/lang/perl5.=
26
*** Error code 2

Stop.
make: stopped in /home/jrm/scm/freebsd/freebsd-ports.svn/lang/perl5.26

After applying the patch in https://reviews.freebsd.org/D11934:

% PORTSDIR=3D/home/jrm/scm/freebsd/freebsd-ports.svn make -C
/home/jrm/scm/freebsd/freebsd-ports.svn/lang/perl5.26 install
##################################################

      This is *NOT* the DEFAULT perl version

It will *NOT* install /usr/local/bin/perl

It will *ONLY* install /usr/local/bin/perl5.26.0

The default Perl version currently is 5.24.

If you want to use this version as the default,
stop the build now, add this line to your
/etc/make.conf, and then restart the build.

DEFAULT_VERSIONS+=3Dperl5=3D5.26

##################################################
.
.
.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221296-13-dcXsQGPe4u>