GNU bug report logs - #36225
26.2.90; Can't build master

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Sat, 15 Jun 2019 15:40:02 UTC

Severity: normal

Tags: fixed

Found in version 26.2.90

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36225 in the body.
You can then email your comments to 36225 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#36225; Package emacs. (Sat, 15 Jun 2019 15:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philipp <p.stephani2 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 15 Jun 2019 15:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philipp <p.stephani2 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.2.90; Can't build master
Date: Sat, 15 Jun 2019 17:39:10 +0200
My repository is at commit 4058102c7cf3b96bb125473e407877c6dd7dfd61, but
I can't build:

$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib-src all
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
  CC       pdumper.o
pdumper.c:2309:3: error: "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
# error "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
  ^
1 error generated.
make[1]: *** [pdumper.o] Error 1
make: *** [src] Error 2

$ ./config.status --config
'--with-modules' '--without-xml2' '--without-pop' '--with-mailutils' '--enable-gcc-warnings=warn-only' '--enable-checking=all' '--enable-check-lisp-object-type' 'CFLAGS=-g3 -O1 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer'


In GNU Emacs 26.2.90 (build 1, x86_64-apple-darwin18.6.0, NS appkit-1671.50 Version 10.14.5 (Build 18F132))
 of 2019-06-15
Repository revision: 200f63cfa5904462cdcb440d4da63dfa92c666a6
Windowing system distributor 'Apple', version 10.3.1671
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Eager macro-expansion failure: (error "Unknown seq pattern: (seq 3 (pred (lambda (c) (and (characterp c) (= (aref (symbol-name (category c)) 0) 76)))))")

Configured using:
 'configure --with-modules --without-xml2 --without-pop --with-mailutils
 --enable-gcc-warnings=warn-only
 MAKEINFO=/usr/local/opt/texinfo/bin/makeinfo CFLAGS=-O3'

Configured features:
JPEG NOTIFY ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq dired
dired-loaddefs format-spec rfc822 mml easymenu mml-sec epa epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils phst skeleton derived
edmacro kmacro pcase ffap thingatpt url-parse auth-source cl-seq eieio
byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv
eieio-loaddefs password-cache url-vars subr-x rx gnutls dbus xml
cl-loaddefs cl-lib elec-pair time-date tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process
emacs)

