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

2013-08-10 Thread Bryan Drewery
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
 1 error
 *** [lib/libc__L] Error code 2
 1 error
 *** [libraries] Error code 2
 1 error
 *** [_libraries] Error code 2
 1 error
 *** [buildworld] Error code 2
 1 error

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


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

2013-08-10 Thread David Wolfskill
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@localhost:/usr/obj/usr/src/sys/CANARY  i386

Peace,
david
-- 
David H. Wolfskill  da...@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.


pgpKnoH09GUq7.pgp
Description: PGP signature