daily CVS update output

2018-06-04 Thread NetBSD source update


Updating src tree:
P src/doc/3RDPARTY
P src/doc/CHANGES
P src/external/bsd/dhcpcd/dist/Makefile
P src/external/bsd/dhcpcd/dist/src/dhcp.c
P src/external/bsd/dhcpcd/dist/src/dhcp.h
P src/external/bsd/dhcpcd/dist/src/dhcp6.h
P src/external/bsd/dhcpcd/dist/src/dhcpcd.c
P src/external/bsd/dhcpcd/dist/src/ipv4ll.h
P src/external/bsd/dhcpcd/dist/src/ipv6.c
P src/external/bsd/dhcpcd/dist/src/ipv6.h
P src/external/bsd/dhcpcd/dist/src/ipv6nd.h
P src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c
P src/external/cddl/osnet/dist/uts/common/sys/dtrace.h
P src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc
P src/share/mk/bsd.lib.mk
P src/sys/arch/i386/conf/Makefile.i386
P src/sys/arch/usermode/dev/ld_thunkbus.c
P src/sys/arch/usermode/include/thunk.h
P src/sys/arch/usermode/usermode/thunk.c
P src/sys/compat/common/Makefile
P src/sys/lib/libkern/Makefile
P src/sys/lib/libsa/Makefile
P src/sys/lib/libz/Makefile
P src/sys/net/if_llatbl.c
P src/tests/lib/libm/Makefile

Updating xsrc tree:


Killing core files:




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  57248004 Jun  5 03:03 ls-lRA.gz


Re: build.sh tools fails in external/cddl/osnet

2018-06-04 Thread Chuck Zmudzinski
Yea, I see this one is fixed now, but the bug on Debian flavors of Linux 
is not.
I just tested the current stable version of Debian, aka stretch, version 
9.4. It
also fails to build tools in the same place it was reported that it 
fails using

Ubuntu 16.04 LTS as the build host. Debian 8.10, aka Jessie, also does
not work as a build host. But the same source tree snapshot from about
6 hours ago or so can be used to build tools on a NetBSD 7.1 host.

Thanks,

Chuck

On 6/3/2018 7:09 PM, Chuck Silvers wrote:

hi,

that should be fixed now, sorry for the lossage.

-Chuck


On Sat, Jun 02, 2018 at 04:15:51AM -0400, Chuck Zmudzinski wrote:

Hello,

I think maybe some recent commits in external/cddl/osnet is breaking the
build of tools. After a recent checkout of current source, I get this while
building tools for m=amd64 and a=x86_64 starting with a clean object tree:

create  libctf/ctf_create.d

...

In file included from 
/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/sys/sys/param.h:32:0,
 
from /home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/sys/sys/sysmacros.h:35,

  from /usr/include/x86_64-linux-gnu/sys/types.h:222,
 
from /home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/sys/sys/types.h:79,
 
from

/home/chuckz/netbsd-current/src/tools/libctf/../compat/compat_defs.h:35,
 
from /home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include/compat/nbtool_config.h:882,
 
from /home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/common/ctf/ctf_create.c:23:

/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/sys/sys/proc.h:64:27:
fatal error: sys/proc.h: No such file or directory
  #include_next 
    ^
compilation terminated.





Re: More build.sh ctf fallout on a linux host

2018-06-04 Thread Chuck Zmudzinski

On 06/04/2018 05:52 PM, Chuck Zmudzinski wrote:

Hello,

I am also seeing this same error when cross-compiling the tools on a 
Linux Debian Jessie amd64 (oldstable) build host for a netbsd-current 
amd64/x86_64 target. I started with a completely empty object tree and 
a cvs checkout of current as of Mon Jun  4 18:00:00 UTC 2018. The last 
commit that was included in my source is this one on Mon Jun  4 
16:46:46 UTC 2018: 
http://mail-index.netbsd.org/source-changes/2018/06/04/msg095742.html. 
That was the commit that noted the import of a new version of dhcpcd 
in src/doc. I will test the same source tree on a NetBSD-7.1 amd64 
build host and see if it can build the tools on that host.


