From owner-freebsd-ports@freebsd.org Wed Nov 15 19:08:11 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97F52DE4781 for ; Wed, 15 Nov 2017 19:08:11 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4199F76770; Wed, 15 Nov 2017 19:08:11 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.19.110] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id CE79DEC6; Wed, 15 Nov 2017 22:08:09 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports To: Bryan Drewery , Mathieu Arnold , "freebsd-ports@freebsd.org" References: <53e15554-9f94-d436-4cfd-6796aaea1833@FreeBSD.org> <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> From: Lev Serebryakov Organization: FreeBSD Message-ID: <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> Date: Wed, 15 Nov 2017 22:08:01 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GHaeQktkqOcoHHBI0Gec61j2QJrS1KRXL" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 19:08:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GHaeQktkqOcoHHBI0Gec61j2QJrS1KRXL Content-Type: multipart/mixed; boundary="7ARTSEdT4ogWKd57qIMXT4k7GFKX7FVEO"; protected-headers="v1" From: Lev Serebryakov Reply-To: lev@FreeBSD.org To: Bryan Drewery , Mathieu Arnold , "freebsd-ports@freebsd.org" Message-ID: <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> Subject: Re: r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports References: <53e15554-9f94-d436-4cfd-6796aaea1833@FreeBSD.org> <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> In-Reply-To: <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> --7ARTSEdT4ogWKd57qIMXT4k7GFKX7FVEO Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 15.11.2017 21:07, Bryan Drewery wrote: > First, using "WRKDIRPREFIX=3D''" 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=3D/usr/local/ports make -V= WRKDIR >> /usr/local/ports/root/svn/ports/devel/subversion/work >> ~/svn/ports/devel/subversion # WRKDIRPREFIX=3D/usr/local/ports make -V= WRKDIR WRKDIRPREFIX=3D >> /root/svn/ports/devel/subversion/work >> ~/svn/ports/devel/subversion # WRKDIRPREFIX=3D/usr/local/ports make -V= WRKDIR WRKDIRPREFIX=3D'' >> /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=3D'' /usr/home/lev/FreeBSD/ports/devel/subversion/work % make extract 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 =3D=3D=3D> License APACHE20 accepted by the user =3D=3D=3D> subversion-1.9.7 depends on file: /usr/local/sbin/pkg - foun= d =3D=3D=3D> Fetching all distfiles required by subversion-1.9.7 for buildi= ng =3D=3D=3D> Extracting for subversion-1.9.7 =3D> 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=3D'' extract make[1]: don't know how to make /usr/home/lev/FreeBSD/ports/devel/subversion/work/.extract_done.subversio= n._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 % --=20 // Lev Serebryakov --7ARTSEdT4ogWKd57qIMXT4k7GFKX7FVEO-- --GHaeQktkqOcoHHBI0Gec61j2QJrS1KRXL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAloMkJlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c R4+UVRAAohbJ8ePrLR/Fw7NoBWFbi8uwVBrElJzUXCb6od91BVzBS/s5Jzaqhz89 nIAlzAAqyPbxr+4fTKiFiGPcBJOnhUmqz9nk9xSmpoNv6XRY+9J8w5yl4YkcSXGk XMPzTxxFgzyDiCncyuHWr9/UGV6yPQMw3fUaR97BiECHDb3l/mbvzcEiJgR3We5B Jd/ucE9oe0TyRJQv7zqKaKv/mq8qBQKUA/IlbWtuRuwn2kt3bVwL3SPVFqGjIX6s 4kZ8tWgPotRLf6qkjpevBtzJNVuqgu7KIY4rE1sQbSbgOlV89FwwamU9xfJ+64o4 goLwHYDx7ZSaLu5qIEixp4x18xFvn53NIo+8ZkHRjfumWg09ehS57tMSDQVIgPin xg3FgAscnUykPQuuUvJ6TQBOJJEGqWKswqPS2pDnUhUaSyqjLNAJLONewICttLEY 0W7IXp7Y77OeIohpH2IBJrHPHBridEh77wCcLCbfT9ry1eGDT4IfyuH2zBVLWEyL dlUwkGwqp1jCcNQrgotSdfL74BWWsHo6FoNqKC0WrvaGCZQKJz7f8frcKD/6O8Mz eOal2rVPohlCdxPpKOjsFrQKOTAJhs0ORsJVQgIct8qehyP299MuuNlizNDe9Sa+ wVjJnor1yk0+HInnYVMtIY0GrU5nKn/tmBIkWzB7jdJuRA3t52I= =hKrZ -----END PGP SIGNATURE----- --GHaeQktkqOcoHHBI0Gec61j2QJrS1KRXL--