From owner-freebsd-current@freebsd.org Thu Apr 16 19:51:03 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 0FFFA2C6597 for ; Thu, 16 Apr 2020 19:51:03 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4938wk0KQxz41lc for ; Thu, 16 Apr 2020 19:51:01 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x332.google.com with SMTP id g14so4093308otg.10 for ; Thu, 16 Apr 2020 12:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6s5MjSxCfmOL+ovrmId2f46S9IeXmZU0I2FgaWXp+6Q=; b=ox9rHMokjsZUUOTyAnN/uHssyviD74K3G+QZGy1a2BoZvhm81ZuLEf1975ZGpLy9Uy woUIh/1WC3n35USVVhUoLwUolL4FTtB7OSV151+icGa6yB+miSHz7LgKMmQZPwkqfVAY d4h3785i191xcPKVCk95x9aiG2bS9VWmyKvQ6PfNoAaJicCb9b4bWrrEj8SYYN7D5UQF rDh9zZ7/zz4zmq375iwYJGq8qssDf144KaCo1okzMOKAuhWisXMbbr00EQtZxu1ICEny LrxUFOXhv/bhQqxL1H30qZBtItaBDNfmXWq2pm+5bgNIkAoHJH2P3m9R2UIxmQelTumd wtVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6s5MjSxCfmOL+ovrmId2f46S9IeXmZU0I2FgaWXp+6Q=; b=JbaFPTZXDqdZi3py9FbxOnlwSpFJU1RiqaydS/+ipy25a9QCnXlnCSCTjSC6bDP2bC 6hi/casfBFvmgmxKk2+sZUyF877bpt0pM2dv67gizl2JaJVS/E5nSm2BjE3GcZ6GFfwQ XtXd8GQgeCIav7ubPyTCpzCVLi+vlvS2+lJm4e14WSWpLr3dlf2O+z7Pe1Xw1tYFd1gR /pP1yrcBj9F2+3TAjZ6h/L5qZ6zzJsriKrZanoI9W3GXd/tkPDSaV6IC3ktZoQ1F+GSg 5WRIEM1G0ARuXHQO4nIifjg6VPtEEZk2cv/iyZQsp/eU7arshRCveKJREjfpcbIZLCEr dU9w== X-Gm-Message-State: AGi0Puan5Sztty9aZgk/11sKUNQrS1EAHp43U2M4NHFMSA1U6+QGY6le sqbM588sxmkSeeLlcWa7eUo/cXYSIFd9+nyjSl7Hox/4QwQ= X-Google-Smtp-Source: APiQypLy3LugJgU2q9/Z9fdyFth0Ci6RIhJDjJtwKOK9xN916wonhPaKaT7yQnrhbd3+SGFaP/0SL2KdckfAuPR5ab0= X-Received: by 2002:a05:6830:157:: with SMTP id j23mr8111555otp.93.1587066660718; Thu, 16 Apr 2020 12:51:00 -0700 (PDT) MIME-Version: 1.0 References: <3f8a4c5f-d1fb-9e31-d9d5-5bbbe311c265@gmail.com> In-Reply-To: From: Kevin Oberman Date: Thu, 16 Apr 2020 12:50:44 -0700 Message-ID: Subject: Re: sort.core error doing installworld on Current. To: Johan Hendriks Cc: FreeBSD Current X-Rspamd-Queue-Id: 4938wk0KQxz41lc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ox9rHMok; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::332 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.70 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; IP_SCORE(0.00)[ip: (-8.49), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 16 Apr 2020 19:51:03 -0000 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. 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. -- 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 >> >>