GNU bug report logs -
#38711
[PATCH] build-system: qt: Actually use qt-build-system, not cmake-build-system.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38711 in the body.
You can then email your comments to 38711 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#38711
; Package
guix-patches
.
(Sun, 22 Dec 2019 21:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 22 Dec 2019 21:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When the qt-build-system was created, based on the cmake-build-system,
some references to cmake have been missed to be changed.
* guix/build-system/qt.scm (qt-build, qt-cross-build)[modules]:
Use qt-build-system, not cmake-build-system. [builder]: Call qt-build,
not cmake-build.
---
guix/build-system/qt.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/guix/build-system/qt.scm b/guix/build-system/qt.scm
index b776845377..67fdfa1230 100644
--- a/guix/build-system/qt.scm
+++ b/guix/build-system/qt.scm
@@ -126,14 +126,14 @@
(qt-wrap-excluded-outputs ''())
(system (%current-system))
(imported-modules %qt-build-system-modules)
- (modules '((guix build cmake-build-system)
+ (modules '((guix build qt-build-system)
(guix build utils))))
"Build SOURCE using CMAKE, and with INPUTS. This assumes that SOURCE
provides a 'CMakeLists.txt' file as its build system."
(define builder
`(begin
(use-modules ,@modules)
- (cmake-build #:source ,(match (assoc-ref inputs "source")
+ (qt-build #:source ,(match (assoc-ref inputs "source")
(((? derivation? source))
(derivation->output-path source))
((source)
@@ -208,7 +208,7 @@ provides a 'CMakeLists.txt' file as its build system."
(system (%current-system))
(build (nix-system->gnu-triplet system))
(imported-modules %qt-build-system-modules)
- (modules '((guix build cmake-build-system)
+ (modules '((guix build qt-build-system)
(guix build utils))))
"Cross-build NAME using CMAKE for TARGET, where TARGET is a GNU triplet and
with INPUTS. This assumes that SOURCE provides a 'CMakeLists.txt' file as its
@@ -237,7 +237,7 @@ build system."
`(,name . ,path)))
target-drvs))
- (cmake-build #:source ,(match (assoc-ref native-drvs "source")
+ (qt-build #:source ,(match (assoc-ref native-drvs "source")
(((? derivation? source))
(derivation->output-path source))
((source)
--
2.21.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#38711
; Package
guix-patches
.
(Mon, 23 Dec 2019 13:32:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 38711 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, Dec 22, 2019 at 10:40:03PM +0100, Hartmut Goebel wrote:
> When the qt-build-system was created, based on the cmake-build-system,
> some references to cmake have been missed to be changed.
This would explain some of the problems we've run into with, say,
mumble. If applying this means we can reverse
a7a91c01c98499c8a1e44fadea1b8f70e91fc16f and still have the binaries
wrapped then I say go for it.
>
> * guix/build-system/qt.scm (qt-build, qt-cross-build)[modules]:
> Use qt-build-system, not cmake-build-system. [builder]: Call qt-build,
> not cmake-build.
> ---
> guix/build-system/qt.scm | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/guix/build-system/qt.scm b/guix/build-system/qt.scm
> index b776845377..67fdfa1230 100644
> --- a/guix/build-system/qt.scm
> +++ b/guix/build-system/qt.scm
> @@ -126,14 +126,14 @@
> (qt-wrap-excluded-outputs ''())
> (system (%current-system))
> (imported-modules %qt-build-system-modules)
> - (modules '((guix build cmake-build-system)
> + (modules '((guix build qt-build-system)
> (guix build utils))))
> "Build SOURCE using CMAKE, and with INPUTS. This assumes that SOURCE
> provides a 'CMakeLists.txt' file as its build system."
> (define builder
> `(begin
> (use-modules ,@modules)
> - (cmake-build #:source ,(match (assoc-ref inputs "source")
> + (qt-build #:source ,(match (assoc-ref inputs "source")
Don't forget to re-indent the following lines
> (((? derivation? source))
> (derivation->output-path source))
> ((source)
> @@ -208,7 +208,7 @@ provides a 'CMakeLists.txt' file as its build system."
> (system (%current-system))
> (build (nix-system->gnu-triplet system))
> (imported-modules %qt-build-system-modules)
> - (modules '((guix build cmake-build-system)
> + (modules '((guix build qt-build-system)
> (guix build utils))))
> "Cross-build NAME using CMAKE for TARGET, where TARGET is a GNU triplet and
> with INPUTS. This assumes that SOURCE provides a 'CMakeLists.txt' file as its
> @@ -237,7 +237,7 @@ build system."
> `(,name . ,path)))
> target-drvs))
>
> - (cmake-build #:source ,(match (assoc-ref native-drvs "source")
> + (qt-build #:source ,(match (assoc-ref native-drvs "source")
And here too.
> (((? derivation? source))
> (derivation->output-path source))
> ((source)
> --
> 2.21.1
>
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
You have taken responsibility.
(Mon, 23 Dec 2019 16:52:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
bug acknowledged by developer.
(Mon, 23 Dec 2019 16:52:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 38711-close <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Efraim,
thanks for the review.
Am 23.12.19 um 14:30 schrieb Efraim Flashner:
> This would explain some of the problems we've run into with, say,
> mumble. If applying this means we can reverse
> a7a91c01c98499c8a1e44fadea1b8f70e91fc16f and still have the binaries
> wrapped then I say go for it.
Yes, this patch allows to revert
a7a91c01c98499c8a1e44fadea1b8f70e91fc16f. See also
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38553#47>.
I already reverted a7a91c01c and changed the other packages which used
the same pattern ((sddm, ktouch, kdeconnect, kdevelop))
> Don't forget to re-indent the following lines
ACK. I did this in a separate commit to make the actual change more obvious.
Pushed as fce8ec9e151..50bdf0043.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel <at> crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#38711
; Package
guix-patches
.
(Mon, 23 Dec 2019 16:55:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 38711 <at> debbugs.gnu.org (full text, mbox):
Hi!
Efraim Flashner <efraim <at> flashner.co.il> skribis:
> On Sun, Dec 22, 2019 at 10:40:03PM +0100, Hartmut Goebel wrote:
>> When the qt-build-system was created, based on the cmake-build-system,
>> some references to cmake have been missed to be changed.
Oh, I see.
> This would explain some of the problems we've run into with, say,
> mumble. If applying this means we can reverse
> a7a91c01c98499c8a1e44fadea1b8f70e91fc16f and still have the binaries
> wrapped then I say go for it.
Agreed!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 21 Jan 2020 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 153 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.