all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7909: 24.0.50; Cannot build latest version
@ 2011-01-24 14:09 John ff
  2011-01-27  8:07 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: John ff @ 2011-01-24 14:09 UTC (permalink / raw)
  To: 7909

Since last Friday  and today

gcc   -Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-after-statement -Wno-pointer-sign  -DHAVE_CONFIG_H -I. -I../src -I../lib -I/jpff/GNU_21/emacs/trunk/lib-src -I/jpff/GNU_21/emacs/trunk/lib-src/../src -I/jpff/GNU_21/emacs/trunk/lib-src/../lib  -Wl,-znocombreloc   -g -O2 -fno-optimize-sibling-calls -o test-distrib /jpff/GNU_21/emacs/trunk/lib-src/test-distrib.c
In file included from /usr/include/sys/stat.h:107:0,
                 from /usr/include/fcntl.h:38,
                 from /jpff/GNU_21/emacs/trunk/lib-src/test-distrib.c:24:
/usr/include/bits/stat.h:88:21: error: field =2018st_atim=2019 has incomplete type
/usr/include/bits/stat.h:89:21: error: field =2018st_mtim=2019 has incomplete type
/usr/include/bits/stat.h:90:21: error: field =2018st_ctim=2019 has incomplete type
/usr/include/bits/stat.h:149:21: error: field =2018st_atim=2019 has incomplete type
/usr/include/bits/stat.h:150:21: error: field =2018st_mtim=2019 has incomplete type
/usr/include/bits/stat.h:151:21: error: field =2018st_ctim=2019 has incomplete type
In file included from /usr/include/fcntl.h:38:0,
                 from /jpff/GNU_21/emacs/trunk/lib-src/test-distrib.c:24:
/usr/include/sys/stat.h:365:33: error: array type has incomplete element type
/usr/include/sys/stat.h:372:56: error: array type has incomplete element type
In file included from /jpff/GNU_21/emacs/trunk/lib-src/test-distrib.c:25:0:
../lib/unistd.h:28:6: error: operator '&&' has no left operand
../lib/unistd.h:43:5: error: #if with no expression
../lib/unistd.h:48:6: error: operator '&&' has no left operand
In file included from /jpff/GNU_21/emacs/trunk/lib-src/test-distrib.c:25:0:
../lib/unistd.h:65:12: error: operator '||' has no left operand
../lib/unistd.h:73:7: error: operator '||' has no left operand
../lib/unistd.h:87:8: error: operator '||' has no left operand
../lib/unistd.h:95:8: error: operator '&&' has no left operand
../lib/unistd.h:101:7: error: operator '||' has no left operand
../lib/unistd.h:109:6: error: operator '&&' has no left operand
../lib/unistd.h:431:5: error: #if with no expression
../lib/unistd.h:538:5: error: #if with no expression
../lib/unistd.h:570:5: error: #if with no expression
../lib/unistd.h:583:7: error: #elif with no expression
../lib/unistd.h:594:5: error: #if with no expression
../lib/unistd.h:606:5: error: #if with no expression
../lib/unistd.h:634:5: error: #if with no expression
../lib/unistd.h:663:5: error: #if with no expression
etc etc

I tried make bootstrap and that failed the same.
Recovered from another machine, and may have to do that again
At least one of the prioblems ih shown in lib/unistd.h
....
/* Special invocation convention:
   - On mingw, several headers, including <winsock2.h>, include <unistd.h>,
     but we need to ensure that both the system <unistd.h> and <winsock2.h>
     are completely included before we replace gethostname.  */
#if  &&  \
  && !defined _GL_WINSOCK2_H_WITNESS && defined _WINSOCK2_H
/* <unistd.h> is being indirectly included for the first time from
   <winsock2.h>; avoid declaring any overrides.  */
# if 
#   
# else
#  error unexpected; report this to bug-gnulib@gnu.org
# endif
# define _GL_WINSOCK2_H_WITNESS





In GNU Emacs 24.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2011-01-18 on harvey
Windowing system distributor `The X.Org Foundation', version 11.0.10800000
configured using `configure  'CFLAGS=-g -O2 -fno-optimize-sibling-calls''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: GNUmakefile

Minor modes in effect:
  shell-dirtrack-mode: t
  auto-image-file-mode: t
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  overwrite-mode: overwrite-mode-textual

