GNU bug report logs -
#63948
qtbase@6 retains reference to ‘gcc-final’
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Wed, 7 Jun 2023 19:56:01 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63948 in the body.
You can then email your comments to 63948 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#63948
; Package
guix
.
(Wed, 07 Jun 2023 19:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 07 Jun 2023 19:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The closure of ‘qtbase’ is unreasonable large, and this is in part
because it retains a reference to GCC:
--8<---------------cut here---------------start------------->8---
$ guix graph -t references --path qtbase /gnu/store/gqld7hz5vm4g904g7nc77z7wzvdrrwyb-zlib-1.2.13
/gnu/store/0zqk6bmgvwxh1kx963hhknwnqh3h0iik-qtbase-6.3.2
/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0
/gnu/store/gqld7hz5vm4g904g7nc77z7wzvdrrwyb-zlib-1.2.13
$ guix build -e '(@@ (gnu packages commencement) gcc-final)'
/gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib
/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0
$ guix size qtbase | tail -1
total: 1204.7 MiB
$ guix describe
Generation 265 Jun 04 2023 23:48:31 (current)
guix eed55a6
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: eed55a6544d5bda2245ec853e5fa4b28e1865bea
--8<---------------cut here---------------end--------------->8---
This comes from a CMake file:
--8<---------------cut here---------------start------------->8---
$ grep -r 5lqhcv91ijy82p92ac6g5xw48l0lwwz4 /gnu/store/0zqk6bmgvwxh1kx963hhknwnqh3h0iik-qtbase-6.3.2
/gnu/store/0zqk6bmgvwxh1kx963hhknwnqh3h0iik-qtbase-6.3.2/lib/cmake/Qt6/qt.toolchain.cmake: set(__qt_initial_c_compiler "/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/gcc")
/gnu/store/0zqk6bmgvwxh1kx963hhknwnqh3h0iik-qtbase-6.3.2/lib/cmake/Qt6/qt.toolchain.cmake: set(__qt_initial_cxx_compiler "/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++")
--8<---------------cut here---------------end--------------->8---
We should remove this reference.
Ludo’.
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Tue, 08 Aug 2023 03:39:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
bug acknowledged by developer.
(Tue, 08 Aug 2023 03:39:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 63948-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Ludovic Courtès <ludo <at> gnu.org> writes:
> The closure of ‘qtbase’ is unreasonable large, and this is in part
> because it retains a reference to GCC:
>
> $ guix graph -t references --path qtbase /gnu/store/gqld7hz5vm4g904g7nc77z7wzvdrrwyb-zlib-1.2.13
> /gnu/store/0zqk6bmgvwxh1kx963hhknwnqh3h0iik-qtbase-6.3.2
> /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0
> /gnu/store/gqld7hz5vm4g904g7nc77z7wzvdrrwyb-zlib-1.2.13
> $ guix build -e '(@@ (gnu packages commencement) gcc-final)'
> /gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib
> /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0
> $ guix size qtbase | tail -1
> total: 1204.7 MiB
> $ guix describe
> Generation 265 Jun 04 2023 23:48:31 (current)
> guix eed55a6
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: eed55a6544d5bda2245ec853e5fa4b28e1865bea
>
>
> This comes from a CMake file:
>
> $ grep -r 5lqhcv91ijy82p92ac6g5xw48l0lwwz4 /gnu/store/0zqk6bmgvwxh1kx963hhknwnqh3h0iik-qtbase-6.3.2
> /gnu/store/0zqk6bmgvwxh1kx963hhknwnqh3h0iik-qtbase-6.3.2/lib/cmake/Qt6/qt.toolchain.cmake: set(__qt_initial_c_compiler "/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/gcc")
> /gnu/store/0zqk6bmgvwxh1kx963hhknwnqh3h0iik-qtbase-6.3.2/lib/cmake/Qt6/qt.toolchain.cmake: set(__qt_initial_cxx_compiler "/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++")
>
> We should remove this reference.
Fixed with commit 98c17c14829349d4838186400541a7cd650b64d0; there's was
convenient QT_EMBED_TOOLCHAIN_COMPILER build switch we can use to
disable embedding the compilers in the CMake files.
Thanks for the report!
--
Maxim
Information forwarded
to
bug-guix <at> gnu.org
:
bug#63948
; Package
guix
.
(Wed, 09 Aug 2023 20:25:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 63948-done <at> debbugs.gnu.org (full text, mbox):
Heya,
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:
> Fixed with commit 98c17c14829349d4838186400541a7cd650b64d0; there's was
> convenient QT_EMBED_TOOLCHAIN_COMPILER build switch we can use to
> disable embedding the compilers in the CMake files.
Well done, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 07 Sep 2023 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.