unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68659: 30.0.50; build fails in dispnew.c because of include lisp.h
@ 2024-01-22 14:13 Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-01-23 17:59 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-01-22 14:13 UTC (permalink / raw)
  To: 68659

Dear Emacs developers, building the Emacs master branch
as of commit 269d3515608e4e91cdd03f90bac9c2a9d5e3d094
on an up-to-date debian bookworm system fails:

echo timestamp > gl-stamp                                                                                  
gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -Demacs  -I. -I. -I../lib -I../lib      -isystem /usr/include/librsvg-2.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libpng16 -isystem /usr/include/x86_64-linux-gnu -pthread -isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem /usr/include/freetype2   -isystem /usr/include/libpng16  -isystem /usr/include/libxml2   -isystem /usr/include/dbus-1.0 -isystem /usr/lib/x86_64-linux-gnu/dbus-1.0/include           -isystem /usr/include/freetype2 -isystem /usr/include/libpng16  -isystem /usr/include/freetype2 -isystem /usr/include/libpng16  -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include  -isystem /usr/include/freetype2 -isystem /usr/include/libpng16   -MMD -MF deps/dispnew.d -MP     -isystem /usr/include/p11-kit-1   -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16             -Wall -Warith-conversion -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-cond -Wextra -Wformat-signedness -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wstrict-prototypes -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-final-methods -Wsuggest-final-types -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wvla-larger-than=4031 -Wredundant-decls -Wno-missing-field-initializers -Wno-override-init -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-format-nonliteral -Wno-bidi-chars -g3 -Og -ffile-prefix-map=/home/grfz/src/emacs-master--269d3515608e4e91cdd03f90bac9c2a9d5e3d094--2024-01-22T14-56+01-00=. -fstack-protector-strong -Wformat -Werror=format-security -Wall  dispnew.c
In file included from dispnew.c:27:
lisp.h: In function ?builtin_lisp_symbol?:
lisp.h:620:28: error: expected expression before ?{? token
  620 | # define LISP_INITIALLY(w) {w}
      |                            ^
lisp.h:941:3: note: in expansion of macro ?LISP_INITIALLY?
  941 |   LISP_INITIALLY ((Lisp_Word) ((uintptr_t) (ptr) + LISP_WORD_TAG (tag)))
      |   ^~~~~~~~~~~~~~
lisp.h:415:3: note: in expansion of macro ?TAG_PTR?
  415 |   TAG_PTR (Lisp_Symbol, (index) * sizeof *lispsym)
      |   ^~~~~~~
lisp.h:1186:10: note: in expansion of macro ?lisp_h_builtin_lisp_symbol?
 1186 |   return lisp_h_builtin_lisp_symbol (index);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
lisp.h:1187:1: warning: control reaches end of non-void function [-Wreturn-type]
 1187 | }
      | ^
make[2]: *** [Makefile:455: dispnew.o] Error 1
make[2]: Leaving directory '/home/grfz/src/emacs-master--269d3515608e4e91cdd03f90bac9c2a9d5e3d094--2024-01-22T14-56+01-00/src'
make[1]: *** [Makefile:554: src] Error 2
make[1]: Leaving directory '/home/grfz/src/emacs-master--269d3515608e4e91cdd03f90bac9c2a9d5e3d094--2024-01-22T14-56+01-00'
make[1]: Entering directory '/home/grfz/src/emacs-master--269d3515608e4e91cdd03f90bac9c2a9d5e3d094--2024-01-22T14-56+01-00'
***
*** "make all" failed with exit status 2.


File lisp.h was last modified by Paul Eggert and before
by Mattias Engdegård.

I'm happy to answer questions, but as I do not know
much about building in general, they should be specific
and detailed.

HTH, Gregor





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

end of thread, other threads:[~2024-01-25 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 14:13 bug#68659: 30.0.50; build fails in dispnew.c because of include lisp.h Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-23 17:59 ` Eli Zaretskii
2024-01-25 10:19   ` Gregor Zattler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-25 10:40     ` Eli Zaretskii

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).