unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* 1.8 autobuild fails
@ 2009-05-09 23:15 Greg Troxel
  2009-05-10 18:19 ` Neil Jerram
  2009-05-10 19:47 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Greg Troxel @ 2009-05-09 23:15 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]


This fails in test-round.c.  It's likely like "foo.h needs sys/types.h"
but I haven't looked yet - just wanted to point it out.


gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/pkg/include -I../../test-suite/standalone -I../.. -I../..  -I/usr/pkg/include -pthread -g -O2 -Wall -Wmissing-prototypes -Werror -MT test_round-test-round.o -MD -MP -MF .deps/test_round-test-round.Tpo -c -o test_round-test-round.o `test -f 'test-round.c' || echo './'`test-round.c
In file included from test-round.c:30:
/usr/include/machine/fpu.h:14: error: expected specifier-qualifier-list before 'uint16_t'
/usr/include/machine/fpu.h:30: error: expected specifier-qualifier-list before 'uint16_t'
gmake[4]: *** [test_round-test-round.o] Error 1
gmake[4]: Leaving directory `/home/gdt/BUILD-GUILE-1.8/guile/test-suite/standalone'

[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]

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

* Re: 1.8 autobuild fails
  2009-05-09 23:15 1.8 autobuild fails Greg Troxel
@ 2009-05-10 18:19 ` Neil Jerram
  2009-05-11 12:38   ` Greg Troxel
  2009-05-10 19:47 ` Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Neil Jerram @ 2009-05-10 18:19 UTC (permalink / raw)
  To: Greg Troxel; +Cc: guile-devel

Greg Troxel <gdt@ir.bbn.com> writes:

> This fails in test-round.c.  It's likely like "foo.h needs sys/types.h"
> but I haven't looked yet - just wanted to point it out.
>
>
> gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/pkg/include -I../../test-suite/standalone -I../.. -I../..  -I/usr/pkg/include -pthread -g -O2 -Wall -Wmissing-prototypes -Werror -MT test_round-test-round.o -MD -MP -MF .deps/test_round-test-round.Tpo -c -o test_round-test-round.o `test -f 'test-round.c' || echo './'`test-round.c
> In file included from test-round.c:30:
> /usr/include/machine/fpu.h:14: error: expected specifier-qualifier-list before 'uint16_t'
> /usr/include/machine/fpu.h:30: error: expected specifier-qualifier-list before 'uint16_t'
> gmake[4]: *** [test_round-test-round.o] Error 1
> gmake[4]: Leaving directory `/home/gdt/BUILD-GUILE-1.8/guile/test-suite/standalone'

Is this a new problem?  Also when you say 1.8, do you mean
branch_release-1-8 in Git?

     Neil




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

* Re: 1.8 autobuild fails
  2009-05-09 23:15 1.8 autobuild fails Greg Troxel
  2009-05-10 18:19 ` Neil Jerram
@ 2009-05-10 19:47 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2009-05-10 19:47 UTC (permalink / raw)
  To: guile-devel

Greg Troxel <gdt@ir.bbn.com> writes:

> This fails in test-round.c.  It's likely like "foo.h needs sys/types.h"
> but I haven't looked yet - just wanted to point it out.
>
>
> gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/pkg/include -I../../test-suite/standalone -I../.. -I../..  -I/usr/pkg/include -pthread -g -O2 -Wall -Wmissing-prototypes -Werror -MT test_round-test-round.o -MD -MP -MF .deps/test_round-test-round.Tpo -c -o test_round-test-round.o `test -f 'test-round.c' || echo './'`test-round.c
> In file included from test-round.c:30:
> /usr/include/machine/fpu.h:14: error: expected specifier-qualifier-list before 'uint16_t'
> /usr/include/machine/fpu.h:30: error: expected specifier-qualifier-list before 'uint16_t'

Can you elucidate this?  Does adding <sys/types.h> work?

I introduced the change in c50764e72efd0f8f345cae4ab106d81535b014ca to
make the test compile on Tru64.

Thanks,
Ludo'.





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

* Re: 1.8 autobuild fails
  2009-05-10 18:19 ` Neil Jerram
@ 2009-05-11 12:38   ` Greg Troxel
  2009-05-11 20:15     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Troxel @ 2009-05-11 12:38 UTC (permalink / raw)
  To: Neil Jerram; +Cc: guile-devel

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]


Yes, it's new.

  Git tree... release_1-8-6-44-ge9c9fd3

This is my 1.8 branch autobuild:

  http://autobuild.josefsson.org/guile/log-200905090633244263000.txt

And yes, including sys/types.h fixes this.  At least on BSD, one
generally needs to include sys/types.h before random header files in
machine.

diff --git a/test-suite/standalone/test-round.c b/test-suite/standalone/test-round.c
index f9b4077..1543b7f 100644
--- a/test-suite/standalone/test-round.c
+++ b/test-suite/standalone/test-round.c
@@ -27,6 +27,9 @@
 #include <fenv.h>
 #elif defined HAVE_MACHINE_FPU_H
 /* On Tru64 5.1b, the declaration of fesetround(3) is here.  */
+#if HAVE_SYS_TYPES_H
+#  include <sys/types.h>
+#endif
 # include <machine/fpu.h>
 #endif
 

[-- Attachment #2: Type: application/pgp-signature, Size: 193 bytes --]

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

* Re: 1.8 autobuild fails
  2009-05-11 12:38   ` Greg Troxel
@ 2009-05-11 20:15     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2009-05-11 20:15 UTC (permalink / raw)
  To: guile-devel

Greg Troxel <gdt@ir.bbn.com> writes:

> +#if HAVE_SYS_TYPES_H
> +#  include <sys/types.h>
> +#endif

Thanks, this should be fixed now.

Ludo'.





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

end of thread, other threads:[~2009-05-11 20:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-09 23:15 1.8 autobuild fails Greg Troxel
2009-05-10 18:19 ` Neil Jerram
2009-05-11 12:38   ` Greg Troxel
2009-05-11 20:15     ` Ludovic Courtès
2009-05-10 19:47 ` Ludovic Courtès

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