daily CVS update output
Updating src tree: P src/bin/sh/expand.c P src/bin/sh/mkinit.sh P src/bin/sh/options.c P src/bin/sh/parser.c P src/bin/sh/var.c P src/distrib/cdrom/macppc_installboot/cd9660_util.c P src/distrib/sets/lists/tests/mi P src/etc/root/dot.login P src/etc/root/dot.profile P src/etc/skel/dot.login P src/external/gpl3/gcc.old/dist/gcc/output.h P src/external/gpl3/gcc.old/dist/gcc/varasm.c P src/external/gpl3/gcc.old/dist/gcc/config/i386/i386.c P src/include/limits.h P src/include/locale.h P src/lib/libc/locale/global_locale.c P src/sys/arch/arm/arm32/arm32_boot.c P src/sys/arch/arm/nvidia/tegra_usbphy.c P src/sys/kern/kern_time.c P src/sys/rump/librump/rumpkern/rump.c P src/sys/sys/timevar.h P src/tests/bin/sh/Makefile cvs update: `src/tests/bin/sh/t_compexit.sh' is no longer in the repository P src/tests/bin/sh/t_expand.sh P src/tests/bin/sh/t_fsplit.sh P src/tests/bin/sh/t_here.sh P src/tests/bin/sh/t_option.sh P src/tests/bin/sh/t_redir.sh P src/tests/bin/sh/t_set_e.sh U src/tests/bin/sh/t_shift.sh P src/tests/bin/sh/t_wait.sh P src/tests/lib/libc/net/t_servent.sh P src/tests/sbin/gpt/t_gpt.sh P src/usr.bin/fgen/Makefile P src/usr.bin/fgen/fgen.l Updating xsrc tree: Killing core files: Running the SUP scanner: SUP Scan for current starting at Wed Mar 9 03:01:32 2016 SUP Scan for current completed at Wed Mar 9 03:01:56 2016 SUP Scan for mirror starting at Wed Mar 9 03:01:56 2016 SUP Scan for mirror completed at Wed Mar 9 03:04:50 2016 Updating release-6 src tree (netbsd-6): U crypto/external/bsd/openssl/dist/ACKNOWLEDGMENTS P crypto/external/bsd/openssl/dist/CHANGES U crypto/external/bsd/openssl/dist/CONTRIBUTING P crypto/external/bsd/openssl/dist/Configure U crypto/external/bsd/openssl/dist/FAQ P crypto/external/bsd/openssl/dist/INSTALL P crypto/external/bsd/openssl/dist/LICENSE P crypto/external/bsd/openssl/dist/Makefile P crypto/external/bsd/openssl/dist/Makefile.org P crypto/external/bsd/openssl/dist/NEWS P crypto/external/bsd/openssl/dist/README U crypto/external/bsd/openssl/dist/appveyor.yml P crypto/external/bsd/openssl/dist/e_os.h P crypto/external/bsd/openssl/dist/openssl.spec P crypto/external/bsd/openssl/dist/apps/Makefile P crypto/external/bsd/openssl/dist/apps/apps.c P crypto/external/bsd/openssl/dist/apps/asn1pars.c P crypto/external/bsd/openssl/dist/apps/ca.c P crypto/external/bsd/openssl/dist/apps/ecparam.c P crypto/external/bsd/openssl/dist/apps/engine.c P crypto/external/bsd/openssl/dist/apps/ocsp.c P crypto/external/bsd/openssl/dist/apps/pkcs12.c P crypto/external/bsd/openssl/dist/apps/s_client.c P crypto/external/bsd/openssl/dist/apps/s_server.c P crypto/external/bsd/openssl/dist/apps/speed.c P crypto/external/bsd/openssl/dist/apps/x509.c P crypto/external/bsd/openssl/dist/crypto/cryptlib.c P crypto/external/bsd/openssl/dist/crypto/mem_clr.c P crypto/external/bsd/openssl/dist/crypto/o_dir.c P crypto/external/bsd/openssl/dist/crypto/o_dir.h P crypto/external/bsd/openssl/dist/crypto/o_dir_test.c P crypto/external/bsd/openssl/dist/crypto/o_str.c P crypto/external/bsd/openssl/dist/crypto/o_str.h P crypto/external/bsd/openssl/dist/crypto/o_time.c P crypto/external/bsd/openssl/dist/crypto/o_time.h P crypto/external/bsd/openssl/dist/crypto/opensslconf.h P crypto/external/bsd/openssl/dist/crypto/opensslconf.h.in P crypto/external/bsd/openssl/dist/crypto/opensslv.h P crypto/external/bsd/openssl/dist/crypto/sparccpuid.S P crypto/external/bsd/openssl/dist/crypto/aes/aes.h P crypto/external/bsd/openssl/dist/crypto/aes/aes_cbc.c P crypto/external/bsd/openssl/dist/crypto/aes/aes_cfb.c P crypto/external/bsd/openssl/dist/crypto/aes/aes_core.c P crypto/external/bsd/openssl/dist/crypto/aes/aes_ctr.c P crypto/external/bsd/openssl/dist/crypto/aes/aes_ecb.c P crypto/external/bsd/openssl/dist/crypto/aes/aes_ige.c P crypto/external/bsd/openssl/dist/crypto/aes/aes_locl.h P crypto/external/bsd/openssl/dist/crypto/aes/aes_misc.c P crypto/external/bsd/openssl/dist/crypto/aes/aes_ofb.c P crypto/external/bsd/openssl/dist/crypto/aes/aes_x86core.c P crypto/external/bsd/openssl/dist/crypto/aes/asm/aes-586.pl P crypto/external/bsd/openssl/dist/crypto/aes/asm/aesni-x86.pl P crypto/external/bsd/openssl/dist/crypto/asn1/asn1_par.c P crypto/external/bsd/openssl/dist/crypto/asn1/d2i_pr.c P crypto/external/bsd/openssl/dist/crypto/asn1/tasn_dec.c P crypto/external/bsd/openssl/dist/crypto/asn1/x_bignum.c P crypto/external/bsd/openssl/dist/crypto/asn1/x_pubkey.c P crypto/external/bsd/openssl/dist/crypto/asn1/x_x509.c P crypto/external/bsd/openssl/dist/crypto/bio/b_dump.c P crypto/external/bsd/openssl/dist/crypto/bio/b_print.c P crypto/external/bsd/openssl/dist/crypto/bio/bio.h P crypto/external/bsd/openssl/dist/crypto/bio/bss_bio.c P crypto/external/bsd/openssl/dist/crypto/bio/bss_conn.c P crypto/external/bsd/openssl/dist/crypto/bio/bss_dgram.c P crypto/external/bsd/openssl/dist/crypto/bio/bss_file.c P crypto/external/bsd/openssl/dist/crypto/bn/Makefile P crypto/external/bsd/openssl/dist/crypto/bn/bn.h P crypto/external/b
Re: Fwd: build (install!!) failure
Better, thanks. On 3/8/16, bch wrote: > Retried. Same failure mode. > > On 3/8/16, bch wrote: >> The latest change removed the VEXPORT; I'm running again with $NetBSD: >> var.c,v 1.46 which I confirmed does *NOT* have VEXPORT in it. I'll get >> back to you with results shortly. >> >> On 3/8/16, Christos Zoulas wrote: >>> On Mar 8, 2:18pm, brad.har...@gmail.com (bch) wrote: >>> -- Subject: Re: Fwd: build (install!!) failure >>> >>> | I encountered the problem. I had to take an old /bin/sh (from another >>> | machine) to allow myself to attempt another build, but w/ the latest >>> | source and my temporary /bin/sh I did successfully build and _attempt_ >>> | an install, but it again failed. I edited ./src/bin/sh/var.c to remove >>> | the VREADONLY setvar() line, and things now work. Since I'm not >>> | _completely_ stuck (w/ my rescue shell), I'll re-attempt w/ completely >>> | unmodified up-to-date srcs, but I think they're still problematic. >>> >>> But did that line have VEXPORT in it? >>> >>> christos >>> >> >
Re: build (install!!) failure
Date:Tue, 8 Mar 2016 11:48:01 -0800 From:bch Message-ID: | postinstall-check ===> .(with: DESTDIR=/) | sh: PPID: is read only | nbmake[1]: "/usr/src/share/mk/bsd.own.mk" line 1284: warning: "cd | "/usr/src/../xsrc" && pwd" returned non-zero status The following patch is needed to src/bin/sh/var.c - this should fix that problem. kre --- var.c 2016-03-09 02:21:21.0 +0700 +++ var.c.fixed 2016-03-09 05:32:17.0 +0700 @@ -41,7 +41,6 @@ #endif #endif /* not lint */ -#include #include #include #include @@ -148,10 +147,13 @@ */ #ifdef mkinit +INCLUDE +INCLUDE INCLUDE "var.h" MKINIT char **environ; INIT { char **envp; + char buf[64]; initvar(); for (envp = environ ; *envp ; envp++) { @@ -159,6 +161,14 @@ setvareq(*envp, VEXPORT|VTEXTFIXED); } } + + + /* +* PPID is readonly +* set after processing environ to override anything there +*/ + snprintf(buf, sizeof(buf), "%d", (int)getppid()); + setvar("PPID", buf, VREADONLY); } #endif @@ -174,7 +184,6 @@ const struct varinit *ip; struct var *vp; struct var **vpp; - char buf[64]; for (ip = varinit ; (vp = ip->var) != NULL ; ip++) { if (find_var(ip->text, &vpp, &vp->name_len) != NULL) @@ -195,12 +204,6 @@ vps1.text = NULL; choose_ps1(); } - - /* -* PPID is readonly -*/ - snprintf(buf, sizeof(buf), "%d", (int)getppid()); - setvar("PPID", buf, VREADONLY); } void
build (install!!) failure
Copying set xfont Copying set xserver postinstall-check ===> .(with: DESTDIR=/) sh: PPID: is read only nbmake[1]: "/usr/src/share/mk/bsd.own.mk" line 1284: warning: "cd "/usr/src/../xsrc" && pwd" returned non-zero status sh: PPID: is read only nbmake[1]: "/usr/src/etc/Makefile.params" line 71: warning: "/bin/sh /usr/src/sys/conf/osrelease.sh" returned non-zero status sh: PPID: is read only nbmake[1]: "/usr/src/Makefile" line 284: warning: "date" returned non-zero status sh: PPID: is read only nbmake[1]: "/usr/src/Makefile" line 326: warning: "uname -s" returned non-zero status sh: PPID: is read only nbmake[1]: "/usr/src/Makefile" line 327: warning: "uname -m" returned non-zero status sh: PPID: is read only nbmake[1]: "/usr/src/share/mk/bsd.kernobj.mk" line 32: warning: "cd "/usr/src/sys/arch/amd64/compile" && /usr/src/obj/tooldir.NetBSD-7.99.26-amd64/bin/nbmake -V .OBJDIR" returned non-zero status sh: PPID: is read only *** Failed target: postinstall-check *** Failed command: echo " === Post installation checks ===" *** Error code 2 Stop. nbmake[1]: stopped in /usr/src *** Failed target: installworld *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-7.99.26-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . postinstall-check DESTDIR=/ *** Error code 1 Stop. nbmake: stopped in /usr/src ERROR: Failed to make installworld to / *** BUILD ABORTED ***
Automated report: NetBSD-current/sparc build failure
This is an automatically generated notice of a NetBSD-current/sparc build failure. The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host, using sources from CVS date 2016.03.08.14.32.34. An extract from the build.sh output follows: --- var.o --- /tmp/bracket/build/2016.03.08.14.32.34-sparc/src/bin/sh/var.c: In function 'initvar': /tmp/bracket/build/2016.03.08.14.32.34-sparc/src/bin/sh/var.c:201:2: error: implicit declaration of function 'snprintf' [-Werror=implicit-function-declaration] snprintf(buf, sizeof(buf), "%d", (int)getppid()); ^ /tmp/bracket/build/2016.03.08.14.32.34-sparc/src/bin/sh/var.c:201:2: error: incompatible implicit declaration of built-in function 'snprintf' [-Werror] --- installboot_make --- --- installboot.o --- --- netstat_make --- #create netstat/.depend rm -f .depend CC=/tmp/bracket/build/2016.03.08.14.32.34-sparc/tools/bin/sparc--netbsdelf-gcc /tmp/bracket/build/2016.03.08.14.32.34-sparc/tools/bin/nbmkdep -s .o\ .ln\ .d -d -f .depend atalk.d bpf.d fast_ipsec.d if.d inet.d inet6.d main.d mbuf.d mroute.d mroute6.d pfkey.d pfsync.d route.d rtutil.d unix.d vtw.d ( cd netstat; printf '.PATH: /tmp/bracket/build/2016.03.08.14.32.34-sparc/src/usr.bin/netstat\n.CURDIR:= /tmp/bracket/build/2016.03.08.14.32.34-sparc/src/usr.bin/netstat\n.include "${.CURDIR}/Makefile"\n' | /tmp/bracket/build/2016.03.08.14.32.34-sparc/tools/bin/nbmake -f- CRUNCHEDPROG=1 DBG=-Os\ \ -fno-unwind-tables LDSTATIC=-static netstat.ro ) --- installboot_make --- # compile installboot/installboot.o /tmp/bracket/build/2016.03.08.14.32.34-sparc/tools/bin/sparc--netbsdelf-gcc -Os -fno-unwind-tables-std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror --sysroot=/tmp/bracket/build/2016.03.08.14.32.34-sparc/destdir -DNO_FFS_SWAP -I/tmp/bracket/build/2016.03.08.14.32.34-sparc/src/usr.sbin/installboot -I. -D_KERNTYPES -c /tmp/bracket/build/2016.03.08.14.32.34-sparc/src/usr.sbin/installboot/installboot.c --- sum.o --- --- sh_make --- cc1: all warnings being treated as errors *** [var.o] Error code 1 nbmake[5]: stopped in /tmp/bracket/build/2016.03.08.14.32.34-sparc/obj/distrib/miniroot/sh --- getopt_make --- The following commits were made between the last successful build and the failed build: 2016.03.08.13.38.18 martin src/crypto/external/bsd/openssl/dist/ssl/Attic/ssl2_stub_syms.c,v 1.1 2016.03.08.13.38.20 martin src/crypto/external/bsd/openssl/lib/libcrypto/man/Attic/SSL_CTX_set_tlsext_status_cb.3,v 1.1 2016.03.08.14.08.39 christos src/bin/sh/options.c,v 1.45 2016.03.08.14.09.07 christos src/bin/sh/expand.c,v 1.96 2016.03.08.14.10.04 christos src/bin/sh/parser.c,v 1.103 2016.03.08.14.11.56 christos src/bin/sh/parser.c,v 1.104 2016.03.08.14.19.28 christos src/tests/bin/sh/t_option.sh,v 1.3 2016.03.08.14.20.22 christos src/tests/bin/sh/t_set_e.sh,v 1.2 2016.03.08.14.21.02 christos src/tests/bin/sh/t_here.sh,v 1.4 2016.03.08.14.24.06 christos src/tests/bin/sh/t_wait.sh,v 1.6 2016.03.08.14.24.50 christos src/tests/bin/sh/Attic/t_compexit.sh,v 1.2 2016.03.08.14.26.26 christos src/tests/bin/sh/t_shift.sh,v 1.1 2016.03.08.14.26.34 christos src/tests/bin/sh/Makefile,v 1.7 2016.03.08.14.26.54 christos src/tests/bin/sh/t_expand.sh,v 1.6 2016.03.08.14.26.54 christos src/tests/bin/sh/t_fsplit.sh,v 1.2 2016.03.08.14.26.54 christos src/tests/bin/sh/t_redir.sh,v 1.4 2016.03.08.14.27.44 christos src/distrib/sets/lists/tests/mi,v 1.665 2016.03.08.14.30.48 joerg src/sys/rump/librump/rumpkern/rump.c,v 1.329 2016.03.08.14.32.34 christos src/bin/sh/var.c,v 1.45
Re: wm devices don't work under current amd64
On Mar 8, 8:29am, Tom Ivar Helbekkmo wrote: } John Nemeth writes: } } > The 2924 is an old switch so it may behave funny. } } Yeah, the most common problem with these old Ciscos is that the } autoconfiguration randomly fails -- sometimes after having worked well } again and again for a long time. } } > Could you set both ends to auto/auto and see what happens? } } In this case, they managed to both decide on 100/full -- and } communication fails in the same way. This tells us that the hardware is fundamentally sound, i.e. it is receiving data and acting on it. That tends to indicate that it is a driver issue. msaitoh@ is our driver expert, so I'm going to bow out. }-- End of excerpt from Tom Ivar Helbekkmo
Re: wm devices don't work under current amd64
On Tue, 8 Mar 2016, Tom Ivar Helbekkmo wrote: The 2924 is an old switch so it may behave funny. Yeah, the most common problem with these old Ciscos is that the autoconfiguration randomly fails -- sometimes after having worked well again and again for a long time. Those are the same switches that almost never autonegotiate properly with Sun HME (happy meal ethernet) cards. Every time I encounter them used with Sun hardware they are hard set to max speed @ full duplex. In the case of Sun gear, you had to hard set both the switch and the NIC. It was rather painful. -Swift