buildworld failed on HEAD

2013-07-19 Thread Sam Fourman Jr.
hello all,

I cant seem to figure out what is making build world fail, I could use some
help from someone that knows more


Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #0 r253459: Fri Jul 19 00:47:22 UTC 2013
root@Border:/usr/obj/usr/src/sys/BORDER amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
WARNING: WITNESS option enabled, expect reduced performance.
CPU: Intel(R) Core(TM)2 Quad CPU   @ 2.40GHz (2400.04-MHz K8-class
CPU)
  Origin = GenuineIntel  Id = 0x6f7  Family = 0x6  Model = 0xf  Stepping
= 7

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 7970164736 (7600 MB)



--- var-tracking.o ---
cc   -O2 -pipe  -DGCCVER=\4.2\ -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include
-I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber
-std=gnu89 -Qunused-arguments -fstack-protector  -c
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/var-tracking.c -o
var-tracking.o
--- usr.sbin.all__D ---
--- acpi.o ---
cc  -O2 -pipe  -I/usr/src/usr.sbin/acpi/acpidump/../../../sys -std=gnu99
-Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign
-Wno-empty-body -Wno-string-plus-int -c
/usr/src/usr.sbin/acpi/acpidump/acpi.c
--- lib.all__D ---
--- tty_update.po ---
cc  -pg  -O2 -pipe  -I. -I/usr/obj/usr/src/lib/ncurses/ncurses/../ncurses
-I/usr/src/lib/ncurses/ncurses/../ncurses
-I/usr/src/lib/ncurses/ncurses/../ncurses
-I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include
-I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall
-DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99
-Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign
-Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-conversion -c
/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tty/tty_update.c
-o tty_update.po
--- usr.bin.all__D ---
--- parsedata.o ---
cc  -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign
-Wno-empty-body -Wno-string-plus-int -c
/usr/src/usr.bin/calendar/parsedata.c
--- io.o ---
--- parsedata.o ---
/usr/src/usr.bin/calendar/parsedata.c:989:17: error: null character ignored
[-Werror,-Wnull-character]
i = strtol (s,
  ^
--- io.o ---
cc  -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign
-Wno-empty-body -Wno-string-plus-int -c /usr/src/usr.bin/calendar/io.c
--- parsedata.o ---
1 error generated.
*** [parsedata.o] Error code 1

make: stopped in /usr/src/usr.bin/calendar


-- 

Sam Fourman Jr.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: buildworld failed on HEAD

2013-07-19 Thread Sam Fourman Jr.
On Fri, Jul 19, 2013 at 1:53 PM, Ryan Stone ryst...@gmail.com wrote:

 On Fri, Jul 19, 2013 at 1:35 PM, Sam Fourman Jr. sfour...@gmail.comwrote:

 /usr/src/usr.bin/calendar/parsedata.c:989:17: error: null character
 ignored
 [-Werror,-Wnull-character]
 i = strtol (s,


 Try looking at this file in vi.  It sounds like a '\0' has somehow been
 inserted into this file and corrupted it.  How did you get your source tree?



thats EXACTLY whats happening here...

988 if (s[0] == '+' || s[0] == '-') {
989 i = strtol (s,^@es, 10);
990 if (*es != '\0')  /* trailing
junk */
991 errx (1, Invalid specifier format: %s\n,
s);
992 return (i);
993 }
994

I used the new svnlite tool to get the src... so I did this:

rm /usr/src/usr.bin/calendar/parsedata.c
svnlite up


and it restored the file but it still has the ^@ so im just going to
manually remove it... im not sure whats going on here...

Sam
-- 

Sam Fourman Jr.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: buildworld failed on HEAD

2013-07-19 Thread Ryan Stone
On Fri, Jul 19, 2013 at 1:35 PM, Sam Fourman Jr. sfour...@gmail.com wrote:

 /usr/src/usr.bin/calendar/parsedata.c:989:17: error: null character ignored
 [-Werror,-Wnull-character]
 i = strtol (s,


Try looking at this file in vi.  It sounds like a '\0' has somehow been
inserted into this file and corrupted it.  How did you get your source tree?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org