Re: kernels with "pseudo-device pfsync" fail to build
On 2018/06/27 11:58, John D. Baker wrote: After the recent bpf_tap/bpf_mtap change, kernels which include: pseudo-device pfsync fail to build: [...] --- if_pfsync.o --- /x/current/src/sys/dist/pf/net/if_pfsync.c: In function 'pfsync_tdb_sendout': /x/current/src/sys/dist/pf/net/if_pfsync.c:1559:2: error: too few arguments to function 'bpf_mtap' bpf_mtap(ifp, m); ^~~~ In file included from /x/current/src/sys/dist/pf/net/if_pfsync.c:51:0: /x/current/src/sys/net/bpf.h:458:1: note: declared here bpf_mtap(struct ifnet *_ifp, struct mbuf *_m, u_int _direction) ^~~~ *** [if_pfsync.o] Error code 1 nbmake: stopped in /r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760 --- if_plip.o --- /r0/build/current/tools/amd64/bin/nbctfconvert -g -L VERSION -g if_plip.o 1 error nbmake: stopped in /r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760 ERROR: Failed to make all in "/r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760" *** BUILD ABORTED *** Fixed. Thank you for the report. -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)
daily CVS update output
Updating src tree: P src/distrib/notes/bebox/prep P src/distrib/notes/common/main P src/distrib/notes/ews4800mips/xfer P src/distrib/notes/i386/xfer P src/distrib/notes/news68k/xfer P src/distrib/notes/newsmips/xfer P src/distrib/sets/lists/base/shl.mi P src/distrib/sets/lists/comp/mi P src/distrib/sets/lists/comp/shl.mi P src/distrib/sets/lists/debug/mi P src/distrib/sets/lists/debug/shl.mi P src/doc/CHANGES U src/doc/TODO.sanitizers cvs update: `src/doc/roadmaps/people/kamil' is no longer in the repository P src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h P src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common_linux.cc P src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc P src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.h P src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc P src/external/gpl3/gcc/lib/Makefile U src/external/gpl3/gcc/lib/liblsan/Makefile U src/external/gpl3/gcc/lib/liblsan/shlib_version U src/external/gpl3/gcc/lib/liblsan/test-lsan.c P src/sbin/disklabel/main.c P src/share/man/man4/bpf.4 P src/share/misc/acronyms.comp P src/sys/arch/acorn32/podulebus/if_ie.c P src/sys/arch/amiga/dev/if_es.c P src/sys/arch/amiga/dev/if_qn.c P src/sys/arch/arm/at91/at91emac.c P src/sys/arch/arm/broadcom/bcm53xx_eth.c P src/sys/arch/arm/ep93xx/epe.c P src/sys/arch/arm/gemini/gemini_gmac.c P src/sys/arch/arm/gemini/if_gpn.c P src/sys/arch/arm/imx/if_enet.c P src/sys/arch/arm/omap/if_cpsw.c P src/sys/arch/arm/omap/omapl1x_emac.c P src/sys/arch/arm/rockchip/rk_cru.c P src/sys/arch/arm/sunxi/sun4i_emac.c P src/sys/arch/arm/sunxi/sunxi_emac.c P src/sys/arch/arm/ti/if_cpsw.c P src/sys/arch/arm/xscale/ixp425_if_npe.c P src/sys/arch/emips/ebus/if_le_ebus.c P src/sys/arch/i386/stand/misc/Makefile cvs update: `src/sys/arch/i386/stand/misc/rawr32.exe.uue' is no longer in the repository P src/sys/arch/mac68k/dev/if_mc.c P src/sys/arch/mac68k/nubus/if_netdock_nubus.c P src/sys/arch/macppc/dev/am79c950.c P src/sys/arch/macppc/dev/deq.c P src/sys/arch/macppc/dev/if_bm.c P src/sys/arch/macppc/dev/if_gm.c P src/sys/arch/macppc/dev/smusat.c P src/sys/arch/mips/adm5120/dev/if_admsw.c P src/sys/arch/mips/alchemy/dev/if_aumac.c P src/sys/arch/mips/atheros/dev/if_ae.c P src/sys/arch/mips/cavium/dev/if_cnmac.c P src/sys/arch/mips/ralink/ralink_eth.c P src/sys/arch/mips/sibyte/dev/sbmac.c P src/sys/arch/newsmips/apbus/if_sn.c P src/sys/arch/next68k/dev/mb8795.c P src/sys/arch/playstation2/dev/if_smap.c P src/sys/arch/powerpc/booke/dev/pq3etsec.c P src/sys/arch/powerpc/ibm4xx/dev/if_emac.c P src/sys/arch/sgimips/hpc/if_sq.c P src/sys/arch/sgimips/mace/if_mec.c P src/sys/arch/sparc64/dev/pcf8591_envctrl.c P src/sys/arch/sun2/dev/if_ec.c P src/sys/arch/sun3/dev/if_ie.c P src/sys/arch/usermode/dev/if_veth.c P src/sys/arch/x86/pci/if_vmx.c P src/sys/arch/xen/xen/if_xennet_xenbus.c P src/sys/arch/xen/xen/xennetback_xenbus.c P src/sys/dev/bi/if_ni.c P src/sys/dev/cadence/if_cemac.c P src/sys/dev/i2c/adadc.c P src/sys/dev/i2c/adm1021.c P src/sys/dev/i2c/adm1026.c P src/sys/dev/i2c/as3722.c P src/sys/dev/i2c/at24cxx.c P src/sys/dev/i2c/axp20x.c P src/sys/dev/i2c/axp22x.c P src/sys/dev/i2c/axppmic.c P src/sys/dev/i2c/dbcool.c P src/sys/dev/i2c/ds1307.c P src/sys/dev/i2c/dstemp.c P src/sys/dev/i2c/fcu.c P src/sys/dev/i2c/files.i2c P src/sys/dev/i2c/i2c.c P src/sys/dev/i2c/i2cvar.h P src/sys/dev/i2c/ihidev.c P src/sys/dev/i2c/lm75.c P src/sys/dev/i2c/lm87.c P src/sys/dev/i2c/max77620.c P src/sys/dev/i2c/pcf8563.c P src/sys/dev/i2c/sy8106a.c P src/sys/dev/i2c/tcagpio.c P src/sys/dev/i2c/tcakp.c P src/sys/dev/i2c/titemp.c P src/sys/dev/i2c/tsl256x.c P src/sys/dev/ic/aic6915.c P src/sys/dev/ic/am7990.c P src/sys/dev/ic/am79900.c P src/sys/dev/ic/an.c P src/sys/dev/ic/arn5008.c P src/sys/dev/ic/arn9003.c P src/sys/dev/ic/ath.c P src/sys/dev/ic/athn.c P src/sys/dev/ic/atw.c P src/sys/dev/ic/awi.c P src/sys/dev/ic/bwfm.c P src/sys/dev/ic/bwi.c P src/sys/dev/ic/cs89x0.c P src/sys/dev/ic/dm9000.c P src/sys/dev/ic/dp8390.c P src/sys/dev/ic/dp83932.c P src/sys/dev/ic/dwc_gmac.c P src/sys/dev/ic/elink3.c P src/sys/dev/ic/elinkxl.c P src/sys/dev/ic/gem.c P src/sys/dev/ic/hd64570.c P src/sys/dev/ic/hme.c P src/sys/dev/ic/i82557.c P src/sys/dev/ic/i82586.c P src/sys/dev/ic/i82596.c P src/sys/dev/ic/lan9118.c P src/sys/dev/ic/lemac.c P src/sys/dev/ic/malo.c P src/sys/dev/ic/mb86950.c P src/sys/dev/ic/mb86960.c P src/sys/dev/ic/midway.c P src/sys/dev/ic/mtd803.c P src/sys/dev/ic/pdq_ifsubr.c P src/sys/dev/ic/pdqvar.h P src/sys/dev/ic/rrunner.c P src/sys/dev/ic/rt2560.c P src/sys/dev/ic/rt2661.c P src/sys/dev/ic/rt2860.c P src/sys/dev/ic/rtl8169.c P src/sys/dev/ic/rtl81x9.c P src/sys/dev/ic/rtw.c P src/sys/dev/ic/seeq8005.c P src/sys/dev/ic/sgec.c P src/sys/dev/ic/smc83c170.c P src/sys/dev/ic/smc90cx6.c P src/sys/dev/ic/smc91cxx.c P src/sys/dev/ic/tropic.c P src/sys/dev/ic/tulip.c P src/sys/dev/ic/wi.c P src/sys/dev/if_ndis/if_ndis.c P
kernels with "pseudo-device pfsync" fail to build
After the recent bpf_tap/bpf_mtap change, kernels which include: pseudo-device pfsync fail to build: [...] --- if_pfsync.o --- /x/current/src/sys/dist/pf/net/if_pfsync.c: In function 'pfsync_tdb_sendout': /x/current/src/sys/dist/pf/net/if_pfsync.c:1559:2: error: too few arguments to function 'bpf_mtap' bpf_mtap(ifp, m); ^~~~ In file included from /x/current/src/sys/dist/pf/net/if_pfsync.c:51:0: /x/current/src/sys/net/bpf.h:458:1: note: declared here bpf_mtap(struct ifnet *_ifp, struct mbuf *_m, u_int _direction) ^~~~ *** [if_pfsync.o] Error code 1 nbmake: stopped in /r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760 --- if_plip.o --- /r0/build/current/tools/amd64/bin/nbctfconvert -g -L VERSION -g if_plip.o 1 error nbmake: stopped in /r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760 ERROR: Failed to make all in "/r0/build/current/obj/amd64/sys/arch/amd64/compile/PLEX760" *** BUILD ABORTED *** -- |/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X |\ / jdbaker[snail]mylinuxisp[flyspeck]comOpenBSDFreeBSD | X No HTML/proprietary data in email. BSD just sits there and works! |/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Automated report: NetBSD-current/i386 build failure
This is an automatically generated notice of a NetBSD-current/i386 build failure. The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host, using sources from CVS date 2018.06.26.22.16.45. An extract from the build.sh output follows: Target directory: /tmp/bracket/build/2018.06.26.22.16.45-i386/destdir/ obsolete_stand fix: postinstall fixes passed: obsolete_stand postinstall fixes failed: === checkflist ===> distrib/sets --- check_DESTDIR --- --- checkflist --- cd /tmp/bracket/build/2018.06.26.22.16.45-i386/src/distrib/sets && DESTDIR=/tmp/bracket/build/2018.06.26.22.16.45-i386/destdir MACHINE=i386 MACHINE_ARCH=i386 AWK=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbawk CKSUM=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbcksum DB=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbdb EGREP=grep\ -E HOST_SH=/bin/sh MAKE=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbmake MKTEMP=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbmktemp MTREE=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbmtree PAX=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbpax COMPRESS_PROGRAM=gzip GZIP=-n PKG_CREATE=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbpkg_create SED=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbsed TSORT=/tmp/bracket/build/2018.06.26.22.16.45-i386/tools/bin/nbtsort\ -q /bin/sh /tmp/bracket/build/2018.06.26.22.16.45-i386/src/distrib/sets/checkflist -L base -M /tmp/bracket/build/2018.06.26.22.16.45-i386/destdir/METALOG.sanitised == 6 missing files in DESTDIR Files in flist but missing from DESTDIR. File wasn't installed ? -- ./usr/lib/liblsan.a ./usr/lib/liblsan.so ./usr/lib/liblsan.so.1 ./usr/lib/liblsan.so.1.0 ./usr/lib/liblsan_p.a ./usr/lib/liblsan_pic.a end of 6 missing files == *** [checkflist] Error code 1 nbmake[2]: stopped in /tmp/bracket/build/2018.06.26.22.16.45-i386/src/distrib/sets 1 error The following commits were made between the last successful build and the failed build: 2018.06.26.20.54.32 christos src/external/gpl3/gcc/lib/liblsan/Makefile,v 1.1 2018.06.26.20.54.32 christos src/external/gpl3/gcc/lib/liblsan/shlib_version,v 1.1 2018.06.26.20.54.32 christos src/external/gpl3/gcc/lib/liblsan/test-lsan.c,v 1.1 2018.06.26.20.55.37 christos src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h,v 1.2 2018.06.26.20.55.37 christos src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common_linux.cc,v 1.2 2018.06.26.20.55.38 christos src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc,v 1.19 2018.06.26.20.55.38 christos src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.h,v 1.5 2018.06.26.20.55.38 christos src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc,v 1.2 2018.06.26.21.01.33 christos src/distrib/sets/lists/base/shl.mi,v 1.840 2018.06.26.21.01.33 christos src/distrib/sets/lists/comp/mi,v 1.2204 2018.06.26.21.01.33 christos src/distrib/sets/lists/comp/shl.mi,v 1.317 2018.06.26.21.01.34 christos src/distrib/sets/lists/debug/mi,v 1.253 2018.06.26.21.01.34 christos src/distrib/sets/lists/debug/shl.mi,v 1.199 2018.06.26.21.06.45 christos src/external/gpl3/gcc/lib/liblsan/Makefile,v 1.2 2018.06.26.21.09.48 christos src/doc/CHANGES,v 1.2405 2018.06.26.22.16.45 sevan src/share/misc/acronyms.comp,v 1.210 Log files can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2018.06.html#2018.06.26.22.16.45
Re: ./build.sh -k feature request (was Re: GENERIC Kernel Build errors with -fsanitize=undefined option enabled)
In article <3912.1530001...@splode.eterna.com.au>, matthew green wrote: >why can't you just use "nbmake-$foo -k " instead of enabling >an option that will lead to odd build issues and support requests. > >i'd really rather avoid this option in build.sh itself. The build is complex enough as it is... christos
Re: netboot ThinkPad T42 stuck setting tty flags?
On Fri, 22 Jun 2018, John D. Baker wrote: > Lately, when I netboot my ThinkPad T42 with -current (8.99.19), it seems > to get stuck right after the rc scripts print: > > Setting tty flags. > > So far, the only way to recover from this is to drop into DDB with > Ctrl-Alt-Esc. > > If I boot single-user and simply exit the single-user shell, multi-user > boot completes (does not get stuck). I had not updated my "/etc/pf.boot.conf" to account for -current switching to NFS over TCP by default. My NFS rules allowed only UDP. With the appropriate changes, the host boots normally again. -- |/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X |\ / jdbaker[snail]mylinuxisp[flyspeck]comOpenBSDFreeBSD | X No HTML/proprietary data in email. BSD just sits there and works! |/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
re: ./build.sh -k feature request (was Re: GENERIC Kernel Build errors with -fsanitize=undefined option enabled)
why can't you just use "nbmake-$foo -k " instead of enabling an option that will lead to odd build issues and support requests. i'd really rather avoid this option in build.sh itself. .mrg.
Re: ./build.sh -k feature request (was Re: GENERIC Kernel Build errors with -fsanitize=undefined option enabled)
On Mon, Jun 25, 2018 at 10:44:36PM +0200, Kamil Rytarowski wrote: > I propose to ensure that MAKEFLAGS is possible to be set from a command > line, from the ./build.sh command line using -V. > > The build process has various stages and after a single failure there > can be false positives in next reports. I wouldn't use it personally. I agree, we should not support this - the build is complex enough. Build failures are rare and I don't see why this option would give any significant benefit. If you are developing something in a subsystem (so build failures would happen more often), you are better off running make manually anyway (and it is easy to do for most parts). Martin