From owner-freebsd-pkg@freebsd.org Wed Feb 14 17:37:39 2018 Return-Path: Delivered-To: freebsd-pkg@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 1A4DDF11720 for ; Wed, 14 Feb 2018 17:37:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A392183F61 for ; Wed, 14 Feb 2018 17:37:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5E722F1171F; Wed, 14 Feb 2018 17:37:38 +0000 (UTC) Delivered-To: pkg@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 4BFAAF1171E for ; Wed, 14 Feb 2018 17:37:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D9B6C83F55 for ; Wed, 14 Feb 2018 17:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 125BF15DAC for ; Wed, 14 Feb 2018 17:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1EHba5G043970 for ; Wed, 14 Feb 2018 17:37:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1EHba7x043969 for pkg@FreeBSD.org; Wed, 14 Feb 2018 17:37:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 225104] ports-mgmt/pkg: "pkg update" fails to update package database saying that kernel too old for some package Date: Wed, 14 Feb 2018 17:37:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 17:37:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225104 Trond.Endrestol@ximalas.info changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Trond.Endrestol@ximalas.inf | |o --- Comment #18 from Trond.Endrestol@ximalas.info --- (In reply to Trond.Endrestol from comment #11) The right place is the LiveSystem-environment file or equivalent. (In reply to Nils Beyer from comment #12) Regarding comment #12, I first thought it prudent to delete the binaries fr= om /usr/obj/$ARCH/usr/src/bin/sh prior to running make buildworld, until the matter is fully resolved. I.e. delete sh, sh.debug, and sh.full. I was prov= ed wrong. Clearing /usr/obj and rebuilding world led to a sh binary with the r= ight osversion, see below. Which file(s) should we forcefully remove to ensure t= he right value of osversion for sh? # objdump --section=3D.note.tag -s sh sh: file format elf64-x86-64-freebsd Contents of section .note.tag: 400218 08000000 04000000 01000000 46726565 ............Free 400228 42534400 c5ce1000 08000000 04000000 BSD............. 400238 02000000 46726565 42534400 00000000 ....FreeBSD..... C5CE1000 (LE) =3D> 0010CEC5 (BE) =3D 1101509 --=20 You are receiving this mail because: You are the assignee for the bug.=