From owner-freebsd-ports@freebsd.org Fri Jan 20 16:07:47 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 CCE62CB8D36 for ; Fri, 20 Jan 2017 16:07:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 62F351CC7 for ; Fri, 20 Jan 2017 16:07:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 600C42093 for ; Fri, 20 Jan 2017 16:07:42 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/600C42093; dkim=none; dkim-atps=neutral Subject: Re: why a persistent GCC GCC49 conflict? To: freebsd-ports@freebsd.org References: <1984108068.197071.1484891142329.ref@mail.yahoo.com> <1984108068.197071.1484891142329@mail.yahoo.com> <99B54C6F-FC87-4533-BCE2-AC684E97F958@FreeBSD.org> From: Matthew Seaman Message-ID: Date: Fri, 20 Jan 2017 16:07:35 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <99B54C6F-FC87-4533-BCE2-AC684E97F958@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tOMrFoLUA4gDWXOnuoEoH4SvOd52lOAuv" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,RCVD_IN_RP_RNBL, RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 16:07:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tOMrFoLUA4gDWXOnuoEoH4SvOd52lOAuv Content-Type: multipart/mixed; boundary="hhmipb1t3dk4b8BcnlEPuhPWatPo5d83k"; protected-headers="v1" From: Matthew Seaman To: freebsd-ports@freebsd.org Message-ID: Subject: Re: why a persistent GCC GCC49 conflict? References: <1984108068.197071.1484891142329.ref@mail.yahoo.com> <1984108068.197071.1484891142329@mail.yahoo.com> <99B54C6F-FC87-4533-BCE2-AC684E97F958@FreeBSD.org> In-Reply-To: <99B54C6F-FC87-4533-BCE2-AC684E97F958@FreeBSD.org> --hhmipb1t3dk4b8BcnlEPuhPWatPo5d83k Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/01/20 15:23, Dimitry Andric wrote: > I don't know why pkg can't see this as a direct replacement. Perhaps > pkg does not have support for such metadata. >=20 If there's an entry in ${PORTSDIR}/MOVED saying that lang/gcc49 was changed to lang/gcc then pkg(8) should replace lang/gcc49 with lang/gcc for you without trashing anything that depended on lang/gcc49 In more general terms, this is an effect of the strict package+version dependencies that get baked into packages when they are created. This needs a mechanism in pkg(8) for specifying alternate dependencies and allowed ranges of versions. Plus tooling in ports to add all this info to port makefiles and have it included in the generated packages. Cheers, Matthew --hhmipb1t3dk4b8BcnlEPuhPWatPo5d83k-- --tOMrFoLUA4gDWXOnuoEoH4SvOd52lOAuv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJYgjXNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnUPgP/3JSa/sGP5/gXTHkcnzDgHXh Wnke+O2Q6hWYtGXVcJVaoy8bB1UiOevaJ0Kja8N3xwEXqBg7GTMPkXWMtEelpCtX MWSe7Rvk04Q4kFXsLUks0meSX/YW4R82EEwEIBmWNnr9wXF4ZI0szklEcw6G1/k/ 3bu/b8Ftmg97R1Ji34lzharLwWZ12j+CEKzhMBPiEoTTBXLav08SpwhdghBxVh6y qnEGsD+iCsOqMAYMqHHS5ic/2MVD6A4oJ9E/bXjLTIMRl1n8HFIfDTz3qwygZeX7 kG/HRProEqeUw406/YThYSQwQsPvAPGcUlgl3trupxXOB60Pbs4Z5mkw+iWm4+KW bl2t+XcpVblcw/55DG4lwU1wz2Q+ORcGFXRWt/EUgLiZ53fuHq8P6HII/prV36q5 flRLp5dpQvoE/l9P7Xp5nmJYT4ef8SIEg+aJK4wArn3ta/2IJYUZCIU+551ieKfS NTgofCXuKFGJfAV+5WneaMOEslDDzAa89Z7tdPXxyUDEIdE28WQPNoTBHud0QUZQ VOh+XKxuR8GzbhPOXH1TSNwtAYiy0gEZ4uUoJYOgO7FTGAhY7J0JyGliY7UzdOaR RuH8sRRrisBjTIcIT/yLhkKo334deGrZlk3N5o9Cz85Pi3dAkGjBDSGJT4E5voqr muPd9250RSRxmqhbZiwI =u+Zq -----END PGP SIGNATURE----- --tOMrFoLUA4gDWXOnuoEoH4SvOd52lOAuv--