Subject: Re: bug#39653: gdb 9.1 build hangs when using "-s armhf-linux" on x86_64-linux
From: Maxim Cournoyer <[email-masked]>
To: Danny Milosavljevic <[email-masked]>
Cc: [email-masked]
Date: Wed, 13 Jul 2022 09:56:09 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Danny,

Danny Milosavljevic <[email-masked]> writes:

> Hi,
>
> the gdb 9.1 build hangs when using "-s armhf-linux" on x86_64-linux.
>
> $ guix describe
> Generation 53   Feb 14 2020 20:09:47    (current)
>   guix 6a7f4d8
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 6a7f4d89b2029b43b766217d71d5dbbdfcc5fa09
>
> $ guix build -s armhf-linux gdb
> [wait for several days]
> [nothing]
>
> l-wx------ 1 guixbuilder01 guixbuild 64 17. Feb 14:48 1 -> /tmp/guix-build-gdb-9.1.drv-0/build/bfd/po/BLD-POTFILES-t
>             |                                      |             |-make(9064)-+-bash(9070)-+-make(9098)-+-bash(12468)-+-bash(12490)-+-make(12543)-+-bash(12599)-+-bash(13986)-+-make(13988)-+-bash(13994)-+-bash(13999)-+-bash(14015)-+-sed(14018)---{sed}(14021)
> guixbui+ 14015 13999  0 Feb16 ?        00:00:00 /gnu/store/bc87x9c6kmqx6rm2ifl3a5fjyffa6dl4-qemu-4.2.0/bin/qemu-arm /gnu/store/nvkn00kq4x4g5wjjjvjj6rhzs0ihihxl-bash-minimal-5.0.7/bin/bash -c ( rm -f BLD-POTFILES-t BLD-POTFILES \     && (sed -e '/^#/d' \             -e '/^[ ?]*$/d' \ ?    -e "s@.*@?../& \\\\@" < ../../../gdb-9.1/bfd/po/BLD-POTFILES.in \ ?| sed -e '$s/\\$//') > BLD-POTFILES-t \     && chmod a-w BLD-POTFILES-t \     && mv BLD-POTFILES-t BLD-POTFILES )
>
> guixbui+ 14018 14015 49 Feb16 ?        09:51:51 /gnu/store/bc87x9c6kmqx6rm2ifl3a5fjyffa6dl4-qemu-4.2.0/bin/qemu-arm /gnu/store/nqrkjlwj2xhgcqnkz2g8bb00372s45xl-sed-4.7/bin/sed -e $s/\\$//

Building things with QEMU emulation is sadly nowhere as robust as on
actual hardware.

I'll close this old issue now; feel free to reopen a new one if you're
still having issues.

Thanks,

Maxim