From owner-freebsd-ports@freebsd.org Fri Dec 8 23:49:55 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 65F41E9268B for ; Fri, 8 Dec 2017 23:49:55 +0000 (UTC) (envelope-from grog@lemis.com) Received: from www.lemis.com (www.lemis.com [208.86.226.86]) by mx1.freebsd.org (Postfix) with ESMTP id 3FF2069C83 for ; Fri, 8 Dec 2017 23:49:54 +0000 (UTC) (envelope-from grog@lemis.com) Received: from eureka.lemis.com (lemis.com [192.109.197.81]) by www.lemis.com (Postfix) with ESMTP id 530951B72806; Fri, 8 Dec 2017 23:49:53 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id E21DD4494B1; Sat, 9 Dec 2017 10:49:51 +1100 (AEDT) Date: Sat, 9 Dec 2017 10:49:51 +1100 From: Greg 'groggy' Lehey To: Shawn Webb Cc: Walter Schwarzenfeld , freebsd-ports@freebsd.org Subject: Re: make reinstall does not work Message-ID: <20171208234951.GE78437@eureka.lemis.com> References: <20171208232925.7rhetilzhoxc26dh@mutt-hbsd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SWTRyWv/ijrBap1m" Content-Disposition: inline In-Reply-To: <20171208232925.7rhetilzhoxc26dh@mutt-hbsd> Organization: The FreeBSD Project Phone: +61-3-5346-1370, +61-3-5309-0418 Mobile: 0401 265 606. Use only as instructed. WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 User-Agent: Mutt/1.6.1 (2016-04-27) 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: Fri, 08 Dec 2017 23:49:55 -0000 --SWTRyWv/ijrBap1m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Friday, 8 December 2017 at 18:29:25 -0500, Shawn Webb wrote: > On Fri, Dec 08, 2017 at 10:35:50PM +0100, Walter Schwarzenfeld wrote: >> I had a strange error: Make reinstall does not work anymore in the port >> (10.3-amd64) also FORCE_PKG_REGISTER. >> >> All other make commands works fine. I don't know if it is related to >> FLAVORS. >> >> make reinstall ended up e.g. with: >> >> ??Registering installation for gtk2-2.24.31 >> *** Error code 70 >> >> Stop. >> make[2]: stopped in /usr/ports/x11-toolkits/gtk20 >> *** Error code 1 >> >> Stop. >> make[1]: stopped in /usr/ports/x11-toolkits/gtk20 >> *** Error code 1 >> >> Any idea or suggestion? > > This is due to this commit: > https://github.com/freebsd/pkg/commit/7991c49665419916210ad589d4a85fd2a7f58b37 > > The standard procedure for reinstall is to do a deinstall first. I > guess it's pretty common just to issue `make reinstall` (which is what > I used to do as well). However, that's not the originally intended > behavior as designed in the Ports build framework. > > So: just do a `make deinstall reinstall`. It'll work that way. This makes no sense to me. Why not just 'make deinstall install'? Unfortunately 10 minutes of searching weren't enough to find anything in the handbook. What happened to the flat view? Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA --SWTRyWv/ijrBap1m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlorJR8ACgkQIubykFB6QiPbUwCbBJ+T57s6zCXVaQfH3U7T5dxD pvgAoJFI9WXhcLd22kp7x1rDUpiF5veh =ooa1 -----END PGP SIGNATURE----- --SWTRyWv/ijrBap1m--