Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1987785rdb; Mon, 9 Oct 2023 09:02:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH4tA96CM+VqJA2tYwHZOr/+XcVTTdfkr/yEfj1ONTHvK+zjKYi9uVadF9itV+kAX2nvdNr X-Received: by 2002:a17:902:c70b:b0:1c6:2866:5aeb with SMTP id p11-20020a170902c70b00b001c628665aebmr12414373plp.9.1696867324571; Mon, 09 Oct 2023 09:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696867324; cv=none; d=google.com; s=arc-20160816; b=07uP/ujDb/FxBR/DjYQ54qm01qzdL+VQ50IpW2r9fAaO9ke3lcntBJ92J/J3aYoD+p YWZ8yVIyhvKWZh3T5Kr1nsDCSC+POXADVrNv6442IIr2HcPgYdpwwdc1rV3Ifke69qAa tQ5HTiKqpLTOzu/Wv2PAakypCQp6xdlnqb01wALQgMu0OtksvJ5YocAa5vyRncpnv1/H blJtI+dBVZn9ZmT9fnCmclGjiDW0A2X4B6hma//kSybHn8Z1cGvMUg1369oUIq/Zc96q NOTXgUB58gCAOc+FaWi2gSzPSp+LU5G/wLvpNiUxqAoJzVr18CsFVRlctiu2QEn1GGs+ 8Bgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=avARBChBkiRvj2BzrqszYOGZ4zYAMecYkoDE3w2FWg0=; fh=8lDvDtyPC8kI+z6ra/WePQf/r6LzbZRdwvu45qe8q2g=; b=0cC3yHI5XGcAH/5ual5SOVPp/uLfErkscP/YFdPHg4ptXFcRcWta/efPg2kCMTLEf/ 3rdAjAYoZnpQZSbNNgDvolvCD9M35RKyM4iYgrLO0PH9b27P9cFPtFnhHc4z8tqf383y ADy0DPMD3cMyZRDEskKWJV9mOWP1+2Vbe5IU3D2gFE7mrFxUY8EhIUJRNo+LkAWBFZ1T 2T4mqCB0eqJjvt41XwD8SzJhV3oAvsZocpnW1iGgqX/atrI7TGovPwayqRxTfa71x59E vVLeHnqERNmsdebNQvdDwuEd4f2tlqx9VtssJwvm0wA2Yuo6T+2LV0EFK82GUKAcH/Uw wL+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id w8-20020a63f508000000b0056fed6cf408si10015131pgh.602.2023.10.09.09.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 09:02:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C18AF81113B8; Mon, 9 Oct 2023 09:01:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376862AbjJIQBo (ORCPT + 99 others); Mon, 9 Oct 2023 12:01:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232941AbjJIQBn (ORCPT ); Mon, 9 Oct 2023 12:01:43 -0400 Received: from a3.inai.de (a3.inai.de [IPv6:2a01:4f8:10b:45d8::f5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E46939E; Mon, 9 Oct 2023 09:01:41 -0700 (PDT) Received: by a3.inai.de (Postfix, from userid 25121) id EC00E588BB0A5; Mon, 9 Oct 2023 18:01:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by a3.inai.de (Postfix) with ESMTP id E97D860C0C523; Mon, 9 Oct 2023 18:01:39 +0200 (CEST) Date: Mon, 9 Oct 2023 18:01:39 +0200 (CEST) From: Jan Engelhardt To: Masahiro Yamada cc: =?UTF-8?Q?Michal_Such=C3=A1nek?= , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Schier , linux-modules@vger.kernel.org, Takashi Iwai , Lucas De Marchi , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Jiri Slaby , Nathan Chancellor , Nick Desaulniers Subject: Re: [PATCH rebased] kbuild: rpm-pkg: Fix build with non-default MODLIB In-Reply-To: Message-ID: <878439n7-r6p3-9504-p193-9q6110422815@vanv.qr> References: <20231005150728.3429-1-msuchanek@suse.de> <20231009085208.GT6241@kitsune.suse.cz> <20231009140733.GV6241@kitsune.suse.cz> User-Agent: Alpine 2.26 (LSU 649 2022-06-02) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 09 Oct 2023 09:01:59 -0700 (PDT) X-Spam-Level: ** On Monday 2023-10-09 17:14, Masahiro Yamada wrote: > >Let me add more context to my question. > >I am interested in the timing when >'pkg-config --print-variables kmod | grep module_directory' >is executed. > >1. Build a SRPM on machine A >2. Copy the SRPM from machine A to machine B >3. Run rpmbuild on machine B to build the SRPM into a RPM >4. Copy the RPM from machine B to machine C >5. Install the RPM to machine C In over 20 years of Linux distros existing, the one thing that everyone has learned is that installing foreign RPM packages (or any other format) is probably not going to work for one reason or another. Different package names in Require: lines (just think of the switch from modutils to kmod), different ABIs.. The overwhelming amount of package production that is going on these days targets distro(A) == distro(B) == distro(C). Yeah, the kernel package is kinda special because the files in it are freestanding executables, but still..