unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs pretest 28.0.90 is out
Date: Sat, 11 Dec 2021 09:06:26 +0800	[thread overview]
Message-ID: <87o85o3q7h.fsf@yahoo.com> (raw)
In-Reply-To: <83lf0ssfho.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 10 Dec 2021 16:26:27 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> How did you test the build?  What commands did you try?

Basically what you said to do below, minus the custom button dropdown
and C-z test.

>   . "M-x customize-variable", select some variable, and verify that
>     the drop-down menus in the Custom buffer work
>   . C-z, verify that you are dropped to a subordinate shell, invoke
>     some shell command, then type "exit RET" to verify that you are
>     back in Emacs

Both work fine.

> Thanks, see the comments below.

>> --- a/msdos/sed1v2.inp
>> +++ b/msdos/sed1v2.inp
>> @@ -55,6 +55,10 @@ s/ *@LIBJPEG@//
>>  s/ *@LIBPNG@//
>>  s/ *@LIBGIF@//
>>  s/ *@LIBXPM@//
>> +/^HAVE_NATIVE_COMP *=/s/@HAVE_NATIVE_COMP@//
>> +/^HAVE_PDUMPER *=/s/@HAVE_PDUMPER@//

> These two should be replaced with "no", not with empty values, I
> think.

Thanks.

>> +/^JSON_CFLAGS *=/s/@JSOB_CFLAGS@//
>> +/^JSON_LIBS *=/s/@JSOB_LIBS@//

> Typos: should be JSON_CFLAGS and JSON_LIBS.

>> +/^JSON_CFLAGS *=/s/@JSON_CFLAGS@//
>> +/^JSON_LIBS *=/s/@JSON_LIBS@//
>> +/^JSON_CFLAGS *=/s/@JSON_CFLAGS@//
>> +/^JSON_LIBS *=/s/@JSON_LIBS@//

> These should be redundant once you fix the typos above.

Great catch, thanks.

>> +OMIT_GNULIB_MODULE_crypto\/md5 = true

> Don't we need md5?  Why are you omitting it?

It's only needed for the pdumper build, and that module doesn't build on
MS-DOS.

>> +ifneq ($(MSDOS_OBJ),)
>> +temacs$(EXEEXT): $(LIBXMENU) $(ALLOBJS) $(LIBEGNU_ARCHIVE) $(EMACSRES) \
>> +  $(charsets) $(charscript) ${emoji-zwj} $(MAKE_PDUMPER_FINGERPRINT)
>> +	$(AM_V_CCLD)$(CC) -o $@ \
>> +	  $(ALL_CFLAGS) $(TEMACS_LDFLAGS) $(LDFLAGS) \
>> +	  $(ALLOBJS) $(LIBEGNU_ARCHIVE) $(W32_RES_LINK) $(LIBES)
>> +	$(MKDIR_P) $(etc)
>> +else
>>  ## We have to create $(etc) here because init_cmdargs tests its
>>  ## existence when setting Vinstallation_directory (FIXME?).
>>  ## This goes on to affect various things, and the emacs binary fails

> Couldn't you use the original recipe by a trivial editing (it seems
> all you need is to replace $@.tmp with $@?), instead of adding an
> ifdef?  Come to think of that, why not use the original recipe without
> any changes, as it moves $@.tmp to $@ after the link succeeds?

The linker apparently doesn't output a "stub" if the filename it's
assembling to doesn't end with ".exe", resulting in an invalid binary.

>> +int
>> +fchmodat (int fd, const char *path, mode_t mode, int flags)
>> +{
>> +  if (fd != AT_FDCWD)
>> +    {
>> +      if (strlen (dir_pathname) + strlen (path) + 1 >= MAXPATHLEN)
>> +	{
>> +	  errno = ENAMETOOLONG;
>> +	  return -1;
>> +	}
>> +    }
>> +
>> +  return 0;
>> +}

> This returns zero without doing anything, why?  I think it should call
> chmod when fd == AT_FDCWD.

Thanks.

>> +int
>> +futimens (int fd, const struct timespec times[2])
>> +{
>> +  /* TODO */
>> +  return 0;
>> +}
>> +
>> +int
>> +utimensat (int dirfd, const char *pathname,
>> +	   const struct timespec times[2], int flags)
>> +{
>> +  /* TODO */
>> +  return 0;
>> +}
>
> What about these TODOs?