Memory information:
((conses 16 217790 8144)
 (symbols 48 21883 1)
 (miscs 40 49 173)
 (strings 32 33452 1237)
 (string-bytes 1 913190)
 (vectors 16 37190)
 (vector-slots 8 751578 19304)
 (floats 8 53 63)
 (intervals 56 202 0)
 (buffers 992 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36225; Package emacs. (Sat, 15 Jun 2019 16:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 36225 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 36225 <at> debbugs.gnu.org
Subject: Re: bug#36225: 26.2.90; Can't build master
Date: Sat, 15 Jun 2019 18:03:14 +0200
Philipp <p.stephani2 <at> gmail.com> writes:

> My repository is at commit 4058102c7cf3b96bb125473e407877c6dd7dfd61, but
> I can't build:
>
> $ make

Does "make bootstrap" help?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36225; Package emacs. (Sat, 15 Jun 2019 16:23:01 GMT) Full text and rfc822 format available.

Message #11 received at 36225 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 36225 <at> debbugs.gnu.org
Subject: Re: bug#36225: 26.2.90; Can't build master
Date: Sat, 15 Jun 2019 19:22:48 +0300
> From: Philipp <p.stephani2 <at> gmail.com>
> Date: Sat, 15 Jun 2019 17:39:10 +0200
> 
> 
> My repository is at commit 4058102c7cf3b96bb125473e407877c6dd7dfd61, but
> I can't build:
> 
> $ make
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all
> make[1]: Nothing to be done for `all'.
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib-src all
> make[1]: Nothing to be done for `all'.
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
>   CC       pdumper.o
> pdumper.c:2309:3: error: "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
> # error "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
>   ^

The comment to CHECK_STRUCTS in src/config.h tells you what to do in
this case.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36225; Package emacs. (Sat, 15 Jun 2019 16:33:01 GMT) Full text and rfc822 format available.

Message #14 received at 36225 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 36225 <at> debbugs.gnu.org
Subject: Re: bug#36225: 26.2.90; Can't build master
Date: Sat, 15 Jun 2019 18:31:57 +0200
Am Sa., 15. Juni 2019 um 18:03 Uhr schrieb Lars Ingebrigtsen <larsi <at> gnus.org>:
>
> Philipp <p.stephani2 <at> gmail.com> writes:
>
> > My repository is at commit 4058102c7cf3b96bb125473e407877c6dd7dfd61, but
> > I can't build:
> >
> > $ make
>
> Does "make bootstrap" help?

Unfortunately not.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36225; Package emacs. (Sat, 15 Jun 2019 16:35:02 GMT) Full text and rfc822 format available.

Message #17 received at 36225 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 36225 <at> debbugs.gnu.org
Subject: Re: bug#36225: 26.2.90; Can't build master
Date: Sat, 15 Jun 2019 18:34:32 +0200
Am Sa., 15. Juni 2019 um 18:22 Uhr schrieb Eli Zaretskii <eliz <at> gnu.org>:
>
> > From: Philipp <p.stephani2 <at> gmail.com>
> > Date: Sat, 15 Jun 2019 17:39:10 +0200
> >
> >
> > My repository is at commit 4058102c7cf3b96bb125473e407877c6dd7dfd61, but
> > I can't build:
> >
> > $ make
> > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all
> > make[1]: Nothing to be done for `all'.
> > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib-src all
> > make[1]: Nothing to be done for `all'.
> > /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
> >   CC       pdumper.o
> > pdumper.c:2309:3: error: "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
> > # error "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
> >   ^
>
> The comment to CHECK_STRUCTS in src/config.h tells you what to do in
> this case.

Yes, it says "If you change one of these structures, check that the
pdumper.c code is still valid", but since I didn't change the
structure, I can't decide whether the pdumper code is still valid.
Whoever changed the definition of Lisp_Buffer_Objfwd should make that
call.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36225; Package emacs. (Sat, 15 Jun 2019 16:52:01 GMT) Full text and rfc822 format available.

Message #20 received at 36225 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 36225 <at> debbugs.gnu.org
Subject: Re: bug#36225: 26.2.90; Can't build master
Date: Sat, 15 Jun 2019 19:51:05 +0300
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> Date: Sat, 15 Jun 2019 18:34:32 +0200
> Cc: 36225 <at> debbugs.gnu.org
> 
> > The comment to CHECK_STRUCTS in src/config.h tells you what to do in
> > this case.
> 
> Yes, it says "If you change one of these structures, check that the
> pdumper.c code is still valid", but since I didn't change the
> structure, I can't decide whether the pdumper code is still valid.
> Whoever changed the definition of Lisp_Buffer_Objfwd should make that
> call.

It says to update the pertinent hash in pdumper.c by manually copying
the hash from dmpstruct.h.  The hash to be updated is called out by
the error message.  So I think the information you need is there to
fix your build.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36225; Package emacs. (Sat, 15 Jun 2019 16:58:02 GMT) Full text and rfc822 format available.

Message #23 received at 36225 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 36225 <at> debbugs.gnu.org
Subject: Re: bug#36225: 26.2.90; Can't build master
Date: Sat, 15 Jun 2019 18:57:34 +0200
Am Sa., 15. Juni 2019 um 18:51 Uhr schrieb Eli Zaretskii <eliz <at> gnu.org>:
>
> > From: Philipp Stephani <p.stephani2 <at> gmail.com>
> > Date: Sat, 15 Jun 2019 18:34:32 +0200
> > Cc: 36225 <at> debbugs.gnu.org
> >
> > > The comment to CHECK_STRUCTS in src/config.h tells you what to do in
> > > this case.
> >
> > Yes, it says "If you change one of these structures, check that the
> > pdumper.c code is still valid", but since I didn't change the
> > structure, I can't decide whether the pdumper code is still valid.
> > Whoever changed the definition of Lisp_Buffer_Objfwd should make that
> > call.
>
> It says to update the pertinent hash in pdumper.c by manually copying
> the hash from dmpstruct.h.  The hash to be updated is called out by
> the error message.  So I think the information you need is there to
> fix your build.

That is not what I mean. Of course that fixes the build, that's not
the problem. But it would be incorrect and unsafe to blindly copy the
hash without investigating whether there were any changes to
Lisp_Buffer_Objfwd that would need to be reflected in pdumper.c.
That's the whole point of the hash check: force people to adapt
pdumper.c upon any struct change. That is what "If you change one of
these structures, check that the pdumper.c code is still valid" means:
whoever changed Lisp_Buffer_Objfwd (i.e., *not* me) needs to update
pdumper.c.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#36225; Package emacs. (Sat, 15 Jun 2019 17:21:02 GMT) Full text and rfc822 format available.

Message #26 received at 36225 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 36225 <at> debbugs.gnu.org
Subject: Re: bug#36225: 26.2.90; Can't build master
Date: Sat, 15 Jun 2019 20:20:49 +0300
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> Date: Sat, 15 Jun 2019 18:57:34 +0200
> Cc: 36225 <at> debbugs.gnu.org
> 
> > It says to update the pertinent hash in pdumper.c by manually copying
> > the hash from dmpstruct.h.  The hash to be updated is called out by
> > the error message.  So I think the information you need is there to
> > fix your build.
> 
> That is not what I mean. Of course that fixes the build, that's not
> the problem. But it would be incorrect and unsafe to blindly copy the
> hash without investigating whether there were any changes to
> Lisp_Buffer_Objfwd that would need to be reflected in pdumper.c.
> That's the whole point of the hash check: force people to adapt
> pdumper.c upon any struct change. That is what "If you change one of
> these structures, check that the pdumper.c code is still valid" means:
> whoever changed Lisp_Buffer_Objfwd (i.e., *not* me) needs to update
> pdumper.c.

If real changes were needed in pdumper.c which were omitted, it is
unlikely that the problem persisted for more than a few hours.




Added tag(s) fixed. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 17 Jun 2019 12:56:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 36225 <at> debbugs.gnu.org and Philipp <p.stephani2 <at> gmail.com> Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 17 Jun 2019 12:56:04 GMT) Full text and rfc822 format available.

Message #31 received at 36225-quiet <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: 36225-quiet <at> debbugs.gnu.org
Subject: Re: bug#36225: 26.2.90; Can't build master
Date: Mon, 17 Jun 2019 08:54:54 -0400
tags 36225 fixed
close 36225 
quit

>   CC       pdumper.o
> pdumper.c:2309:3: error: "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."
> # error "Lisp_Buffer_Objfwd changed. See CHECK_STRUCTS comment."

ca0b4edf13 2019-06-15T19:46:45+03:00 "Update hash value in pdumper.c"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ca0b4edf1364fd8d894f91c6032634e49b797c26





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Jul 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.