X-Original-To: alpine-infra@alpinelinux.org Received: from mail-qt0-f178.google.com (mail-qt0-f178.google.com [209.85.216.178]) by lists.alpinelinux.org (Postfix) with ESMTP id 14B8E5C56BF for ; Mon, 30 Oct 2017 16:53:25 +0000 (GMT) Received: by mail-qt0-f178.google.com with SMTP id p1so17228906qtg.2 for ; Mon, 30 Oct 2017 09:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=rQLiUKsmypPhvH/HsV9q5+9tQKw4ELmZFLPvUJxonHY=; b=X0kr0IqobcVDtcp59Zz1GPv9bdkOZeSfNsTqJK/rd4Wlor9iHon6Pm6WWcDSZIpJIG sRb1zj7OS7yZ0Tem0hwV6JLHMRdnGzoNyn7YxgKrrVeoAYTfGTAmnC+oaRD4HO4+6I/i qrT/Fu7teWPscWBB66R6FcOy9/ajuCRwECwWOtkDEnTPDDLUjmnqOkbAwyQaKmGMGxGA 04WNRldO2XM76p7vf+8UoQwr3oKW1v80ozTeuToFAWgWudiDpD1WxYIBp/ZmNHOZxWYs I0g2B7TThwDW92W8rw3neUzHvszISeYMRHc4DNNcnb/wtsDpVxfXawF9JU//7hHFKP85 BdvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=rQLiUKsmypPhvH/HsV9q5+9tQKw4ELmZFLPvUJxonHY=; b=WJwBXTqG4cJAzYxApdVDACKy99Ai6mdRoOrzi6OeeZbGY5knc1Dz7vEXcmcUJZsaXw bcFjU1Mz+NSALAWhkp6z64KGDslSN5/Ca1sQoD42usPsQv4/cpG11hIRX+XQHZUv8dxk nHMrS3HQ61HYP6qpFrGGK8nyoy4KZhI0edgndpv2pfXfTenAIzMdQdiL6iOylco1cwFg V0J0TK/v4ojSB43EfIQ2DbYuWysT1yxK/Eftvg81JJXaZs7NhWXr4fJWaK0AJmA16SWM Raj4I2nL0jKX748j4UBiQiHPeNSrYloBpmvhynKeCYtcbdj+tcjU1rkzE1kKjnYJBqRH NQyg== X-Gm-Message-State: AMCzsaXHL8EC/b5S3fPNy1lXCr8GEHGTp3UgYDK39ASd8oqQVsE2ebUc qgNLXfH5Ynf/wS0sMmiEQDi6bHgdhWhMPr04ar2M1NeBje8= X-Google-Smtp-Source: ABhQp+QlvBhE4sQeEgIVj9UjJ2H5mH+cbEP0DJNw2ppj+G+5VOiSCFe0r7u4MsJG5QmRFI7CS2VOYdwKUVCFgD+SgOA= X-Received: by 10.200.35.147 with SMTP id q19mr14596298qtq.262.1509382404592; Mon, 30 Oct 2017 09:53:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.53.79 with HTTP; Mon, 30 Oct 2017 09:53:24 -0700 (PDT) In-Reply-To: References: <700B1EC2-05EB-433D-B8CA-886DDF4CAE70@jirutka.cz> From: William Pitcock Date: Mon, 30 Oct 2017 11:53:24 -0500 Message-ID: Subject: Re: Building community/cargo, build-edge-x86_64 is stuck To: Jakub Jirutka Cc: alpine-infra@alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, 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 c= an build with `abuild rootbld`. >> So this change should not have been pushed to begin with. > > > No, I thought this too, but it=E2=80=99s not how it really works. See bel= ow. > >> Look at the haskell + cabal packaging for inspiration, it is a similar s= ituation, and is policy compliant. > > 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-boots= trap, but it was not used anymore (and even that couldn=E2=80=99t work with= out 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 boots= trapping. I did some time ago, when we had ghc-bootstrap package. If this is the case, then it, too, is no longer policy compliant. > The same situation is community/rust. I even mentioned this in my email. The same situation of being policy non-compliant? > 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. Manual intervention on the builders does not seem like a good idea to me, which is probably why it's not compliant with policy. 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. >> A solution would be to take a copy of the cargo package from distfiles.a= lpinelinux.org > > This is actually a good idea. I can keep it as it was before, just use ou= r cargo binary instead of now non-existence binary from the upstream. 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. > 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. Instead, lets solve these problems correctly, please. Indeed, the only thing we have learned today is that Haskell is also broken= . William