X-Loop: help-debbugs@HIDDEN Subject: [bug#78419] [PATCH] daemon: Add const qualifier to comparison call operator. Resent-From: Dariqq <dariqq@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Wed, 14 May 2025 07:42:02 +0000 Resent-Message-ID: <handler.78419.B.17472085202631 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 78419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78419 <at> debbugs.gnu.org Cc: Dariqq <dariqq@HIDDEN> X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17472085202631 (code B ref -1); Wed, 14 May 2025 07:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2025 07:42:00 +0000 Received: from localhost ([127.0.0.1]:38574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uF6ka-0000gL-1P for submit <at> debbugs.gnu.org; Wed, 14 May 2025 03:42:00 -0400 Received: from lists.gnu.org ([2001:470:142::17]:41678) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <dariqq@HIDDEN>) id 1uF6kW-0000fK-Dr for submit <at> debbugs.gnu.org; Wed, 14 May 2025 03:41:57 -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 <dariqq@HIDDEN>) id 1uF6k4-0001sY-BW for guix-patches@HIDDEN; Wed, 14 May 2025 03:41:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dariqq@HIDDEN>) id 1uF6k0-0008B4-Ot for guix-patches@HIDDEN; Wed, 14 May 2025 03:41:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0B1C9240027 for <guix-patches@HIDDEN>; Wed, 14 May 2025 09:41:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1747208480; bh=Aq+TxvfHCqroPWsZeVogv1IVR2RnM5cESmIPhZ6kvkQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=cXsrs+YU75uM753dtc9izsATT1uhbsQESX4l/yfLWAF8Roec+oPyz9E0EsKkUCjOy DnA65HvZXZGEQRGrRkm4wuzmVLfcYjE2qUhG6/8u4ViCxn9cjvmA7bNC1oTm1NV6n7 U7bARmJ9ZZlsaVFSjOsRy7GgsaG6GqCzULSy8USzDoocYX9wvyo1vVgw/rq+t9kach TCkdkq0wr8WtC25mtayFX99q5NBmTOAR1Kuz4UHspxt8R5LlLLmDYrcu2MWDm4dAjy 1LmZ8HmMtqzVqOq2q9lu0dVId24aDZbxoguBN2o4RaOAmRpOuHNglLuWIVUpUMiGMz Kfn06SUvrVM9A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Zy4z33STfz9rxg; Wed, 14 May 2025 09:41:19 +0200 (CEST) From: Dariqq <dariqq@HIDDEN> Date: Wed, 14 May 2025 07:39:26 +0000 Message-ID: <5d3bca40c80a4d4db2579a56dc0dde1aafce8976.1747208366.git.dariqq@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@HIDDEN; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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-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: -0.0 (/) * nix/libstore/build.cc (CompareGoalPtrs::operator()): Add const qualifier. Change-Id: Ieccea071db53715ef808fe59c69429fe228b5f77 --- Hello, I had to add this patch to build guix on Fedora 42 and got a template error without it. It corresponds to this commit in nix from 2017: https://github.com/NixOS/nix/commit/00e0c416ffccf6edb63fe7f4b01422915ff12f86 nix/libstore/build.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index a1f39d9a8bf..f80f69f2bb6 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -94,7 +94,7 @@ typedef std::shared_ptr<Goal> GoalPtr; typedef std::weak_ptr<Goal> WeakGoalPtr; struct CompareGoalPtrs { - bool operator() (const GoalPtr & a, const GoalPtr & b); + bool operator() (const GoalPtr & a, const GoalPtr & b) const; }; /* Set of goals. */ @@ -192,7 +192,7 @@ protected: }; -bool CompareGoalPtrs::operator() (const GoalPtr & a, const GoalPtr & b) { +bool CompareGoalPtrs::operator() (const GoalPtr & a, const GoalPtr & b) const{ string s1 = a->key(); string s2 = b->key(); return s1 < s2; base-commit: 5f5d84beccc180f1b51474c0e47eb6e0d0c9175f -- 2.49.0
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: Dariqq <dariqq@HIDDEN> Subject: bug#78419: Acknowledgement ([PATCH] daemon: Add const qualifier to comparison call operator.) Message-ID: <handler.78419.B.17472085202631.ack <at> debbugs.gnu.org> References: <5d3bca40c80a4d4db2579a56dc0dde1aafce8976.1747208366.git.dariqq@HIDDEN> X-Gnu-PR-Message: ack 78419 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 78419 <at> debbugs.gnu.org Date: Wed, 14 May 2025 07:42:03 +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 78419 <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 78419: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78419 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 1 Jun 2025 14:47:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 01 10:47:53 2025 Received: from localhost ([127.0.0.1]:40302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uLjya-0004nx-O8 for submit <at> debbugs.gnu.org; Sun, 01 Jun 2025 10:47:53 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59815) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <dariqq@HIDDEN>) id 1uLjyY-0004mF-Kv for control <at> debbugs.gnu.org; Sun, 01 Jun 2025 10:47:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8293D240027 for <control <at> debbugs.gnu.org>; Sun, 1 Jun 2025 16:47:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1748789263; bh=yDsvhM9ViHuym6QcT5LK3KFkuNxSpDMPez/4CDvvd1k=; h=Message-ID:Date:MIME-Version:To:Subject:From:Content-Type: Content-Transfer-Encoding:From; b=PlXUrRb9jRJw64+HjGWHR3WBLO//jS4cHR6GVT9B6G84lH/U4kVSBwF+tg8jjTCme srPeLz8ismki4RqWOk6O+VBBV9A2SjXWNxJ0echiMuMlpxqh6z0nNpG+ivmih8gVo3 e6o2Cm2wN7PxChIyhuMplLpQ4QbypydYKS9pulHdUTsAmh/QMXYHfKC/8QxL9ziiDB 4PG9+cgMnL0K3LbYIk+lex6viNocbYAfjI0GvAKqdohHSIsse0ryFhoXwWp+vlSmXZ XUdEwyYDcL2PrkxXZaiKzKiDj801/iw+Mbu2pIRbprGgegh6eFgVqxB/6HANkaP/nt cHq/u97nBZ2cw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4b9KZl02psz6tw8 for <control <at> debbugs.gnu.org>; Sun, 1 Jun 2025 16:47:42 +0200 (CEST) Message-ID: <2da98ebe-2e4e-4a49-b7ad-2af526caacf9@HIDDEN> Date: Sun, 1 Jun 2025 14:47:16 +0000 MIME-Version: 1.0 To: control <at> debbugs.gnu.org Subject: control message for bug #78419 Content-Language: en-US From: Dariqq <dariqq@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: control 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: -4.3 (----) close 78419 quit See https://codeberg.org/guix/guix/pulls/31
X-Loop: help-debbugs@HIDDEN Subject: [bug#78419] (no subject) References: <5d3bca40c80a4d4db2579a56dc0dde1aafce8976.1747208366.git.dariqq@HIDDEN> In-Reply-To: <5d3bca40c80a4d4db2579a56dc0dde1aafce8976.1747208366.git.dariqq@HIDDEN> Resent-From: Dariqq <dariqq@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Sun, 01 Jun 2025 14:56:03 +0000 Resent-Message-ID: <handler.78419.D78419.174878972522266 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 78419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78419-done <at> debbugs.gnu.org Received: via spool by 78419-done <at> debbugs.gnu.org id=D78419.174878972522266 (code D ref 78419); Sun, 01 Jun 2025 14:56:03 +0000 Received: (at 78419-done) by debbugs.gnu.org; 1 Jun 2025 14:55:25 +0000 Received: from localhost ([127.0.0.1]:40379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uLk5s-0005n1-IL for submit <at> debbugs.gnu.org; Sun, 01 Jun 2025 10:55:25 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55235) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <dariqq@HIDDEN>) id 1uLk5q-0005iJ-2P for 78419-done <at> debbugs.gnu.org; Sun, 01 Jun 2025 10:55:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 38B22240027 for <78419-done <at> debbugs.gnu.org>; Sun, 1 Jun 2025 16:55:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1748789715; bh=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN/XKdLCPjaYaY=; h=Message-ID:Date:MIME-Version:To:From:Content-Type: Content-Transfer-Encoding:From; b=hzogy4SApOAiQbUYngqY1tQ268mFUQSRxP4tBj/gSUn6hSX66NszqUqzUrGlDDR0V 6U1Mo/y4VAQueO6bm9B5UNAVe3ER1Y5lAYz5QY9jKXuE5V6xli5Bb2ek98zF9ibPqj vwj9P6FsZCGy5UElAgqr+E0KNa+FQqCDxKgRFa/27GwX6Gmbr2TpoPCtnibw2C9xGe 7kFwxhNC2BuvC8MaBFjWeWGLX7DLhKXaSrkzTlsn1JwId2UJG005rPtqJyKSzHGxfy r36u+OaFOMk4QlFGfUYYyuduZVmIO5+kRwH1Umaw4462pq+EdtuTE7hDBcfOe8J0Z+ 28CovOGS1ZMOQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4b9KlR00rhz6tm8 for <78419-done <at> debbugs.gnu.org>; Sun, 1 Jun 2025 16:55:14 +0200 (CEST) Message-ID: <8db63534-6614-437e-aa45-87eb5ea914f2@HIDDEN> Date: Sun, 1 Jun 2025 16:54:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Dariqq <dariqq@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 1.0 (+) 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: 0.0 (/)
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.