From owner-freebsd-stable@freebsd.org Fri Oct 11 09:38:48 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 C19251459BF for ; Fri, 11 Oct 2019 09:38:48 +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 46qNF42l1Wz4Gx1 for ; Fri, 11 Oct 2019 09:38:48 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: by mailman.nyi.freebsd.org (Postfix) id 5C3BB1459BE; Fri, 11 Oct 2019 09:38:48 +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 5BFB71459BD for ; Fri, 11 Oct 2019 09:38:48 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70075.outbound.protection.outlook.com [40.107.7.75]) (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 46qNF25632z4Gx0; Fri, 11 Oct 2019 09:38:45 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C7g2XfLZCrB3218S9RcGDirM8H/u5nkMAtmqqWUr06SO2j6abEjkl2VhukvoOry0LL96d2mI+XPt2JzhCtRA0Dm3DzhAysApImZs30RNF+H+fx6SV5s1UvnGZfp7o7aIigc4SwYylE9FkfTpFaELLo0+4xfqCYGyzynb8S4RgnwXxdS/DkkmExkQc+gGUTBjW671OE9DfEHu1ePuzIEpANS3/Jyuq0u0DNVInJ0awN5stmnoT3w9Jv8sIxhgEo+apuWNi6qmo5dmpRZDY5FvNh6muy464kBleW6Sb3JY62+6aY7dmVfI8MEUkcgj615/V2tL5jffZ12UUraYnNYPMQ== 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=kRawjgjjK777LKELjZGlPrgIZFRFogGTb7+C05RNp0E=; b=Fud78GeUlqFoaZNCD/nmARiVCXNx7b2vybpmCOO3zPza21+pS7jse8TCE0clG5TIozzaseD1NfZvJ9gNQ3ecTdmXB/M0A8LS4SZSGqTiMdGJNzXmihvrRNEzS9wXWzUtqCtt/X8bFj7dWBi9MiPgLPwghfEj8tAnfRvzsVTqhklFl699g5gbtWSTLja8Z2k0TAjr45zAJQutLkhfADW0fgz81Avw/chddMK5A1RbEi2miV1jTZyubFd5IKQXtoGBuCa6LddOLUXRH7W0RTglx6qDMkfwnqlBBDmvX14hOTASsAkYG/d1HNwwg4qTg8HLa4i0JBE9UTOfzcexFwgxBw== 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=kRawjgjjK777LKELjZGlPrgIZFRFogGTb7+C05RNp0E=; b=e+z17/rtwpySn0e4se7D/zfqEvwLpzYNbTQC2MVByi5W7FWde3zb+pyg09PnyrnZRKJMdyrhZVdL8C4k7NqaQiFcrZEFK8Gk+UMlhqBl0qlGB8kMKAY9q05o04kA6AyZDMI6Tk+jr9Tx/qHBWWsI8idOkYzix12H++AY/G6oehM= Received: from HE1P18901CA0012.EURP189.PROD.OUTLOOK.COM (2603:10a6:3:8b::22) by HE1P189MB0330.EURP189.PROD.OUTLOOK.COM (2603:10a6:7:61::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.18; Fri, 11 Oct 2019 09:38:42 +0000 Received: from AM5EUR02FT064.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e1e::207) by HE1P18901CA0012.outlook.office365.com (2603:10a6:3:8b::22) 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 09:38:42 +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 AM5EUR02FT064.mail.protection.outlook.com (10.152.9.51) 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 09:38:42 +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 11:38:42 +0200 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.15.2/8.15.2) with ESMTPS id x9B9cmZg002084 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Oct 2019 11:38:48 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) Received: (from bengta@localhost) by P142.sics.se (8.15.2/8.15.2/Submit) id x9B9ckVV002083; Fri, 11 Oct 2019 11:38:46 +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: <20191010152902.rxoxavfyraqvcjpq@ivaldir.net> (Baptiste Daroussin's message of "Thu, 10 Oct 2019 17:29:02 +0200") References: <1883214925.66.1570706728382@localhost> <20191010152902.rxoxavfyraqvcjpq@ivaldir.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) Date: Fri, 11 Oct 2019 11:38:46 +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)(39860400002)(136003)(346002)(376002)(396003)(51914003)(199004)(189003)(76176011)(51416003)(8676002)(5660300002)(81166006)(81156014)(50466002)(87636003)(3846002)(478600001)(6116002)(305945005)(8936002)(7736002)(6246003)(47776003)(70586007)(186003)(70206006)(9686003)(4326008)(386003)(26005)(2906002)(48376002)(16586007)(86362001)(58126008)(54906003)(6916009)(106002)(14444005)(336012)(229853002)(40036005)(476003)(42186006)(356004)(316002)(446003)(11346002)(44832011)(486006)(126002)(22756006); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1P189MB0330; 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: d29add67-be93-4afd-f3d5-08d74e2ecdeb X-MS-TrafficTypeDiagnostic: HE1P189MB0330: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 0187F3EA14 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xDj1KSOjvqLz+W1v//UgalTHjS+Nmz6WvXJIv1XYjUtZzOr8qcd7q9L2CMdEqK5iso5dQqDLOA5/pVGEyYUT56lnq8sHNzFr089i621uGgtNU8Gm0e5FDRo95roIg+LmruOok2LOuGXgsCQGwT96q9MJVGlAcSqac1K9fnSQHxdLpOJ+GQM4SRj0Y2H84bi8Nz6ljH64GEU0aCE3aV4PqYWlSBswxjk+g+NFobILA5vebWniJ5PyWCq2O+8H0CvCQeP3LgeR6OBgnHY93aYyyAv+7o3gWHCaPOb3OzKJlapb06rC59AdW91zmb2+3yh9c5tO1VsrfLTnygSSn7x5g4OkpiStG/Q6hxoe6BN8XcZpR+m+b8vrcvgvnNI41EWkNnwaeTVOeCqbbc3kP4KacktrHQ0YcT5Ac64HECqPN8A= X-OriginatorOrg: ri.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2019 09:38:42.5818 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d29add67-be93-4afd-f3d5-08d74e2ecdeb 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: HE1P189MB0330 X-Rspamd-Queue-Id: 46qNF25632z4Gx0 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=RISEcloud.onmicrosoft.com header.s=selector2-RISEcloud-onmicrosoft-com header.b=e+z17/rt; dmarc=pass (policy=none) header.from=ri.se; spf=pass (mx1.freebsd.org: domain of bengt.ahlgren@ri.se designates 40.107.7.75 as permitted sender) smtp.mailfrom=bengt.ahlgren@ri.se X-Spamd-Result: default: False [-5.31 / 15.00]; IP_SCORE(-1.31)[ipnet: 40.64.0.0/10(-3.89), 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)[+ip4:40.107.0.0/16]; 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)[75.7.107.40.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:40.64.0.0/10, 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 09:38:48 -0000 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! Bengt