all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36225: 26.2.90; Can't build master
@ 2019-06-15 15:39 Philipp
  2019-06-15 16:03 ` Lars Ingebrigtsen
  2019-06-15 16:22 ` Eli Zaretskii
  0 siblings, 2 replies; 8+ messages in thread
From: Philipp @ 2019-06-15 15:39 UTC (permalink / raw)
  To: 36225


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





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

* bug#36225: 26.2.90; Can't build master
  2019-06-15 15:39 bug#36225: 26.2.90; Can't build master Philipp
@ 2019-06-15 16:03 ` Lars Ingebrigtsen
  2019-06-15 16:31   ` Philipp Stephani
  2019-06-15 16:22 ` Eli Zaretskii
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2019-06-15 16:03 UTC (permalink / raw)
  To: Philipp; +Cc: 36225

Philipp <p.stephani2@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





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

* bug#36225: 26.2.90; Can't build master
  2019-06-15 15:39 bug#36225: 26.2.90; Can't build master Philipp
  2019-06-15 16:03 ` Lars Ingebrigtsen
@ 2019-06-15 16:22 ` Eli Zaretskii
  2019-06-15 16:34   ` Philipp Stephani
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2019-06-15 16:22 UTC (permalink / raw)
  To: Philipp; +Cc: 36225

> From: Philipp <p.stephani2@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.





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

* bug#36225: 26.2.90; Can't build master
  2019-06-15 16:03 ` Lars Ingebrigtsen
@ 2019-06-15 16:31   ` Philipp Stephani
  0 siblings, 0 replies; 8+ messages in thread
From: Philipp Stephani @ 2019-06-15 16:31 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 36225

Am Sa., 15. Juni 2019 um 18:03 Uhr schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> Philipp <p.stephani2@gmail.com> writes:
>
> > My repository is at commit 4058102c7cf3b96bb125473e407877c6dd7dfd61, but
> > I can't build:
> >
> > $ make
>
> Does "make bootstrap" help?

Unfortunately not.





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

* bug#36225: 26.2.90; Can't build master
  2019-06-15 16:22 ` Eli Zaretskii
@ 2019-06-15 16:34   ` Philipp Stephani
  2019-06-15 16:51     ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Philipp Stephani @ 2019-06-15 16:34 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 36225

Am Sa., 15. Juni 2019 um 18:22 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
>
> > From: Philipp <p.stephani2@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.





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

* bug#36225: 26.2.90; Can't build master
  2019-06-15 16:34   ` Philipp Stephani
@ 2019-06-15 16:51     ` Eli Zaretskii
  2019-06-15 16:57       ` Philipp Stephani
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2019-06-15 16:51 UTC (permalink / raw)
  To: Philipp Stephani; +Cc: 36225

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 15 Jun 2019 18:34:32 +0200
> Cc: 36225@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.





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

* bug#36225: 26.2.90; Can't build master
  2019-06-15 16:51     ` Eli Zaretskii
@ 2019-06-15 16:57       ` Philipp Stephani
  2019-06-15 17:20         ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Philipp Stephani @ 2019-06-15 16:57 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 36225

Am Sa., 15. Juni 2019 um 18:51 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
>
> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Sat, 15 Jun 2019 18:34:32 +0200
> > Cc: 36225@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.





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

* bug#36225: 26.2.90; Can't build master
  2019-06-15 16:57       ` Philipp Stephani
@ 2019-06-15 17:20         ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2019-06-15 17:20 UTC (permalink / raw)
  To: Philipp Stephani; +Cc: 36225

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 15 Jun 2019 18:57:34 +0200
> Cc: 36225@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.





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

end of thread, other threads:[~2019-06-15 17:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-15 15:39 bug#36225: 26.2.90; Can't build master Philipp
2019-06-15 16:03 ` Lars Ingebrigtsen
2019-06-15 16:31   ` Philipp Stephani
2019-06-15 16:22 ` Eli Zaretskii
2019-06-15 16:34   ` Philipp Stephani
2019-06-15 16:51     ` Eli Zaretskii
2019-06-15 16:57       ` Philipp Stephani
2019-06-15 17:20         ` Eli Zaretskii

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.