Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 1EC37782BD0 for <~alpine/devel@lists.alpinelinux.org>; Mon, 17 May 2021 20:38:32 +0000 (UTC) Received: by mail-qk1-f177.google.com with SMTP id l129so7165660qke.8 for <~alpine/devel@lists.alpinelinux.org>; Mon, 17 May 2021 13:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zededa.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=K+LII+g1ZM4Azz1tSxJD1dLu9o2FTr585CVZNzxUyro=; b=AENU0oLisnIAgcwaHmPfhLqlIroyAAGLhX87xjiApAIG8JFZzXBlpAZ+MfHGrxVdSZ fuZmJ8OMj4dOAAyXna0UiauUnMbnvcbzs74kZPl32DeAD3Y3yGuay8YQo3sPV09ZfizA zrEeqSNVmhYa5C2ktlOVO47tmb7CJ6lC5yM67rKzjZv4+E6lwFNtORrE2ifBrZ2eZRl6 PQFldw+qIUUp12W0pLG/qFBPzEDkr7j0FK8Gx3Z/UE1EGZT5phDCBsVbgiE8YtGVD7zp G/z/93qLx8Ok9GBQ8HDRTqdMEGbV4xvaN+6rgJNirfxiCM+rM2lR6rlc6pTUP/yjHlkO OIWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=K+LII+g1ZM4Azz1tSxJD1dLu9o2FTr585CVZNzxUyro=; b=rvYfkBC9c6urM6/7cSI3VuIhJP/kplV/YbwRHfyVGqr1iR/7Y9Vz3NAC1noImfiE1v 0iTSXhTBIpjLg9qM+eFVqEXFQ5qucfrzt5nrad0qFLCI1ppDwsyTLhCzhw4Xb6Cnt59x IFYnDO7oC5W7M794NelvFG8E51Qd3V5RdRhis3fO7UxWoyabakKl7Hl9CmSgXPXr+DG8 xV+3aOfnZsjqPY6meOMA3lf3Q57PxQENnxUnI3gEwoVdR7ABje0poRJlfkKZjRUSHWKM WNrnPw0Q0RWHFy4J5Dhy//etBoIfmIRH9vN2DAPl/azdjYOZ1biftTbQA8tYARKqGC0a BjoQ== X-Gm-Message-State: AOAM533tqiK6SnDzPP9omOlLvVhWSnVzeqeMAsPwVamoJuT1LGI6iwqX Tszh0QHDp5m5wpneDKXaDj+b0pmAhOnp3/bplYRr0Q== X-Google-Smtp-Source: ABdhPJz/4I/FluUVIh0XcSl3cGDE9NBO/AMS2MNVaiunInDNxZCg0DIjxXA4ua7/ohK6Sl/H0Bivzit3A9wPPUjYdqs= X-Received: by 2002:a05:620a:29c4:: with SMTP id s4mr1753996qkp.22.1621283910435; Mon, 17 May 2021 13:38:30 -0700 (PDT) MIME-Version: 1.0 References: <2TM9JLZJSHZ31.2Q8Y9DMYGMSGV@8pit.net> In-Reply-To: <2TM9JLZJSHZ31.2Q8Y9DMYGMSGV@8pit.net> From: Roman Shaposhnik Date: Mon, 17 May 2021 13:38:19 -0700 Message-ID: Subject: Re: Proposal for next steps in support of riscv64 in Alpine To: =?UTF-8?Q?S=C3=B6ren_Tempel?= Cc: ~alpine/devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 17, 2021 at 1:22 PM S=C3=B6ren Tempel wrote: > > Roman Shaposhnik wrote: > > Hi! > > Hi! > > > 2. bundled config.sub not being recent enough to recognize riscv64= . > > The workaround I used for now is: > > cp /usr/share/abuild/config.sub . > > in the build() function. On top of that: > > 2.1. I can make it conditional based on riscv64 > > 2.2. I can, possibly (if there's a lot desire), turn it int= o patches > > against bundled config.sub. This, however will incre= ase > > the maintenance cost and is effectively equivalent t= o the > > above cp statement anyway. > > Just use the update_config_sub() function provided by abuild: > > https://gitlab.alpinelinux.org/alpine/abuild/-/blob/ac3ee42458ebb= 6204c75135cbeb30201777e4116/abuild.in#L644 That's a great suggestion -- will change to use that! > > 3. There's a few packages that come out with TEXTRELs and thus > > fail the postcheck() by default. They seem to be fully functional > > otherwise. For now, I'm proposing to disable the postcheck based > > on riscv64 case statement. Please let me know if there's a fundam= ental > > disagreement with this approach. > > It's generally preferable to investigate why sanity checks fails and fix > the underlying failure reason instead of disabling a check. I think there > is currently not a single aport in aports.git which disables postchecks. It is funny you should mention that -- because right after sending the emai I've discovered: if [ "$CARCH" =3D x86 ]; then # Bug upstream that needs to be fixed options=3D"$options textrels" fi in mesa/APKBUILD Which is definitely a much more precise approach and if it works for aarch6= 4 I'd love to use that unless there's a strong objection. Now, just to be clear -- at this point I only need it for roughly a dozen packages on main, but the problem is that they are close to the root of the dependen= cy tree and holding up publishing riscv64 seems like a worse outcome than disa= bling it selectively like the above statement does. Will this work? > > 7. Finally, for whatever reason sha512 sums have changed for do= wnloaded > > artifacts (a good cluster is around acf-* packages). Not sure > > what's up with > > that, but it surely doesn't seem riscv64 related (and btw, all > > of them built fine > > when I manually updated the checksums). > > Happens, these general download issues will also be fixed anyhow as we > are currently rebuilding all packages for the upcoming 3.14 release. Well, FWIW: there's a set of things I fixed in that commit -- and there's a= lso ones (like procps) that fail to download completely: https://download.savannah.gnu.org/releases/quagga/quagga-1.2.4.tar.gz https://dianne.skoll.ca/projects/rp-pppoe/download/rp-pppoe-3.14.tar.gz http://ftp.debian.org/debian/pool/main/l/logcheck/logcheck_1.3.22.tar.xz http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-1.2.9a-par.tar.gz Hope this helps. Also, speaking of 3.14 -- that's my other question -- seeing if it would be feasible to include riscv64 support in that. Thanks, Roman.