Subject: bug#42554: closed (Re: [bug#42554] [PATCH staging] gnu: qtbase: Provide debug symbols.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 05 Aug 2020 00:18:02 +0000

Your bug report

#42554: [PATCH staging] gnu: qtbase: Provide debug symbols.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42554: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42554
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#42554] [PATCH staging] gnu: qtbase: Provide debug symbols.
From: Jakub Kądziołka <[email-masked]>
To: Mathieu Othacehe <[email-masked]>
Cc: [email-masked]
Date: Wed, 5 Aug 2020 02:17:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sat, Aug 01, 2020 at 09:39:41AM +0200, Mathieu Othacehe wrote:
> 
> Hello Jakub,
> 
> > * gnu/packages/qt.scm (qtbase)[outputs]: Add "debug".
> > [arguments]: Add "-force-debug-info" to configure flags.
> 
> This looks fine!

Thanks for your review, patch pushed to staging!

Regards,
Jakub Kądziołka

Subject: [PATCH staging] gnu: qtbase: Provide debug symbols.
From: Jakub Kądziołka <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 27 Jul 2020 01:19:20 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/qt.scm (qtbase)[outputs]: Add "debug".
[arguments]: Add "-force-debug-info" to configure flags.
---
NOTE: This increases the size of qtbase:out by about 6 MB. I am working
on a core-updates patch that restores the original size.

 gnu/packages/qt.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 1cbf7991ab..94b45a5520 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -367,6 +367,7 @@ developers using C++ or QML, a CSS & JavaScript like language.")
                                   "zlib"))
                   #t)))))
     (build-system gnu-build-system)
+    (outputs '("out" "debug"))
     (propagated-inputs
      `(("mesa" ,mesa)
        ;; Use which the package, not the function
@@ -473,6 +474,9 @@ developers using C++ or QML, a CSS & JavaScript like language.")
                  "-opensource"
                  "-confirm-license"
 
+                 ;; Later stripped into the :debug output.
+                 "-force-debug-info"
+
                  ;; These features require higher versions of Linux than the
                  ;; minimum version of the glibc.  See
                  ;; src/corelib/global/minimum-linux_p.h.  By disabling these
-- 
2.27.0