From: Arseny Maslennikov <arseny@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] [cyber] I: Sisyphus-20240125 x86_64 beehive_status: +28 -29 (314)
Date: Thu, 25 Jan 2024 15:11:38 +0300
Message-ID: <ZbJP-l1QWnDHYMXS@cello> (raw)
In-Reply-To: <ZbHuQQRoyD/f6aG6@beehive.mskdc.altlinux.org>
[-- Attachment #1.1: Type: text/plain, Size: 1291 bytes --]
Hi!
Вчера в репозиторий наконец-то был собран iproute2 6.6.0-alt1.
On Thu, Jan 25, 2024 at 05:14:41AM +0000, ALT beekeeper wrote:
> ch341prog-20170517ba1a8306-alt1
> Building Dependency Tree...
> E: Couldn't find package libnetlink-devel
> hsh-install: Failed to calculate package file list.
В этом пакете зачем-то есть попытка собраться с -lnetlink и паразитная
сборочная зависимость на псевдобиблиотеку libnetlink-devel{,-static}. В
коде никаких символов из программы ip (попадавших зачем-то в .so в
пакете "libnetlink") не видно, там явно создают сокеты семейства
NETLINK_KOBJECT_UEVENT, от них вызывают recvmsg(2) и явно разбирают
nl-сообщения.
Если бы псевдобиблиотека действительно использовалась кем-то в
репозитории, она бы не прошла сборочницу.
Чтобы пакет начал пересобираться, достаточно убрать -lnetlink из
обращения к %__cc и BR на libnetlink-devel.
[-- Attachment #1.2: 0001-20170517ba1a8306-alt2.patch --]
[-- Type: text/x-diff, Size: 1586 bytes --]
From 13375489f4b2a3c0b814d3a560018c11463b9187 Mon Sep 17 00:00:00 2001
From: Arseny Maslennikov <arseny@altlinux.org>
Date: Thu, 25 Jan 2024 14:26:33 +0300
Subject: [PATCH] 20170517ba1a8306-alt2
- NMU: Remove build dependency on libnetlink-devel.
---
ch341prog.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/ch341prog.spec b/ch341prog.spec
index 20bfbf0..dd8a66e 100644
--- a/ch341prog.spec
+++ b/ch341prog.spec
@@ -3,16 +3,15 @@
Name: ch341prog
# look at the last non-specfile change, take date and first 8 digits
Version: 20170517ba1a8306
-Release: alt1
+Release: alt2
Summary: 24xx/25xx I2C/SPI IC flashing tool for CH341-based programmers
License: GPL3
Group: Development/Other
URL: https://github.com/setarcos/ch341prog
Source0: %name-%version.tar.xz
%if %build_static
-BuildRequires: glibc-devel-static libnetlink-devel-static
+BuildRequires: glibc-devel-static
%else
-BuildRequires: libnetlink-devel
%endif
%description
@@ -34,7 +33,7 @@ BuildArch: noarch
%build
%__cc -std=gnu99 -Wall -Ilibusb \
*.c libusb/*.c -o %name \
- -lpthread -lnetlink \
+ -lpthread \
%if %build_static
-s -static
%else
@@ -58,6 +57,9 @@ install -m 644 %name.1 %buildroot/%_man1dir/
%doc CH341_chip.txt COPYING README.md
%changelog
+* Thu Jan 25 2024 Arseny Maslennikov <arseny@altlinux.org> 20170517ba1a8306-alt2
+- NMU: Remove build dependency on libnetlink-devel.
+
* Wed Oct 04 2017 Gremlin from Kremlin <gremlin@altlinux.org> 20170517ba1a8306-alt1
- first build
--
2.42.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next parent reply other threads:[~2024-01-25 12:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-25 12:11 ` Arseny Maslennikov [this message]
2024-01-26 4:57 ` Alexey V. Vissarionov
2024-01-26 9:40 ` Arseny Maslennikov
2024-01-26 9:40 ` [devel] статья 128.1 УК РФ (was: [cyber] I: Sisyphus-20240125 x86_64 beehive_status: +28 -29 (314)) Arseny Maslennikov
2024-01-26 13:14 ` [devel] статья 128.1 УК Vitaly Chikunov
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=ZbJP-l1QWnDHYMXS@cello \
--to=arseny@altlinux.org \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git