From owner-freebsd-ports@freebsd.org Wed Nov 15 19:27:24 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 36617DE4E1B for ; Wed, 15 Nov 2017 19:27:24 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0465F771C6; Wed, 15 Nov 2017 19:27:24 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 2EB0E13DCA; Wed, 15 Nov 2017 19:27:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id DE61888B5; Wed, 15 Nov 2017 19:27:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id pI_NpjPS-vf0; Wed, 15 Nov 2017 19:27:19 +0000 (UTC) Subject: Re: r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com D217788AF To: lev@FreeBSD.org, Mathieu Arnold , "freebsd-ports@freebsd.org" References: <53e15554-9f94-d436-4cfd-6796aaea1833@FreeBSD.org> <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Wed, 15 Nov 2017 11:27:01 -0800 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: <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MLXvVw811j6BNshJg04jwNskAptp4lUld" 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:27:24 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MLXvVw811j6BNshJg04jwNskAptp4lUld Content-Type: multipart/mixed; boundary="gNotbswwTncSuI1R9Nq0P6w63MW7L9Of8"; protected-headers="v1" From: Bryan Drewery To: lev@FreeBSD.org, Mathieu Arnold , "freebsd-ports@freebsd.org" Message-ID: 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> <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> In-Reply-To: <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> --gNotbswwTncSuI1R9Nq0P6w63MW7L9Of8 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/15/2017 11:08 AM, Lev Serebryakov wrote: > On 15.11.2017 21:07, Bryan Drewery wrote: >=20 >> First, using "WRKDIRPREFIX=3D''" doesn't seem like a "supported featur= e". >> If there's docs or a specific commit to support such a thing then sure= =2E > I've used it from my first day as ports committer. Maybe, it was not > supported, but it worked for tens of years :) >=20 >> 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. >=20 > % 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 did not set WRKDIRPREFIX=3D'' here as a make argument. So yeah it's going to fallback to /usr/local/build/ports. >=20 > You can have the repository created for you by defining > WITH_REPOSITORY_CREATION. >=20 > 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 >=20 > 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 - fo= und > =3D=3D=3D> Fetching all distfiles required by subversion-1.9.7 for buil= ding > =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 >=20 > Stop. > make[1]: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion > *** Error code 1 >=20 > 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.subvers= ion._usr_local. > Stop >=20 > make[1]: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion > *** Error code 2 >=20 > Stop. > make: stopped in /usr/home/lev/FreeBSD/ports/devel/subversion > % >=20 >=20 --=20 Regards, Bryan Drewery --gNotbswwTncSuI1R9Nq0P6w63MW7L9Of8-- --MLXvVw811j6BNshJg04jwNskAptp4lUld Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJaDJUFAAoJEDXXcbtuRpfP8poH/jAeqD8lMP7kmxvpdr7Jtks8 1R8eoghFJ1idr2MQsBw7NOKeRHkrn5OGa+mgeMvKFTivhtlM9Z4JIzR1Y98HFmq4 fz7kwdiPb0YMnn7aIQGUp870c6QQc3KZ7JPgzz/jO9UliNnwEMkocHPOD2KC9teC DO4UHV7nZvd6DiO+JP04MQV3gi19i7e0gE2cF/WpVyelwAzD9hoQowWngWtRbS5E BTH5xaLTna8CfU5I59FaLNH21yjQQIbbbpree+8fWloKG4O1cj77DvjSxJnJr0wF mf8VTzC1cU7/tpQf46RXDdNhWdcufeBYTDzmKAes8fkyVC/R6yEODVONWT0bpFY= =OVau -----END PGP SIGNATURE----- --MLXvVw811j6BNshJg04jwNskAptp4lUld--