NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/52287: tools/dtc build failure



>Number:         52287
>Category:       toolchain
>Synopsis:       tools/dtc build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 09 17:55:00 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.1
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.1 NetBSD 8.99.1 (NIGHT-OWL) #512: Fri Jun 9 14:42:34 CEST 2017 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

For some reasons (that I do not understanc) I can not build any arch that
enables dtc on this machine any more. It works on another amd64 -current
build host for me, so I am quite confused.

I double checked my source tree is clean and up to date.

Any hints appreciated.

#   compile  dtc/treesource.lo
cc -O -I/usr/src/tools/dtc/../../sys/external/bsd/libfdt/dist -I/usr/tools/include -I/usr/tools/include/nbinclude -I/usr/tools/include/compat -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/dtc/../../external/gpl2/dtc/usr.bin/dtc -I/usr/src/external/gpl2/dtc/dist -I/usr/src/sys/external/bsd/libfdt/dist -c -o treesource.lo.o    /usr/src/external/gpl2/dtc/dist/treesource.c
In file included from /usr/include/ctype.h:97:0,
                 from /usr/src/external/gpl2/dtc/dist/dtc.h:33,
                 from /usr/src/external/gpl2/dtc/dist/treesource.c:23:
/usr/src/external/gpl2/dtc/dist/treesource.c: In function 'isstring':
/usr/src/external/gpl2/dtc/dist/treesource.c:61:10: error: '_ctype_tab_' undeclared (first use in this function)
  return (isprint((unsigned char)c)
          ^
/usr/src/external/gpl2/dtc/dist/treesource.c:61:10: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/external/gpl2/dtc/dist/treesource.c:61:10: error: '_CTYPE_R' undeclared (first use in this function)
  return (isprint((unsigned char)c)
          ^
/usr/src/external/gpl2/dtc/dist/treesource.c: In function 'write_propval_string':
/usr/src/external/gpl2/dtc/dist/treesource.c:124:8: error: '_ctype_tab_' undeclared (first use in this function)
    if (isprint((unsigned char)c))
        ^
/usr/src/external/gpl2/dtc/dist/treesource.c:124:8: error: '_CTYPE_R' undeclared (first use in this function)
    if (isprint((unsigned char)c))
        ^

*** Failed target:  treesource.lo
*** Failed command: cc -O -I/usr/src/tools/dtc/../../sys/external/bsd/libfdt/dist -I/usr/tools/include -I/usr/tools/include/nbinclude -I/usr/tools/include/compat -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/dtc/../../external/gpl2/dtc/usr.bin/dtc -I/usr/src/external/gpl2/dtc/dist -I/usr/src/sys/external/bsd/libfdt/dist -c -o treesource.lo.o /usr/src/external/gpl2/dtc/dist/treesource.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/dtc


>How-To-Repeat:
Try to build evbmips64-eb on amd64 current.

>Fix:
n/a



Home | Main Index | Thread Index | Old Index