From owner-freebsd-current@freebsd.org Wed Feb 21 19:01:06 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3630FF2071A for ; Wed, 21 Feb 2018 19:01:06 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C68A16C704 for ; Wed, 21 Feb 2018 19:01:05 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1eoZdS-00024p-4c; Wed, 21 Feb 2018 20:00:58 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "FreeBSD current" , =?utf-8?Q?Trond_Endrest=C3=B8l?= Subject: Re: pkg does not recognize correct kernel version References: <80b54e13-7e6c-a52e-4d42-16903e16e67b@gwdg.de> <20180219210551.GE94212@kib.kiev.ua> Date: Wed, 21 Feb 2018 20:01:00 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 919fae14bc17c74543a025539baad412 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Wed, 21 Feb 2018 19:01:06 -0000 On Tue, 20 Feb 2018 11:30:52 +0100, Trond Endrest=C3=B8l = wrote: > On Mon, 19 Feb 2018 23:38+0100, Ronald Klop wrote: > >> Does this mean I always have to do a *clean* buildworld after every = >> version >> bump? This takes ages. > > Yes, I've come to the conclusion that whenever __FreeBSD_version in > sys/sys/param.h is incremented, then it's time to blow away /usr/obj, > recreate everything to ensure the correct value of osversion in the > .note.tag section of each executable, and reinstall base prior to > updating localbase. See PR 225104 for more details, > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225104. > pkg: Newer FreeBSD version for package gnome-menus: - package: 1200058 - running kernel: 1200056 So it says "running kernel", but it actually checked "version of = FreeBSD_version while building /bin/sh" or something like that. This sounds over-engineered and (more important) confusing. Ronald.