X-Original-To: alpine-infra@alpinelinux.org Received: from luna.geeknet.cz (luna.geeknet.cz [37.205.9.141]) by lists.alpinelinux.org (Postfix) with ESMTP id 193CB5C5805; Mon, 30 Oct 2017 17:07:52 +0000 (GMT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luna.geeknet.cz (Postfix) with ESMTPSA id 4776992385; Mon, 30 Oct 2017 18:07:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jirutka.cz; s=mail; t=1509383271; bh=B/E3Z3ms7suyd8ikdpAIUH2zzE8L/U7cDzOOqvLbeQM=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=jcjIZy//h94d+PHfhBl2A66jqJqcvbtVsqsM/n6i84cGy0AvQsQ8OVhR9iN0GsaZU 3KcFvaKdQNIcAdQAmEU7hOc0AOof1ZEPXNZuN06N3y9dKDzC1CWaUXITtvjadjz1La 6A6Ng/+ZXjXWdFMQIj9sxUvjeA84zXzq0RqWThy0= Content-Type: multipart/signed; boundary="Apple-Mail=_175D9448-F403-4E1F-85C7-14C810D76E99"; protocol="application/pgp-signature"; micalg=pgp-sha384 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Building community/cargo, build-edge-x86_64 is stuck From: Jakub Jirutka In-Reply-To: Date: Mon, 30 Oct 2017 18:07:49 +0100 Cc: alpine-infra@alpinelinux.org Message-Id: <59E82379-9E96-4660-92B2-C595A947852E@jirutka.cz> References: <700B1EC2-05EB-433D-B8CA-886DDF4CAE70@jirutka.cz> To: William Pitcock , Natanael Copa , Timo Teras --Apple-Mail=_175D9448-F403-4E1F-85C7-14C810D76E99 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > If this is the case, then it, too, is no longer policy compliant. Said who? These policies are (still) not written anywhere, so I follow = what I was told by competent people like ncopa or fabled. > Manual intervention on the builders does not seem like a good idea to = me, which is probably why it=E2=80=99s not compliant with policy. I agree, but I haven=E2=80=99t created this approach. > I suspect the ghc-bootstrap package was dropped because of the = depsolver bug I solved back in April. > The bootstrap package would have a provides entry for the compiler = with a version of 0. > This would allow the real compiler to always =E2=80=9Ewin" the = preference. No, it was dropped because it was partially broken (I reviewed it) and = actually not used (per fabled). I remember that quite well, =E2=80=99cause= I wasted amount of time trying to figure out how does it work, to be = then told it=E2=80=99s not used at all. > Instead, lets solve these problems correctly, please. The problem is that I don=E2=80=99t know what is the correct solution. = That=E2=80=99s why I asked ncopa or fabled. > Indeed, the only thing we have learned today is that Haskell is also = broken. And maybe even gcc, =E2=80=99cause it also depends on itself=E2=80=A6 Or = you have just wrong information. gcc is also handled somehow specially, = if I remember correctly what fabled told me. So please, don=E2=80=99t interfere into it and wait for reaction from = ncopa or fabled. Jakub > On 30. Oct 2017, at 17:53, William Pitcock = wrote: >=20 > Hello, >=20 > On Mon, Oct 30, 2017 at 11:39 AM, Jakub Jirutka = wrote: >>> A manual intervention on each builder is not an acceptable solution. >>> Policy requires that builds be reproducible, in other words, that = they can build with `abuild rootbld`. >>> So this change should not have been pushed to begin with. >>=20 >>=20 >> No, I thought this too, but it=E2=80=99s not how it really works. See = below. >>=20 >>> Look at the haskell + cabal packaging for inspiration, it is a = similar situation, and is policy compliant. >>=20 >> Have *you* looked at ghc (haskell) package? I did some time ago (and = now), tried hard to figure out how does it build. There is = `makedepends_build=3D"$pkgname"`, so it depends on itself. There used to = be package ghc-bootstrap, but it was not used anymore (and even that = couldn=E2=80=99t work without manual intervention). I asked fabled about = it and he explained me that ghc-bootstrap was only temporary for initial = bootstrap, now ghc depends on itself and it must be probably manually = installed on the builder when bootstrapping. >=20 > I did some time ago, when we had ghc-bootstrap package. > If this is the case, then it, too, is no longer policy compliant. >=20 >> The same situation is community/rust. I even mentioned this in my = email. >=20 > The same situation of being policy non-compliant? >=20 >> Unfortunately the bootstrapping (and cross-compilation) process is = still not documented anywhere, so I can refer only to information that I = was told by more competent people like fabled. >=20 > Manual intervention on the builders does not seem like a good idea to > me, which is probably why it's not compliant with policy. >=20 > I suspect the ghc-bootstrap package was dropped because of the > depsolver bug I solved back in April. > The bootstrap package would have a provides entry for the compiler > with a version of 0. > This would allow the real compiler to always "win" the preference. >=20 >>> A solution would be to take a copy of the cargo package from = distfiles.alpinelinux.org >>=20 >> This is actually a good idea. I can keep it as it was before, just = use our cargo binary instead of now non-existence binary from the = upstream. >=20 > You could do that, or what I was inferring was that the binary itself > was still available on distfiles.alpinelinux.org. > All the builders copy their sources to that server. >=20 >> fabled or ncopa, could you please explain how is ghc and similar = packages handled? Ideally directly on wiki, or just via email and I will = copy it to wiki. >=20 > Instead, lets solve these problems correctly, please. > Indeed, the only thing we have learned today is that Haskell is also = broken. >=20 > William >=20 --Apple-Mail=_175D9448-F403-4E1F-85C7-14C810D76E99 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEzBAEBCQAdFiEEwlgOtm6+gnC7W+06PZeHr2nsdbkFAln3XGYACgkQPZeHr2ns dbmtBAf+Mn6pRN28QQyAqnOGyB8GIM9lUjYVTwhooz98VLUOOYfH/goWt0q6j+7s z6tIHstgL2tME0nlE/Ctx9wWFx/zCGSlsuyqgshoOsbT1Rc62Rp/fIe4IT9rNRqV i+3gXXFb+/tr7+vr96dQ7NV3I00j+K8IOSMjmIBK6ecwdggmk3Bsv7yN5I6mWFTh hLrsvzeYlTuY7vrtjBTsdsRumUTUA5+4IrqBpEwteHL0xy2BvpNu2PbOtGqTmoQJ o33r6FSRRsQX3gSaYn1rv30vbu0cHPBCtYOib4hYqm+mLmqViaaymDu3w92ZcVfA XXqcs5LZYw1Vyw7L6kdvRmWMO9o2fg== =f1gJ -----END PGP SIGNATURE----- --Apple-Mail=_175D9448-F403-4E1F-85C7-14C810D76E99--