From owner-freebsd-current@freebsd.org Fri Apr 17 10:24:46 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 ABF102B264B for ; Fri, 17 Apr 2020 10:24:46 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 493XJs30vqz4tcJ for ; Fri, 17 Apr 2020 10:24:45 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm1-x32d.google.com with SMTP id y24so2416583wma.4 for ; Fri, 17 Apr 2020 03:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=Spvb0e4CEMW7CQ4rHn5evpvSIGifKj4EQNlmFSiSkMY=; b=ed1+ZM+OaDhJgQbSKm0TCoIlbZE7OsFGL6V7MpIs4+7SWvnZwngPnrvXo1qlVP+zPX y88OTkkmcgvyqt4FYcJ4Doi6Mu7z0w1Y0AG2qIFl1nGw+Ej/xdzWtGVbNcRmXOz/kLgB BhRuNTGuVknYD4CQnqij2NgSoxPr9y4iwPCye/uGu/TUstlheK1LEtMQHfuWee9Dw3Kk UBS7KX5hPtZkX0nuffbkRo9Prose8KT+qLbGtHSDKnltkKLkhkL52V7fk+5NiQWqC8SM l/+vzypS02RWZRNxgVq5I3wq5h+MUhUFAEvJpiVCT7mOIPPJpsggtpym1QHn6ib68fmZ 5Dlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Spvb0e4CEMW7CQ4rHn5evpvSIGifKj4EQNlmFSiSkMY=; b=mdiVpTp6TRyL8ZSK9HFlB8nmUKSO4W1hgMUaKk7JYtDPokDXNRaGSE+a6SucQAzi5e Qc5VGGA2pMfUSLKka7KVrgjqUN5iKKuj047oulaYpwUZXf+9TSBAEVlYnJYsnm/Rm/cD kR5DRB34RnCThOFj3DLdHac7mCSPFSEqepZ+gmlL3d+WKBKWSoa2W92Qbo+ySPmfF1wi bCdXuBA2rR+Mg1ORusHNqxQoRcj0Dpm1HHNiDALCcl8aDFIxZrOYu2vgERPC7TaJ3HnK d03tdtVR1mzhI2thAOCZ0aJXVnAt72DcZcYiD0xwU9EcGyPGrrYNMWez5L2hthmeEk9A zKpw== X-Gm-Message-State: AGi0PuY6rGBvD0v2bg1ykf98tEHI1zT6agPu9EspoL0TT0ReNxmtdGyr Cy3CNodoLXLAuzNlYf8vGkEWhiV9GiE= X-Google-Smtp-Source: APiQypIZ655NjFwwOOJft4/sXwJgXfTm3DN2JpsZzenB4Jmi4e4ao3S1bCDNNbZnj3mJgAtekL1TSw== X-Received: by 2002:a1c:492:: with SMTP id 140mr2807410wme.9.1587119083338; Fri, 17 Apr 2020 03:24:43 -0700 (PDT) Received: from MacBook-Pro-van-Johan.local (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226]) by smtp.gmail.com with ESMTPSA id t2sm7226119wmt.15.2020.04.17.03.24.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Apr 2020 03:24:42 -0700 (PDT) Subject: Re: sort.core error doing installworld on Current. To: freebsd-current@freebsd.org References: <202004170131.03H1VvSX048300@gndrsh.dnsmgr.net> From: Johan Hendriks Message-ID: <6a8ef2da-de41-446a-2a85-abf632b72ecd@gmail.com> Date: Fri, 17 Apr 2020 12:24:41 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <202004170131.03H1VvSX048300@gndrsh.dnsmgr.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: nl X-Rspamd-Queue-Id: 493XJs30vqz4tcJ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ed1+ZM+O; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johhendriks@gmail.com designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=johhendriks@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.10), ipnet: 2a00:1450::/32(-2.35), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; 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]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[d.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] 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:24:46 -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? 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" >>