Date: Wed, 15 Nov 2017 11:27:01 -0800 From: Bryan Drewery <bdrewery@FreeBSD.org> To: lev@FreeBSD.org, Mathieu Arnold <mat@FreeBSD.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Subject: Re: r450663 (basic flavors) breaks WRKDIRPREFIX='' for complex ports Message-ID: <f88cd5ce-2081-3458-8790-cfda98e0deff@FreeBSD.org> In-Reply-To: <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org> References: <53e15554-9f94-d436-4cfd-6796aaea1833@FreeBSD.org> <5ed224df-8a69-26d8-4bba-bc6fa53e30a4@FreeBSD.org> <290edb60-006d-a85e-8e62-7a4a5aac4763@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MLXvVw811j6BNshJg04jwNskAptp4lUld Content-Type: multipart/mixed; boundary="gNotbswwTncSuI1R9Nq0P6w63MW7L9Of8"; protected-headers="v1" From: Bryan Drewery <bdrewery@FreeBSD.org> To: lev@FreeBSD.org, Mathieu Arnold <mat@FreeBSD.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org> Message-ID: <f88cd5ce-2081-3458-8790-cfda98e0deff@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> <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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f88cd5ce-2081-3458-8790-cfda98e0deff>