From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 08 Jan 2024 13:49:59 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rMp4p-008p92-26 for lore@lore.pengutronix.de; Mon, 08 Jan 2024 13:49:59 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rMp4p-0003hE-Di; Mon, 08 Jan 2024 13:49:59 +0100 Received: from mail-he1eur04on2073.outbound.protection.outlook.com ([40.107.7.73] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rMp4Z-0003gr-Pa for ptxdist@pengutronix.de; Mon, 08 Jan 2024 13:49:44 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KYVBtpaVozgpXsd9ss90QOacGoTIX6xng/x1gMTj+A6YJpDllSqsUyrCpI/mRa5KgOE8R7fJ969WHouOkSLVu81rkcY0LHeXpKQk7evBv9l8TuuFMjiVt5RMq6dDmZf6Nm3KTHohgTrYGhmiYN9SLYzBamI3ChEqCJIBPaHOC6R/9rk2OguBTBkS9gON3RzqLa5i0hQGFcaUkJ5kp2sCqa+SBNi6oLqc4SDwu/8wyHIuUAJMf/Hkhl5orx2vn7epyRVa/1kEXVY7JFf/KPdi0zBsQ1QJO9TLutXBBadYMToaaLg4kJd/4Jo2d0mqQ1SDxOQahxgrelKpUbfYoijp4A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=F+B4KJ6m3iY94hNgbb30W136mEUnGk4lbbDbNcVreDQ=; b=n1EpnkyhUp7RtG7v1Qa2ex+2Cz0yxhNgbQm49OGtv3Swt9bmZbIhS7DUDbVIfFztrCECrlt4qqA/ayPeZJ0DMgUd0gdc1Kscsgj7gS3m6bh4GAz9uxGYYrpmsUauGzacCdvG92ctMqJ7aWnnXCjOTMWoFM5j47fYgjHX0rJWaamGGFtvS1+2RE3ilV2jzd1Gn7Qb2Bj31DqerDkYNXw0s8o/DQr8zGzbu4OBc71sO4cxyu5ort3fA8iJPcxd9KIpzcTEAeu3RWAPYBxjvREGYblM69riDJK8rDDgM7k0Z7iQdZN2IA2tJIt58If30jPYU2yLwnMmzKHwhl8TlJz/ug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F+B4KJ6m3iY94hNgbb30W136mEUnGk4lbbDbNcVreDQ=; b=h7bZoM4yVL4TW/hcBhbxyU0VNBsorlyWO1p6odFMo5/N3ftsQILw2hX1h0jcRmYOtsFRzyQJWSgybrYA7cjSe4HQCelLaGakjw5HysHbKCXHkrUrUZAAkRMvC74tIz1eQ26qD1L0/drBlW4v5o0VTtx6pj/rWbv7pHGoiMao8I4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by GVXP251MB0840.EURP251.PROD.OUTLOOK.COM (2603:10a6:150:6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.14; Mon, 8 Jan 2024 12:49:40 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::4aef:7398:a753:3fe8]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::4aef:7398:a753:3fe8%4]) with mapi id 15.20.7181.014; Mon, 8 Jan 2024 12:49:39 +0000 Message-ID: <76c12c66-efa8-4f02-a6d6-5204271806a3@t2data.com> Date: Mon, 8 Jan 2024 13:47:57 +0100 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ruggero References: <20240108131457.604dc6c4@Laptop-RR> From: Christian Melki In-Reply-To: <20240108131457.604dc6c4@Laptop-RR> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: GV3PEPF000000D0.SWEP280.PROD.OUTLOOK.COM (2603:10a6:144:1:0:2:0:15) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|GVXP251MB0840:EE_ X-MS-Office365-Filtering-Correlation-Id: b41f5874-3bb0-4c64-e020-08dc10484715 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G7UcFhWFQRbdcxTBiikeCg+HBTb9KEhgBB+YXWwxhhTMGxgA/3m1j+37lTVCups5ttwXJSQjg/VnwEYmtQwkGETqgpMr0xlakW9YtW8C4LpBxcxA+CdM/jPbmT5twC2187w0RrMbIhzcN+uufGHM/bdAElVtew/rQyHv4TZIl8KMbJ/wKJw8IhB9yZOG0I3ixq4pLvY0HXL4HdhT+ibgjydOFeQVx87G7t2HjLAdEA7h2OHIZ6aj26sb7JYdPz5h/quPLgkiaC22+D6vKG96i7XjgD7MG8jiujBiTt9mi1lTXYJ2aIJQDfYUCXgxbVREMideyBMaRnhvoPO02s+jHj4sbyaPSJnG4I5yUpOg5OdfS7LbUZGvElfu1Cn9YWcb766ZrUj1TuGqxVOMdK15oyiGbJ69G6I/FT9QApvfYtRH82AQ16qd7JdvgMbE9uHd7I7yzvjTcAiyX7qHmO9KQ/+NBekIgx5GbskD28e3RAFmFbwP/IA/s/3hGFarmb/F5PbFgWtP4Dyh0a5KThuDlOhqleOX5hZC5y5CZD7B5LjoeOsJd0AfxzJ7N20fLc9nxbx3zfJma6qNkLa7mrQ9bEbeMROuoU+SzqxrtBW0RQK3OlvjNQpRJqctjMOnT24gc6cXmBuiEQqF+9Yu2LX6VA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(39830400003)(376002)(366004)(136003)(346002)(396003)(230922051799003)(1800799012)(451199024)(186009)(64100799003)(26005)(83380400001)(2616005)(38100700002)(478600001)(41300700001)(8676002)(8936002)(316002)(6916009)(5660300002)(2906002)(6666004)(4326008)(44832011)(66476007)(966005)(53546011)(66556008)(66946007)(6486002)(6506007)(6512007)(31696002)(86362001)(36756003)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N081YTZRQzkzcEhFU0JDaHhMSElKYWZ4bkdGRVFRWTNqVVRMelAzSW5NUTRi?= =?utf-8?B?cUJjTldjT2xyamNRSGgzNGYyajNFaUVHdlNNbEJqWmIyV1F2R29WNUdFNUg0?= =?utf-8?B?bFd0RFJtcXFsN1ZmUTFlT29UTENQcTluZVhsTzl2SFRCOFN0ekw5WERQNElx?= =?utf-8?B?M29KbU10UEtEcGt1ZTdBZ1FNN3E3UmtSUHE0eHhOR0p3djVENzNmU00yNXph?= =?utf-8?B?N3ZoSkxq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mxEeTJRZ0R4L2hkZmZwSW5l?= =?utf-8?B?YmpPVGJRTnFKK3M0TElQY0ZBWDFpK08wVDhaZlRBb1I4Q2dhV0xMTmpCdkc4?= =?utf-8?B?cXJudnlKenRKbWJ2aFhGMFVRaVJnRkVkbklZeE4zclJZZFAvN1dtMEtiYUhC?= =?utf-8?B?b0E9PQ==?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: b41f5874-3bb0-4c64-e020-08dc10484715 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 12:49:39.8234 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: d5tS/2rZNMEgyq1JRkiLapazOUzX2nuUFGvH2lsc4MfOMzSD6NwOWTYqAaTU1lTQr6RCJNO+mJzzE3D1jDFu11yoOf0yd8q5I+IpmJDD3LY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXP251MB0840 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] Difficulties to compile package utils-linux while upgrading from PTXDIST-2023.09.0 to PTXDIST-2023.19.0. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hi, On 1/8/24 1:14 PM, ruggero wrote: > [Du f?r inte e-post ofta fr?n rrossi@atb-biomag.de. L?s om varf?r det h?r ?r viktigt p? https://aka.ms/LearnAboutSenderIdentification ] > > Hello everybody, > > > my BSP still uses an old version of linux / libC, that does not provide > all modern features. > > Compiling utils-linux with PTXDIST-2023.09.0 was painless. > Upgrading to PTXDIST-2023.11.0 caused several compilation errors. > > Both PTXDIST release uses the same version of utils-linux (2.39.2) the > only difference being the build system. PTXDIST-2023.09.0 uses autotools, > while PTXDIST-2023.11.0 uses meson. > > Here a list of the problems: > > My linux do not provide . This causes an error while > compiling blkzone. > > My linux do not provide . This causes an error compiling blkpr. > > My linux do not provide . This causes an error compiling > lsfd. > > My linux do not provide the symbol SIOCGSKNS in linux/sockios.h. This > causes an error while compiling test_mkfds. > > In the autotool version, all these programs were disabled. This seems to > be not possible with meson. > > My libC provides the symbol openpty in the libutils module. The > PTXDIST-2023.09.0 makefile util-linux.make explicitly enables libutils, > the PTXDIST-2023.11.0 explicitly disables them. > > I was able to find a solution to all the problems. Attached are my patches. > > In meson.build I disabled build of blkzone if linux/blkzoned.h does not > exists, lsfd if linux/pr.h is missing, etc. > > In the makefile util-linux.make I just changed libutils form disabled to > enabled. Maybe one can consider to use a parameter instead. > > I'm not sure if this is the best way to do, since it is my first > experience with meson. It would be nice if somebody can check them, and > maybe include them in the future versions of ptxdist. > Thanks for reporting and working with these issues. I suggest also reporting them upstream to the util-linux project itself. There are going to be a lot of these types of issues. Ie when converting build systems, be it autotools or anything else. Regards, Christian > > > Ruggero > > > >