This snapshot from earlier today does build tools successfully for 
netbsd-current/amd64 on a NetBSD-7.1 amd64 build host. It looks like at 
least older Debian-derived amd64 linux is not able to build tools for 
netbsd-current/amd64 using build.sh right now. The Debian I used with 
the failed build is an up-to-date Jessie, which is currently Debian 
8.10. Debian Jessie 8.0 was released April 26, 2015, and is considered 
obsolete now by Debian. Ubuntu 16.04 LTS is a about a year newer, it was 
initially released April 21, 2016 and is supported until April 2021. I 
do have a newer Debian stretch which is the current up-to-date Debian 
stable release, version 9.4, and I could try the build on that.


Chuck



Here is a snippet form my log of the build failure:

#   compile  libctf/ctf_create.lo
...
In file included from 
/home/chuckz/netbsd-current/src/tools/libctf/../compat/compat_defs.h:75:0,
 from 
/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include/compat/nbtool_config.h:882,
 from 
/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/common/ctf/ctf_create.c:23:
/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/uts/common/rpc/types.h:57:9: 
error: unknown type name 'u_longlong_t'

 typedef u_longlong_t ulonglong_t;
 ^

*** Failed target:  ctf_create.lo
*** Failed command: cc -O -DCTF_OLD_VERSIONS 
-I/home/chuckz/netbsd-current/src/tools/libctf/../compat 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/sys 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/include 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/head 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/common/ctf 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/lib/libctf/common 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/uts/common 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/bsd/elftoolchain/dist/libelf 
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 
-I/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include/compat 
-I/home/chuckz/netbsd-current/src/tools/compat 
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 
-I/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include 
-I/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include/nbinclude 
-c -o ctf_create.lo.o 
/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/common/ctf/ctf_create.c

*** Error code 1

Stop.
nbmake[3]: stopped in /home/chuckz/netbsd-current/src/tools/libctf

*** Failed target:  dependall
*** Failed command: cd "/home/chuckz/netbsd-current/src/tools/libctf"; 
/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/bin/nbmake 
realall

*** Error code 1

Stop.
nbmake[2]: stopped in /home/chuckz/netbsd-current/src/tools/libctf

*** Failed target:  dependall-libctf
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
this=""; real="/home/chuckz/netbsd-current/src/tools" ;; *) 
this="${dir}/"; real="/home/chuckz/netbsd-current/src/tools/${dir}" ;; 
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: 
$@)}"; cd "${real}" && 
/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libctf dependall

*** Error code 1

Stop.
nbmake[1]: stopped in /home/chuckz/netbsd-current/src/tools

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
this=""; real="/home/chuckz/netbsd-current/src/tools" ;; *) 
this="${dir}/"; real="/home/chuckz/netbsd-current/src/tools/${dir}" ;; 
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: 
$@)}"; cd "${real}" && 

Automated report: NetBSD-current/i386 build success

2018-06-04 Thread NetBSD Test Fixture
The NetBSD-current/i386 build is working again.

The following commits were made between the last failed build and the
successful build:

2018.06.04.19.53.01 reinoud src/sys/arch/usermode/include/thunk.h,v 1.65
2018.06.04.19.53.01 reinoud src/sys/arch/usermode/usermode/thunk.c,v 1.90
2018.06.04.20.06.52 reinoud src/sys/arch/usermode/dev/ld_thunkbus.c,v 1.33
2018.06.04.20.12.45 kre 
src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c,v 1.10
2018.06.04.20.28.44 christos src/sys/arch/i386/conf/Makefile.i386,v 1.192

Log files can be found at:


http://releng.NetBSD.org/b5reports/i386/commits-2018.06.html#2018.06.04.20.28.44


Re: More build.sh ctf fallout on a linux host

2018-06-04 Thread Chuck Zmudzinski

Hello,

I am also seeing this same error when cross-compiling the tools on a 
Linux Debian Jessie amd64 (oldstable) build host for a netbsd-current 
amd64/x86_64 target. I started with a completely empty object tree and a 
cvs checkout of current as of Mon Jun  4 18:00:00 UTC 2018. The last 
commit that was included in my source is this one on Mon Jun  4 16:46:46 
UTC 2018: 
http://mail-index.netbsd.org/source-changes/2018/06/04/msg095742.html. 
That was the commit that noted the import of a new version of dhcpcd in 
src/doc. I will test the same source tree on a NetBSD-7.1 amd64 build 
host and see if it can build the tools on that host.


Here is a snippet form my log of the build failure:

