From owner-freebsd-ports@freebsd.org Thu Nov 1 16:43:56 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8659C10F814D for ; Thu, 1 Nov 2018 16:43:56 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 266287F2ED for ; Thu, 1 Nov 2018 16:43:56 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id DC13810F814A; Thu, 1 Nov 2018 16:43:55 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA07810F8149; Thu, 1 Nov 2018 16:43:55 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B6A47F2EA; Thu, 1 Nov 2018 16:43:55 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (unknown [IPv6:2a01:678:42:ffff:3e15:c2ff:fec4:452e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7230915A49; Thu, 1 Nov 2018 16:43:54 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Thu, 1 Nov 2018 17:43:52 +0100 From: Mathieu Arnold To: Stefan Esser Cc: Jonathan Chen , stephen@missouri.edu, yuripv@yuripv.net, alexvpetrov@gmail.com, ports@freebsd.org, gecko@freebsd.org Subject: Re: FreeBSD Port: firefox-63.0.1,1 multiple errors build Message-ID: <20181101164352.igjjjfabnvxu6enp@atuin.in.mat.cc> References: <44d54f38-9ee4-2f32-cb74-0df2e0da20a6@missouri.edu> <89244b15-0707-ee21-ef03-a197282e0491@yuripv.net> <66ca8a73-8ab5-dcb9-7e72-776d39167401@yuripv.net> <8a39ffbe-5d9e-15ff-bee3-51ce850ad679@missouri.edu> <34bc8745-8e5b-7600-124c-9e09dac06789@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yip3qpej4klom5bw" Content-Disposition: inline In-Reply-To: <34bc8745-8e5b-7600-124c-9e09dac06789@freebsd.org> User-Agent: NeoMutt/20180716 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2018 16:43:56 -0000 --yip3qpej4klom5bw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 01, 2018 at 08:54:16AM +0100, Stefan Esser wrote: > Am 01.11.18 um 03:38 schrieb Jonathan Chen: > > On Thu, 1 Nov 2018 at 15:35, Montgomery-Smith, Stephen > > wrote: > > [...] > >> I only started using portupgrade recently. I find it rather unreliabl= e. > >> I think the problem is that some ports need to be deleted before they > >> can be built successfully. > >=20 > > For reliable port builds, you need use port builders that use clean > > environments; ie poudriere or synth >=20 > True, but we used to make ports build with a previous version installed, > whenever possible. The problems are generally caused by the build process > picking up include files or libraries from LOCALBASE instead of from the > port's source directory. >=20 > I'd expect a port maintainer to check for easy fixes to such build proble= ms. >=20 > Maybe we should add a port variable that is true if a port conflicts with > earlier versions of itself. That would indicate to port build tools like > portmaster or portupgrade that the old version should be deleted before > starting the build of the new version (and to re-install the old version > if the build of the new one fails). >=20 > E.g.: >=20 > CONFLICTS_WITH_ITSELF=3D yes You can already set CONFLICT_BUILD=3D firefox-62.* --=20 Mathieu Arnold --yip3qpej4klom5bw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlvbLUhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkhv1Q/+LikRFNvZmaS0vV8a2AX1IK5Y1kwj+llwE0evFyEtPFL3QXr/tG6j8DVQ 7KAPTrGJu4is3Tpa9T1rPuxvuDLy+1bVfbEtZQ9+dD+zmOBR4pLfvaq9V5e4A+D2 kDkGHd/WkoD4RKKChQTnInfa66mSpsVDiq3dSElsOx4ko4rZolPqvNvR1DpPgT9i kUGRTo4E13/MV5XMB2bpAz0ZpIyJpvdsPQucWRiWR3JCFlNy8roy1hEUH8xCoL1U 9g2hdm0NG3ZwCCopZUghpFGH8j/seT5YSkYsbGx2jDJI+/EJB3mPCacMzWRGwHob Ae5C1kJw3Ggwgllb4Rtc6ON7pqPbWw1RnFqtiY80Kya9OhO4UAV5ggDXhAtOU3oO uneLErMyuQd7pT/C2hfJeyJq1JQXnd8eLj3p3g+iRhOozAl6JJ0nxScvo9bCmhws sniITpVeykLjN+q7SPZZrXarRk7oNVKHhLjX1fjpdpvD2VJxN0CYEqi42HsoQRs6 N+LThnPc1YF9jFk1M8m3LEVfOYLUCy92QPVdP+DjVsMbwT8ySlZOwa3/pI7oqlrj uMmADYGiFDVG4r50kHllLXhl2r1y56RSURcdVLitHwUpdCXaP6VNSICEI89wyvqk VmdcpRoVaCohyhh0a+IzHpUYEm81i3iLWAMTLrwis93IT42rPik= =1cgO -----END PGP SIGNATURE----- --yip3qpej4klom5bw--