GNU bug report logs

#79092 [PATCH] fix build ola

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Full log

Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 25 Jul 2025 10:32:04 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 25 06:32:04 2025
Received: from localhost ([127.0.0.1]:33179 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1ufFie-00076m-2R
	for submit@debbugs.gnu.org; Fri, 25 Jul 2025 06:32:04 -0400
Received: from lists.gnu.org ([2001:470:142::17]:46796)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ikbenrickhuyzer@gmail.com>)
 id 1ufFib-000766-LO
 for submit@debbugs.gnu.org; Fri, 25 Jul 2025 06:32:02 -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 <ikbenrickhuyzer@gmail.com>)
 id 1ufFiB-00037D-Lr
 for guix-patches@gnu.org; Fri, 25 Jul 2025 06:31:43 -0400
Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ikbenrickhuyzer@gmail.com>)
 id 1ufFi9-0003n5-Th
 for guix-patches@gnu.org; Fri, 25 Jul 2025 06:31:35 -0400
Received: by mail-ed1-x52f.google.com with SMTP id
 4fb4d7f45d1cf-60e5396e101so105793a12.1
 for <guix-patches@gnu.org>; Fri, 25 Jul 2025 03:31:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1753439492; x=1754044292; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=88iIw/zvLQs54jXPBnOrFfL3fPk9QYqvilzs7ASvbME=;
 b=ReYTOm6JmEijj7tfnk124baJ1Ijv9bIt6LDEpSM1PNHKce5ZfE5ER0bAQMwLsfNb2m
 188USTs81uIWwCx29IZeTOAOp2LvzQg0F7NsK81xlmDGloH8a7KS0m9fj2QwgTik4HLZ
 q15Hyjx8eA/KTwnYltR0rCKXn92raBeKD2XAnS0xIo63Qh2TDJmmosD7GgSLmPt1/lZC
 ci2JEL512cgnu3hoPDsEheMsZKeDZZbj/1Nyv1kO7+sANvZiwTm8fwO+3zwScT6Ty8yO
 rj8/zC1ntOiKwPnGEe3go7LaFpDwyrEJ4rzVR0Bv9wHM8R4Bc2/8LqWjNquy5MxiQEHz
 c12A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1753439492; x=1754044292;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=88iIw/zvLQs54jXPBnOrFfL3fPk9QYqvilzs7ASvbME=;
 b=VzLSRVj19wUuVLzM+D5F8LueThnPf1Rkt5ADkGnaexdshFDqHPAMFilFSet9ix23qy
 Sx9CegnUjzRht3L9RLmv0mwPVHUI4fL8ZZM4PsbrRH5EZ4xrr83l9KMnVGjLUtplClb/
 VlQymdH2umI/wb8GE+zF3XbXCoILz41j+Y7rvid6pQ7XpfMDQpGu/+Avl5FwrLxCWs1Q
 1BcAdUPuuSTOk5IKJobZ+Ajzsa/NssjScBZFtlWASFrN2ell94wW6NCRMu57TadGYwuN
 fPA20kWXgCk86YyBg8Q7pdtOP+o6lasOf0xN7ivRCsy6Sbv3gFH8RCBD4t8UePiVoDtu
 xrGw==
X-Gm-Message-State: AOJu0Yw4S180tck0KHLKM17dYnrywMr/OAGe9qg7dmYHa2vken0/vjJO
 +Y/LMucjIaGQzDttta+e+2McvA3t6D+PdPCAgNJprqM2h5ZK5w7d1EXsCYarSw==
X-Gm-Gg: ASbGncuCB270OdGNK8ZA1fPn79aJmmc8/sC82k/T9jVn0AV00QXw9pJq7qhiNUm15CV
 T0j4TxUQcP1VQY7IyFB6AD1RMCri6Srk8VTnCnLE1arCtdBH2FLbrw+LKu9nztLNB9F45TEWl8+
 dVmLdvseprzLiTKa1SAfoB+A0nFGb3mZkIRhJlA8APn5UFVW0xAo2IeFCi6ohrQuB1CAD+o8RV+
 Ds+y3eQW/aq+2U0anxoJxq8BqtKtbLNNvE4p5Tu/odDpKJH4UhCEclWQkCd93+31gyzdVAY4Z5k
 iQwRe07ZAf7uSQpJw1x/if6jzTzzcM6z0VJk3i/nQ3LwjB5slHIuVkbg9WmGwNs1F3LafqPbMuY
 TXnJCR+2G/dGLzuroFLw4P9Cg8iClqrStelWIbTpEoVjq4n8485Bkb4CY
