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

2024-03-20 Thread Michael Ford
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:

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-file-names.patch'...
applying 
'/gnu/store/5705r4ajxl8lav1hz9xm19w75zdcz1n2-gcc-5.0-libvtv-runpath.patch'...
applying 
'/gnu/store/glaf2kjf5mm120whv5vgdsqzqb623hcj-gcc-12-cross-environment-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…")
In ice-9/eval.scm:
619:8  4 (_ #(#(# "gcc…") #))
In ice-9/boot-9.scm:
142:2  3 (dynamic-wind # …)
In ice-9/eval.scm:
619:8  2 (_ #(#(#)))
In srfi/srfi-1.scm:
634:9  1 (for-each # _)
In guix/build/utils.scm:
812:6  0 (invoke "/gnu/store/10dp5a06lqg5kcbl77wdl2sfhrjchagk-p…" …)

guix/build/utils.scm:812:6: In procedure invoke:
ERROR:
  1. :
  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.patch")
  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-13.2.0.drv':
1 dependencies couldn't be built
cannot build derivation
`/gnu/store/flg0pak45286lmz6bl8iczym5ny9ifgm-gcc-cross-x86_64-w64-mingw32-toolchain-13.2.0.drv':
1 dependencies couldn't be built
guix build: error: build of
`/gnu/store/flg0pak45286lmz6bl8iczym5ny9ifgm-gcc-cross-x86_64-w64-mingw32-toolchain-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 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.





bug#69755: Issue trying to guix pull

2024-03-13 Thread Michael Ford
> Sorry, I forgot, you might need to roll back first, if you had pulled
the broken in-between Guix revision.

Thanks for the followup.
It looks like rolling-back has resolved the problem now.
So this issue can be closed.

On Tue, 12 Mar 2024 at 19:33, pelzflorian (Florian Pelz)
 wrote:
>
> Sorry, I forgot, you might need to roll back first, if you had pulled
> the broken in-between Guix revision.
>
> guix pull --roll-back
>
> I believe the in-between Guixes cannot be fixed.
> Thank you for reporting.
>
> Regards,
> Florian





bug#69755: Issue trying to guix pull

2024-03-12 Thread Michael Ford
> A probable fix was pushed by Ludovic recently.
> Does it work?  Can this issue be closed?

The commit I'm building in the issue report (447e9c9) is more recent
than ff1251de0bc327ec478fc66a562430fbf35aef42. The issue
still exists as of now.


On Tue, 12 Mar 2024 at 19:23, pelzflorian (Florian Pelz)
 wrote:
>
> Hello Michael.
>
> Michael Ford  writes:
> > building 
> > /gnu/store/p9nimij8lz4yln5jd3gm0kdhirrwz56h-guix-1.4.0-18.4c94b9e-checkout.drv...
> > -suspicious ownership or permission on
> > `/gnu/store/bj2rp8ql9zxnv4l9gvlhph55fa241mk4-guix-1.4.0-18.4c94b9e-checkout';
> > rejecting this build output
> > Backtrace:
>
> A probable fix was pushed by Ludovic recently.
> Does it work?  Can this issue be closed?
>
> commit ff1251de0bc327ec478fc66a562430fbf35aef42
> Author: Ludovic Courtès 
> Date:   Tue Mar 12 11:53:35 2024 +0100
>
> daemon: Address shortcoming in previous security fix for CVE-2024-27297.
>
> This is a followup to 8f4ffb3fae133bb21d7991e97c2f19a7108b1143.
>
> Commit 8f4ffb3fae133bb21d7991e97c2f19a7108b1143 fell short in two
> ways: (1) it didn’t have any effet for fixed-output derivations
> performed in a chroot, which is the case for all of them except those
> using “builtin:download” and “builtin:git-download”, and (2) it did not
> preserve ownership when copying, leading to “suspicious ownership or
> permission […] rejecting this build output” errors.
>
> Regards,
> Florian





bug#69755: Issue trying to guix pull

2024-03-12 Thread Michael Ford
If I currently try and do a "guix pull" on a Fedora aarch64 machine, I
currently see:

guix pull
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git447e9c9
 openssl-1.1.1u-doc  2.2MiB


 18.5MiB/s 00:00 ▕██▏ 100.0%
 openssl-1.1.1u  1.7MiB


  2.1MiB/s 00:01 ▕██▏ 100.0%
building 
/gnu/store/p9nimij8lz4yln5jd3gm0kdhirrwz56h-guix-1.4.0-18.4c94b9e-checkout.drv...
-suspicious ownership or permission on
`/gnu/store/bj2rp8ql9zxnv4l9gvlhph55fa241mk4-guix-1.4.0-18.4c94b9e-checkout';
rejecting this build output
Backtrace:
  14 (primitive-load
"/gnu/store/6wkj5bhjiqgappk2b1h8pb2snjmx835q-compute-guix-derivation")
In ice-9/eval.scm:
155:9 13 (_ _)
159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 11 (with-fluid* _ _ _)
152:2 10 (with-fluid* _ _ _)
In ./guix/store.scm:
  2180:24  9 (run-with-store #
# ?)
   2008:8  8 (_ #)
In ./guix/gexp.scm:
   299:22  7 (_ #)
   1201:2  6 (_ #)
   1068:2  5 (_ #)
909:4  4 (_ #)
In ./guix/store.scm:
  2065:12  3 (_ #)
   1403:5  2 (map/accumulate-builds # # ?)
  1419:15  1 (_ #
("/gnu/store/lg4cmmjzqxwdl8px3fpnzaqliwz6xwkw-guix-daem?" ?) ?)
  1419:15  0 (loop #f)

./guix/store.scm:1419:15: In procedure loop:
ERROR:
  1. :
  message: "build of
`/gnu/store/lg4cmmjzqxwdl8px3fpnzaqliwz6xwkw-guix-daemon-1.4.0-18.4c94b9e.drv'
failed"
  status: 1
guix pull: error: You found a bug: the program
'/gnu/store/6wkj5bhjiqgappk2b1h8pb2snjmx835q-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"447e9c96259e8fa15a828de9b2dd3400e2ffafe6"; system: "aarch64-linux";
host version: "0547fe862cfdb53d408e777e6137d9222100cb50"; pull-version: 1).
Please report the COMPLETE output above by email to .

guix --version is:
guix (GNU Guix) 0547fe862cfdb53d408e777e6137d9222100cb50
Copyright (C) 2024 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.





bug#65776: Failure to guix pull --no-substitues on aarch64

2023-09-06 Thread Michael Ford
This is occuring when performing a "guix pull --no-substitutes" on a newly
installed Guix 1.4.0, running on aarch64 Linux.

`/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-libgit2-1.3.2-checkout/docs/error-handling.md'
-> `libgit2-1.3.2-checkout/docs/error-handling.md'
`/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-libgit2-1.3.2-checkout/docs/release.md'
-> `libgit2-1.3.2-checkout/docs/release.md'
`/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-libgit2-1.3.2-checkout/docs/merge-df_conflicts.txt'
-> `libgit2-1.3.2-checkout/docs/merge-df_conflicts.txt'
`/gnu/store/25lmh68nvby582y958fv84jnglf75jaz-libgit2-1.3.2-checkout/docs/differences-from-git.md'
-> `libgit2-1.3.2-checkout/docs/differences-from-git.md'
source is at 'libgit2-1.3.2-checkout'
building
/gnu/store/dy4jbhsaliqszfhhyr0a8ab71q2pwi0y-libpaper-2.0.0.tar.gz.drv...
building
/gnu/store/6vbjpblvwja2r62f24fvvvgmhrpixnph-libssh-0.10.5.tar.xz.drv...
building /gnu/store/gcrd5lim7mss1ff9m87mrkrsnssn5s4l-libpaper-2.0.0.drv...
\ 'build' phaseild-log 16057 208
careadlinkat.c:184:5: warning: #warning "GCC might issue a bogus
-Wreturn-local-addr warning here." [-Wcpp]
  184 |#warning "GCC might issue a bogus -Wreturn-local-addr warning
here."
  | ^~~
\ 'check' phaseBacktrace:
  15 (primitive-load
"/gnu/store/i3j0vfsv060s010dz38qpybk2c00j1xz-compute-guix-derivation")
In ice-9/eval.scm:
155:9 14 (_ _)
159:9 13 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# ?)
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 12 (with-fluid* _ _ _)
152:2 11 (with-fluid* _ _ _)
In ./guix/store.scm:
  2168:24 10 (run-with-store #
# ?)
   1996:8  9 (_ #)
In ./guix/gexp.scm:
   299:22  8 (_ #)
   1180:2  7 (_ #)
   1046:2  6 (_ #)
892:4  5 (_ #)
In ./guix/store.scm:
  2053:12  4 (_ #)
  1405:13  3 (map/accumulate-builds #
# ?)
   1401:5  2 (map/accumulate-builds #
# ?)
  1417:15  1 (_ #
("/gnu/store/2bh5cs69r34wcswi7q4nffpnfzi885nc-guix-daemon-1.?" ?) ?)
  1417:15  0 (loop #f)

./guix/store.scm:1417:15: In procedure loop:
ERROR:
  1. :
  message: "build of
`/gnu/store/zz05dfnfq5rigdjnxxsbps3ikj2vwq1b-ghostscript-9.56.1.drv' failed"
  status: 100
guix pull: error: You found a bug: the program
'/gnu/store/i3j0vfsv060s010dz38qpybk2c00j1xz-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"e7b6cd86ef856b52817428227f9c3d3297312262"; system: "aarch64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to .

ffbecdf8cd21:/# guix pull --no-substitutes
Updating channel 'guix' from Git repository at '
https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 6113e05 (73 new
commits)...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git 6113e05
building
/gnu/store/fyqnp5b60vgmxq1nc7sykc5hdvif3l7l-compute-guix-derivation.drv...
building /gnu/store/gcrd5lim7mss1ff9m87mrkrsnssn5s4l-libpaper-2.0.0.drv...
/ 'build' phaseild-log 28441 208
careadlinkat.c:184:5: warning: #warning "GCC might issue a bogus
-Wreturn-local-addr warning here." [-Wcpp]
  184 |#warning "GCC might issue a bogus -Wreturn-local-addr warning
here."
  | ^~~
/ 'check' phaseBacktrace:
  14 (primitive-load
"/gnu/store/2ijs5gickxdpb6y9g490pkmgzd6rsns8-compute-guix-derivation")
In ice-9/eval.scm:
155:9 13 (_ _)
159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# ?)
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 11 (with-fluid* _ _ _)
152:2 10 (with-fluid* _ _ _)
In ./guix/store.scm:
  2168:24  9 (run-with-store #
# ?)
   1996:8  8 (_ #)
In ./guix/gexp.scm:
   299:22  7 (_ #)
   1180:2  6 (_ #)
   1046:2  5 (_ #)
892:4  4 (_ #)
In ./guix/store.scm:
  2053:12  3 (_ #)
   1401:5  2 (map/accumulate-builds #
# ?)
  1417:15  1 (_ #
("/gnu/store/2bh5cs69r34wcswi7q4nffpnfzi885nc-guix-daemon-1.?" ?) ?)
  1417:15  0 (loop #f)

./guix/store.scm:1417:15: In procedure loop:
ERROR:
  1. :
  message: "build of
`/gnu/store/zz05dfnfq5rigdjnxxsbps3ikj2vwq1b-ghostscript-9.56.1.drv' failed"
  status: 100
guix pull: error: You found a bug: the program
'/gnu/store/2ijs5gickxdpb6y9g490pkmgzd6rsns8-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"6113e0529d61df7425f64e30a6bf77f7cfdfe5a5"; system: "aarch64-linux";
host version: "1.4.0"; pull-version: 1).
Please report the COMPLETE output above by email to .


bug#64826: Failure to build elfutils on aarch64

2023-07-24 Thread Michael Ford
Using Guix "guix (GNU Guix) cf9904bcc8dd03e73675475bb4d8746dc434e415"
on and Alpine Linux, aarch64 system,
and calling
"guix build --no-substitutes --check elfutils"
fails with:


Testsuite summary for elfutils 0.187

# TOTAL: 230
# PASS:  220
# SKIP:  8
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

See tests/test-suite.log
Please report to https://sourceware.org/bugzilla

make[3]: *** [Makefile:2577: test-suite.log] Error 1
make[2]: *** [Makefile:2685: check-TESTS] Error 2
make[1]: *** [Makefile:4551: check-am] Error 2
make: *** [Makefile:532: check-recursive] Error 1

Test suite failed, dumping logs.

--- ./tests/test-suite.log --

==
   elfutils 0.187: tests/test-suite.log
==

# TOTAL: 230
# PASS:  220
# SKIP:  8
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: run-large-elf-file.sh
===

long_bit: 64
elfclass: 64
space_available: 116
mem_needed: 6
mem_available:
Need at least 6GB free available memory
SKIP run-large-elf-file.sh (exit status: 77)

FAIL: dwfl-bug-fd-leak
==

./dwfl-bug-fd-leak: dwfl_module_getelf: Callback returned failure
FAIL dwfl-bug-fd-leak (exit status: 2)

SKIP: run-backtrace-data.sh
===

/tmp/guix-build-elfutils-0.187.drv-0/elfutils-0.187/tests/backtrace-data:
x86_64 linux only test
SKIP run-backtrace-data.sh (exit status: 77)

FAIL: run-backtrace-dwarf.sh


0xf7d8bee0__pthread_kill_implementation
0xf7d499fcraise
0xf7d370dcabort
0x4011cc
0x4011cc
0x4011d8
0x401704
0xf7d37368__libc_start_call_main
0x401234
/tmp/guix-build-elfutils-0.187.drv-0/elfutils-0.187/tests/backtrace-dwarf:
dwfl_thread_getframes: Callback returned failure
dwarf: no main
FAIL run-backtrace-dwarf.sh (exit status: 1)

SKIP: run-backtrace-native-biarch.sh


biarch testing disabled
SKIP run-backtrace-native-biarch.sh (exit status: 77)

SKIP: run-backtrace-native-core.sh
==

./backtrace-subr.sh: line 151: flock: command not found
SKIP run-backtrace-native-core.sh (exit status: 77)

SKIP: run-backtrace-native-core-biarch.sh
=

biarch testing disabled
SKIP run-backtrace-native-core-biarch.sh (exit status: 77)

SKIP: run-deleted.sh


SKIP run-deleted.sh (exit status: 77)

SKIP: vdsosyms
==

SKIP vdsosyms (exit status: 77)

SKIP: run-lfs-symbols.sh


LFS testing is irrelevant on this system
SKIP run-lfs-symbols.sh (exit status: 77)


error: in phase 'check': uncaught exception:
%exception #< program: "make" arguments: ("check" "-j"
"7") exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 9.0 seconds
command "make" "check" "-j" "7" failed with status 2





bug#64609: Failure to "guix pull" at ddbfef2 on aarch64-linux

2023-07-14 Thread Michael Ford
This morning when attempting to guix pull, on arch64-linux machines:

guix pull
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to ddbfef2 (32 new commits)...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.gitddbfef2
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building /gnu/store/4iypfx7p75c15szc718hjn0nb5vh087p-module-import.drv...
building /gnu/store/hj2m2gy5bnfyzg1vibxh6xxmgj51r52p-module-import.drv...
building 
/gnu/store/dbsabslzpm9yw7sq6zqrxbcgg6czjg9f-module-import-compiled.drv...
building 
/gnu/store/vsx1pnsnrqz761grbbdzh8xkl3f5xp0n-module-import-compiled.drv...
building 
/gnu/store/pxiib4jlg35mvj77dip22m72882nswlp-compute-guix-derivation.drv...
Computing Guix derivation for 'aarch64-linux'... -
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/fgm79z7kvwhxrf3hsgird7hglzx6xkj8-profile.drv
  /gnu/store/4649v445cq8s6mi4l90x46p272x3pcfj-guix-ddbfef2e9.drv
  /gnu/store/3yivcyslhdahx0xkvsvi01h88av709rv-guix-command.drv
  /gnu/store/qly1a5rzjsqrhvpxs5f4n5vfjf9v5bz0-guix-module-union.drv
  /gnu/store/pjxypi6mipyxfy44bil811bq6an412a2-guix-ddbfef2e9-modules.drv
  /gnu/store/820az2fl9hxdppihdjlk85s8vplsd5s1-guix-extra-modules.drv
  /gnu/store/8vvpvm2s3fkrxkyn85fmsgcr2zkcpnya-guix-core-modules.drv
  /gnu/store/fgvcs9h46swbxy7d8s2zykkfz4783rqk-guix-core.drv
  /gnu/store/mx3apk37pgnzm7d8l79f0bfiqsr32wh9-guix-core-source.drv
  /gnu/store/chaadv0xsqb1lk9nfddbpfkl7j9lxn9n-guix-packages-modules.drv
  /gnu/store/7jnxjbvfr5hrgf845df14m5ldch8h5f3-guix-packages.drv
  /gnu/store/6ysl1b8zarbmqqadda8sh24i1m8lac0f-guix-packages-base.drv
  /gnu/store/gfc170fwj195brg08sbnrlzrb60xqb24-guix-config-modules.drv
  /gnu/store/af1swfxjiz0if71nzika0ddkd42vghcv-guix-config-source.drv
  /gnu/store/ksdmq0pgy2dwkk2307hga01l6npfqxj1-config.scm.drv
  /gnu/store/clklqvcxkyf7yz8vdrnq0qdxq0bdrahd-guix-config.drv
  /gnu/store/gqvpq1av9cy1wwaaga2hb3kncnjlbhb3-guix-system-tests-modules.drv
  /gnu/store/b21hhvdjbmbrld67j2ka7iamzwz7nb6d-guix-system-tests.drv
  /gnu/store/08nh22qg9vardilg189s21zvsjzrn705-guix-system.drv
  /gnu/store/kxkvwcnmhds69jvgqlwf1mnj916gbcg7-guix-cli.drv
  /gnu/store/g7bh0w2wz0b3qq2bpli03j8r3ayb193h-guix-cli-core.drv
  /gnu/store/pxdp302ay8w653zhmzp5k3qzg57z3hjs-guix-home.drv
  /gnu/store/gzp484ad75vkxwkazmd1mj9dagdkbz9v-guix-packages-base-modules.drv
  /gnu/store/hm1misavdcmhin2vg8lxz9map94ilxh5-guix-system-modules.drv
  /gnu/store/j7m809w9n9vrlf0xkdvcgc3jsxmvikxh-guix-home-modules.drv
  /gnu/store/nw3z101wwfa5iw4brmqsa65h3mmgacdz-guix-cli-core-modules.drv
  /gnu/store/wrsprcvvk8g5wg127sf45gw8npkvg8zd-guix-cli-modules.drv
  /gnu/store/zn5ih9w13y16jvf56744l4812f6cvz1z-guix-daemon.drv
  /gnu/store/13lgi4xgp4l1lvpzrwp2kzq1cwq3whf7-inferior-script.scm.drv
  /gnu/store/hv8sg9m54yrbzkvjs0pqgh1c73fwkblw-profile.drv

7.8 MB will be downloaded
 guix-manual  4.7MiB

 2.8MiB/s
00:02 ▕██▏ 100.0%
 guix-extra  2.7MiB

 4.8MiB/s
00:01 ▕██▏ 100.0%
building /gnu/store/ksdmq0pgy2dwkk2307hga01l6npfqxj1-config.scm.drv...
building /gnu/store/mx3apk37pgnzm7d8l79f0bfiqsr32wh9-guix-core-source.drv...
building /gnu/store/af1swfxjiz0if71nzika0ddkd42vghcv-guix-config-source.drv...
building /gnu/store/fgvcs9h46swbxy7d8s2zykkfz4783rqk-guix-core.drv...
building /gnu/store/clklqvcxkyf7yz8vdrnq0qdxq0bdrahd-guix-config.drv...
building /gnu/store/8vvpvm2s3fkrxkyn85fmsgcr2zkcpnya-guix-core-modules.drv...
building /gnu/store/gfc170fwj195brg08sbnrlzrb60xqb24-guix-config-modules.drv...
building /gnu/store/820az2fl9hxdppihdjlk85s8vplsd5s1-guix-extra-modules.drv...
building /gnu/store/6ysl1b8zarbmqqadda8sh24i1m8lac0f-guix-packages-base.drv...
building /gnu/store/g7bh0w2wz0b3qq2bpli03j8r3ayb193h-guix-cli-core.drv...
building 
/gnu/store/gzp484ad75vkxwkazmd1mj9dagdkbz9v-guix-packages-base-modules.drv...
building 
/gnu/store/nw3z101wwfa5iw4brmqsa65h3mmgacdz-guix-cli-core-modules.drv...
building /gnu/store/7jnxjbvfr5hrgf845df14m5ldch8h5f3-guix-packages.drv...
building 
/gnu/store/chaadv0xsqb1lk9nfddbpfkl7j9lxn9n-guix-packages-modules.drv...
building /gnu/store/08nh22qg9vardilg189s21zvsjzrn705-guix-system.drv...
building /gnu/store/pxdp302ay8w653zhmzp5k3qzg57z3hjs-guix-home.drv...
building /gnu/store/hm1misavdcmhin2vg8lxz9map94ilxh5-guix-system-modules.drv...
building /gnu/store/kxkvwcnmhds69jvgqlwf1mnj916gbcg7-guix-cli.drv...
building /gnu/store/j7m809w9n9vrlf0xkdvcgc3jsxmvikxh-guix-home-modules.drv...
building /gnu/store/wrsprcvvk8g5wg127sf45gw8npkvg8zd-guix-cli-modules.drv...
building 

bug#64436: Failure with "package-with-extra-configure-variable" & cross-gcc

2023-07-03 Thread Michael Ford
The following is minimised from a manifest we are using to build a
number of cross-compilers, and related packages.

Using what is currently latest Guix:

"guix (GNU Guix) 669f0eaed6310233295fbd0a077afc9ce054c6ab"

and the following manifest:

(use-modules (guix)
 (guix build-system gnu)
 (gnu packages cross-base))

(define (gcc-with-extra-conf-var gcc)
  (package-with-extra-configure-variable gcc "--enable-gcov" "no"))

(packages->manifest
  (append
(list
  (gcc-with-extra-conf-var (cross-gcc "x86_64-w64-mingw32"))
  )
)
  )

I see the following build failure:

guix shell --no-substitutes --container -m test.scm
The following derivations will be built:
  /gnu/store/z0lgdcw0h7v8d6vjvyb63lpivqlfprvg-profile.drv
  
/gnu/store/07vg6708dqasnpwy2555ks8m6icrpn8h-gcc-cross-sans-libc-x86_64-w64-mingw32-11.3.0.drv

building 
/gnu/store/07vg6708dqasnpwy2555ks8m6icrpn8h-gcc-cross-sans-libc-x86_64-w64-mingw32-11.3.0.drv...
|builder for 
`/gnu/store/07vg6708dqasnpwy2555ks8m6icrpn8h-gcc-cross-sans-libc-x86_64-w64-mingw32-11.3.0.drv'
failed with exit code 1
build of 
/gnu/store/07vg6708dqasnpwy2555ks8m6icrpn8h-gcc-cross-sans-libc-x86_64-w64-mingw32-11.3.0.drv
failed
View build log at
'/var/log/guix/drvs/07/vg6708dqasnpwy2555ks8m6icrpn8h-gcc-cross-sans-libc-x86_64-w64-mingw32-11.3.0.drv.gz'.
cannot build derivation
`/gnu/store/z0lgdcw0h7v8d6vjvyb63lpivqlfprvg-profile.drv': 1
dependencies couldn't be built
guix shell: error: build of
`/gnu/store/z0lgdcw0h7v8d6vjvyb63lpivqlfprvg-profile.drv' failed

cat 
/var/log/guix/drvs/07/vg6708dqasnpwy2555ks8m6icrpn8h-gcc-cross-sans-libc-x86_64-w64-mingw32-11.3.0.drv
ice-9/read.scm:126:4: In procedure read-expr*:
/gnu/store/mam4l4yyzks9jxsa60bcd124am81r3f9-gcc-cross-sans-libc-x86_64-w64-mingw32-11.3.0-builder:1:6398:
Unknown # object: "#<"





bug#57356: libtool-2.4.7 removed as a "duplicate"?

2022-08-23 Thread Michael Ford
In commit 5b6b731c7d8ecbae0ead1600b4cd2f70c66d51ca, the libtool-2.4.7
package was removed as a "duplicate". The commit message doesn't explain at
all why libtool 2.4.7 was being removed, or what it was a duplicate of? As
of latest master, libtool is still version 2.4.6.

Thanks.


bug#53426: mingw-w64-{x86_64, i686}-winpthreads broken after absorption of binutils-next

2022-03-16 Thread Michael Ford
Hi,

I think this bug can be closed now that https://issues.guix.gnu.org/53706
has been merged?