Subject: pkg/24667: converters/rss2html: doesn't build on FreeBSD; missing sys/types.h include
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 03/04/2004 11:47:52
>Number:         24667
>Category:       pkg
>Synopsis:       converters/rss2html: doesn't build on FreeBSD; missing sys/types.h include
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 04 11:48:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        N/A
>Organization:
N/A
>Environment:
N/A
>Description:
===> Checking for vulnerabilities in rss2html-0.6
===> Building for rss2html-0.6
(cd src/ ; /usr/pkg/bin/gmake all )
gmake[1]: Entering directory `/build/builds/converters/rss2html/work.jail-2/rss2html-0.6/src'
gcc -O2 -DVERSION=\"0.6\" -g    -c -o download.o download.c
In file included from download.c:2:
/usr/include/netinet/in.h:235: syntax error before `in_addr_t'
/usr/include/netinet/in.h:287: syntax error before `u_char'
In file included from /usr/include/netinet/in.h:487,
                 from download.c:2:
/usr/include/netinet6/in6.h:122: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:144: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:149: syntax error before `u_int32_t'
/usr/include/netinet6/in6.h:612: syntax error before `*'
/usr/include/netinet6/in6.h:614: syntax error before `*'
/usr/include/netinet6/in6.h:614: warning: data definition has no type or storage class
/usr/include/netinet6/in6.h:615: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:631: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:636: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:638: syntax error before `u_int8_t'
In file included from download.c:3:
/usr/include/sys/socket.h:52: syntax error before `sa_family_t'

[...]
>How-To-Repeat:

>Fix:
Diff:
  http://pkgsrc.w.lub.pl/rss2html.diff

I belive author is informed... chances are he's on gnats-bugs@ :)
(pancake)
>Release-Note:
>Audit-Trail:
>Unformatted: