From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CGOIFsR9jmKVUAEAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 21:04:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8OpyFsR9jmI9FQAAauVa8A (envelope-from ) for ; Wed, 25 May 2022 21:04:36 +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 CC1E63D07B for ; Wed, 25 May 2022 21:04:35 +0200 (CEST) Received: from localhost ([::1]:53998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntwJ9-00036w-0R for larch@yhetil.org; Wed, 25 May 2022 15:04:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntwIv-00036R-O3 for help-guix@gnu.org; Wed, 25 May 2022 15:04:21 -0400 Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]:43076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntwIt-0008Rb-Nf for help-guix@gnu.org; Wed, 25 May 2022 15:04:21 -0400 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-2ec42eae76bso224658007b3.10 for ; Wed, 25 May 2022 12:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=dDBaVDgI9iQg4/5Ysl0TdVdRsRVoYOxNLn4BpPGTrCY=; b=ZAaF2ZvYCgBizEdYNn1HmqG8I8VIpKLeBHsoKD0k0rKyK9bWuZFbFv6tRltzzXTMic gY53+hCULAQck1ZDPz6PveLAMuiu2qMgWtWFRd6YbaxfWYjpq7kQ0XYcEDXY8NoU/fgn 8HPUMY4CX4zstGNbnBwPfslHMc+HaXkOIQ98k6R3RWzusMmgrPoBS287V14xpcZKUN2C ZDm05b2O98DCudMnghdv7lIbfgfOKFKMBc5KYFW332SmdHEG/UBwrzhNjCPfcztt4ySN jcrGnYjR77o5W4kwB/mfDFJA5Q6tWpmolqsV7gtV9i9vuv7TpwYSH8RxX0ti349sYhF/ 8aUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=dDBaVDgI9iQg4/5Ysl0TdVdRsRVoYOxNLn4BpPGTrCY=; b=RidelRZ2NBI54nJUjYhMwcS/CEYynADay5J20f4QMPqQc1Xd0GHpBPurGB7JlwW7PP NCQGIroLgpNRzZHYCMYyc9is2VYIUSw81bZjyg60owWL/DUt0e8FzlLRInondQrSvboC m43SobWWO86MkFb1rNfrMfIX4uGxNPLaqORLsNxMOdI0Wz9F4Z5vj8fVMroYvngZ+6yi qEsn/uUOWS6wckknxZQwWzkrzDyL8mQkjYVBfDVKYMGrimhnW1PE+r+Rjth7Zjd6GSVC uSiY8xUnaK99fIth37N/tqMJopxSSO/zX0DSSLJxw+Hx19VaBqAsTrN+avQ4JewJXKdE kLmA== X-Gm-Message-State: AOAM533qYgeA8pMVPvn5g1ab+4SrHrHTLfwHItkshq980JkTzUsXesRL onJZnHqnijFuwZ76kQw4eVWsm9cyqKanRr7qERjlkVvCaS619H3E X-Google-Smtp-Source: ABdhPJxQx5JUVmJ1k1VHNGZbgiGtyT0GPnbrtusnNyHSUfx1Roqh64J0h+XygsE3WJ2KsH8/N/G3eGyiCTe/FyvgtAE= X-Received: by 2002:a81:574f:0:b0:2ff:94b4:6faa with SMTP id l76-20020a81574f000000b002ff94b46faamr27464797ywb.447.1653505458322; Wed, 25 May 2022 12:04:18 -0700 (PDT) MIME-Version: 1.0 From: Greg Hogan Date: Wed, 25 May 2022 15:04:07 -0400 Message-ID: Subject: Unicode error for gcc-11 commencement To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2607:f8b0:4864:20::112f; envelope-from=code@greghogan.com; helo=mail-yw1-x112f.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1653505475; 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=dDBaVDgI9iQg4/5Ysl0TdVdRsRVoYOxNLn4BpPGTrCY=; b=kYZulWB3VN5k7vzE/L9AHp4dNtSHubVv/puI6S8gIkknTRTU4JuFlWmFzFlLp/owoTtmrN x6CkQ8JpFyss50BGeDcFF+RSGVHUaK81/+biZO407N88EDWj03CoIIL6mfDbomoOjiYBsG n6IeFaivf8LtgLDWvMc57op6yIZSvg95aYtAfZUCqRBe6F+dk0cXPFmq0bYC+mmH/b2KZA QnwCPYGpFannbXYVI5FB+89+SbYkvmF697Pgql9hM8Qf+BOx1UFgvDjLLO/oBEOxiEAjMn 4+b2uX5AS/xsAH/4rI+cpfjI5wxC3MR9RCJN0ikND0QgoG7wr4148NHjLkOO7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653505475; a=rsa-sha256; cv=none; b=Gl1zUHKmbM+PGN3ERNRiDAdo9I6sHIaHGQHNQCmmMyf+/6JTs4Z06nnu63qOexdRiVB8gL 308a5LoVkcIzA1bGPtK+YQDMAXG8ldIQ9KVbgoD47Tjo1UpU1ht3asWxOWo8SKZXmoYACF 0f0LOKCXMHsPzmtpCW+Q3sA+JK5XA2918OuAb6rnPkCWB6M5YHph+cZoUVEB6UNzHwqeeZ N0IrZol7PE8nk68MHpn46KHk3SxBQXtlFx3tTYJaN7myC0VMJgjzL3DkDYcVy5wZdo5lNy /p+26oTcO9bJy8qEurdFo2m3MR5amnoPH8/vUG44KYaSzxHnpYaxZmDNRNPlmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=ZAaF2ZvY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=ZAaF2ZvY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CC1E63D07B X-Spam-Score: -5.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: MKrnmW9wemUk Hi, I would like to use both gcc-toolchain (for compiling) and clang-toolchain (for the tools) in the same profile, which as previously discussed requires the gcc version to match that used to build clang, llvm, etc. So to use a newer gcc-toolchain I need to upgrade the default gcc version. When I attempt to upgrade the default gcc version from gcc-10 to gcc-11 (or gcc-12) I see what looks to be an issue handling the unicode filename of test files first added to gcc-11. The default gcc is compiled as part of the bootstrap process which for x86-64 is guile 2.0. In the guile 2.0 release notes [1] I see a familiar name as well as a reference to Unicode support, so I am puzzled why this build is failing. Any help is appreciated. Thanks! The following is my patch, followed by the error message. Greg [1] https://www.gnu.org/software/guile/news/gnu-guile-200-released.html --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 89fc325208..a43231962c 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3866,10 +3866,10 @@ (define-public gcc-toolchain-9 (make-gcc-toolchain gcc-9)) (define-public gcc-toolchain-10 - gcc-toolchain) + (make-gcc-toolchain gcc-10)) (define-public gcc-toolchain-11 - (make-gcc-toolchain gcc-11)) + gcc-toolchain) (define-public gcc-toolchain-12 (make-gcc-toolchain gcc-12)) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 6823b41ee0..d26fa37741 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -718,7 +718,7 @@ (define-public gcc-12 ;; Note: When changing the default gcc version, update ;; the gcc-toolchain-* definitions. -(define-public gcc gcc-10) +(define-public gcc gcc-11) ;;; --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- 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: 4 [fold # ...] In ice-9/ftw.scm: 452: 3 [# # #] 474: 2 [loop "issue27836.dir" ...] In guix/build/utils.scm: 509: 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 builder for `/gnu/store/8idcavxxcz1819ax3x9mnvp2s1laa6xc-gcc-11.3.0.tar.xz.= drv' failed with exit code 1 @ build-failed /gnu/store/8idcavxxcz1819ax3x9mnvp2s1laa6xc-gcc-11.3.0.tar.x= z.drv - 1 builder for `/gnu/store/8idcavxxcz1819ax3x9mnvp2s1laa6xc-gcc-11.3.0.tar.xz.drv' failed with exit code 1 --8<---------------cut here---------------end--------------->8---