From owner-freebsd-ports@freebsd.org Tue Jan 9 16:33:14 2018 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 78B80E62127 for ; Tue, 9 Jan 2018 16:33:14 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A0371126; Tue, 9 Jan 2018 16:33:13 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 1CD03BBD71; Tue, 9 Jan 2018 11:33:12 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=subject:from :to:cc:references:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=/wqLLhmhZJIg /hwNjoEoU2o7G4w=; b=LriioR88MLTWbmC4hzyNf/m/ZwQ6pJk9VL4FbhL25b5S BVBIyUSixXprJ5fD6ciDvHYzprBQ/z0e7ZUWm3IUwTlYONFQdL15BBFA6dkqyC9A g1b4nhhQbQl8s/8NoNWn63nJ131beF37cmvo2Pq6hWIxne0MwuKE9bLjwYjMBhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:from:to :cc:references:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=tyf624 cfLxs7+Tv/yBk9SaicaBDGSXKIvgmHo5xPoHTgSLmYzIwOG9IlePamEi6wyMynh4 +JdBRW6Tx/nd/nef8WwT5aV1EAKhIgWRIle8inObMANN5wQJ8cOLUi61AUJhXnU7 WZYQTMO2a9ZaAuaWBttrEjK5xWM83DvZSrnUY= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 14B9BBBD70; Tue, 9 Jan 2018 11:33:12 -0500 (EST) Received: from [192.168.1.44] (unknown [71.246.112.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 748A2BBD6F; Tue, 9 Jan 2018 11:33:11 -0500 (EST) Subject: Re: First time porter seeks guidance on 'make package' (as user) From: James E Keenan To: freebsd-ports@freebsd.org Cc: Mathieu Arnold , Yuri References: <538a96d2-c0c7-b67e-36a0-3fcdfa1ebd24@rawbw.com> <4f0d3035-0f0f-ffcc-be05-8c3dc4648dd6@pobox.com> Message-ID: <5fc9a91f-39d8-07d7-b752-6194dd6fef38@pobox.com> Date: Tue, 9 Jan 2018 11:33:10 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <4f0d3035-0f0f-ffcc-be05-8c3dc4648dd6@pobox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-Pobox-Relay-ID: C865C4BA-F55A-11E7-BBA5-575F0C78B957-57062903!pb-smtp2.pobox.com Content-Transfer-Encoding: quoted-printable 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: Tue, 09 Jan 2018 16:33:14 -0000 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= "