X-Google-Smtp-Source: AGHT+IFGVzgCLbnMvL3YCnQSd7FAbrmzNJhfpySlUmg+e4wXnvjCJemNsJ5AtA/W/QUkOnVBGMFDDQ==
X-Received: by 2002:a17:907:986:b0:ae0:cd6e:5d0 with SMTP id
 a640c23a62f3a-af61cf980bamr52340966b.11.1753439491363; 
 Fri, 25 Jul 2025 03:31:31 -0700 (PDT)
Received: from vulcan (095-097-221-146.static.chello.nl. [95.97.221.146])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-af47f44d763sm244171866b.77.2025.07.25.03.31.30
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 25 Jul 2025 03:31:31 -0700 (PDT)
From: Rick Huijzer <ikbenrickhuyzer@gmail.com>
To: guix-patches@gnu.org
Subject: [PATCH] fix build ola
Date: Fri, 25 Jul 2025 12:24:48 +0200
Message-ID: <20250725103041.25193-1-ikbenrickhuyzer@gmail.com>
X-Mailer: git-send-email 2.50.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::52f;
 envelope-from=ikbenrickhuyzer@gmail.com; helo=mail-ed1-x52f.google.com
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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Rick Huijzer <ikbenrickhuyzer@gmail.com>
X-BeenThere: debbugs-submit@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
---
Maybe not the most elegant fix, but the next version of ola will target a newer
c++. At the moment ola doesn't build at all.
 gnu/packages/lighting.scm | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/lighting.scm b/gnu/packages/lighting.scm
index 4794400e6e..77f1aade53 100644
--- a/gnu/packages/lighting.scm
+++ b/gnu/packages/lighting.scm
@@ -50,31 +50,29 @@ (define-public ola
         (base32 "0mbf5dc309pqg9ckqgk2kh9p3mf9vqsjkxnwjzqw7yzzf17ij3zk"))
        (file-name (git-file-name name version))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list bison
-           cppunit
-           flex
-           pkg-config
-           ;; For git repository bootstrapping.
-           autoconf
-           automake
-           libtool))
-    (inputs
-     (list libftdi
-           libmicrohttpd
-           libusb
-           `(,util-linux "lib")
-           zlib))
-    (propagated-inputs
-     (list protobuf))       ; for pkg-config --libs libola
+    (native-inputs (list bison
+                         cppunit
+                         flex
+                         pkg-config
+                         ;; For git repository bootstrapping.
+                         autoconf
+                         automake
+                         libtool))
+    (inputs (list libftdi libmicrohttpd libusb
+                  `(,util-linux "lib") zlib))
+    (propagated-inputs (list protobuf)) ;for pkg-config --libs libola
     (arguments
      (list
       ;; G++ >= 4.8 macro expansion tracking requires lots of memory, causing
       ;; build to fail on low memory systems.  We disable that with the
       ;; following configure flags.
-      #:configure-flags #~(list "CXXFLAGS=-ftrack-macro-expansion=0")))
+      ;; We also have to omit: use of std::auto_ptr is deprecated, and template-id not allowed for constructor in C++20
+      #:configure-flags
+      #~(list
+         "CXXFLAGS=-ftrack-macro-expansion=0 -Wno-error=deprecated-declarations -Wno-template-id-cdtor")))
     (synopsis "Framework for controlling entertainment lighting equipment")
-    (description "The Open Lighting Architecture is a framework for lighting
+    (description
+     "The Open Lighting Architecture is a framework for lighting
 control information.  It supports a range of protocols and over a dozen USB
 devices.  It can run as a standalone service, which is useful for converting
 signals between protocols, or alternatively using the OLA API, it can be used
-- 
2.50.1





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 18:40:15 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.