From: Andy Tai <atai@atai.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 72885@debbugs.gnu.org
Subject: [bug#72885] [PATCH v2] gnu: screen: Update to 5.0.0
Date: Tue, 3 Sep 2024 05:33:17 -0700 [thread overview]
Message-ID: <CAJsg1E9SmFj3n8Ev0D=oCAcnMfA50ZZaDYMbHkRHzXUi7_sNWQ@mail.gmail.com> (raw)
In-Reply-To: <877cbtgdpg.fsf@gnu.org>
Updated patch sent, CFLAGS updated, Hurd cross compiling OK.
On Tue, Sep 3, 2024 at 4:48 AM Ludovic Courtès <ludo@gnu.org> wrote:
>
> Hello,
>
> Andy Tai <atai@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’.
next prev parent reply other threads:[~2024-09-03 12:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 6:31 [bug#72885] [PATCH] gnu: screen: Update to 5.0.0 Andy Tai
2024-09-01 7:03 ` [bug#72885] [PATCH v2] " Andy Tai
2024-09-03 11:48 ` Ludovic Courtès
2024-09-03 12:33 ` Andy Tai [this message]
2024-09-03 12:30 ` [bug#72885] [PATCH v3] " Andy Tai
2024-09-04 17:04 ` bug#72885: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJsg1E9SmFj3n8Ev0D=oCAcnMfA50ZZaDYMbHkRHzXUi7_sNWQ@mail.gmail.com' \
--to=atai@atai.org \
--cc=72885@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).