#   compile  libctf/ctf_create.lo
...
In file included from 
/home/chuckz/netbsd-current/src/tools/libctf/../compat/compat_defs.h:75:0,
 from 
/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include/compat/nbtool_config.h:882,
 from 
/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/common/ctf/ctf_create.c:23:
/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/uts/common/rpc/types.h:57:9: 
error: unknown type name 'u_longlong_t'

 typedef u_longlong_t ulonglong_t;
 ^

*** Failed target:  ctf_create.lo
*** Failed command: cc -O -DCTF_OLD_VERSIONS 
-I/home/chuckz/netbsd-current/src/tools/libctf/../compat 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/sys 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/include 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/head 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/common/ctf 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/lib/libctf/common 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/uts/common 
-I/home/chuckz/netbsd-current/src/tools/libctf/../../external/bsd/elftoolchain/dist/libelf 
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 
-I/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include/compat 
-I/home/chuckz/netbsd-current/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 
-I/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include 
-I/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/include/nbinclude 
-c -o ctf_create.lo.o 
/home/chuckz/netbsd-current/src/tools/libctf/../../external/cddl/osnet/dist/common/ctf/ctf_create.c

*** Error code 1

Stop.
nbmake[3]: stopped in /home/chuckz/netbsd-current/src/tools/libctf

*** Failed target:  dependall
*** Failed command: cd "/home/chuckz/netbsd-current/src/tools/libctf"; 
/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/bin/nbmake 
realall

*** Error code 1

Stop.
nbmake[2]: stopped in /home/chuckz/netbsd-current/src/tools/libctf

*** Failed target:  dependall-libctf
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/home/chuckz/netbsd-current/src/tools" ;; *) this="${dir}/"; 
real="/home/chuckz/netbsd-current/src/tools/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
"${real}" && 
/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libctf dependall

*** Error code 1

Stop.
nbmake[1]: stopped in /home/chuckz/netbsd-current/src/tools

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/home/chuckz/netbsd-current/src/tools" ;; *) this="${dir}/"; 
real="/home/chuckz/netbsd-current/src/tools/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
"${real}" && 
/home/chuckz/netbsd-current/obj.amd64/home/chuckz/netbsd-current/src/tooldir.Linux-3.16.0-6-amd64-x86_64/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-libctf

*** Error code 1

Stop.
nbmake: stopped in /home/chuckz/netbsd-current/src/tools

ERROR: Failed to make build_install in "tools"
*** BUILD ABORTED ***

Chuck
On 06/04/2018 03:52 AM, Valery Ushakov wrote:

On Sun, Jun 03, 2018 at 18:16:47 -0700, Chuck Silvers wrote:


/home/uwe/work/netbsd/ro/src/tools/libctf/../../external/cddl/osnet/dist/uts/common/rpc/types.h:57:9:
 error: unknown type name 'u_longlong_t'
  typedef u_longlong_t ulonglong_t;
  ^

I was afraid that might happen...
which distribution and version of linux was that on?
the one I did my fix for linux on was fedora 26.

Sorry, I should have been 

Re: Cross-building release on MacOSX for amd64 fails...

