unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63948: qtbase@6 retains reference to ‘gcc-final’
@ 2023-06-07 19:55 Ludovic Courtès
  2023-08-08  3:38 ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2023-06-07 19:55 UTC (permalink / raw)
  To: 63948

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’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#63948: qtbase@6 retains reference to ‘gcc-final’
  2023-06-07 19:55 bug#63948: qtbase@6 retains reference to ‘gcc-final’ Ludovic Courtès
@ 2023-08-08  3:38 ` Maxim Cournoyer
  2023-08-09 20:24   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2023-08-08  3:38 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 63948-done

Hello,

Ludovic Courtès <ludo@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#63948: qtbase@6 retains reference to ‘gcc-final’
  2023-08-08  3:38 ` Maxim Cournoyer
@ 2023-08-09 20:24   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-08-09 20:24 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 63948-done

Heya,

Maxim Cournoyer <maxim.cournoyer@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’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-09 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07 19:55 bug#63948: qtbase@6 retains reference to ‘gcc-final’ Ludovic Courtès
2023-08-08  3:38 ` Maxim Cournoyer
2023-08-09 20:24   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).