GNU logs - #73262, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#73262] [PATCH] gnu: openblas: Add debug output.
Resent-From: Artyom Bologov <mail@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 15 Sep 2024 02:50:02 +0000
Resent-Message-ID: <handler.73262.B.17263685456255 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 73262
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 73262 <at> debbugs.gnu.org
X-Debbugs-Original-To: Guix Patches <guix-patches@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.17263685456255
          (code B ref -1); Sun, 15 Sep 2024 02:50:02 +0000
Received: (at submit) by debbugs.gnu.org; 15 Sep 2024 02:49:05 +0000
Received: from localhost ([127.0.0.1]:48071 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1spfJw-0001cn-Ki
	for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 22:49:04 -0400
Received: from lists.gnu.org ([209.51.188.17]:44746)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1spfJu-0001cS-98
 for submit <at> debbugs.gnu.org; Sat, 14 Sep 2024 22:49:03 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1spfJh-00070l-0Q
 for guix-patches@HIDDEN; Sat, 14 Sep 2024 22:48:50 -0400
Received: from layka.disroot.org ([178.21.23.139])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1spfJe-00049D-8P
 for guix-patches@HIDDEN; Sat, 14 Sep 2024 22:48:48 -0400
Received: from mail01.disroot.lan (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 28C5B233CF;
 Sun, 15 Sep 2024 04:48:43 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from layka.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP
 id zhQTNKHDTp3k; Sun, 15 Sep 2024 04:48:42 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aartaka.me; s=mail;
 t=1726368522; bh=iKs00i2KuMeP42xbsUuhZrpOQYeupBeXe0kArxFLROs=;
 h=From:To:Subject:Date;
 b=W6deKXZ9q0Qj3DaWKtcjzJaQ7BL7nAKWAaOWiqKCvXcHDoNouv/G+/JcnIccTNUdy
 CovFa6pSL1eWyb5jLyTJhxm42BmSOrdHVVQK8fHcSwHr2eWP80lE2noptxrvosBBu0
 GsDvLBfUCe5XBdLcZECAKX/fwxGzlF9yNSb+RGUT8l5XVnrsTQtVniAyUAKOdGrkau
 RDAewwHsjDE1lMiF/dHa/eKr9/ND2CepT8nL3m/bWQ3rhTBb8pelNHU6OELOhlMnMo
 1QSKSbGT9/lYYCbFpL9uX5tuGsP3fLB1R2OEkOHKEt04F8caLVNSIusidsvQiXACm0
 GJvvqc7dJYlqw==
From: Artyom Bologov <mail@HIDDEN>
Date: Sun, 15 Sep 2024 06:48:38 +0400
Message-ID: <87jzfdskc9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: none client-ip=178.21.23.139; envelope-from=mail@HIDDEN;
 helo=layka.disroot.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain

Hi y'all,

This patch adds a debug output to OpenBLAS and adjusts build flags
accordingly. The final non-debug build is likely unaffected by DEBUG=1,
because Guix strips the debug symbols out anyway. Note that this change
likely requires checking the CI for the package, like with bug #73058.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-gnu-openblas-Add-debug-output.patch
Content-Description: Add debug output to OpenBLAS

From 1cd8da82659bf9d369201135c86717d2ea40d7ca Mon Sep 17 00:00:00 2001
From: Artyom Bologov <mail@HIDDEN>
Date: Sun, 15 Sep 2024 06:42:29 +0400
Subject: [PATCH] gnu: openblas: Add debug output.

* gnu/packages/maths.scm (openblas): Add "debug" output
[outputs]: Add argument, add "debug" output
[arguments]<#:make-flags>: Add DEBUG=1 flag
---
 gnu/packages/maths.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a0cc0788ca..2d5b239548 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5173,6 +5173,7 @@ (define-public openblas
       #:make-flags
       #~(list (string-append "PREFIX=" #$output)
               "SHELL=bash"
+              "DEBUG=1"                 ; enable debug symbols
               "MAKE_NB_JOBS=0"          ;use jobserver for submakes
               "NO_STATIC=1"             ;avoid a 67 MiB static archive
 
@@ -5225,6 +5226,7 @@ (define-public openblas
      (list `(,gfortran "lib")))
     (native-inputs
      (list cunit gfortran perl))
+    (outputs '("out" "debug"))
     (home-page "https://www.openblas.net/")
     (synopsis "Optimized BLAS library based on GotoBLAS")
     (description
-- 
2.41.0


--=-=-=
Content-Type: text/plain


Thanks,
-- 
Artyom Bologov
https://aartaka.me

--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Artyom Bologov <mail@HIDDEN>
Subject: bug#73262: Acknowledgement ([PATCH] gnu: openblas: Add debug output.)
Message-ID: <handler.73262.B.17263685456255.ack <at> debbugs.gnu.org>
References: <87jzfdskc9.fsf@HIDDEN>
X-Gnu-PR-Message: ack 73262
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 73262 <at> debbugs.gnu.org
Date: Sun, 15 Sep 2024 02:50:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 73262 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
73262: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73262
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.