From owner-freebsd-current@freebsd.org Fri Apr 17 10:38:00 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A54F32B3088 for ; Fri, 17 Apr 2020 10:38:00 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 493Xc73tjVz4vb9 for ; Fri, 17 Apr 2020 10:37:59 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 03HAbuFU050130; Fri, 17 Apr 2020 03:37:56 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 03HAbuYw050129; Fri, 17 Apr 2020 03:37:56 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202004171037.03HAbuYw050129@gndrsh.dnsmgr.net> Subject: Re: sort.core error doing installworld on Current. In-Reply-To: <6a8ef2da-de41-446a-2a85-abf632b72ecd@gmail.com> To: Johan Hendriks Date: Fri, 17 Apr 2020 03:37:56 -0700 (PDT) CC: freebsd-current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 493Xc73tjVz4vb9 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [2.01 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.03)[ip: (0.13), ipnet: 69.59.192.0/19(0.06), asn: 13868(0.03), country: US(-0.05)]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.32)[0.320,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.76)[0.756,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2020 10:38:00 -0000 > > Op 17-04-2020 om 03:31 schreef Rodney W. Grimes: > >> On Thu, Apr 16, 2020 at 12:39 PM Kevin Oberman wrote: > >> > >>> So you some how had a sort core dump sitting in > >>> /usr/obj/usr/src/amd64.amd64/share/zoneinfo/builddir. The questions, how > >>> did get there? I'd take a look at the date on the file and, it it is older > >>> than the buildworld, just assume that it was left-over garbage. In either > >>> case, you can delete it and do another installworld. > >>> > >>> That should most likely fix things, but, if the buildworld or installworld > >>> had a crash of sort(1) that left the file, further investigation might be > >>> needed. Re-making the zoneinfo would help track it down should this be a re > >>> al bug, but it's my uneducated guess that it's not. > >>> -- > >>> Kevin Oberman, Part time kid herder and retired Network Engineer > >>> E-mail: rkoberman@gmail.com > >>> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > >>> > >> Please forgive that awful post! I missed a part of your message by laziness. > >> > >> It's odd that the error of sort(1) crashing was not caught by the script. > > Yes, that is a Makefile flaw someplace. > > Further there must be a wildcard being used to decide which files to > > install, that is a further Makefile flaw. Wildcards should NOT be used > > in the source of an install list, exactly because of this type of cruft > > that can be dropped in an obj dir. > > > >> Clearly, sort should NOT crash! Again, a re-build of zoneinfo might catch > >> something. Looking at the core might tell you which "sort" was involved... > >> the one you just built or the one in the base system. This could be just a > >> FOTU, but I would not bet on it. > > I suspect a recent zoneinfo commit as the root cause. > > > I have no idea how to bypass this issue. > I have used sort from the latest snapshot and placed that file on the > system and in the build dir, but i keep getting the core > > How can i test an build and install part for zoneinfo > > If i go into the dir /usr/src/share/zoneinfo and do make install it does > not work, do i need to add something? Can you show us the output from cd /usr/src/share/zoneinfo make clean && make depend && make all && make install Someplace in that we should get to see sort crashing... > > Thank you both for your time > > >> -- > >> Kevin Oberman, Part time kid herder and retired Network Engineer > >> E-mail: rkoberman@gmail.com > >> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > >> > >> > >>> > >>> On Thu, Apr 16, 2020 at 11:49 AM Johan Hendriks > >>> wrote: > >>> > >>>> I have a machine running FreeBSD head. > >>>> rev 13.0-CURRENT #11 r360008 > >>>> > >>>> This is a quite powerful machine, so i thought it was a good idea to let > >>>> that server do the build and for my virtualbox machine i can use the > >>>> powerful machine to do a installword over NFS. > >>>> > >>>> But when i did the make installworld step the client so to say gives an > >>>> error. > >>>> > >>>> install -o root -g wheel -m 444 > >>>> /usr/obj/usr/src/amd64.amd64/share/zoneinfo/builddir/Zulu > >>>> /usr/share/zoneinfo/Zulu > >>>> install -o root -g wheel -m 444 > >>>> /usr/obj/usr/src/amd64.amd64/share/zoneinfo/builddir/posixrules > >>>> /usr/share/zoneinfo/posixrules > >>>> install -o root -g wheel -m 444 > >>>> /usr/obj/usr/src/amd64.amd64/share/zoneinfo/builddir/sort.core > >>>> /usr/share/zoneinfo/sort.core > >>>> install: /usr/obj/usr/src/amd64.amd64/share/zoneinfo/builddir/sort.core: > >>>> Permission denied > >>>> *** Error code 71 > >>>> > >>>> Stop. > >>>> bmake[5]: stopped in /usr/src/share/zoneinfo > >>>> *** Error code 1 > >>>> > >>>> Stop. > >>>> bmake[4]: stopped in /usr/src/share > >>>> *** Error code 1 > >>>> > >>>> Stop. > >>>> bmake[3]: stopped in /usr/src > >>>> *** Error code 1 > >>>> > >>>> Stop. > >>>> bmake[2]: stopped in /usr/src > >>>> *** Error code 1 > >>>> > >>>> Stop. > >>>> bmake[1]: stopped in /usr/src > >>>> *** Error code 1 > >>>> > >>>> Stop. > >>>> make: stopped in /usr/src > >>>> .ERROR_TARGET='installworld' > >>>> .ERROR_META_FILE='' > >>>> .MAKE.LEVEL='0' > >>>> MAKEFILE='' > >>>> .MAKE.MODE='normal' > >>>> _ERROR_CMD='.PHONY' > >>>> .CURDIR='/usr/src' > >>>> .MAKE='make' > >>>> .OBJDIR='/usr/obj/usr/src/amd64.amd64' > >>>> .TARGETS='installworld' > >>>> DESTDIR='' > >>>> LD_LIBRARY_PATH='' > >>>> MACHINE='amd64' > >>>> MACHINE_ARCH='amd64' > >>>> MAKEOBJDIRPREFIX='/usr/obj' > >>>> MAKESYSPATH='/usr/src/share/mk' > >>>> MAKE_VERSION='20181221' > >>>> PATH='/sbin:/bin:/usr/sbin:/usr/bin' > >>>> SRCTOP='/usr/src' > >>>> OBJTOP='/usr/obj/usr/src/amd64.amd64' > >>>> > >>>> It looks likes sort coredumps in the usr/share/zoneinfo part of the base. > >>>> As it has no permission on the NFS share it errors out. > >>>> On the server itself, the installworld goes well, but it leaves a > >>>> sort.core file behind in /usr/share/zoneinfo > >>>> > >>>> cd /usr/share/zoneinfo > >>>> ls -al > >>>> > >>>> > >> _______________________________________________ > >> freebsd-current@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-current > >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Rod Grimes rgrimes@freebsd.org