From owner-freebsd-stable@freebsd.org Fri Oct 11 11:57:07 2019 Return-Path: Delivered-To: freebsd-stable@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 9B12F14AA51 for ; Fri, 11 Oct 2019 11:57:07 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46qRJg1X5Nz4R0h for ; Fri, 11 Oct 2019 11:57:07 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: by mailman.nyi.freebsd.org (Postfix) id 31F1914AA4F; Fri, 11 Oct 2019 11:57:07 +0000 (UTC) Delivered-To: stable@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 31B0514AA4E for ; Fri, 11 Oct 2019 11:57:07 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0613.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::613]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qRJd6Ptgz4R0f; Fri, 11 Oct 2019 11:57:04 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b9pL5HFzTynzFkjdeMjpgUJQKjjFL0umGhuKT7GfCVmJRxuU13hDGSA3/wtTfLthv6nFohAR2dZdXqL1GbOH4cuv6/RjXX3VcO/bf8h+Seoc3cuamUYKGR/bxPUoHbaDUlJiwWQOZZnfacPbh3d6bpaeVMQ7mGamwWpsYmSREDHalC2PtF4xC9g3xCzj2zypMssvll7r7fuwrPCINBgs6va+o/1oTpX777LpeFrgozuwfz17KVem3wyfOxJWssSuATU7MuZSVSoPwJkNFibA49+0kOiLf9ah2V6xqxwG2Yqi7a+TzFtuURb2W0DJR+h/U+okZVbY+/0taJJV2Pk5pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/il/xsPN9YvO+ic2gshs4KTxiqF8EhlUGDKHtR6CuEA=; b=HCuTUPG/DLb9Go+Q/OuAbN7HT+s2P1FnpzGJ62qrCEUgpcHoeQwXjz2Zb+MMTlv2ccgtf5wD+CPSr+T6RiXUizUFW73I3zL6qAcTL+y667dKd0MM2qxqoBF8x+Wf6ycHpTmK38kouNOmCVpKpMmKYkjQHdOhRSNiEQqT7v6Solh6R+bvedej7pM8q48XWRCEpJtq1pDsvVUX3RFvQho6OqBdpGbyucvppOCeYeeQ1FOGlzumA64bCM0LJVBgWv7g39EbOocVV0AQMG7YUGyqeofDPo3I9dUjxgOedAHQsdNtCgwOmHDiVQKIpAh+/V3xUpmbC86axPk06JYEYumyYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.218.146.197) smtp.rcpttodomain=freebsd.org smtp.mailfrom=ri.se; dmarc=pass (p=none sp=none pct=100) action=none header.from=ri.se; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RISEcloud.onmicrosoft.com; s=selector2-RISEcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/il/xsPN9YvO+ic2gshs4KTxiqF8EhlUGDKHtR6CuEA=; b=bgPMOqHpCNuSP9nSwghucTQYhNrAR06DN3H3pS+XH0U5yea9tJkIr+EU0WJ/JwA4U8VUwKmt5fqyO9qmuSMuCqasQoIMXXgEHl9ym9SBjm27M1cIugs8UwtqFrRclKoQwdWtTDHxCongfqCt5DwTfhQGpBrr6OKY8y8bRvjV+4g= Received: from HE1P189CA0027.EURP189.PROD.OUTLOOK.COM (2603:10a6:7:53::40) by VI1P18901MB0799.EURP189.PROD.OUTLOOK.COM (2603:10a6:800:125::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16; Fri, 11 Oct 2019 11:57:02 +0000 Received: from HE1EUR02FT046.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e05::207) by HE1P189CA0027.outlook.office365.com (2603:10a6:7:53::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.16 via Frontend Transport; Fri, 11 Oct 2019 11:57:01 +0000 Received-SPF: Pass (protection.outlook.com: domain of ri.se designates 194.218.146.197 as permitted sender) receiver=protection.outlook.com; client-ip=194.218.146.197; helo=mail.ri.se; Received: from mail.ri.se (194.218.146.197) by HE1EUR02FT046.mail.protection.outlook.com (10.152.11.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2347.16 via Frontend Transport; Fri, 11 Oct 2019 11:57:01 +0000 Received: from P142.sics.se (10.116.0.226) by sp-mail-3.sp.se (10.100.0.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Fri, 11 Oct 2019 13:57:00 +0200 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.15.2/8.15.2) with ESMTPS id x9BBv6fj002610 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Oct 2019 13:57:06 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) Received: (from bengta@localhost) by P142.sics.se (8.15.2/8.15.2/Submit) id x9BBv6JL002609; Fri, 11 Oct 2019 13:57:06 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) X-Authentication-Warning: P142.sics.se: bengta set sender to bengt.ahlgren@ri.se using -f From: Bengt Ahlgren To: Baptiste Daroussin CC: , Ronald Klop Subject: Re: pkg thinks kernel is old In-Reply-To: <20191011105556.c2fpf5abiryajv4m@ivaldir.net> (Baptiste Daroussin's message of "Fri, 11 Oct 2019 12:55:57 +0200") References: <1883214925.66.1570706728382@localhost> <20191010152902.rxoxavfyraqvcjpq@ivaldir.net> <20191011094649.nvemaxf75wzqd67x@ivaldir.net> <20191011105556.c2fpf5abiryajv4m@ivaldir.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) Date: Fri, 11 Oct 2019 13:57:06 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.116.0.226] X-ClientProxiedBy: sp-mail-1.sp.se (10.100.0.161) To sp-mail-3.sp.se (10.100.0.163) X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:194.218.146.197; IPV:NLI; CTRY:SE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(136003)(346002)(39860400002)(199004)(189003)(51914003)(7736002)(50466002)(478600001)(40036005)(3846002)(9686003)(4326008)(305945005)(106002)(87636003)(6116002)(22756006)(8676002)(8936002)(2906002)(54906003)(58126008)(42186006)(316002)(16586007)(81156014)(14444005)(81166006)(6916009)(86362001)(26005)(76176011)(386003)(186003)(336012)(11346002)(47776003)(356004)(486006)(476003)(44832011)(70586007)(70206006)(51416003)(229853002)(5660300002)(6246003)(48376002)(446003)(126002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1P18901MB0799; H:mail.ri.se; FPR:; SPF:Pass; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 64c3fe7c-3994-441a-ff0e-08d74e422095 X-MS-TrafficTypeDiagnostic: VI1P18901MB0799: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-Forefront-PRVS: 0187F3EA14 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U2KgONEMY6rah9BEdjNkGTDY3rYTEqx9P0Y6mJACxkBhPnGtG2/MwJCqmX6Z27CevVgxzFBBh7hPiTIreYfKU+gG5dAo0nXah6xG9YGZSAqt0ieIC2b9GSFHOqv4LjgBPY3xzNckB2tagXB4mj2bYq3RJ+1OtPrHApJp+im/kgF8fk17arXQMG3vtf4Ce2DNKc8ZsIbnVldF+86iW83YwMLQg2HB+lgUFhDoSzNgtwoRaVkYKW4IIHxhaSomuSSwt9p1dTma7dnAJFmPFwiPWpMwoKG0vtqaiVHDP+X+f2zLhimd6PZRRd/IK26ZAyjqbd2Lr91o9lA7vVSh6uLKuJj8c0whVw33t6TBzf3H2bKLpREzGupOwOeV5cN6W6qCOFAfgHbJLzD64XC4WMOVM8edcvxq1fAby8WYqBpPH/I= X-OriginatorOrg: ri.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2019 11:57:01.7073 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 64c3fe7c-3994-441a-ff0e-08d74e422095 X-MS-Exchange-CrossTenant-Id: 5a9809cf-0bcb-413a-838a-09ecc40cc9e8 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5a9809cf-0bcb-413a-838a-09ecc40cc9e8; Ip=[194.218.146.197]; Helo=[mail.ri.se] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1P18901MB0799 X-Rspamd-Queue-Id: 46qRJd6Ptgz4R0f X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=RISEcloud.onmicrosoft.com header.s=selector2-RISEcloud-onmicrosoft-com header.b=bgPMOqHp; dmarc=pass (policy=none) header.from=ri.se; spf=pass (mx1.freebsd.org: domain of bengt.ahlgren@ri.se designates 2a01:111:f400:fe0e::613 as permitted sender) smtp.mailfrom=bengt.ahlgren@ri.se X-Spamd-Result: default: False [-5.20 / 15.00]; IP_SCORE(-1.20)[ipnet: 2a01:111:f000::/36(-3.31), asn: 8075(-2.61), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[RISEcloud.onmicrosoft.com:s=selector2-RISEcloud-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[RISEcloud.onmicrosoft.com:+]; DMARC_POLICY_ALLOW(-0.50)[ri.se,none]; RCVD_IN_DNSWL_NONE(0.00)[3.1.6.0.0.0.0.0.0.0.0.0.0.0.0.0.e.0.e.f.0.0.4.f.1.1.1.0.1.0.a.2.list.dnswl.org : 127.0.3.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[i=1] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2019 11:57:07 -0000 Baptiste Daroussin writes: > On Fri, Oct 11, 2019 at 11:54:15AM +0200, Bengt Ahlgren wrote: >> Baptiste Daroussin writes: >> >> > On Fri, Oct 11, 2019 at 11:38:46AM +0200, Bengt Ahlgren wrote: >> >> Baptiste Daroussin writes: >> >> >> >> > On Thu, Oct 10, 2019 at 03:44:03PM +0200, Bengt Ahlgren wrote: >> >> >> Ronald Klop writes: >> >> >> >> >> >> > Van: Bengt Ahlgren >> >> >> > Datum: woensdag, 9 oktober 2019 23:38 >> >> >> > Aan: stable@freebsd.org >> >> >> > Onderwerp: pkg thinks kernel is old >> >> >> >> >> >> >> >> I've ran into this on my 11.3-STABLE system: >> >> >> >> >> >> >> >> # uname -K >> >> >> >> 1103500 >> >> >> >> # pkg update -f >> >> >> >> Updating ivyp repository catalogue... >> >> >> >> Fetching meta.txz: 100% 560 B 0.6kB/s 00:01 Fetching >> >> >> >> packagesite.txz: 100% 410 KiB 419.9kB/s 00:01 Processing >> >> >> >> entries: 0% >> >> >> >> Newer FreeBSD version for package zziplib: >> >> >> >> To ignore this error set IGNORE_OSVERSION=yes >> >> >> >> - package: 1103000 >> >> >> >> - running kernel: 1102509 >> >> >> >> Ignore the mismatch and continue? [Y/n]: >> >> >> >> >> >> >> >> I build my own packages with poudriere, and have just switched from an >> >> >> >> 11.2-REL to an 11.3-REL jail. I didn't force-upgrade everything after >> >> >> >> the switch, perhaps that's needed to make pkg recognise the correct >> >> >> >> kernel version? >> >> >> >> >> >> >> >> Bengt >> >> >> >> >> >> > This message of pkg is misleading. >> >> >> > >> >> >> > It looks at /bin/sh or something like that for the version. And prints >> >> >> > that as the 'kernel' version. So if you did an incremental build and >> >> >> > /bin/sh was not changed the version stays the same. >> >> >> > To fix it you can do a clean buildworld/installworld. >> >> >> > >> >> >> > Regards, >> >> >> > Ronald. >> >> >> >> >> >> That might well be it - I've done some buildworld:s with -DNO_CLEAN >> >> >> lately. I'll test - thanks for the tip! >> >> > >> >> > Can you provide the uname -U information (building with -DNO_CLEAN) should be >> >> > perfectly fine. >> >> >> >> Thanks for looking into this! >> >> >> >> $ uname -U >> >> 1103500 >> >> >> >> Let me know if there is something else I can check before I do a full >> >> buildworld on this system! >> > >> > What are the output of pkg config osversion >> > and pkg -o ABI_FILE=/usr/bin/uname config osversion >> > please >> >> $ pkg config osversion >> 1102509 >> $ pkg -o ABI_FILE=/usr/bin/uname config osversion >> 1102509 > > It means you /usr/bin/uname binary has been built with a compiler that says it > is building for 1102509. > > Can you show the output of file /usr/bin/uname ? $ uname -aKU FreeBSD P142.sics.se 11.3-STABLE FreeBSD 11.3-STABLE #9 r353280: Mon Oct 7 22:16:02 CEST 2019 root@P142.sics.se:/storage/obj/usr/src/sys/X250 amd64 1103500 1103500 no signs of 1102509 there... and "strings -a /usr/bin/uname |grep 110" returns nothing. Bengt