From owner-freebsd-stable@freebsd.org Fri Oct 11 09:54:19 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 727FC1461EE for ; Fri, 11 Oct 2019 09:54:19 +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 46qNZz14S9z4JFy for ; Fri, 11 Oct 2019 09:54:19 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: by mailman.nyi.freebsd.org (Postfix) id 231681461EC; Fri, 11 Oct 2019 09:54:19 +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 22D321461EB for ; Fri, 11 Oct 2019 09:54:19 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30054.outbound.protection.outlook.com [40.107.3.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-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 46qNZx3tDJz4JFx; Fri, 11 Oct 2019 09:54:17 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H9ZDT/GYw1N/IU75ytK4Soz4faldbgil8u9QFc4sR7NXEP9//TvcROzxVJ286vJ4QQq8qUd5i/4C+GQVVSWu1aL40axUwoQVeckqGrYtQqmvmlIGDWKtMZExACUdy8/pePMJ+ges5ZlXihTOMXQ4j5Kb3DR5IpMzJg6oInFteChpaWKLTQwk+c0q4mO34MW6QGbHWhreZDHfNs4nFjd+d9kJu8pK5zUjEVfAfHaXWWUyxZC5xQp0Kul7TLIo9So5v1FLINYp0oomGZUNAKxhsw8EZtwRSfKLig2TzrN2tHwRiLVrzbU/JE0NLJwiGnEoDtQZjjtK9RqRPkqDW3Y1pQ== 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=p7fcv5pLro2vsY0FRKyCk7dy5io0GAzNSaVID4q/kkc=; b=gvHiHWw8b7bRumw+GXy0DXUVwSxDYXDsQteHibuSGp9OuIELtwiYuM9VasqW0nc5SDXsKCKB7CplJ9KGCMrx4RGdWy17f/8p2rVUMCIQ7YPbgr6ZOozbyaCEDsCgVmNBaXIdMrhjPMIwd+BwC0CmHc8A4Yy91z+lyQHqqtednrmI1JrcRQaF2YIk8Wra+SAI5TDsDy5N14CBjVBbUWKFZBTeDSt3I+acyEzbX39Qis0wXpVYm+v1pj5QkKlnkFSiF+5NQ2Hsh0YdKH1MYGPYBZiJpUZDKhhLWVMtwqlYX7v2eMx9zhjgXBLba1b7KRKPsxiGUQC2ugz1q87o9OUPbw== 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=p7fcv5pLro2vsY0FRKyCk7dy5io0GAzNSaVID4q/kkc=; b=Am5W6Mz9piWaNi1xffqXqu2E2bnf6M+B8iG+nx0WFD9t09Dp2BOq4eUsp/k2lhRNn8nCnzpoK+QGKpTUYLCibxGeniF8MrOd1cApizuj4fLAEhUZfVakzPMWnfQKZ3A5CWNHUl7cyKjJh88FpQYxcXOgvm1vC1wIobftLW/zTDE= Received: from VI1P189CA0019.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::32) by AM5P189MB0451.EURP189.PROD.OUTLOOK.COM (2603:10a6:206:24::30) 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 09:54:11 +0000 Received: from AM5EUR02FT020.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e1e::209) by VI1P189CA0019.outlook.office365.com (2603:10a6:802:2a::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.18 via Frontend Transport; Fri, 11 Oct 2019 09:54:11 +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 AM5EUR02FT020.mail.protection.outlook.com (10.152.8.125) 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:54:11 +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:54:10 +0200 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.15.2/8.15.2) with ESMTPS id x9B9sGWW002238 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Oct 2019 11:54:16 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) Received: (from bengta@localhost) by P142.sics.se (8.15.2/8.15.2/Submit) id x9B9sF5d002237; Fri, 11 Oct 2019 11:54:15 +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: <20191011094649.nvemaxf75wzqd67x@ivaldir.net> (Baptiste Daroussin's message of "Fri, 11 Oct 2019 11:46:49 +0200") References: <1883214925.66.1570706728382@localhost> <20191010152902.rxoxavfyraqvcjpq@ivaldir.net> <20191011094649.nvemaxf75wzqd67x@ivaldir.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) Date: Fri, 11 Oct 2019 11:54:15 +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)(376002)(136003)(396003)(346002)(51914003)(189003)(199004)(11346002)(8936002)(81166006)(8676002)(51416003)(446003)(26005)(356004)(81156014)(76176011)(50466002)(486006)(6916009)(40036005)(229853002)(22756006)(386003)(44832011)(336012)(5660300002)(47776003)(86362001)(126002)(476003)(186003)(70206006)(48376002)(316002)(106002)(70586007)(305945005)(7736002)(2906002)(9686003)(3846002)(42186006)(6246003)(478600001)(87636003)(6116002)(14444005)(54906003)(4326008)(16586007)(58126008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5P189MB0451; H:mail.ri.se; FPR:; SPF:Pass; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88ea14a7-916d-4359-3c00-08d74e30f77f X-MS-TrafficTypeDiagnostic: AM5P189MB0451: 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: wNGoTFr9jNeHokmvVLi0NtdON+8doOvDI1WG24C3lwPocR1OEwvE3IMVCrljFx/7EPKU/+BR1h+7ZoxIcRD6HVNHvl6hJYCnERuhCENFA2HH9JD6GffPrOvI7604rXIZsqk0lQOkJKpmD87KJ6JcOAIGy9l6lzn4WTnnUzJ9u5WQLv4piHWY8InBiaG0xNMrycLaLd0OS6OosZ1JnI2iv0979HG37tAfxQEBpDvy574tEZDsXU4jDMXaQXJC8a97WgSGjl2JdXvOnOq3bF5NTYVzZZGB3Kmjxm6LhlWXWHVg3f0FQFmHkMfHgDnd/muskSH8Hp1jMbIbxTJQ5M49GlBj8IGFDiqRphKNYye31GbJBaJFVVobPHretl81AuEsz+N7Qx7AC/ewyy74euG70hlqp2JGUtG4yJxmMUuWzHc= X-OriginatorOrg: ri.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2019 09:54:11.3311 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88ea14a7-916d-4359-3c00-08d74e30f77f 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: AM5P189MB0451 X-Rspamd-Queue-Id: 46qNZx3tDJz4JFx X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=RISEcloud.onmicrosoft.com header.s=selector2-RISEcloud-onmicrosoft-com header.b=Am5W6Mz9; dmarc=pass (policy=none) header.from=ri.se; spf=pass (mx1.freebsd.org: domain of bengt.ahlgren@ri.se designates 40.107.3.54 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)[54.3.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:54:19 -0000 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 Bengt