From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QA/kEmb71mJwaQEAbAwnHQ (envelope-from ) for ; Tue, 19 Jul 2022 20:43:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id COAjEmb71mJRBAEAG6o9tA (envelope-from ) for ; Tue, 19 Jul 2022 20:43:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC6B23D7ED for ; Tue, 19 Jul 2022 20:43:49 +0200 (CEST) Received: from localhost ([::1]:38146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDsCD-00074H-3j for larch@yhetil.org; Tue, 19 Jul 2022 14:43:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDsC1-000746-9O for guix-devel@gnu.org; Tue, 19 Jul 2022 14:43:37 -0400 Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]:35335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDsBy-0007qq-D5 for guix-devel@gnu.org; Tue, 19 Jul 2022 14:43:37 -0400 Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-31e67c46ba2so3575857b3.2 for ; Tue, 19 Jul 2022 11:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YlXSakqlNf6HeOjZznRVoK8VbNAdEVNJgNZG6VPLJfk=; b=cnim8tDnkviOrnzd5tNdXiCVpBQmexhEOLyTwexAbnXeFndx3Jck3/zo0i4jnM5k2O XfV3cP8n94J9mDCN+cDu0T6fMWo4RQdwF399ezBUtkrUlq9vgRELfKKXIQrpNi/LsiVX 0cZ9+qNTkjNmJ5IWcXe1sK1lUDqOmtL+g4FyyshPfOXyixCoxF0JTiZgq+gTrKV2zWD7 WW+jAC+8BhQyRAU8F5cRCebir8MyCdts6sNRXIsJ/BxwmG/B9L8fRphmVCXEPExgvnkP 72TiYM1INvh57w27GtzAWX5OLfCBrRpm4WiDe4psaDIsDHlaEJIeqJBOFS5Aahk0cyV1 /hfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YlXSakqlNf6HeOjZznRVoK8VbNAdEVNJgNZG6VPLJfk=; b=PT7uPFz0tX1EQdOxgdxmHyshkjNLjxisQwoYlWeSU1NJJnLKdCWQjBkag/vxmDMcLw 4/4NFcX/zUGGNX3AyRizoAjG/4tC1Az8Dj0c2ZTmAkApbOig2re6Op7VCXVP+lrGAoie g6h+1bDWMjJEUEPMUalWJHdTHQRuiN11zuldKriPfMMIb9WRh3R1HrOwi3BQqP6wNgqf as0BuQX8rW/O9gU/iWF2fsBl6BTIeeJux9w/lysRq4wUhkP2cIM3MYVCWDOp8fXMdcJD 7z9iscWrU74n/E6CQxzN+PPtpBT29VDWuFA3p/wJ8/G1MJaDA606mWKijOK+dvQaOy1V BcKA== X-Gm-Message-State: AJIora/SH+1mkBJA+k1MmLoT7gxCxujAAebY1EZfIbGNhnjKxninHpB8 G3bepbovxwixBejIP7/pGpM1qRa//1Ck/u2vSoHkpgItFyXG7fnO X-Google-Smtp-Source: AGRyM1sm3dUMF6hS+2hvv0ST+2lOOPrqF/7pKJGUyK9y2Mt3mTWkrNQPNafHto9misMsylE24XI3djXLr2WDR4GE43A= X-Received: by 2002:a81:8c9:0:b0:31c:9185:ca04 with SMTP id 192-20020a8108c9000000b0031c9185ca04mr36748347ywi.506.1658256210583; Tue, 19 Jul 2022 11:43:30 -0700 (PDT) MIME-Version: 1.0 References: <87bktmnref.fsf@gnu.org> In-Reply-To: <87bktmnref.fsf@gnu.org> From: Greg Hogan Date: Tue, 19 Jul 2022 14:43:18 -0400 Message-ID: Subject: Re: Dealing with non-ASCII file names in BOOTSTRAP-ORIGIN To: Marius Bakke Cc: guix-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2607:f8b0:4864:20::1129; envelope-from=code@greghogan.com; helo=mail-yw1-x1129.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658256230; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YlXSakqlNf6HeOjZznRVoK8VbNAdEVNJgNZG6VPLJfk=; b=uQaocMFqzRoRZwIRV3xdIAhOmr28oSgCTzFK6oLRB1fzoPterlWlL1LlzIQ7rvB7CiQ2BA YVVoTFI3zzCwxVv8bzFDeztRLivZ6rkXDXg5vYPGvduHw9I4Uu9zPJvj2KNhnFzOcFkiNH sRNrmYOUvbeKzpn7F3iUuwgPNZCbad+NFF+ICY8AhF0f3VnhIbmDs+npjAC1/PeV6T9xPB ksOYh7jpjPWkdyyTO3anVYGzCEUhxUMYgkDkTr9mvzp8JDEVuecFEPFCUp0C0xpOJfuii9 pWYPhJYK7kVPuZ8IDHlrFfnlmoi5woDEyMWbPv0Im3txFX9vC1Kj552OthclpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658256230; a=rsa-sha256; cv=none; b=hDmocgj+RYQRZzaRHl3jPXQbWIVJBkiDAHsxACEknE/PY4fP33vSC/6I/eRZ3m910ooJkX oyF5LkUuyBL/qr6TliUuoFntj2zo1Cleu1/BmqarEKzY8kST5nTnJyLk9uuEUKJGXZUkGC iPXau4QAXeZapAgsc8rbENIspvUbWXd6lHSQlUCYOdxu3bggWSL/mve37wuADU9A9U+Cm6 YDJdPQ94IlR1Pq8Tn1nSqYcxWjsuDZ9VE5XWlxA2MCn6Wq5vytDZ5bIsDmblhDD13RJAtl fuSfCR59+zAny+M4L2S4N3HMPzvtRsKOtqfgxzLTu5O0cXu7qGyuBeMvFMwqQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=cnim8tDn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=cnim8tDn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DC6B23D7ED X-Spam-Score: -4.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: gGhLmhfJwVtg Marius, Thank you for your work upgrading the core packages! On the off chance that the following is helpful, in order to switch the build to GCC 11 or 12 I had to apply the patch (with the missing endif) from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100017#c12 You may have avoided or worked around this issue, but even though a different fix from the ticket was patched into our GCC 11.3 and 12.1, these would not bootstrap for me without that patch. Greg On Mon, Jul 18, 2022 at 3:49 PM Marius Bakke wrote: > > Hi Guix, > > I tried switching to GCC 11 on the core-updates branch, but it fails > early when attempting to repack the GCC source code for GCC-BOOT0, > because some files in its test suite contains non-ASCII characters: > > --8<---------------cut here---------------start------------->8--- > [... unpacking ...] > patching file gcc/builtins.c > Hunk #1 succeeded at 4623 with fuzz 1 (offset 1341 lines). > Hunk #2 succeeded at 6097 with fuzz 2 (offset 2206 lines). > patching file gcc/gimple-fold.c > Hunk #1 succeeded at 665 (offset 9 lines). > Hunk #2 succeeded at 766 with fuzz 2 (offset 16 lines). > patching file libvtv/Makefile.in > Hunk #1 succeeded at 14 with fuzz 1 (offset -1 lines). > source is at 'gcc-11.3.0' > applying '/gnu/store/g0ba4l825z9i4l1jd5cqvl6m09xicdwa-gcc-9-strmov-store-= file-names.patch'... > applying '/gnu/store/5705r4ajxl8lav1hz9xm19w75zdcz1n2-gcc-5.0-libvtv-runp= ath.patch'... > find-files: gcc-11.3.0/gcc/testsuite/go.test/test/fixedbugs/issue27836.di= r/=C3=84foo.go: No such file or directory > Backtrace: > In srfi/srfi-1.scm: > 465: 19 [fold # ...] > In ice-9/ftw.scm: > 452: 18 [# # #] > 450: 17 [loop "gcc" "gcc-11.3.0" ...] > In srfi/srfi-1.scm: > 465: 16 [fold # ...] > In ice-9/ftw.scm: > 452: 15 [# # #] > 450: 14 [loop "testsuite" "gcc-11.3.0/gcc" ...] > In srfi/srfi-1.scm: > 465: 13 [fold # ...] > In ice-9/ftw.scm: > 452: 12 [# # #] > 450: 11 [loop "go.test" "gcc-11.3.0/gcc/testsuite" ...] > In srfi/srfi-1.scm: > 465: 10 [fold # ...] > In ice-9/ftw.scm: > 452: 9 [# # #] > 450: 8 [loop "test" "gcc-11.3.0/gcc/testsuite/go.test" ...] > In srfi/srfi-1.scm: > 465: 7 [fold # ...] > In ice-9/ftw.scm: > 452: 6 [# # #] > 450: 5 [loop "fixedbugs" "gcc-11.3.0/gcc/testsuite/go.test/test" ...] > In srfi/srfi-1.scm: > 465: 4 [fold # ...] > In ice-9/ftw.scm: > 452: 3 [# # #] > 474: 2 [loop "issue27836.dir" ...] > In guix/build/utils.scm: > 540: 1 [# "gcc-11.3.0/gcc/testsuite/go.test/test/fixedbugs/issue27836.dir= /=C3=84foo.go" ...] > In unknown file: > ?: 0 [scm-error misc-error #f "~A" ("find-files failed") #f] > > ERROR: In procedure scm-error: > ERROR: find-files failed > --8<---------------cut here---------------end--------------->8--- > > Deleting these files also don't work for the same reason, even when > using the hex representation, i.e. (delete-file "\u00c4foo.go"), or with > DELETE-FILE-RECURSIVELY. > > One workaround is to avoid the use of BOOTSTRAP-ORIGIN by applying the > patches and snippet in phases, but that's suboptimal because it has to > be done for all of GCC-BOOT0, LIBSTDC++, and GCC-FINAL. > > I'll try this workaround to get things going, but hoping for better > suggestions! >