From owner-freebsd-ports@freebsd.org Fri Dec 8 23:30:05 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 A9A1FE92313 for ; Fri, 8 Dec 2017 23:30:05 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D2EB695BF for ; Fri, 8 Dec 2017 23:30:05 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-ua0-x235.google.com with SMTP id e10so8488737uah.10 for ; Fri, 08 Dec 2017 15:30:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=H+4xx5SX9+ubaTsBxsvJ9IvRJDm7R5cPP5o3pnOtvy0=; b=pb+2YB4F9NtIgB7Q++xGQz0hGXq3pyi9iI2SlhZcR78fsLmNt4wQPjHEuUsID6KID5 4syOog8reJydgWpCK4qihO05OabUG7kEJfDdV+UUx1W72jwaMa9yQwV2iez2o91FPFMx vIsagUxqsW8I4PYSpFH0jsZk6P93Q6E8EniAIwHNEdspzM/lvQr4X7iyusSvI0RIL54A 9id0BAg5hZSfv/MDNOfJyhRg4UJPeA2VXRFYaYabhPjFawt3cQPTIJXzAb9v3MgIDb0V qwtVPCW7SxVLkUnkdNmo/l4CmPFwiOZrb5CJUrlm7SNBs3Rd55cjz8K3vLD2junbdZ06 MePw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=H+4xx5SX9+ubaTsBxsvJ9IvRJDm7R5cPP5o3pnOtvy0=; b=XBlaQX3WKB1ShBoUQDrQV9+WeOltMhL7WEqeyWN8xGUn0XdTeTE6JISUKAobhncJaR 4EhmiUrB23MHpn1HgmVc5grLpg5181z4neNhHOyshCrjNxD21gkvszqL2WPK/N3Xd2av SQyWZ82BLTKPLVW7TBZ+4W1bWuBht85R1zKBfTsnTOlRVmKYXtHZyB7DNnBfErKjolk6 +kJMpjjuZIKMqRQZzlINN2qVeWo1Wp0qww//8JuPYf2wunSeAzS/EZ10V9+ZQEnmBLIn fARmBbOpLVd0PykwhyEsPwFUQVfWImF/Uli6CaiKWxzp9540hXgasVimi5Z7xEHuRuGD bosQ== X-Gm-Message-State: AKGB3mJLP+OY7KW+ULz/WVTKRZUDtc2XKmHD24El+vmOSQMLrdmrizrc omQa6P81j7etWp5oi4KgdsijqxZx70I= X-Google-Smtp-Source: AGs4zMZp4+6muxFjVSva0N0uJYJPBNOz85KiVq4dKJxmRomrDbAQHZgprK8Mfes4LQF7Si0HxTbcbA== X-Received: by 10.176.92.30 with SMTP id q30mr19885676uaf.66.1512775804362; Fri, 08 Dec 2017 15:30:04 -0800 (PST) Received: from mutt-hbsd (tor.emeraldonion.org. [23.129.64.101]) by smtp.gmail.com with ESMTPSA id j10sm4565310uaf.46.2017.12.08.15.29.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Dec 2017 15:30:03 -0800 (PST) Date: Fri, 8 Dec 2017 18:29:25 -0500 From: Shawn Webb To: Walter Schwarzenfeld Cc: freebsd-ports@freebsd.org Subject: Re: make reinstall does not work Message-ID: <20171208232925.7rhetilzhoxc26dh@mutt-hbsd> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="szdthg3hy2ttbfhd" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hbsd 12.0-CURRENT FreeBSD 12.0-CURRENT X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20171027 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:30:05 -0000 --szdthg3hy2ttbfhd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > All other make commands works fine. I don't know if it is related to > FLAVORS. >=20 > make reinstall ended up e.g. with: >=20 > ??Registering installation for gtk2-2.24.31 > *** Error code 70 >=20 > Stop. > make[2]: stopped in /usr/ports/x11-toolkits/gtk20 > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/ports/x11-toolkits/gtk20 > *** Error code 1 >=20 > Any idea or suggestion? This is due to this commit: https://github.com/freebsd/pkg/commit/7991c49665419916210ad589d4a85fd2a7f58= b37 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. Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --szdthg3hy2ttbfhd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlorIFIACgkQaoRlj1JF bu7L1g/+JdK1xElNA79kYfekjbAhzdyzvPHjwE5c0wsnKY2xEXgZczw5lHDzT41i qSBQazd0JcQCdjHAfPjigOKFd//U6QlMkKfAb5djvCK4xRlvn7OwQzUoiZkT/72c cXZV1FRaIgAi3iVElW0Aft9mNNawneltThOol6FVggGqjNV2ajs+8rcqfRfFBzob rTDVtZdTMC8BtEeQP8NWilK+qZyc/YTNcfqiPAz9WqPwF5wDmLG320Pd0c9mkq7c JBkWj/gTd+nzcsWt6R2gNAngXB38T48H8uegPvuVmFikaWCielXzogVWI1ipCV9I 1LtF/fNRvj7b685Gw7lH5ds0VaJqA05/562cgcukUp3dMPjSBYNwWcL923nOs5xz uGhA2qFPgBlKMBKwcWW8S3y24HQRog2tKAgZh+AfCKd6sVFnRik47GbhALmZalCx rCjeiW0NyGGCP3KlNnN7IfAconwVPAiV5e6pjHcTgcsyPlYQl2Njv5Db3lg6SBhY Z3lDsFy2HJ8GWjwUE3CqIfvoqgqEEP2t5dmZh1DFO/UHjVgZ3yGRZaJYgT7ro4mR s2Xn3GJjpISSoQZ/PWEPx0esSIPwD1n1HlSN+zQnmjar00Sg/UyBrXDJX3S5w197 N1fI1ierpkx4DKXdxG61F/BHuwOuy6tP+BH6MEYWZY/LaRZIlFI= =5eyY -----END PGP SIGNATURE----- --szdthg3hy2ttbfhd--