From unknown Sun Aug 10 02:40:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63155: slim fails to build Resent-From: Julian Flake Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 28 Apr 2023 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63155 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63155@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168271014824405 (code B ref -1); Fri, 28 Apr 2023 19:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2023 19:29:08 +0000 Received: from localhost ([127.0.0.1]:34565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psTmG-0006LZ-6m for submit@debbugs.gnu.org; Fri, 28 Apr 2023 15:29:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:37604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psTmD-0006LR-S7 for submit@debbugs.gnu.org; Fri, 28 Apr 2023 15:29:06 -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 1psTmD-00051D-Hy for bug-guix@gnu.org; Fri, 28 Apr 2023 15:29:05 -0400 Received: from nsmtp.uni-koblenz.de ([141.26.64.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psTmB-00061I-6l for bug-guix@gnu.org; Fri, 28 Apr 2023 15:29:05 -0400 Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id B78141A0034 for ; Fri, 28 Apr 2023 21:28:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uni-koblenz.de; h=content-transfer-encoding:content-type:content-type :mime-version:message-id:date:date:subject:subject:from:from :user-agent:received:received:received; s=mail; t=1682710132; x= 1684524533; bh=0Hr5dgbtacMAYabjuRu4KFYnOUTrflgeu9gN5I1Z6a4=; b=l u2DH0jFE2LfGJk5wg0VKCe12dS96PYWgHZ4RA4ieDtQ4oFJYEkfR8vu94j5ehuEd 3katowmbbywgnNp8YxF9XEXyMkKV64CQ7OPiYS+adJsUJswLyEtPhhaRY3Z8PUB8 KwbqLuVTQNp4sAYfUpbEUPiRSzaAfrL/e6Gu1ujfLk= X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EHG87c2hyGEw for ; Fri, 28 Apr 2023 21:28:52 +0200 (CEST) Received: from mailproxy.uni-koblenz.de (mailproxy.uni-koblenz.de [141.26.64.230]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS for ; Fri, 28 Apr 2023 21:28:52 +0200 (CEST) Received: from nutbook (unknown [IPv6:2001:9e8:5ec4:4800:c5e5:68fd:6280:1978]) by mailproxy.uni-koblenz.de (Postfix) with ESMTPSA id 980F710036E for ; Fri, 28 Apr 2023 21:28:52 +0200 (CEST) User-agent: mu4e 1.10.2; emacs 29.0.90 From: Julian Flake Date: Fri, 28 Apr 2023 21:23:16 +0200 Message-ID: <87pm7najrf.fsf@uni-koblenz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=141.26.64.14; envelope-from=flake@uni-koblenz.de; helo=nsmtp.uni-koblenz.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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: -2.6 (--) compilation error is: /tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp: In=20 constructor =E2=80=98Panel::Panel(Display*, int, Window, Cfg*, const=20 string&, Panel::PanelType)=E2=80=99: /tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp:51:27:=20 error: ordered comparison of pointer with integer zero (=E2=80=98GC=E2=80= =99 {aka=20 =E2=80=98_XGC*=E2=80=99} and =E2=80=98int=E2=80=99) 51 | if (WinGC < 0) { | ~~~~~~^~~ make[2]: *** [CMakeFiles/libslim.dir/build.make:121:=20 CMakeFiles/libslim.dir/panel.cpp.o] Error 1 From unknown Sun Aug 10 02:40:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Julian Flake Subject: bug#63155: closed (Re: bug#63159: [PATCH 1/2] gnu: slim: Fix build failure with GCC-11) Message-ID: References: <875y9doytq.fsf@gnu.org> <87pm7najrf.fsf@uni-koblenz.de> X-Gnu-PR-Message: they-closed 63155 X-Gnu-PR-Package: guix Reply-To: 63155@debbugs.gnu.org Date: Sun, 30 Apr 2023 21:17:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1682889421-27215-1" This is a multi-part message in MIME format... ------------=_1682889421-27215-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #63155: slim fails to build which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 63155@debbugs.gnu.org. --=20 63155: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63155 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1682889421-27215-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 63155-done) by debbugs.gnu.org; 30 Apr 2023 21:16:44 +0000 Received: from localhost ([127.0.0.1]:38483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptEPT-00074D-Km for submit@debbugs.gnu.org; Sun, 30 Apr 2023 17:16:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptEPR-00073t-Lj; Sun, 30 Apr 2023 17:16:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptEPM-0001hM-F8; Sun, 30 Apr 2023 17:16:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=hdEbSB60Hke/X3TX0TgSzv1CPsDeuUW/J04ao0sBj+Q=; b=CNfzj8ci0UpbBAddzHnZ aHbDYmVCL33L4Ea95c0Vvy/bsYD+twR6qNSsNMc0GsM2qLggIS1VcnntgrIgyeVDZQBcGwaV77Lrv XD6lXJMXU2MwgA7w8BB9g2IwV5TNZlseC7Th90EzPLq2SP7Bsz/qKqxzm8JgWO3wnunYarVgTrkFD xSCUS66PIeFR6/vLYzWiN/RNo02uhtvr7npJnS4b7Xog7cnJx0h6lqdiAkZEKFgfglOhnZlkC57gy dzw/hOO6wB2yV5TbWBzOtExTcQAAg1NRo7C+dmLrjcifKTJ/j39uOObtbRS0GZ3LYXwNnpI/2LnQ+ fUjsjbdddmCKuw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptEPL-0007S7-OA; Sun, 30 Apr 2023 17:16:35 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brian Cully Subject: Re: bug#63159: [PATCH 1/2] gnu: slim: Fix build failure with GCC-11 References: <70e16c55304b4235a9d72913a2c9bd8e6a3d0da0.1682717123.git.bjc@spork.org> Date: Sun, 30 Apr 2023 23:16:33 +0200 In-Reply-To: <70e16c55304b4235a9d72913a2c9bd8e6a3d0da0.1682717123.git.bjc@spork.org> (Brian Cully's message of "Fri, 28 Apr 2023 17:25:22 -0400") Message-ID: <875y9doytq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63155-done Cc: 63159-done@debbugs.gnu.org, 63155-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: -3.3 (---) Hi, Brian Cully skribis: > GCC-11 sniffed out a long-standing bug where a pointer was being tested f= or a > negative value, which is impossible. Instead, check for NULL, which is ho= w the > error result is actually returned. > > See https://github.com/iwamatsu/slim/issues/14 for details. > > * gnu/packages/display-managers.scm (slim) [fix-0-pointer-comparison]: new > phase [...] > Moved to github, according to https://www.berlios.de/software/slim/. > > * gnu/packages/display-managers.scm (slim) [home-page]: update URL. Applied, thanks! Ludo=E2=80=99. ------------=_1682889421-27215-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Apr 2023 19:29:08 +0000 Received: from localhost ([127.0.0.1]:34565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psTmG-0006LZ-6m for submit@debbugs.gnu.org; Fri, 28 Apr 2023 15:29:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:37604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psTmD-0006LR-S7 for submit@debbugs.gnu.org; Fri, 28 Apr 2023 15:29:06 -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 1psTmD-00051D-Hy for bug-guix@gnu.org; Fri, 28 Apr 2023 15:29:05 -0400 Received: from nsmtp.uni-koblenz.de ([141.26.64.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psTmB-00061I-6l for bug-guix@gnu.org; Fri, 28 Apr 2023 15:29:05 -0400 Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id B78141A0034 for ; Fri, 28 Apr 2023 21:28:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uni-koblenz.de; h=content-transfer-encoding:content-type:content-type :mime-version:message-id:date:date:subject:subject:from:from :user-agent:received:received:received; s=mail; t=1682710132; x= 1684524533; bh=0Hr5dgbtacMAYabjuRu4KFYnOUTrflgeu9gN5I1Z6a4=; b=l u2DH0jFE2LfGJk5wg0VKCe12dS96PYWgHZ4RA4ieDtQ4oFJYEkfR8vu94j5ehuEd 3katowmbbywgnNp8YxF9XEXyMkKV64CQ7OPiYS+adJsUJswLyEtPhhaRY3Z8PUB8 KwbqLuVTQNp4sAYfUpbEUPiRSzaAfrL/e6Gu1ujfLk= X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EHG87c2hyGEw for ; Fri, 28 Apr 2023 21:28:52 +0200 (CEST) Received: from mailproxy.uni-koblenz.de (mailproxy.uni-koblenz.de [141.26.64.230]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS for ; Fri, 28 Apr 2023 21:28:52 +0200 (CEST) Received: from nutbook (unknown [IPv6:2001:9e8:5ec4:4800:c5e5:68fd:6280:1978]) by mailproxy.uni-koblenz.de (Postfix) with ESMTPSA id 980F710036E for ; Fri, 28 Apr 2023 21:28:52 +0200 (CEST) User-agent: mu4e 1.10.2; emacs 29.0.90 From: Julian Flake To: bug-guix@gnu.org Subject: slim fails to build Date: Fri, 28 Apr 2023 21:23:16 +0200 Message-ID: <87pm7najrf.fsf@uni-koblenz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=141.26.64.14; envelope-from=flake@uni-koblenz.de; helo=nsmtp.uni-koblenz.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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: -2.6 (--) compilation error is: /tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp: In=20 constructor =E2=80=98Panel::Panel(Display*, int, Window, Cfg*, const=20 string&, Panel::PanelType)=E2=80=99: /tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp:51:27:=20 error: ordered comparison of pointer with integer zero (=E2=80=98GC=E2=80= =99 {aka=20 =E2=80=98_XGC*=E2=80=99} and =E2=80=98int=E2=80=99) 51 | if (WinGC < 0) { | ~~~~~~^~~ make[2]: *** [CMakeFiles/libslim.dir/build.make:121:=20 CMakeFiles/libslim.dir/panel.cpp.o] Error 1 ------------=_1682889421-27215-1--