From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 25 06:32:04 2025 Received: (at submit) by debbugs.gnu.org; 25 Jul 2025 10:32:04 +0000 Received: from localhost ([127.0.0.1]:33179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) 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 ) 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 ) 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 ) 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 ; 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 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 26 13:04:22 2025 Received: (at 79092-done) by debbugs.gnu.org; 26 Jul 2025 17:04:22 +0000 Received: from localhost ([127.0.0.1]:44551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ufiJp-00005G-MA for submit@debbugs.gnu.org; Sat, 26 Jul 2025 13:04:22 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:46014) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ufiJn-00004r-N6 for 79092-done@debbugs.gnu.org; Sat, 26 Jul 2025 13:04:20 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7C5121D8; Sat, 26 Jul 2025 19:04:13 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id 0EmRuf7g9PbB; Sat, 26 Jul 2025 19:04:12 +0200 (CEST) Received: from jurong (86.56.141.77.rev.sfr.net [77.141.56.86]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 610711B8; Sat, 26 Jul 2025 19:04:12 +0200 (CEST) Date: Sat, 26 Jul 2025 19:04:11 +0200 From: Andreas Enge To: Rick Huijzer Subject: Re: [PATCH] fix build ola Message-ID: References: <20250725103041.25193-1-ikbenrickhuyzer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250725103041.25193-1-ikbenrickhuyzer@gmail.com> X-Spamd-Result: default: False [-5.55 / 15.00]; NEURAL_HAM(-3.00)[-1.000]; BAYES_HAM(-2.95)[99.77%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 7C5121D8 X-Rspamd-Server: hera X-Spamd-Bar: ----- X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79092-done Cc: 79092-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, thanks for your patch, which I have just pushed. In the future, please refrain from making cosmetic changes like reformatting; it makes it more difficult to see what are the real changes, and also confuse "git blame". Andreas