unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Failure to compile this morning
@ 2012-07-11 11:33 Susan Cragin
  2012-07-11 22:51 ` Paul Eggert
  0 siblings, 1 reply; 5+ messages in thread
From: Susan Cragin @ 2012-07-11 11:33 UTC (permalink / raw)
  To: EMACS development team

Hmmm... 
After I was unable to compile this morning I deleted my git repository and downloaded a new one, and got this error. 
Any ideas?

/home/susan/emacs/lib-src/movemail.c:296:7: warning: implicit declaration of function ‘concat’ [-Wimplicit-function-declaration]
/home/susan/emacs/lib-src/movemail.c:296:16: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/ccBpLmch.o: In function `main':
/home/susan/emacs/lib-src/movemail.c:296: undefined reference to `concat'
collect2: ld returned 1 exit status
make[1]: *** [movemail] Error 1
make[1]: Leaving directory `/home/susan/emacs/lib-src'
make: *** [lib-src] Error 2






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

* Re: Failure to compile this morning
  2012-07-11 11:33 Failure to compile this morning Susan Cragin
@ 2012-07-11 22:51 ` Paul Eggert
  2012-07-12  0:13   ` Glenn Morris
  2012-07-12  7:27   ` Sven Joachim
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Eggert @ 2012-07-11 22:51 UTC (permalink / raw)
  To: Susan Cragin; +Cc: EMACS development team

Sorry about that -- I introduced some code that didn't
port to Solaris and similar hosts.  Should be fixed in
trunk bzr 109035.

The problem that you had after git update looks like
a parallel-make dependency that's missing, i.e., it looks
like you executed config.status while it was being updated.
That shouldn't happen, but to fix this we'd need to know
more about the situation that made it happen.



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

* Re: Failure to compile this morning
  2012-07-11 22:51 ` Paul Eggert
@ 2012-07-12  0:13   ` Glenn Morris
  2012-07-12  7:27   ` Sven Joachim
  1 sibling, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2012-07-12  0:13 UTC (permalink / raw)
  To: Paul Eggert; +Cc: Susan Cragin, EMACS development team


By the way, in case people don't know about this resource, this issue
was flagged by the automated builds

http://lists.gnu.org/archive/html/emacs-buildstatus/2012-07/msg00026.html
http://hydra.nixos.org/jobset/gnu/emacs-trunk

(So as INSTALL.BZR says, it's not generally necessary to report such
things. Shame there are so many spurious "dependency failed"s though...)



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

* Re: Failure to compile this morning
  2012-07-11 22:51 ` Paul Eggert
  2012-07-12  0:13   ` Glenn Morris
@ 2012-07-12  7:27   ` Sven Joachim
  2012-07-12 15:22     ` Paul Eggert
  1 sibling, 1 reply; 5+ messages in thread
From: Sven Joachim @ 2012-07-12  7:27 UTC (permalink / raw)
  To: Paul Eggert; +Cc: Susan Cragin, EMACS development team

On 2012-07-12 00:51 +0200, Paul Eggert wrote:

> Sorry about that -- I introduced some code that didn't
> port to Solaris and similar hosts.  Should be fixed in
> trunk bzr 109035.

It isn't:

.../lib-src/movemail.c:149:6: error: operator '||' has no left operand

Suggested fix:

--8<---------------cut here---------------start------------->8---
=== modified file 'lib-src/movemail.c'
--- lib-src/movemail.c	2012-07-11 22:44:07 +0000
+++ lib-src/movemail.c	2012-07-12 06:51:17 +0000
@@ -145,7 +145,7 @@ static int mbx_delimit_begin (FILE *mbf)
 static int mbx_delimit_end (FILE *mbf);
 #endif
 
-#if (MAIL_USE_MAILLOCK							\
+#if (defined MAIL_USE_MAILLOCK						\
      || (!defined DISABLE_DIRECT_ACCESS && !defined MAIL_USE_MMDF	\
 	 && !defined MAIL_USE_SYSTEM_LOCK))
 /* Like malloc but get fatal error if memory is exhausted.  */

--8<---------------cut here---------------end--------------->8---

Cheers,
       Sven



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

* Re: Failure to compile this morning
  2012-07-12  7:27   ` Sven Joachim
@ 2012-07-12 15:22     ` Paul Eggert
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2012-07-12 15:22 UTC (permalink / raw)
  To: Sven Joachim; +Cc: Susan Cragin, EMACS development team

On 07/12/2012 12:27 AM, Sven Joachim wrote:
> -#if (MAIL_USE_MAILLOCK							\
> +#if (defined MAIL_USE_MAILLOCK						\

Thanks, I pushed that as trunk bzr 109052.
(I had tested on GNU/Linux with
gcc -DMAIL_USE_MAILLOCK, but -Dfoo defines
foo to 1, not to the empty string....)



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

end of thread, other threads:[~2012-07-12 15:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-11 11:33 Failure to compile this morning Susan Cragin
2012-07-11 22:51 ` Paul Eggert
2012-07-12  0:13   ` Glenn Morris
2012-07-12  7:27   ` Sven Joachim
2012-07-12 15:22     ` Paul Eggert

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