r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports

Bryan Drewery bdrewery at FreeBSD.org
Wed Nov 15 19:27:24 UTC 2017


On 11/15/2017 11:08 AM, Lev Serebryakov wrote:
> On 15.11.2017 21:07, Bryan Drewery wrote:
> 
>> First, using "WRKDIRPREFIX=''" doesn't seem like a "supported feature".
>> If there's docs or a specific commit to support such a thing then sure.
>  I've used it from my first day as ports committer. Maybe, it was not
> supported, but it worked for tens of years :)
> 
>> However, It seems fine to me.
>>> ~/svn/ports/devel/subversion # WRKDIRPREFIX=/usr/local/ports make -V WRKDIR
>>> /usr/local/ports/root/svn/ports/devel/subversion/work
>>> ~/svn/ports/devel/subversion # WRKDIRPREFIX=/usr/local/ports make -V WRKDIR WRKDIRPREFIX=
>>> /root/svn/ports/devel/subversion/work
>>> ~/svn/ports/devel/subversion # WRKDIRPREFIX=/usr/local/ports make -V WRKDIR WRKDIRPREFIX=''
>>> /root/svn/ports/devel/subversion/work
>  -V works for me too. Real build doesn't work with these stange "Don't
> know how to make" messages.
> 
> % pwd
> /usr/home/lev/FreeBSD/ports/devel/subversion
> % svnversion
> 454265
> % make -V WRKDIR
> /usr/local/build/ports/usr/home/lev/FreeBSD/ports/devel/subversion/work
> % make -V WRKDIR WRKDIRPREFIX=''
> /usr/home/lev/FreeBSD/ports/devel/subversion/work
> % make extract

You did not set WRKDIRPREFIX='' here as a make argument. So yeah it's
going to fallback to /usr/local/build/ports.

> 
> You can have the repository created for you by defining
> WITH_REPOSITORY_CREATION.
> 
> Make sure that:
> * all your svn users are members of a common group
> * this group is the group id of the db/ and locks/
>   subdirectories of your repository
> * the above subdirectories are writable by this group
> 
> Many useful scripts will be installed into /usr/local/share/subversion
> ===>  License APACHE20 accepted by the user
> ===>   subversion-1.9.7 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by subversion-1.9.7 for building
> ===>  Extracting for subversion-1.9.7
> => SHA256 Checksum OK for subversion19/subversion-1.9.7.tar.bz2.
> mkdir:
> /usr/local/build/ports/usr/home/lev/FreeBSD/ports/devel/subversion:
> Permission denied
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion
> % make WRKDIRPREFIX='' extract
> make[1]: don't know how to make
> /usr/home/lev/FreeBSD/ports/devel/subversion/work/.extract_done.subversion._usr_local.
> Stop
> 
> make[1]: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion
> *** Error code 2
> 
> Stop.
> make: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion
> %
> 
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171115/f001b61e/attachment.sig>


More information about the freebsd-ports mailing list