From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UEjOKn+51WJqRAAAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 21:50:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gMq3Kn+51WLueQAA9RJhRA (envelope-from ) for ; Mon, 18 Jul 2022 21:50:23 +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 330A78F57 for ; Mon, 18 Jul 2022 21:50:23 +0200 (CEST) Received: from localhost ([::1]:45974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDWl3-0000s7-Ut for larch@yhetil.org; Mon, 18 Jul 2022 15:50:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDWYu-00057R-5X for guix-devel@gnu.org; Mon, 18 Jul 2022 15:37:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45156) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDWYt-00074r-SM for guix-devel@gnu.org; Mon, 18 Jul 2022 15:37:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=GmFEtWpPjBxRMFoL0OveCUYcyyINd3v62N9DmdhXZLY=; b=RE8vmm/7wXsjgx 1L/iabLhH7K25F3akG7ljqcJvsoM7Zs1okHAyFy1/U3E8fv6C8GYOteA0CpJQ1Wa3iJj+B4LXtDC5 eq8VcL9/gGJDVVFU4qdbbGU1ClZHxvCvoWnjTvffvmeJwW3p9LWBNDrjqAzHNthYwoLdrIJ+//20B 98gLv8HQ9jF9zENa2kTuOige+WMmPAk/0xNwOGf8weGdTfg75JHMED/PtPvs+Y22hIxZcIfRNiMD7 PB3pwSwo+mrfxmJFK8g9NrUdM8Tf+ScJsaebD5I3We2squzqGsyx/xjwcnlE9akFJAU3uW+gNIWX3 6LG+d3BzRrclopt9/9Ew==; Received: from [2001:4652:9717:0:52eb:71ff:fe49:3a13] (port=56322 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDWYt-0006Lo-86 for guix-devel@gnu.org; Mon, 18 Jul 2022 15:37:47 -0400 From: Marius Bakke To: guix-devel@gnu.org Subject: Dealing with non-ASCII file names in BOOTSTRAP-ORIGIN Date: Mon, 18 Jul 2022 21:37:44 +0200 Message-ID: <87bktmnref.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1658173823; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GmFEtWpPjBxRMFoL0OveCUYcyyINd3v62N9DmdhXZLY=; b=LtqSenfwAqvfK96+Q8jBqPCtkDrxUinVpOHzujBVmqJkToXqNl0/dTkq4v+tNCm2tKE4FA KpGHt5hfN/IRVRmEdpUl2mvQ/axX4F7WJQ9gkYIHSg9AkaxhL991KZiNCt+QpRQ41vCxDK dz0cCrMy4b/84SKymGQn2DCUIh0dSD+VzhEVI2/FSRVjjuR+d6Viey46hRYrJ4Bbia1aHK RsdliU8fTb1i2+Iuu01vgN9SnlG/x9H2UhvBMRGVVHJUKC6NaYUmTrvi+hKDUrryqH9J7G r53ZZNmU4/EtHmgkTjslxbP+CsxjDNCDV3yCI9jHtT1YrMUdn+dutfLfW4pN5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658173823; a=rsa-sha256; cv=none; b=eHXbuFm1aE8I0CciF9O61WvQMaczI9HfslqzxqIwzzkiICyXCvnTm/UOnBZlFSRfYDSth1 wRFTspHYnOWnB1cjQAxUQWI6gHiRjhTG0UG5KJ4TtXtsL/sSiugjLClCYYg9bEHe75OH/H 78iBTlZiToZ2KxSxEF3TvreWOnvdT2a8G24ezXyYW+gQ8G8GB8n2OKW0vgTCHKtGOytobL iKa3cqOU9xP5ca8PNiEwwXABjXkHUyuHp8JNJ7VbnRIrBUvar0ulvQ5Wo4MTXrWVTVBpIF lmzQqFNrPiQXos/+zKO7n2hX8OYLScFS5VZDBfqSP1sRxDjelDYIu1Ipa9s55Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="RE8vmm/7"; dmarc=pass (policy=none) header.from=gnu.org; 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: -6.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="RE8vmm/7"; dmarc=pass (policy=none) header.from=gnu.org; 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: 330A78F57 X-Spam-Score: -6.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: svcFl+wRLH2y 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-fi= le-names.patch'... applying '/gnu/store/5705r4ajxl8lav1hz9xm19w75zdcz1n2-gcc-5.0-libvtv-runpat= h.patch'... find-files: gcc-11.3.0/gcc/testsuite/go.test/test/fixedbugs/issue27836.dir/= =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!