Date: Tue, 9 Jan 2018 11:33:10 -0500 From: James E Keenan <jkeenan@pobox.com> To: freebsd-ports@freebsd.org Cc: Mathieu Arnold <mat@FreeBSD.org>, Yuri <yuri@rawbw.com> Subject: Re: First time porter seeks guidance on 'make package' (as user) Message-ID: <5fc9a91f-39d8-07d7-b752-6194dd6fef38@pobox.com> In-Reply-To: <4f0d3035-0f0f-ffcc-be05-8c3dc4648dd6@pobox.com> References: <d7b95861-868f-8287-259d-fca9da6d0431@pobox.com> <538a96d2-c0c7-b67e-36a0-3fcdfa1ebd24@rawbw.com> <d76dffae-f6a2-623b-37ac-bb1b84b668e4@FreeBSD.org> <4f0d3035-0f0f-ffcc-be05-8c3dc4648dd6@pobox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/09/2018 09:36 AM, James E Keenan wrote: > On 01/09/2018 03:26 AM, Mathieu Arnold wrote: > [snip] >=20 > I elected to follow this approach. >=20 >> >> 1. checkout the ports tree in your home: svn checkout >> https://svn.FreeBSD.org/ports/head $HOME/ports >> (or where-ever you want it) >> >=20 > Done. >=20 >> 2. Then, either add PORTSDIR=3D$HOME/ports to your environment, or as >> root, edit /etc/make.conf and add: >> >=20 > Added PORTSDIR to .shrc and exported it. >=20 > ##### > $ echo $PORTSDIR > /home/jkeenan/ports > ##### >=20 > I then created a directory under ~/ports/ for my port and copied to tha= t=20 > directory the files I had originally developed under /usr/ports. >=20 > ##### > $ pwd > /home/jkeenan/ports/devel/p5-Devel-Platform-Info > $ ls -l > total 16 > -rw-r--r--=C2=A0 1 jkeenan=C2=A0 wheel=C2=A0 536 Jan=C2=A0 9 08:58 Make= file > -rw-r--r--=C2=A0 1 jkeenan=C2=A0 wheel=C2=A0 178 Jan=C2=A0 9 09:10 dist= info > -rw-r--r--=C2=A0 1 jkeenan=C2=A0 wheel=C2=A0 447 Jan=C2=A0 9 08:58 pkg-= descr > -rw-r--r--=C2=A0 1 jkeenan=C2=A0 wheel=C2=A0 803 Jan=C2=A0 9 08:59 pkg-= plist > ##### >=20 > I should note at this point that, when I was trying to develop this as=20 > root underneath /usr/ports, I was able to install and deinstall the por= t=20 > and to have it pass both 'portlint' and 'port test'.=C2=A0 So I am reas= onably=20 > sure that the port was valid.=C2=A0 The *only* thing I could not do was= to=20 > run 'make package' as non-root user. >=20 > Back to what I was doing underneath ~/ports. >=20 > I was able to call 'make makesum' and have it recalculate 'distinfo'. >=20 > At that point, again following the instructions at "Testing the Port"=20 > (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/por= ting-testing.html),=20 > I tried: >=20 > ##### > $ make stage > =3D=3D=3D>=C2=A0 p5-Devel-Platform-Info-0.16 Invalid perl5 version 5.20= . > *** Error code 1 >=20 > Stop. > make: stopped in /usr/home/jkeenan/ports/devel/p5-Devel-Platform-Info > ##### >=20 > I got the same error message when I called 'make fetch'.=C2=A0 I don't=20 > understand this error message.=C2=A0 perl-5.20.3 is the system perl her= e=20 > (FreeBSD-10.3).=C2=A0 I did *not* get this error message when developin= g as=20 > root. >=20 Is it the case that, if I am on FreeBSD-10.3,=20 https://svn.FreeBSD.org/ports/head is unusable for ports development? > Please advise. >=20 > Thank you very much. > Jim Keenan > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org= "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5fc9a91f-39d8-07d7-b752-6194dd6fef38>