GNU bug report logs -
#72885
[PATCH] gnu: screen: Update to 5.0.0
Previous Next
Reported by: Andy Tai <atai <at> atai.org>
Date: Fri, 30 Aug 2024 06:33:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 72885 <at> debbugs.gnu.org (full text, mbox):
Updated patch sent, CFLAGS updated, Hurd cross compiling OK.
On Tue, Sep 3, 2024 at 4:48 AM Ludovic Courtès <ludo <at> gnu.org> wrote:
>
> Hello,
>
> Andy Tai <atai <at> atai.org> skribis:
>
> > * gnu/packages/patches/screen-hurd-path-max.patch: Update for screen 5.0.0.
> > * gnu/packages/screen.scm (screen): Update to 5.0.0.
> > [arguments]<#:configure-flags: Add "CFLAGS=-D_GNU_SOURCE=1".
> > [inputs]: Add linux-pam.
> >
> > Change-Id: Iebc5eff0128ff7f4d27a22cca1bd4a025aca3244
>
> [...]
>
> > -+ * Define PATH_MAX to 4096 if it's not defined, like on GNU/Hurd
>
> Did you confirm that it still builds for GNU/Hurd?
>
> You can test by cross-compiling with ‘--target=i586-pc-gnu’ or by
> compiling natively, if you have configured the ‘hurd-vm’ service, with
> ‘--system=i586-gnu’.
>
> > (arguments
> > `(#:configure-flags
> > + ;; GNU_SOURCE must be defined for mallocmock_reset() to be defined
> > + '("CFLAGS=-D_GNU_SOURCE=1"
>
> This very likely removes the default flags, “-O2 -g”, which is something
> we should not do (we’d get an unoptimized build and ‘--with-debug-info’
> wouldn’t have the intended effect). I think you need to have:
>
> "CFLAGS=-O2 -g -D_GNU_SOURCE=1"
>
> instead. Please check the build log to make sure it has the intended
> effect.
>
> Could you send an updated patch?
>
> Thanks,
> Ludo’.
This bug report was last modified 318 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.