GNU bug report logs - #63155
slim fails to build

Previous Next

Package: guix;

Reported by: Julian Flake <flake <at> uni-koblenz.de>

Date: Fri, 28 Apr 2023 19:30:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Julian Flake <flake <at> uni-koblenz.de>
Subject: bug#63155: closed (Re: bug#63159: [PATCH 1/2] gnu: slim: Fix
 build failure with GCC-11)
Date: Sun, 30 Apr 2023 21:17:01 +0000
[Message part 1 (text/plain, inline)]
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 <at> debbugs.gnu.org.

-- 
63155: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63155
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Brian Cully <bjc <at> spork.org>
Cc: 63159-done <at> debbugs.gnu.org, 63155-done <at> debbugs.gnu.org
Subject: Re: bug#63159: [PATCH 1/2] gnu: slim: Fix build failure with GCC-11
Date: Sun, 30 Apr 2023 23:16:33 +0200
Hi,

Brian Cully <bjc <at> spork.org> skribis:

> GCC-11 sniffed out a long-standing bug where a pointer was being tested for a
> negative value, which is impossible. Instead, check for NULL, which is how 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’.

[Message part 3 (message/rfc822, inline)]
From: Julian Flake <flake <at> uni-koblenz.de>
To: bug-guix <at> gnu.org
Subject: slim fails to build
Date: Fri, 28 Apr 2023 21:23:16 +0200
compilation error is:

/tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp: In 
constructor ‘Panel::Panel(Display*, int, Window, Cfg*, const 
string&, Panel::PanelType)’:
/tmp/guix-build-slim-1.3.6.drv-0/slim-1.3.6/panel.cpp:51:27: 
error: ordered comparison of pointer with integer zero (‘GC’ {aka 
‘_XGC*’} and ‘int’)
  51 |                 if (WinGC < 0) {
     |                     ~~~~~~^~~
make[2]: *** [CMakeFiles/libslim.dir/build.make:121: 
CMakeFiles/libslim.dir/panel.cpp.o] Error 1





This bug report was last modified 2 years and 73 days ago.

Previous Next


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