From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Packaging gx (for IPFS): Need to update default Go to 1.11? Date: Tue, 06 Nov 2018 18:04:54 +0100 Message-ID: <878t26b0i1.fsf@ambrevar.xyz> References: <87k1m7y3md.fsf@ambrevar.xyz> <20181024135512.GA3804@jasmine.lan> <87d0rzxx15.fsf@ambrevar.xyz> <20181024141435.GA5988@jasmine.lan> <87efbyberv.fsf@ambrevar.xyz> <87d0ribeg2.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gK4o6-000087-Ce for guix-devel@gnu.org; Tue, 06 Nov 2018 12:06:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gK4nd-0006Uy-8h for guix-devel@gnu.org; Tue, 06 Nov 2018 12:06:20 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:38331) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gK4nb-0004zS-TQ for guix-devel@gnu.org; Tue, 06 Nov 2018 12:05:56 -0500 In-reply-to: <87d0ribeg2.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Actually bug 32919 matters, it breaks Demlo and all packages that depend on packages that need special compilation flags (e.g. -tags "xyz"). Concretely, say A depends on B and B must be built with "-tags xyz". When packaging B, we produce a pkg. If we try to package A _without the tags flag_, since B is not re-used, Go = will rebuild B without the flag which will not produce the desired result. The most obvious workaround is to pass the right flags to A. But if A needs different flags, then we are stuck. Conclusion: we need to update the build system! :D =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlvhybYACgkQm9z0l6S7 zH8lzQf/Z6+7LIEuTvquhy4M1+tO8hbMxJMjv5FFhIZN58blR9aVBqbNtObh2XPT HXe2khu4L8RhrlQy95u7ulk/p4XVflBsE+adCc2t4z9zNXN/sc6JUMMziGewKkat I8XPkVHS7NtsUqwcTwwJx44XboVnMLeoK8AG6gsznPD+71rym33SHO3vgwbEQEM3 T71JzoA9yxfoEaBh4sATX5MARZeKGENaG3cM3lOYJLjcmKAw7Wd/aLLxClEApezt xzEXM2lKITzClcwgqE25XzoJlCoOYgLROaq2eevH2DpH1l6Dlpx9w6abW9uQCFYL Jg6eDvh8RFQt23ozCEgef2XUemmlkw== =rdAj -----END PGP SIGNATURE----- --=-=-=--