From owner-freebsd-stable@freebsd.org Fri Oct 11 12:50:56 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 EC99D14DB9D for ; Fri, 11 Oct 2019 12:50:56 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46qSVm4gSCz4VfY for ; Fri, 11 Oct 2019 12:50:56 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: by mailman.nyi.freebsd.org (Postfix) id 9E5B414DB9C; Fri, 11 Oct 2019 12:50:56 +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 9E1C614DB9B for ; Fri, 11 Oct 2019 12:50:56 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130055.outbound.protection.outlook.com [40.107.13.55]) (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 46qSVl1xDXz4VfN; Fri, 11 Oct 2019 12:50:54 +0000 (UTC) (envelope-from bengt.ahlgren@ri.se) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f7xNU/IS7t9OQSMwAlSLPJDO4noCWE6c1WM+Xy9lW6SAk2eT76NSayQV1h2yG49AZi/BfzPV/CIMwTlYRDAqEduY0eFocdDLG7Ir9g/4oVUsYwJfd+VRi7V944evJooQ3Y6ClQFWMk/p6dqcOCw8Ix6qDId8PnYqXHyvZi7ziYbhrf+6zIN3xN1w5pdUJgNcBWfgVYzp7bYlgln1DFTxIIYoutth7I+n20yu4TdEd+QynKlJuSkfmdxYO2iiBuxCBloqEw0tpxAk6/M4ZMoF03ehIgRdE6LqPRbI6o6plugfhTM0m58rMhjvqyE+1e9OEyCk1sTSXlH7ZYW7n0qFcw== 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=jlk8zZjzYzmZxlNbhzqAtaf8RydODrG705PCBud0Z1M=; b=CXVdn1W+YUpe+WufN4/rfCw2NPqEVlDFDc/EAXU3MYdS9HaFYx9jZHirrzg6M5oFpRlXjqrkmiLX1gTqkt3RAOHaZ0a9SXIwUwzEVyPLDyyCWQMKUHEdY71+rA3jMIjtj+t/n+/p5AVgQu+0s7lwnMQ2hw2P9yeB66SYxGDFHmX+N9DCvF4nEZ8B+NH4ziGz0hQ95AmDQ0KHS0yVoCosTABdUK8vKFVcr8RF8VDMMtP2jv0EXRnF3KQtYLgDYBI/ylgzPq+B2oby9wLkMfIeRnbnGWnOR06/FkKb3qu4WWDBla3BS4qsc6b/5Eukry4GUD5/FikztZ7JRouRpf/hmQ== 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=jlk8zZjzYzmZxlNbhzqAtaf8RydODrG705PCBud0Z1M=; b=jQBBbhHBWwCrNVDOEpOB9tAWiCezYAXUvMmK3Kpo5DoUto+PvmKeFsJQEbDbqzNH0QickXJ5O/7VUWwnXWMNLK5zKTaZDaeYx4WAeRXk0NcZ9LfBDvNw9nohg8vZCctqx01n69f6jtLNQPmqe1cmxBeS4GDouy9cZrQti1w+sDE= Received: from HE1P189CA0036.EURP189.PROD.OUTLOOK.COM (2603:10a6:7:53::49) by DB6P189MB0310.EURP189.PROD.OUTLOOK.COM (2603:10a6:6:39::31) 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 12:50:52 +0000 Received: from VE1EUR02FT064.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e06::208) by HE1P189CA0036.outlook.office365.com (2603:10a6:7:53::49) 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 12:50:52 +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 VE1EUR02FT064.mail.protection.outlook.com (10.152.13.199) 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 12:50:52 +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 14:50:51 +0200 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.15.2/8.15.2) with ESMTPS id x9BCovrK002728 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Oct 2019 14:50:57 +0200 (CEST) (envelope-from bengt.ahlgren@ri.se) Received: (from bengta@localhost) by P142.sics.se (8.15.2/8.15.2/Submit) id x9BCovUv002727; Fri, 11 Oct 2019 14:50:57 +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: <20191011120426.mqlcn6vwtg6gxwxp@ivaldir.net> (Baptiste Daroussin's message of "Fri, 11 Oct 2019 14:04:28 +0200") References: <1883214925.66.1570706728382@localhost> <20191010152902.rxoxavfyraqvcjpq@ivaldir.net> <20191011094649.nvemaxf75wzqd67x@ivaldir.net> <20191011105556.c2fpf5abiryajv4m@ivaldir.net> <20191011120426.mqlcn6vwtg6gxwxp@ivaldir.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) Date: Fri, 11 Oct 2019 14:50:57 +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)(346002)(376002)(396003)(136003)(51914003)(199004)(189003)(48376002)(14444005)(54906003)(229853002)(6246003)(9686003)(87636003)(47776003)(106002)(2906002)(356004)(5660300002)(478600001)(4326008)(70586007)(26005)(44832011)(3846002)(22756006)(42186006)(8936002)(70206006)(316002)(81166006)(51416003)(58126008)(6116002)(86362001)(7736002)(16586007)(6916009)(336012)(305945005)(446003)(11346002)(476003)(126002)(486006)(76176011)(40036005)(50466002)(8676002)(81156014)(186003)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6P189MB0310; 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: a0e7dd0a-3ec6-4ee2-204d-08d74e49a63c X-MS-TrafficTypeDiagnostic: DB6P189MB0310: 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: 1gZkk+9nmDQfIDzjMedphnxcSJb4YmmCoRHLlxu4hYUNyIr8vtPeka2niVEG84wHAV30xFzGCabhpFT5dFW9teF+fHzKHGMZUIIzj5IBYbcNNIOH+ZmEXbDQYkYlc/RfLp7KvgeSCU/27AoNj3fTO9Ni3B7rr/sLW6Mq5sKIJp9xg0h0vUV2puUT6kXqYyiaB+iBc37rtun5i4GMvPqsHM5YCYopK5B+XKx1fpibC74nFTpt7kV08I28I8mzqojXpOR2tvJNJ/gw6mnr3KV+Mes7w3fmAS71JDaR+Bl3NgbbJ3YbkICgaRitN+5GWHtrjx8R0mTpA+wZMjdYrScMaj1W9/a+2xXl0pwPwpX5smS4vjQD07jLE81+HzyoPAe6Dt/3H7cDD/PmJQbvAwl0GZ4OGTei5kLCiqo0Vre7ZEo= X-OriginatorOrg: ri.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2019 12:50:52.3861 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a0e7dd0a-3ec6-4ee2-204d-08d74e49a63c 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: DB6P189MB0310 X-Rspamd-Queue-Id: 46qSVl1xDXz4VfN X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=RISEcloud.onmicrosoft.com header.s=selector2-RISEcloud-onmicrosoft-com header.b=jQBBbhHB; dmarc=pass (policy=none) header.from=ri.se; spf=pass (mx1.freebsd.org: domain of bengt.ahlgren@ri.se designates 40.107.13.55 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.62), 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)[55.13.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 12:50:57 -0000 Baptiste Daroussin writes: > On Fri, Oct 11, 2019 at 01:57:06PM +0200, Bengt Ahlgren wrote: >> 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. >> > I am interested in the output of file /usr/bin/uname Ah, right, didn't get it that you meant the file command, sorry... $ file /usr/bin/uname /usr/bin/uname: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.2 (1102509), FreeBSD-style, stripped so you are quite right! Bengt