GNU bug report logs - #69913
Can't build a x86_64-w64-mingw32 cross-gcc-toolchain with GCC 13.2.0

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Michael Ford <fanquake@HIDDEN>; dated Wed, 20 Mar 2024 11:28:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Mar 2024 11:27:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 20 07:27:25 2024
Received: from localhost ([127.0.0.1]:39626 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rmu6O-0000iy-K5
	for submit <at> debbugs.gnu.org; Wed, 20 Mar 2024 07:27:25 -0400
Received: from lists.gnu.org ([209.51.188.17]:44794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <fanquake@HIDDEN>) id 1rmu6K-0000hn-HD
 for submit <at> debbugs.gnu.org; Wed, 20 Mar 2024 07:27:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <fanquake@HIDDEN>)
 id 1rmtvn-00031I-Do
 for bug-guix@HIDDEN; Wed, 20 Mar 2024 07:16:27 -0400
Received: from mail-yb1-xb34.google.com ([2607:f8b0:4864:20::b34])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <fanquake@HIDDEN>)
 id 1rmtve-0000Ch-Oh
 for bug-guix@HIDDEN; Wed, 20 Mar 2024 07:16:23 -0400
Received: by mail-yb1-xb34.google.com with SMTP id
 3f1490d57ef6-dc238cb1b17so6620927276.0
 for <bug-guix@HIDDEN>; Wed, 20 Mar 2024 04:16:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1710933376; x=1711538176; darn=gnu.org;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=pGnZWZx9ypVmcg+aK0J3mjQ+vykaAjxKF1Bv5chs3tI=;
 b=YsM9QyNmBbhXUvHu/IjRaeJInSYnQKHAX7yB0m4b6mPDre08MMc3ILZxWdrwdDaqsD
 q/HGkVS7Hp+lkePkbZ56yF2L8s/yJ4m3Vmkx+1X7DaTWhy02PpVYR+zU/yL69Be4ICsg
 iFRBm4ttICXY9eFIor3hVWAND7HxhGWz5eiEis2AeIPRiLwa3eezrx3QrXUCNG5fjedy
 FzpU9DB8tAF6B88a0tAxyggqFOWwhzmQmstFZHiMlAZ3x5LdEZZd4cAlAJzXG21KUMlR
 ZVfc6NBt3AVZPJWjBAsvZdAjZQuvlbNHoEy89DA5vqNuxLQ5Lgt7Zhlz04vuwblOlLTw
 OIxg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1710933376; x=1711538176;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=pGnZWZx9ypVmcg+aK0J3mjQ+vykaAjxKF1Bv5chs3tI=;
 b=NOSlc+Qua7iBcRp/iWar226lTAfp1E1MCUQQ7Ac8hCzN+GlXZXI0p0FY1pycMYAbhO
 +nx1vHIC6soeHjY/Y85Dppn2/Y/LakqdXHk0zEOshwQmxT9X+kEyMr3cqBYiE2YBxRFb
 58cL5XZGeIgN1UxlOInFEqo8pUV1Peb8nMx/7Q9kOxZxOqkPJ5ldfb6WUFTNxpGoiv+J
 4gYDvOgX+cpiAWE0GeX3oSJP69CoGzI8tSX/A5tWG8oDCAl8drOl7pScY+0LT/qcmfol
 xa6n5IELBpLtyRKcUU4sTP9QabF5JaPbFk9sD33ONURlmv8sbX3lmG8IgUGLBm9RfMdl
 Paiw==
X-Gm-Message-State: AOJu0YwcijNK6fSFey/fJHkLCK2gg+Cq21OBe+XIue8zX9IGOiMK7LEv
 JnvZdC4h2XpFlv7qusHEh+zTjdkLMjgld0CxTIwbM+FYtIKrP721RLWGS5m7OK8g5wwPmEPEABA
 FbJWloO1ip9P8QOkYXtrW+c5uXjnbc1G6Cd4=
X-Google-Smtp-Source: AGHT+IGGjYFf30jFmT+hcBQUeVRrEHvGYOztGjFVbtU5L54FYJKx9Bnc7T14luyWb8rlFtgFt0jX0hGaAU6D53912ew=
X-Received: by 2002:a25:e90e:0:b0:dcc:8f97:4c42 with SMTP id
 n14-20020a25e90e000000b00dcc8f974c42mr12760235ybd.13.1710933376429; Wed, 20
 Mar 2024 04:16:16 -0700 (PDT)
MIME-Version: 1.0
From: Michael Ford <fanquake@HIDDEN>
Date: Wed, 20 Mar 2024 11:16:05 +0000
Message-ID: <CAFyhPjW5eRjdSwi8K_vw5g47fAnTUOS72hf9wK1fLOYPcj0m8A@HIDDEN>
Subject: Can't build a x86_64-w64-mingw32 cross-gcc-toolchain with GCC 13.2.0
To: bug-guix@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::b34;
 envelope-from=fanquake@HIDDEN; helo=mail-yb1-xb34.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Using the following:
(use-modules (gnu packages)
         (gnu packages cross-base)
         (gnu packages gcc)
         (guix packages))