Recent input:
C-k C-k C-k C-k C-k C-k <down-mouse-4> <mouse-4> <double-down-mouse-4> 
<double-mouse-4> <down-mouse-2> <mouse-2> <return> 
<return> C-_ C-_ C-_ C-_ <prior> <prior> <home> <prior> 
<next> <next> <next> <next> C-_ C-_ C-_ C-_ C-_ C-_ 
C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ C-_ 
C-_ C-_ C-_ C-_ C-k C-k C-k C-k C-k C-k C-k C-k C-k 
C-k C-k C-k C-k C-k <prior> <prior> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <up> <up> 
<up> <up> C-y <return> <left> C-x C-s M-r <help-echo> 
<help-echo> <help-echo> <down-mouse-1> <mouse-1> q 
C-x C-r / h o m e / j p f f / R M A <tab> <return> 
q C-x C-b <down> <down> <down> <down> <down> <down> 
<down> <down> SPC C-x k <return> <help-echo> C-x C-f 
~ / . <backspace> . m y e <tab> # <return> C-x C-v 
C-e <backspace> <return> C-s r m a i l C-s C-s C-s 
C-s C-s C-a C-s p o C-x C-f G N <tab> 2 <tab> e m <tab> 
<tab> / t <tab> M <tab> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
l i b . / M <tab> <backspace> <backspace> <backspace> 
/ M a <tab> <return> C-v C-v <right> <right> <kp-insert> 
<right> <right> <down> <down> <down> <down> <down> 
C-a C-l C-k C-k C-k C-k C-k C-k <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <up> 
C-k C-k C-v C-v C-v C-v C-v C-x C-s <help-echo> <help-echo> 
M-x e m a <tab> b <tab> <tab> <tab> <tab> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> r e 
<tab> p <tab> o <tab> r t <tab> <return>

Recent messages:
<<< Press Return to bury the buffer list >>>
(New file)
Mark saved where search started [2 times]
Making completion list...
Loading vc-bzr...done
Saving file /jpff/GNU_21/emacs/trunk/lib/Makefile...
Wrote /jpff/GNU_21/emacs/trunk/lib/Makefile
Making completion list...
delete-backward-char: Text is read-only [2 times]
Making completion list... [3 times]

Load-path shadows:
/bigdisk/jpff/GNU_21/local-lisp/autotest-mode hides /usr/local/share/emacs/site-lisp/autotest-mode
/bigdisk/jpff/GNU_21/local-lisp/autoconf-mode hides /usr/local/share/emacs/site-lisp/autoconf-mode
/bigdisk/jpff/GNU_21/local-lisp/ruler-mode hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/ruler-mode
/bigdisk/jpff/GNU_21/local-lisp/t-mouse hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/t-mouse
/bigdisk/jpff/GNU_21/local-lisp/ses hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/ses
/bigdisk/jpff/GNU_21/local-lisp/scroll-lock hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/scroll-lock
/bigdisk/jpff/GNU_21/local-lisp/emerge hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/vc/emerge
/bigdisk/jpff/GNU_21/local-lisp/url hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url
/bigdisk/jpff/GNU_21/local-lisp/url-file hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-file
/bigdisk/jpff/GNU_21/local-lisp/url-news hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-news
/bigdisk/jpff/GNU_21/local-lisp/url-cookie hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-cookie
/bigdisk/jpff/GNU_21/local-lisp/url-gw hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-gw
/bigdisk/jpff/GNU_21/local-lisp/url-http hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-http
/bigdisk/jpff/GNU_21/local-lisp/url-nfs hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-nfs
/bigdisk/jpff/GNU_21/local-lisp/url-cid hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-cid
/bigdisk/jpff/GNU_21/local-lisp/url-auth hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-auth
/bigdisk/jpff/GNU_21/local-lisp/url-parse hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-parse
/bigdisk/jpff/GNU_21/local-lisp/url-vars hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-vars
/bigdisk/jpff/GNU_21/local-lisp/url-ns hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-ns
/bigdisk/jpff/GNU_21/local-lisp/url-irc hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-irc
/bigdisk/jpff/GNU_21/local-lisp/url-cache hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-cache
/bigdisk/jpff/GNU_21/local-lisp/url-ldap hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-ldap
/bigdisk/jpff/GNU_21/local-lisp/url-misc hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/url/url-misc
/bigdisk/jpff/GNU_21/local-lisp/socks hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/net/socks
/bigdisk/jpff/GNU_21/local-lisp/feedmail hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/mail/feedmail
/bigdisk/jpff/GNU_21/local-lisp/spam-stat hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/gnus/spam-stat
/bigdisk/jpff/GNU_21/local-lisp/icalendar hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/calendar/icalendar
/bigdisk/jpff/GNU_21/emacs/trunk/lisp/textmodes/spell hides /bigdisk/jpff/GNU_21/emacs/trunk/lisp/obsolete/spell

