Failure to build stable/9 (r253683) from head - WCHAR_MIN redefined

David Wolfskill david at catwhisker.org
Sat Aug 10 17:28:35 UTC 2013


On Sat, Aug 10, 2013 at 12:18:11PM -0500, Bryan Drewery wrote:
> Anyone else seeing this?
> 
> > cc  -O2 -pipe  -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/include -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../include -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/amd64 -DNLS  -D__DBINTERFACE_PRIVATE -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../contrib/gdtoa -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/stdtime  -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /zpoudriere/jails/exp-bdrewery/usr
> /src/lib/libc/gen/fnmatch.c -o fnmatch.o
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/gen/fnmatch.c:66:
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale/collate.h:41:
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale/xlocale_private.h:38:
> > /usr/include/stdint.h:75:9: error: 'WCHAR_MIN' macro redefined [-Werror]
> > #define WCHAR_MIN       __WCHAR_MIN
> >         ^
> > /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../include/wchar.h:92:9: note: previous definition is here
> > #define WCHAR_MIN       __INT_MIN
> >         ^
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/gen/fnmatch.c:66:
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale/collate.h:41:
> > In file included from /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/locale/xlocale_private.h:38:
> > /usr/include/stdint.h:76:9: error: 'WCHAR_MAX' macro redefined [-Werror]
> > #define WCHAR_MAX       __WCHAR_MAX
> >         ^
> > /zpoudriere/jails/exp-bdrewery/usr/src/lib/libc/../../include/wchar.h:93:9: note: previous definition is here
> > #define WCHAR_MAX       __INT_MAX
> >         ^
> > 2 errors generated.
> > *** [fnmatch.o] Error code 1
> ...

I am not; my recent stable/9 history may be seen at
<http://www.catwhisker.org/~david/FreeBSD/history/laptop_i386_9.txt> --
but I build using clang (in case that is significant).  Most recent was:

FreeBSD localhost 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #523  r254170M/254177:902501: Sat Aug 10 05:06:34 PDT 2013     root at localhost:/usr/obj/usr/src/sys/CANARY  i386

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130810/ef52d135/attachment.sig>


More information about the freebsd-stable mailing list