(packages->manifest
 (append
  (list
    (cross-gcc-toolchain "x86_64-w64-mingw32"
             #:base-gcc gcc-13)
)))

and guix build -m win.scm:
<snip>
gcc-13.2.0/gotools/ChangeLog
patching file gcc/builtins.cc
Hunk #1 succeeded at 3680 (offset 317 lines).
Hunk #2 succeeded at 3753 (offset 317 lines).
patching file gcc/gimple-fold.cc
Hunk #1 succeeded at 855 (offset -1 lines).
Hunk #2 succeeded at 961 (offset -1 lines).
patching file libvtv/Makefile.in
Hunk #1 succeeded at 14 with fuzz 1 (offset -1 lines).
patching file gcc/gcc.cc
Hunk #1 succeeded at 4796 (offset -36 lines).
patching file gcc/incpath.cc
patching file gcc/system.h
Hunk #1 succeeded at 1331 (offset 14 lines).
patching file gcc/configure
Hunk #1 succeeded at 3723 (offset 34 lines).
Hunk #2 succeeded at 3734 (offset 34 lines).
patching file gcc/configure.ac
Hunk #1 succeeded at 205 (offset 1 line).
Hunk #2 succeeded at 216 (offset 1 line).
patching file libgcc/config/i386/gthr-win32.h
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file
libgcc/config/i386/gthr-win32.h.rej
source is at 'gcc-13.2.0'
applying '/gnu/store/5pdqk0wql3kzjn2j6p3q7gklypd3al8j-gcc-12-strmov-store-f=
ile-names.patch'...
applying '/gnu/store/5705r4ajxl8lav1hz9xm19w75zdcz1n2-gcc-5.0-libvtv-runpat=
h.patch'...
applying '/gnu/store/glaf2kjf5mm120whv5vgdsqzqb623hcj-gcc-12-cross-environm=
ent-variables.patch'...
applying '/gnu/store/d7zmb04ikykxz6yflzch09a05hw3my4i-gcc-cross-gxx-include=
-dir.patch'...
applying '/gnu/store/avcc737afnm0a27cqkh8ng9ynm65bj52-gcc-4.9.3-mingw-gthr-=
default.patch'...
Backtrace:
           5 (primitive-load "/gnu/store/l9nb00czkbyhm3swms9ic2s9s4n=E2=80=
=A6")
In ice-9/eval.scm:
    619:8  4 (_ #(#(#<directory (guile-user) fffff780ec80> "gcc=E2=80=A6") =
#))
In ice-9/boot-9.scm:
    142:2  3 (dynamic-wind #<procedure fffff1e9c560 at ice-9/eval.s=E2=80=
=A6> =E2=80=A6)
In ice-9/eval.scm:
    619:8  2 (_ #(#(#<directory (guile-user) fffff780ec80>)))
In srfi/srfi-1.scm:
    634:9  1 (for-each #<procedure apply-patch (a)> _)
In guix/build/utils.scm:
    812:6  0 (invoke "/gnu/store/10dp5a06lqg5kcbl77wdl2sfhrjchagk-p=E2=80=
=A6" =E2=80=A6)

guix/build/utils.scm:812:6: In procedure invoke:
ERROR:
  1. &invoke-error:
      program: "/gnu/store/10dp5a06lqg5kcbl77wdl2sfhrjchagk-patch-2.7.6/bin=
/patch"
      arguments: ("--force" "--no-backup-if-mismatch" "-p1" "--input"
"/gnu/store/avcc737afnm0a27cqkh8ng9ynm65bj52-gcc-4.9.3-mingw-gthr-default.p=
atch")
      exit-status: 1
      term-signal: #f
      stop-signal: #f
builder for `/gnu/store/bldkldr4dyqzqxaj5g6m7ky1vhz21k64-gcc-13.2.0.tar.xz.=
drv'
failed with exit code 1
build of /gnu/store/bldkldr4dyqzqxaj5g6m7ky1vhz21k64-gcc-13.2.0.tar.xz.drv
failed
View build log at
'/var/log/guix/drvs/bl/dkldr4dyqzqxaj5g6m7ky1vhz21k64-gcc-13.2.0.tar.xz.drv=
.gz'.
cannot build derivation
`/gnu/store/j3wi93aslij4h3cxbnc3x0bkcls9ndnq-gcc-cross-sans-libc-x86_64-w64=
-mingw32-13.2.0.drv':
1 dependencies couldn't be built
cannot build derivation
`/gnu/store/aki7kddfrk8nilxyahw1k2rn19dlm04y-gcc-cross-x86_64-w64-mingw32-1=
3.2.0.drv':
1 dependencies couldn't be built
cannot build derivation
`/gnu/store/flg0pak45286lmz6bl8iczym5ny9ifgm-gcc-cross-x86_64-w64-mingw32-t=
oolchain-13.2.0.drv':
1 dependencies couldn't be built
guix build: error: build of
`/gnu/store/flg0pak45286lmz6bl8iczym5ny9ifgm-gcc-cross-x86_64-w64-mingw32-t=
oolchain-13.2.0.drv'
failed

guix --version
guix (GNU Guix) b7eb1a8116b2caee7acf26fb963ae998fbdb4253
Copyright (C) 2024 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.




Acknowledgement sent to Michael Ford <fanquake@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#69913; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 20 Mar 2024 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.