all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Emacs development discussions <emacs-devel@gnu.org>
Subject: Build failure on WSL
Date: Wed, 25 Sep 2024 11:58:04 +0200	[thread overview]
Message-ID: <CAH8Pv0iaPYLDby-=F7LZO4JFNiK00ySUNNFN0D49RDfGSr-2Dg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

Hi there.

I usually build Emacs from/for my WSL environment, this way:
$ cd ~/src/emacs/repo && git pull
$ cd ../build1 && make -j4

The last few days I've been getting build errors (see attached log).

I've tried several things, without success.
* Re-run ./autogen.sh && configure && make
* Run make bootstrap
* ...

Any advice?

TIA

-- 
Dani Moncayo

[-- Attachment #2: make_error.log --]
[-- Type: application/octet-stream, Size: 3174 bytes --]

make actual-all || make advice-on-failure make-target=all exit-status=$?
make[1]: Entering directory '/home/dani/src/emacs/build1'
make -C lib all
make[2]: Entering directory '/home/dani/src/emacs/build1/lib'
  CC       acl-errno-valid.o
In file included from ./sys/stat.h:51,
                 from ../../repo/lib/acl.h:29,
                 from ../../repo/lib/acl-errno-valid.c:22:
../../repo/lib/time.h:767:40: error: macro "_GL_FUNCDECL_RPL" passed 4 arguments, but takes just 3
  767 |                   _GL_ARG_NONNULL ((1)));
      |                                        ^
In file included from ./sys/select.h:114,
                 from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                 from ../../repo/lib/sys/types.h:46,
                 from ./sys/types.h:46,
                 from ../../repo/lib/acl.h:28:
../../repo/lib/sys/select.h:269: note: macro "_GL_FUNCDECL_RPL" defined here
  269 | #define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \
      | 
../../repo/lib/time.h:1056:62: error: macro "_GL_FUNCDECL_SYS" passed 4 arguments, but takes just 3
 1056 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name), );
      |                                                              ^
../../repo/lib/sys/select.h:281: note: macro "_GL_FUNCDECL_SYS" defined here
  281 | #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \
      | 
../../repo/lib/time.h:1064:52: error: macro "_GL_FUNCDECL_SYS" passed 4 arguments, but takes just 3
 1064 | _GL_FUNCDECL_SYS (tzfree, void, (timezone_t __tz), );
      |                                                    ^
../../repo/lib/sys/select.h:281: note: macro "_GL_FUNCDECL_SYS" defined here
  281 | #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \
      | 
../../repo/lib/time.h:1090:43: error: macro "_GL_FUNCDECL_SYS" passed 4 arguments, but takes just 3
 1090 |                   _GL_ARG_NONNULL ((2, 3)));
      |                                           ^
../../repo/lib/sys/select.h:281: note: macro "_GL_FUNCDECL_SYS" defined here
  281 | #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \
      | 
../../repo/lib/time.h:1116:40: error: macro "_GL_FUNCDECL_SYS" passed 4 arguments, but takes just 3
 1116 |                   _GL_ARG_NONNULL ((2)));
      |                                        ^
../../repo/lib/sys/select.h:281: note: macro "_GL_FUNCDECL_SYS" defined here
  281 | #define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \
      | 
make[2]: *** [Makefile:103: acl-errno-valid.o] Error 1
make[2]: Leaving directory '/home/dani/src/emacs/build1/lib'
make[1]: *** [Makefile:537: lib] Error 2
make[1]: Leaving directory '/home/dani/src/emacs/build1'
make[1]: Entering directory '/home/dani/src/emacs/build1'
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
***   to further investigate the problem
***
make[1]: *** [Makefile:418: advice-on-failure] Error 2
make[1]: Leaving directory '/home/dani/src/emacs/build1'
make: *** [Makefile:374: all] Error 2

             reply	other threads:[~2024-09-25  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-25  9:58 Dani Moncayo [this message]
2024-09-25 12:30 ` Build failure on WSL Eli Zaretskii
2024-09-25 13:16   ` Dani Moncayo

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

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

  git send-email \
    --in-reply-to='CAH8Pv0iaPYLDby-=F7LZO4JFNiK00ySUNNFN0D49RDfGSr-2Dg@mail.gmail.com' \
    --to=dmoncayo@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.