unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Gregor Zattler" <grfz@gmx.de>,
	"Mattias Engdegård" <mattiase@acm.org>,
	"Paul Eggert" <eggert@cs.ucla.edu>
Cc: 68659@debbugs.gnu.org
Subject: bug#68659: 30.0.50; build fails in dispnew.c because of include lisp.h
Date: Tue, 23 Jan 2024 19:59:08 +0200	[thread overview]
Message-ID: <86ede853tf.fsf@gnu.org> (raw)
In-Reply-To: <877ck14fs6.fsf@no.lan> (bug-gnu-emacs@gnu.org)

> Date: Mon, 22 Jan 2024 15:13:45 +0100
> From:  Gregor Zattler via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 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.

Added the guilty parties to the discussion.





  reply	other threads:[~2024-01-23 17:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=86ede853tf.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=68659@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=grfz@gmx.de \
    --cc=mattiase@acm.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).