bin/182170: strtofflags.c build failures

Garrett Cooper yaneurabeya at gmail.com
Mon Sep 16 21:40:01 UTC 2013


>Number:         182170
>Category:       bin
>Synopsis:       strtofflags.c build failures
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 16 21:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD fuji-current.local 10.0-CURRENT FreeBSD 10.0-CURRENT #13 24029d3: Mon Aug 12 01:28:48 PDT 2013     root at fuji-current.local:/usr/obj/usr/src/sys/FUJI-NOCOMPAT  i386
>Description:
Ran into this build issue when trying to do a source upgrade:

/usr/src.svn/lib/libc/gen/strtofflags.c:65: error: 'UF_ARCHIVE' undeclared here (not in a function)
/usr/src.svn/lib/libc/gen/strtofflags.c:67: error: 'UF_HIDDEN' undeclared here (not in a function)
/usr/src.svn/lib/libc/gen/strtofflags.c:75: error: 'UF_OFFLINE' undeclared here (not in a function)
/usr/src.svn/lib/libc/gen/strtofflags.c:78: error: 'UF_READONLY' undeclared here (not in a function)
/usr/src.svn/lib/libc/gen/strtofflags.c:82: error: 'UF_REPARSE' undeclared here (not in a function)
/usr/src.svn/lib/libc/gen/strtofflags.c:84: error: 'UF_SPARSE' undeclared here (not in a function)
/usr/src.svn/lib/libc/gen/strtofflags.c:86: error: 'UF_SYSTEM' undeclared here (not in a function)
*** [strtofflags.So] Error code 1

bmake[3]: stopped in /usr/src.svn/lib/libc
--- timezone.So ---

Even though sys/stat.h is in the file (but why is it picking up the system header and not the one in the build root???????????). Might be related to bin/182076 :

strtofflags.o strtofflags.po strtofflags.So: /usr/src/lib/libc/gen/strtofflags.c \
  /usr/include/sys/cdefs.h /usr/include/sys/types.h \
  /usr/include/machine/endian.h /usr/include/x86/endian.h \
  /usr/include/sys/_types.h /usr/include/machine/_types.h \
  /usr/include/x86/_types.h /usr/include/sys/_pthreadtypes.h \
  /usr/include/sys/_stdint.h /usr/include/sys/select.h \
  /usr/include/sys/_sigset.h /usr/include/sys/_timeval.h \
  /usr/include/sys/timespec.h /usr/include/sys/_timespec.h \
  /usr/include/sys/stat.h /usr/include/sys/time.h \
  /usr/src/lib/libc/../../include/time.h /usr/include/sys/_null.h \
  /usr/src/lib/libc/../../include/xlocale/_time.h \
  /usr/src/lib/libc/../../include/stddef.h \
  /usr/src/lib/libc/../../include/stdlib.h \
  /usr/src/lib/libc/../../include/string.h \
  /usr/src/lib/libc/../../include/strings.h \
  /usr/src/lib/libc/../../include/xlocale/_string.h \
  /usr/src/lib/libc/../../include/unistd.h /usr/include/sys/unistd.h
>How-To-Repeat:

>Fix:


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


More information about the freebsd-bugs mailing list