Features:
(shadow mailabbrev mailalias mailcrypt mail-extr sendmail emacsbug
vc-bzr sha1 hex-util make-mode ebuff-menu electric mail-prsvr
mail-utils newcomment skeleton tex-mode compile shell comint ring
latexenc multi-isearch vc-dispatcher vc-svn bibtex dired-add dired
help-mode view debug eldoc delsel image-file cus-start cus-load logger
crypt crypt++ crypt+pgp-pub paren uniquify advice help-fns
advice-preload holidays hol-loaddefs regexp-opt cal-menu easymenu
calendar cal-loaddefs time warnings tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process
dynamic-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)

==John ffitch





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

* bug#7909: 24.0.50; Cannot build latest version
  2011-01-24 14:09 bug#7909: 24.0.50; Cannot build latest version John ff
@ 2011-01-27  8:07 ` Glenn Morris
  2011-01-27  8:50   ` Paul Eggert
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2011-01-27  8:07 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 7909


Hi, is this issue gnulib-related?

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7909

Thanks.





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

* bug#7909: 24.0.50; Cannot build latest version
  2011-01-27  8:07 ` Glenn Morris
@ 2011-01-27  8:50   ` Paul Eggert
  2011-01-27  9:32     ` Paul Eggert
  2011-01-28 19:35     ` John ff
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Eggert @ 2011-01-27  8:50 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7909

On 01/27/2011 12:07 AM, Glenn Morris wrote:

> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7909

Yes, that appears gnulib related.

What's in lib/Makefile?  For example, what value
does it give to GNULIB_GETHOSTNAME?

What is the output of this command?

  cd lib
  rm unistd.h
  make unistd.h
  diff -u unistd.in.h unistd.h

What is the output of this command?

  cd lib-src
  gcc -E -Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-after-statement -Wno-pointer-sign  -DHAVE_CONFIG_H -I. -I../src -I../lib -I/jpff/GNU_21/emacs/trunk/lib-src -I/jpff/GNU_21/emacs/trunk/lib-src/../src -I/jpff/GNU_21/emacs/trunk/lib-src/../lib /jpff/GNU_21/emacs/trunk/lib-src/test-distrib.c





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

* bug#7909: 24.0.50; Cannot build latest version
  2011-01-27  8:50   ` Paul Eggert
@ 2011-01-27  9:32     ` Paul Eggert
  2011-01-28 19:35     ` John ff
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2011-01-27  9:32 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7909

On 01/27/2011 12:50 AM, Paul Eggert wrote:
> On 01/27/2011 12:07 AM, Glenn Morris wrote:
> 
>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7909
> 
> Yes, that appears gnulib related.

Actually, come to think of it, the first diagnostic (quoted below) does
not appear to be gnulib-related, as it comes from an #include that precedes any
#include of gnulib-related headers or code.  So I suspect there's
some other mixup with the build environment.  I suggest fixing that
mixup and building from a fresh copy of the tarball before we worry
too much about gnulib.

Here's the first diagnostic:

In file included from /usr/include/sys/stat.h:107:0,
                 from /usr/include/fcntl.h:38,
                 from /jpff/GNU_21/emacs/trunk/lib-src/test-distrib.c:24:
/usr/include/bits/stat.h:88:21: error: field `st_atim' has incomplete type


One thought.  Does the problem go away if you set LC_ALL="C" in the
environment before building from a fresh tarball?  If so, that might give
a hint as to what the problem is.





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

* bug#7909: 24.0.50; Cannot build latest version
  2011-01-27  8:50   ` Paul Eggert
  2011-01-27  9:32     ` Paul Eggert
@ 2011-01-28 19:35     ` John ff
  1 sibling, 0 replies; 5+ messages in thread
From: John ff @ 2011-01-28 19:35 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 7909

I did a clean download and that built OK.  I have no idea what
happened, but it seems slightly related to aclocal/m4
==John ffitch





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

end of thread, other threads:[~2011-01-28 19:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-24 14:09 bug#7909: 24.0.50; Cannot build latest version John ff
2011-01-27  8:07 ` Glenn Morris
2011-01-27  8:50   ` Paul Eggert
2011-01-27  9:32     ` Paul Eggert
2011-01-28 19:35     ` John ff

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.