mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Thomas Weißschuh" <linux@weissschuh.net>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Jose Fernandez <jose.fernandez@linux.dev>,
	 Nathan Chancellor <nathan@kernel.org>,
	Nicolas Schier <nicolas@fjasle.eu>,
	 Christian Heusel <christian@heusel.eu>,
	Peter Jung <ptr1337@cachyos.org>,
	linux-kbuild@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] kbuild: control extra pacman packages with PACMAN_EXTRAPACKAGES
Date: Wed, 7 Aug 2024 19:31:29 +0200	[thread overview]
Message-ID: <66ef2ce9-5e7d-48fd-abeb-96e463d575ad@t-8ch.de> (raw)
In-Reply-To: <CAK7LNATuA4O3xVLcp5Lywr4njaUneKOJwPHZa11YQe63KXQpMA@mail.gmail.com>

On 2024-08-08 02:02:59+0000, Masahiro Yamada wrote:
> On Thu, Aug 8, 2024 at 1:41 AM Thomas Weißschuh <linux@weissschuh.net> wrote:
> > On 2024-08-07 22:37:47+0000, Masahiro Yamada wrote:
> > > On Wed, Aug 7, 2024 at 11:28 AM Jose Fernandez <jose.fernandez@linux.dev> wrote:

<snip>

> > > Lastly, I will never accept new error messages
> > > with CONFIG_MODULES=n.
> >
> > Could you elaborate?
> > For me this works fine with CONFIG_MODULES=n.
> > (After having fixed the above issues so all subpackages are built)
> 
> $ make  allnoconfig pacman-pkg
> 
> Check the linux-headers log closely.
 
I see now, previously I was not on kbuild/for-next and had an old
Module.symvers sitting around, hiding the issue.

==> Starting package_linux-upstream-headers()...
Installing build files...
tar: Module.symvers: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Installing System.map and config...
Adding symlink...
==> Tidying install...

(coming from scripts/package/install-extmod-build)

linux-upstream-headers also contains .config and System.map which are
useful without modules.
So either we completely disable linux-upstream-headers or skip
install-extmod-build when CONFIG_MODULES=n.
And maybe move System.map and .config to some other package,
which would then deviate from the original PKGBUILD.

Neither option feels great, but it probably won't make a big difference.
If you have a preference, let's go with that.


Thomas

  reply	other threads:[~2024-08-07 17:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-07  2:27 Jose Fernandez
2024-08-07 13:37 ` Masahiro Yamada
2024-08-07 16:40   ` Thomas Weißschuh
2024-08-07 17:02     ` Masahiro Yamada
2024-08-07 17:31       ` Thomas Weißschuh [this message]
2024-08-10  0:16         ` Jose Fernandez
2024-08-10  7:41           ` Masahiro Yamada
2024-08-11 16:01             ` Jose Fernandez
2024-08-10  7:54           ` Thomas Weißschuh
2024-08-11 20:46     ` Jose Fernandez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=66ef2ce9-5e7d-48fd-abeb-96e463d575ad@t-8ch.de \
    --to=linux@weissschuh.net \
    --cc=christian@heusel.eu \
    --cc=jose.fernandez@linux.dev \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=nicolas@fjasle.eu \
    --cc=ptr1337@cachyos.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®