ports/73539: Compiler errors during configuration part of port make.

Kevin at es.net Kevin at es.net
Thu Nov 4 17:30:27 UTC 2004


>Number:         73539
>Category:       ports
>Synopsis:       Compiler errors during configuration part of port make.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 04 17:30:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        FreeBSD 5.3-BETA6 i386
>Organization:
ESnet--The Energy Sciences Network
>Environment:
System: FreeBSD pak.es.net 5.3-BETA6 FreeBSD 5.3-BETA6 #32: Mon Sep 27 14:30:10 PDT 2004 oberman at pak.es.net:/usr/obj/usr/src/sys/PAKv5 i386


	
>Description:
When attempting to build openoffice-1.1.3 on a month-old RELENG_5 system I fail
when configure trys testing for /sys/tpyes.h. The error is:configure:3821: checking for sys/types.h
configure:3837: gcc32 -c -g -O2  conftest.c >&5
In file included from conftest.c:45:
/usr/local/lib/gcc-lib/i386-portbld-freebsd5.2/3.2.3/include/sys/types.h:251: syntax error before "udev_t"
configure:3843: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <sys/types.h>
configure:3867: result: no

I have looked at sys/types and I'm baffled as to what the compiler might be
complaining about. My sys/types:251 contains:
typedef __udev_t        udev_t;         /* device number */

I can provies a full log file as well as the output of configure and the
contents of config.h if it would be useful.

>How-To-Repeat:
	
>Fix:
portupgrade openoffice
	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list