GNU bug report logs - #6570
Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Tue, 6 Jul 2010 10:22:03 UTC

Severity: normal

Done: Andreas Schwab <schwab <at> linux-m68k.org>

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 6570 in the body.
You can then email your comments to 6570 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6570; Package emacs. (Tue, 06 Jul 2010 10:22:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 06 Jul 2010 10:22:04 GMT) Full text and rfc822 format available.

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

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: emacs-pretest-bug <at> gnu.org
Subject: Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c
Date: Tue, 6 Jul 2010 12:20:49 +0200
Hello!

I configure GNU Emacs --without-pop. Trying to compile it in the  
background leads to a fatal error:

	gcc-4.2 -I/opt/local/include -L/opt/local/lib -c   -DHAVE_CONFIG_H - 
I. -I../src -I..../emacs/lib-src -I..../emacs/lib-src/../src  -g -H - 
Wno-pointer-sign -pipe -fPIC -fno-common -mcpu=7450 -mtune=G4 - 
faltivec -fast  ..../emacs/lib-src/movemail.c
	. ../src/config.h
	.. ../src/s/darwin.h
	.. ../src/m/macppc.h
	.. /usr/include/string.h
	... /usr/include/_types.h
	.... /usr/include/sys/_types.h
	..... /usr/include/sys/cdefs.h
	..... /usr/include/machine/_types.h
	...... /usr/include/ppc/_types.h
	.. /usr/include/strings.h
	.. /usr/include/stdlib.h
	... /usr/include/available.h
	... /usr/include/sys/wait.h
	.... /usr/include/sys/signal.h
	..... /usr/include/sys/appleapiopts.h
	..... /usr/include/machine/signal.h
	...... /usr/include/ppc/signal.h
	....... /usr/include/ppc/_structs.h
	..... /usr/include/sys/_structs.h
	...... /usr/include/machine/_structs.h
	....... /usr/include/ppc/_structs.h
	........ /usr/include/mach/ppc/_structs.h
	.... /usr/include/sys/resource.h
	..... /usr/include/sys/_structs.h
	.... /usr/include/machine/endian.h
	..... /usr/include/ppc/endian.h
	...... /usr/include/sys/_endian.h
	... /usr/include/alloca.h
	... /usr/include/machine/types.h
	.... /usr/include/ppc/types.h
	..... /usr/include/ppc/_types.h
	. /usr/include/sys/types.h
	.. /usr/include/sys/_structs.h
	. /usr/include/sys/stat.h
	.. /usr/include/sys/_structs.h
	. /usr/include/sys/file.h
	.. /usr/include/sys/fcntl.h
	.. /usr/include/sys/unistd.h
	.. /usr/include/sys/queue.h
	. /usr/include/stdio.h
	. /usr/include/errno.h
	.. /usr/include/sys/errno.h
	. /usr/include/time.h
	.. /usr/include/_structs.h
	... /usr/include/sys/_structs.h
	. ./getopt.h
	.. /usr/include/unistd.h
	... /usr/include/sys/select.h
	.... /usr/include/sys/_structs.h
	.... /usr/include/sys/_select.h
	.. /usr/include/ctype.h
	... /usr/include/runetype.h
	. /usr/include/fcntl.h
	. ../src/syswait.h
	..../emacs/lib-src/movemail.c:158: error: expected ‘)’ before ‘server’
	Multiple include guards may be useful for:
	../src/s/darwin.h
	make[1]: *** [movemail.o] Error 1

Obviously the type popserver is not known:

	int pop_retr (popserver server, int msgno, FILE *arg);

Mac OS X 10.5.8, PPC

--
Greetings

  Pete

Perl—the only language that looks the same before and after RSA  
encryption.
				- Keith Bostic





Reply sent to Andreas Schwab <schwab <at> linux-m68k.org>:
You have taken responsibility. (Tue, 06 Jul 2010 12:02:02 GMT) Full text and rfc822 format available.

Notification sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
bug acknowledged by developer. (Tue, 06 Jul 2010 12:02:02 GMT) Full text and rfc822 format available.

Message #10 received at 6570-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 6570-done <at> debbugs.gnu.org
Subject: Re: bug#6570: Sources pulled at 9 o'clock UTC don't compile in
	lib-src/movemail.c
Date: Tue, 06 Jul 2010 14:00:54 +0200
Should be fixed now.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6570; Package emacs. (Tue, 06 Jul 2010 12:04:01 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Peter Dyballa <Peter_Dyballa <at> freenet.de>
Cc: 6570 <at> debbugs.gnu.org
Subject: Re: bug#6570: Sources pulled at 9 o'clock UTC don't compile in 
	lib-src/movemail.c
Date: Tue, 6 Jul 2010 14:03:11 +0200
On Tue, Jul 6, 2010 at 12:20, Peter Dyballa <Peter_Dyballa <at> freenet.de> wrote:

> Obviously the type popserver is not known:
>
>        int pop_retr (popserver server, int msgno, FILE *arg);

Does it work with this change?

    Juanma



=== modified file 'lib-src/movemail.c'
--- lib-src/movemail.c	2010-07-03 00:50:23 +0000
+++ lib-src/movemail.c	2010-07-06 12:01:56 +0000
@@ -155,6 +155,8 @@
 char *concat (char *s1, char *s2, char *s3);
 long *xmalloc (unsigned int size);
+#ifdef MAIL_USE_POP
 int popmail (char *mailbox, char *outfile, int preserve, char
*password, int reverse_order);
 int pop_retr (popserver server, int msgno, FILE *arg);
+#endif /* MAIL_USE_POP */
 int mbx_write (char *line, int len, FILE *mbf);
 int mbx_delimit_begin (FILE *mbf);




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Aug 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 328 days ago.

Previous Next


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