#955260 libkqueue: fails to build on most my boxes

Package:
src:libkqueue
Source:
libkqueue
Submitter:
Adam Borowski
Date:
2025-06-19 06:19:08 UTC
Severity:
important
Tags:
#955260#5
Date:
2020-03-28 20:42:59 UTC
From:
To:
Source: libkqueue
Version: 2.0.3-1.2
Severity: important
Tags: ftbfs
Justification: fails to build from source

Hi!
I've just uploaded Sudip's NMU to fix a FTBFS, but the package fails its
testsuite on most machines I tried:

✗ 64-thread 2990WX, kernel 5.6.0-rc6-00085-ge6fd0e58416e
✗ 6-core Phenom 2, kernels:
	5.5.13-00041-g677eee050e0c
	4.19-0-8 (packaged, buster)
	4.18.0-rc1-cjk-debug-00028-g91e4a47950da
✓ 4-thread Braswell, kernel 4.19-0-8 (packaged, buster)
✗ 8-thread Skylake, kernel 5.5.13-00032-g845e62e65337
✓ barriere.d.n: 4-vthread 4.19-0-8 (packaged, buster)

All of these but barriere have exactly the same sbuild setup;
DEB_BUILD_OPTIONS=parallel=1 doesn't help so it's not a matter of
parallelism.


FAIL: kqtest
============

/usr/lib/x86_64-linux-gnu/libeatmydata.so(+0x53c)[0x7fa774e5353c]
[0x3a]
[0x3a]
[0x5340d]
[0x1]
[0x81a4]
[0x0]
[0x0]
[0x3900]
[0x0]
[0x63]
[0x5e7d2f44]
[0x0]
[0x5e7b5518]
[0x0]
[0x1000]
[0x1c745ce6]
[0x0]
[0x0]
[0x40]
[0x7000000101]
[0x0]
[0x1]
[0x8]
[0x770000007c]
[0x630000006f]
[0x0]
[0xff]
[0x1000]
[0xffffffffffffca88]
/lib/x86_64-linux-gnu/libc.so.6(_IO_file_jumps+0x0)[0x7fa774e1d4a0]
[0x8]
Running 1 iterations
1: test_peer_close_detection()
2: test_kqueue()
3: test_kevent()
4: test_ev_receipt()
5: test_kevent_socket_add()
6: test_kevent_socket_del()
7: test_kevent_socket_add_without_ev_add()
8: test_kevent_socket_get()
9: test_kevent_socket_disable_and_enable()
10: test_kevent_socket_oneshot()
11: test_kevent_socket_clear()
12: test_kevent_socket_dispatch()
13: test_kevent_socket_listen_backlog()
14: test_kevent_socket_eof()
15: test_kevent_regular_file()
***** ERROR: Program received signal 6 *****
 *** TEST FAILED ***
FAIL kqtest (exit status: 1)


Meow!

#955260#10
Date:
2020-03-29 17:52:40 UTC
From:
To:
Before digging too closely into this, it's time to update this package
to the latest upstream version, which contains a dozen or so bug
fixes.

Adam,

Are you able to manually checkout the source code from Git at the
v2.3.1 tag, and see if the testsuite runs cleanly?

#955260#15
Date:
2020-03-29 18:28:10 UTC
From:
To:
Outside of sbuild, the testsuite for 2.3.1 does pass.
I haven't tried rewriting the packaging for cmake to test inside sbuild.


Meow!

#955260#20
Date:
2020-03-29 18:44:57 UTC
From:
To:
Thanks, I'll prepare a package update to v2.3.1 and upload it to
mentors.debian.net. I'll need a sponsor to upload it from there.

#955260#25
Date:
2024-04-27 10:32:58 UTC
From:
To:
This is now happening on the buildds as well and I can also reproduce it
locally on amd64.


Andreas

#955260#36
Date:
2024-04-27 10:48:32 UTC
From:
To:
On Sat, 27 Apr 2024 12:32:58 +0200 Andreas Beckmann <anbe@debian.org> wrote:

[...]

You must try with the latest source 2.6.1

https://github.com/mheily/libkqueue/releases

Christian

#955260#41
Date:
2025-06-19 06:17:23 UTC
From:
To:
Dear submitter,

as the package libkqueue has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1104870

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)