I forgot about those, good catch.



  reply	other threads:[~2021-12-11  1:06 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02 22:41 Emacs pretest 28.0.90 is out Stefan Kangas
2021-12-05  3:38 ` Po Lu
2021-12-05  8:00   ` Eli Zaretskii
2021-12-05 10:34     ` Po Lu
2021-12-05 10:59       ` Eli Zaretskii
2021-12-05 11:18         ` Po Lu
2021-12-05 11:24           ` Eli Zaretskii
2021-12-05 11:30             ` Po Lu
2021-12-05 13:48               ` Eli Zaretskii
2021-12-06  0:53                 ` Po Lu
2021-12-06 12:49                   ` Eli Zaretskii
2021-12-06 13:26                     ` Po Lu
2021-12-06 13:41                       ` Po Lu
2021-12-06 14:05                         ` Eli Zaretskii
2021-12-07  0:42                           ` Po Lu
2021-12-07  2:16                             ` Po Lu
2021-12-07 13:40                               ` Eli Zaretskii
2021-12-08  1:02                                 ` Po Lu
2021-12-08 12:37                                   ` Eli Zaretskii
2021-12-08 13:26                                     ` Po Lu
2021-12-08 13:36                                       ` Eli Zaretskii
2021-12-09  2:10                                         ` Po Lu
2021-12-09  9:16                                           ` Eli Zaretskii
2021-12-09 10:31                                             ` Po Lu
2021-12-09 10:41                                               ` Eli Zaretskii
2021-12-09 11:00                                                 ` Po Lu
2021-12-09 12:16                                                   ` Eli Zaretskii
2021-12-09 12:42                                                     ` Po Lu
2021-12-09 12:43                                                     ` Eli Zaretskii
2021-12-09 12:49                                                       ` Po Lu
2021-12-09 12:56                                                         ` Po Lu
2021-12-09 13:08                                                           ` Eli Zaretskii
2021-12-09 13:18                                                             ` Po Lu
2021-12-09 13:40                                                               ` Eli Zaretskii
2021-12-09 13:42                                                                 ` Eli Zaretskii
2021-12-09 13:50                                                                   ` Po Lu
2021-12-09 13:47                                                                 ` Po Lu
2021-12-09 14:07                                                                   ` Eli Zaretskii
2021-12-09 14:24                                                                     ` Eli Zaretskii
2021-12-09 14:33                                                                       ` Eli Zaretskii
2021-12-09 14:44                                                                         ` Eli Zaretskii
2021-12-10  0:23                                                                           ` Po Lu
2021-12-10  0:44                                                                             ` Po Lu
2021-12-10  8:36                                                                               ` Eli Zaretskii
2021-12-10  9:35                                                                                 ` Po Lu
2021-12-10 13:44                                                                                   ` Po Lu via Emacs development discussions.
2021-12-10 14:26                                                                                     ` Eli Zaretskii
2021-12-11  1:06                                                                                       ` Po Lu [this message]
2021-12-11  8:08                                                                                         ` Eli Zaretskii
2021-12-11  9:42                                                                                           ` Po Lu via Emacs development discussions.
2021-12-11 11:23                                                                                             ` Eli Zaretskii
2021-12-11 11:51                                                                                               ` Po Lu
2021-12-06 13:55                       ` Eli Zaretskii
2021-12-05  3:42 ` David O'Toole
2021-12-05  9:34   ` H. Dieter Wilhelm
2021-12-09  1:31 ` pretest installed (was: Emacs pretest 28.0.90 is out) andrés ramírez
2021-12-12  9:20 ` MingGW: Bug in TeX input-method?, was: Re: Emacs pretest 28.0.90 is out H. Dieter Wilhelm
2021-12-12  9:32   ` Eli Zaretskii
2021-12-12 15:48     ` H. Dieter Wilhelm
2021-12-12 16:03       ` Eli Zaretskii
2021-12-12 17:25         ` H. Dieter Wilhelm
2021-12-12 18:22           ` Eli Zaretskii
2021-12-12 19:20           ` Stefan Monnier
2021-12-12 21:44             ` TeX input method lacking subscript characters, was: Re: MingGW: Bug in TeX input-method? H. Dieter Wilhelm
2021-12-12 23:00               ` Stephen Berman

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://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o85o3q7h.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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/emacs.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).