From: Konstantin Lepikhov <lakostis@altlinux.org>
To: ALT Linux kernel packages development <devel-kernel@lists.altlinux.org>
Subject: Re: [d-kernel] Q: kernel modules for 7.x
Date: Thu, 28 May 2026 08:46:49 +0200
Message-ID: <ahfk2cnxXYM5lemu@lks.home> (raw)
In-Reply-To: <bc6a5c20-4f53-4ff8-af32-5c7fad390d90@altlinux.org>
Hi Anton!
On 05/28/2026, at 09:37:31 AM you wrote:
> 28.05.2026 09:32, Konstantin Lepikhov пишет:
> > Hi Andrew!
> >
> > On 05/27/2026, at 11:00:54 PM you wrote:
> >
> >> 27.05.2026 13:14, Konstantin Lepikhov пишет:
> >>> Пробовал, не помогает:
> >>>
> >>> ❯ fgrep '/proc' kernel-modules-bcmwl.spec
> >>> BuildRequires: /proc
> >>> ...
> >>> error: objtool [signal.c:75]: read_stack_limit: fopen failed: No such file or directory
> >> Странно, у меня получилось: https://git.altlinux.org/tasks/419386/
> >> TESTED kernel-modules.git=sisyphus/kernel-modules-drbd9-7.0-9.3.2-alt1
> >>
> >> @@ -25,6 +25,7 @@ BuildRequires(pre): kernel-headers-modules-@kflavour@
> >> BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease
> >> BuildRequires: kernel-source-%module_name = %module_version
> >> BuildRequires: coccinelle >= 1.0.8
> >> +BuildRequires: /proc
> >> Requires: dmsetup
> > У вас получилось, потому что сборочница знает про этот флаг. Для локальной
> > сборки нужно передавать --mountpoints=/proc и выходит, это нужно делать в
> > требованиях пакета kernel-build-tools, а не каждого модуля.
> >
>
> https://www.altlinux.org/Hasher/Руководство#Монтирование_/proc
>
И что вы пытаетесь сказать этой ссылкой? Там написана фигня:
BuildRequires: /proc считывается только _сборочницей_, hsh про эту опцию
не знает, как и gear (gear-rpm может быть знает, не проверял).
Для локальной сборки либо монтирование /proc в /etc/hasher-priv/fstab либо
через --mountpoints=/proc.
--
WBR et al.
next prev parent reply other threads:[~2026-05-28 6:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-27 8:51 Konstantin Lepikhov
2026-05-27 10:00 ` Ivan A. Melnikov
2026-05-27 10:14 ` Konstantin Lepikhov
2026-05-27 20:00 ` Andrew A. Vasilyev
2026-05-28 6:32 ` Konstantin Lepikhov
2026-05-28 6:37 ` Anton Midyukov
2026-05-28 6:46 ` Konstantin Lepikhov [this message]
2026-05-28 7:32 ` iv
2026-05-28 8:09 ` Konstantin Lepikhov
2026-05-28 8:46 ` iv
2026-05-28 9:02 ` Konstantin Lepikhov
2026-05-28 10:36 ` Konstantin Lepikhov
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=ahfk2cnxXYM5lemu@lks.home \
--to=lakostis@altlinux.org \
--cc=devel-kernel@lists.altlinux.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
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git