2018-06-04 Thread K. Schreiner
On Mon, Jun 04, 2018 at 05:48:11PM +0100, Roy Marples wrote:
> On 04/06/2018 17:11, K. Schreiner wrote:
> >
> >...like so:
> >
> >`progress.ro' is up to date.
> > compile  dhcpcd/dhcp.o
> >/u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c: In function 
> >'dhcp_arp_probed':
> >/u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c:2105:2: error: implicit 
> >declaration of function 'ipv4ll_drop' [-Werror=implicit-function-declaration]
> >   ipv4ll_drop(ifp);
> >   ^~~
> >cc1: all warnings being treated as errors
> >
> >*** Failed target:  dhcp.o
> >*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -Os 
> >-fno-asynchronous-unwind-tables -pipe -fstack-protector -Wstack-protector 
> >--param ssp-buffer-size=1 -std=gnu99 -Wall -Wstrict-prototypes 
> >-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers 
> >-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow 
> >-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare 
> >-Wold-style-definition -Wconversion -Wsign-compare -Wformat=2 
> >-Wno-format-zero-length -Werror --sysroot=/u/NetBSD/arch/amd64/dest 
> >-DHAVE_CONFIG_H -D_OPENBSD_SOURCE -DSMALL -DARP -DINET -DINET6 -DDHCP6 
> >-I/u/NetBSD/src/external/bsd/dhcpcd/include 
> >-I/u/NetBSD/src/external/bsd/dhcpcd/dist/src 
> >-I/u/NetBSD/arch/amd64/obj/distrib/amd64/ramdisks/ramdisk/dhcpcd 
> >-D_FORTIFY_SOURCE=2 -c /u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c
> >*** Error code 1
> >
> >Stop.
> 
> My bad!
> 
> Should be fixed now.
fixed for both cross-building and native:


===> build.sh command:./build.sh -u -N 1 -j 12 -U -m amd64 -O 
/u/NetBSD/arch/amd64/obj -D /u/NetBSD/arch/amd64/dest -R 
/u/NetBSD/arch/amd64/release -T /u/NetBSD/arch/amd64/TOOLS release
===> build.sh started:Mon Jun  4 19:03:18 CEST 2018
===> NetBSD version:  8.99.19
===> MACHINE: amd64
===> MACHINE_ARCH:x86_64
===> Build platform:  Darwin 17.7.0 x86_64
===> HOST_SH: /bin/sh
[...]
 Successful make release
 build.sh ended:  Mon Jun  4 19:15:19 CEST 2018

and

===> build.sh command:./build.sh -u -N 1 -j 8 -U -m amd64 -O 
/u/NetBSD/arch/amd64/obj -D /u/NetBSD/arch/amd64/dest -R 
/u/NetBSD/arch/amd64/release -T /u/NetBSD/arch/amd64/TOOLS release
===> build.sh started:Mon Jun  4 18:55:20 MEST 2018
===> NetBSD version:  8.99.19
===> MACHINE: amd64
===> MACHINE_ARCH:x86_64
===> Build platform:  NetBSD 8.99.19 amd64
===> HOST_SH: /bin/sh
[...]
 Successful make release
 build.sh ended:  Mon Jun  4 19:00:44 MEST 2018


Thank you very much!

Kurt



Re: Cross-building release on MacOSX for amd64 fails...

2018-06-04 Thread Roy Marples

On 04/06/2018 17:11, K. Schreiner wrote:


...like so:

`progress.ro' is up to date.
 compile  dhcpcd/dhcp.o
/u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c: In function 
'dhcp_arp_probed':
/u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c:2105:2: error: implicit 
declaration of function 'ipv4ll_drop' [-Werror=implicit-function-declaration]
   ipv4ll_drop(ifp);
   ^~~
cc1: all warnings being treated as errors

*** Failed target:  dhcp.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -Os 
-fno-asynchronous-unwind-tables -pipe -fstack-protector -Wstack-protector 
--param ssp-buffer-size=1 -std=gnu99 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers 
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare 
-Wold-style-definition -Wconversion -Wsign-compare -Wformat=2 
-Wno-format-zero-length -Werror --sysroot=/u/NetBSD/arch/amd64/dest 
-DHAVE_CONFIG_H -D_OPENBSD_SOURCE -DSMALL -DARP -DINET -DINET6 -DDHCP6 
-I/u/NetBSD/src/external/bsd/dhcpcd/include 
-I/u/NetBSD/src/external/bsd/dhcpcd/dist/src 
-I/u/NetBSD/arch/amd64/obj/distrib/amd64/ramdisks/ramdisk/dhcpcd 
-D_FORTIFY_SOURCE=2 -c /u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c
*** Error code 1

Stop.


My bad!

Should be fixed now.

Roy


Cross-building release on MacOSX for amd64 fails...

2018-06-04 Thread K. Schreiner


...like so:

