Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 18:29:25 -0500
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: make reinstall does not work
Message-ID:  <20171208232925.7rhetilzhoxc26dh@mutt-hbsd>
In-Reply-To: <e65353ff-8114-85bd-186e-cf3197941077@utanet.at>
References:  <e65353ff-8114-85bd-186e-cf3197941077@utanet.at>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171208232925.7rhetilzhoxc26dh>