Article View: linux.debian.bugs.dist
Article #5809Bug#1155035: numatop: FTBFS: mgen tests fail when CPU 1 and NUMA node 1 are unavailable
From: Santiago Vila
Date: Mon, 23 Nov 2026 18:40
Date: Mon, 23 Nov 2026 18:40
74 lines
4443 bytes
4443 bytes
This is a multi-part message in MIME format. --------------055kUwzSE4SxrWUOFewpAJhN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Package: src:numatop Version: 2.5.1-1 Severity: important Tags: ftbfs trixie forky sid patch Dear maintainer: I tried to build this package on a VM with only 1 CPU and it failed (see below). Full build log available here: https://people.debian.org/~sanvila/build-logs/202611/ This is very easy to reproduce by booting with GRUB_CMDLINE_LINUX="nr_cpus=1". Apparently the tests blindly assume that the building machine has more than one CPU, which may or may not be the case. The attached patch would be one possible way to fix this, but if it's considered too intrusive, a simpler approach would be to check for nproc in debian/rules and act accordingly (i.e. just skip the tests if nproc is 1). [ Note: I missed this package for a long time in my tests because it has "Architecture: linux-amd64", which my scripts have been ignoring until now... There are only a handful of packages using such string, and this is the only one having a ftbfs issue. ] Thanks. -------------------------------- FAIL: test/mgen.01.sh ===================== mbind: Invalid argument Failed to dependent read. FAIL test/mgen.01.sh (exit status: 255) FAIL: test/mgen.02.sh ===================== Failed to dependent read. FAIL test/mgen.02.sh (exit status: 255) --------------055kUwzSE4SxrWUOFewpAJhN Content-Type: text/x-patch; charset=UTF-8; name="skip-mgen-on-unsupported-topology.patch" Content-Disposition: attachment; filename="skip-mgen-on-unsupported-topology.patch" Content-Transfer-Encoding: base64 RnJvbTogU2FudGlhZ28gVmlsYSA8c2FudmlsYUBkZWJpYW4ub3JnPgpTdWJqZWN0OiBTa2lw IG1nZW4gdGVzdHMgb24gdW5zdXBwb3J0ZWQgTlVNQSB0b3BvbG9naWVzCgpUaGUgdGVzdHMg YmluZCB0aGUgcmVhZGVyIHRocmVhZCB0byBDUFUgMSBhbmQsIGZvciBtZ2VuLjAxLCBhbGxv Y2F0ZSB0aGUKYnVmZmVyIG9uIG5vZGUgMS4gIE9uIGhvc3RzIHdpdGhvdXQgdGhlbSAoYnVp bGRkcywgY29udGFpbmVycykKc2NoZWRfc2V0YWZmaW5pdHkoKSBmYWlscywgbWdlbiBleGl0 cyAyNTUgYW5kIGRoX2F1dG9fdGVzdCBhYm9ydHMuCkV4aXQgd2l0aCBBdXRvbWFrZSdzIFNL SVAgc3RhdHVzICg3Nykgd2hlbiB0aGUgcmVxdWlyZWQgQ1BVIG9yIG5vZGUgaXMgbWlzc2lu Zy4KCi0tLSBhL3Rlc3QvbWdlbi4wMS5zaAorKysgYi90ZXN0L21nZW4uMDEuc2gKQEAgLTEs MiArMSw1IEBACiAjIS9iaW4vc2gKKyMgTE1BIHRlc3Q6IG5lZWRzIGEgc2Vjb25kIENQVSBv biBhIHNlY29uZCBOVU1BIG5vZGUuCitbICIkKG5wcm9jKSIgLWdlIDIgXSAmJiBbIC1kIC9z eXMvZGV2aWNlcy9zeXN0ZW0vbm9kZS9ub2RlMSBdIHx8IGV4aXQgNzcKKwogZXhlYyAuL21n ZW4gLWEgMSAtYyAxIC10IDEwCi0tLSBhL3Rlc3QvbWdlbi4wMi5zaAorKysgYi90ZXN0L21n ZW4uMDIuc2gKQEAgLTEsMyArMSw1IEBACiAjIS9iaW4vc2gKKyMgUk1BIHRlc3Q6IG5lZWRz IGEgc2Vjb25kIENQVSAobm9kZSAwIGFsd2F5cyBleGlzdHMpLgorWyAiJChucHJvYykiIC1n ZSAyIF0gfHwgZXhpdCA3NwogCiBleGVjIC4vbWdlbiAtYSAwIC1jIDEgLXQgMTAK --------------055kUwzSE4SxrWUOFewpAJhN--
Technical Details
Message-ID:
<O2H7j-dIIZ-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155035: numatop: FTBFS: mgen tests fail when CPU 1 and NUMA node 1 are unavailable Date: Mon, 23 Nov 2026 19:40:01 +0100 Message-ID: <O2H7j-dIIZ-7@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 23 18:33:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1155035@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, daniel@debian.org X-Debian-Pr-Message: report 1155035 X-Debian-Pr-Package: src:numatop X-Debian-Pr-Keywords: forky ftbfs patch sid trixie X-Debian-Pr-Source: numatop Content-Type: multipart/mixed; boundary="------------055kUwzSE4SxrWUOFewpAJhN" MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US X-Debian-User: sanvila X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004505 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 74 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 23 Nov 2026 19:31:01 +0100 X-Original-Message-ID: <e8fded26-87a7-47c9-9944-8a1a5ef896e9@debian.org>