`progress.ro' is up to date.
compile  dhcpcd/dhcp.o
/u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c: In function 
'dhcp_arp_probed':
/u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c:2105:2: error: implicit 
declaration of function 'ipv4ll_drop' [-Werror=implicit-function-declaration]
  ipv4ll_drop(ifp);
  ^~~
cc1: all warnings being treated as errors

*** Failed target:  dhcp.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -Os 
-fno-asynchronous-unwind-tables -pipe -fstack-protector -Wstack-protector 
--param ssp-buffer-size=1 -std=gnu99 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers 
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare 
-Wold-style-definition -Wconversion -Wsign-compare -Wformat=2 
-Wno-format-zero-length -Werror --sysroot=/u/NetBSD/arch/amd64/dest 
-DHAVE_CONFIG_H -D_OPENBSD_SOURCE -DSMALL -DARP -DINET -DINET6 -DDHCP6 
-I/u/NetBSD/src/external/bsd/dhcpcd/include 
-I/u/NetBSD/src/external/bsd/dhcpcd/dist/src 
-I/u/NetBSD/arch/amd64/obj/distrib/amd64/ramdisks/ramdisk/dhcpcd 
-D_FORTIFY_SOURCE=2 -c /u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c
*** Error code 1

Stop.

MacOSX is:

>-158: uname -a
Darwin hmp00.keks-at-home.de 17.7.0 Darwin Kernel Version 17.7.0: Wed May 23 
19:14:43 PDT 2018; root:xnu-4570.70.14~20/RELEASE_X86_64 x86_64


Same building native:

compile  dhcpcd/dhcp.o
/u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c: In function 
'dhcp_arp_probed':
/u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c:2105:2: error: implicit 
declaration of function 'ipv4ll_drop' [-Werror=implicit-function-declaration]
  ipv4ll_drop(ifp);
  ^~~
cc1: all warnings being treated as errors

*** Failed target:  dhcp.o
*** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -Os 
-fno-asynchronous-unwind-tables -pipe -fstack-protector -Wstack-protector 
--param ssp-buffer-size=1 -std=gnu99 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers 
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare 
-Wold-style-definition -Wconversion -Wsign-compare -Wformat=2 
-Wno-format-zero-length -Werror --sysroot=/u/NetBSD/arch/amd64/dest 
-DHAVE_CONFIG_H -D_OPENBSD_SOURCE -DSMALL -DARP -DINET -DINET6 -DDHCP6 
-I/u/NetBSD/src/external/bsd/dhcpcd/include 
-I/u/NetBSD/src/external/bsd/dhcpcd/dist/src 
-I/u/NetBSD/arch/amd64/obj/distrib/amd64/ramdisks/ramdisk/dhcpcd 
-D_FORTIFY_SOURCE=2 -c /u/NetBSD/src/external/bsd/dhcpcd/dist/src/dhcp.c
*** Error code 1


NetBSD is: 

>-1012: uname -a
NetBSD vbnbx64-0.keks-at-home.de 8.99.19 NetBSD 8.99.19 (vNBx64) #12: Mon Jun  
4 17:24:15 MEST 2018  
k...@vbnbx64-0.keks-at-home.de:/u/NetBSD/arch/amd64/obj/sys/arch/amd64/compile/vNBx64
 amd64


Kurt


Re: More build.sh ctf fallout on a linux host

2018-06-04 Thread Valery Ushakov
On Sun, Jun 03, 2018 at 18:16:47 -0700, Chuck Silvers wrote:

> > /home/uwe/work/netbsd/ro/src/tools/libctf/../../external/cddl/osnet/dist/uts/common/rpc/types.h:57:9:
> >  error: unknown type name 'u_longlong_t'
> >  typedef u_longlong_t ulonglong_t;
> >  ^
> 
> I was afraid that might happen...
> which distribution and version of linux was that on?
> the one I did my fix for linux on was fedora 26.

Sorry, I should have been specific.  It's on Ubuntu 16.04 LTS.

-uwe


Re: Automated report: NetBSD-current/i386 build failure

2018-06-04 Thread Andreas Gustafsson
The i386 build is still failing as of source date 2018.06.04.02.42.23,
with the following error:

  --- dependall-sys ---
  In file included from 
/tmp/bracket/build/2018.06.04.02.42.23-i386/src/external/cddl/osnet/dist/uts/common/sys/dtrace_impl.h:52:0,
   from 
/tmp/bracket/build/2018.06.04.02.42.23-i386/src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c:45:
  
/tmp/bracket/build/2018.06.04.02.42.23-i386/src/external/cddl/osnet/dist/uts/common/sys/dtrace.h:2334:33:
 error: unknown type name 'kthread_t'
   extern void dtrace_vtime_switch(kthread_t *next);
   ^

The amd64 build is now working - thanks to those who committed fixes.
-- 
Andreas Gustafsson, g...@gson.org