[Bug 221296] 'make -C /path/to/some/port install' fails when /usr/ports is symbolic link to other directory
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 9 15:02:32 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221296
Joseph Mingrone <jrm at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jrm at freebsd.org
--- Comment #1 from Joseph Mingrone <jrm at 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=/home/jrm/scm/freebsd/freebsd-ports.svn make -C
/home/jrm/scm/freebsd/freebsd-ports.svn/lang/perl5.26 install
===> Switching to root credentials to create /var/db/ports/lang_perl5.26
Password:
===> Returning to user credentials
===> Switching to root credentials to write
/var/db/ports/lang_perl5.26/options
Password:
===> 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.perl._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=/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+=perl5=5.26
##################################################
.
.
.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list