all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Build failure on WSL
@ 2024-09-25  9:58 Dani Moncayo
  2024-09-25 12:30 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Dani Moncayo @ 2024-09-25  9:58 UTC (permalink / raw)
  To: Emacs development discussions

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-25 13:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-25  9:58 Build failure on WSL Dani Moncayo
2024-09-25 12:30 ` Eli Zaretskii
2024-09-25 13:16   ` Dani Moncayo

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.