Debian Bug report logs -
#959182
Build failures due to missing linux/time_types.h
Reported by: Max Kellermann <max@blarg.de>
Date: Thu, 30 Apr 2020 13:30:02 UTC
Severity: normal
Tags: pending
Found in version liburing/0.6-2
Fixed in version liburing/0.6-3
Done: Guillem Jover <guillem@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Guillem Jover <guillem@debian.org>:
Bug#959182; Package liburing-dev.
(Thu, 30 Apr 2020 13:30:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Max Kellermann <max@blarg.de>:
New Bug report received and forwarded. Copy sent to Guillem Jover <guillem@debian.org>.
(Thu, 30 Apr 2020 13:30:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: liburing-dev
Version: 0.6-2
It appears to be impossible to build anything with liburing-dev, not
even the examples shipped in the package:
$ gcc /usr/share/doc/liburing-dev/examples/io_uring-test.c
In file included from /usr/include/liburing.h:14,
from /usr/share/doc/liburing-dev/examples/io_uring-test.c:13:
/usr/include/liburing/compat.h:5:10: fatal error: linux/time_types.h: No such file or directory
#include <linux/time_types.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Reply sent
to Guillem Jover <guillem@debian.org>:
You have taken responsibility.
(Thu, 30 Apr 2020 16:36:04 GMT) (full text, mbox, link).
Notification sent
to Max Kellermann <max@blarg.de>:
Bug acknowledged by developer.
(Thu, 30 Apr 2020 16:36:04 GMT) (full text, mbox, link).
Message #10 received at 959182-done@bugs.debian.org (full text, mbox, reply):
Hi!
On Thu, 2020-04-30 at 15:21:30 +0200, Max Kellermann wrote:
> Package: liburing-dev
> Version: 0.6-2
> It appears to be impossible to build anything with liburing-dev, not
> even the examples shipped in the package:
>
> $ gcc /usr/share/doc/liburing-dev/examples/io_uring-test.c
> In file included from /usr/include/liburing.h:14,
> from /usr/share/doc/liburing-dev/examples/io_uring-test.c:13:
> /usr/include/liburing/compat.h:5:10: fatal error: linux/time_types.h: No such file or directory
> #include <linux/time_types.h>
> ^~~~~~~~~~~~~~~~~~~~
> compilation terminated.
You are missing the linux-libc-dev package which gets pulled in by the
libc6-dev package.
I'd recommend just installing the build-essential package, which is
what every package in Debian can assume being present when being built.
I'm closing the report.
Thanks,
Guillem
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#959182; Package liburing-dev.
(Thu, 30 Apr 2020 16:39:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list.
(Thu, 30 Apr 2020 16:39:02 GMT) (full text, mbox, link).
Message #15 received at 959182@bugs.debian.org (full text, mbox, reply):
Control: reopen -1
On Thu, 2020-04-30 at 18:32:32 +0200, Guillem Jover wrote:
> On Thu, 2020-04-30 at 15:21:30 +0200, Max Kellermann wrote:
> > Package: liburing-dev
> > Version: 0.6-2
>
> > It appears to be impossible to build anything with liburing-dev, not
> > even the examples shipped in the package:
> >
> > $ gcc /usr/share/doc/liburing-dev/examples/io_uring-test.c
> > In file included from /usr/include/liburing.h:14,
> > from /usr/share/doc/liburing-dev/examples/io_uring-test.c:13:
> > /usr/include/liburing/compat.h:5:10: fatal error: linux/time_types.h: No such file or directory
> > #include <linux/time_types.h>
> > ^~~~~~~~~~~~~~~~~~~~
> > compilation terminated.
>
> You are missing the linux-libc-dev package which gets pulled in by the
> libc6-dev package.
>
> I'd recommend just installing the build-essential package, which is
> what every package in Debian can assume being present when being built.
>
> I'm closing the report.
Hmm, I'm not sure whether this is really consistently applied in the
distribution for -dev packages. But I guess I could just add the
linux-libc-dev dependency here. So I'll do that.
Thanks,
Guillem
Bug reopened
Request was from Guillem Jover <guillem@debian.org>
to 959182-submit@bugs.debian.org.
(Thu, 30 Apr 2020 16:39:02 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Guillem Jover <guillem@debian.org>:
Bug#959182; Package liburing-dev.
(Thu, 30 Apr 2020 17:33:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Max Kellermann <max@blarg.de>:
Extra info received and forwarded to list. Copy sent to Guillem Jover <guillem@debian.org>.
(Thu, 30 Apr 2020 17:33:06 GMT) (full text, mbox, link).
Message #22 received at 959182@bugs.debian.org (full text, mbox, reply):
On 2020/04/30 18:32, Guillem Jover <guillem@debian.org> wrote:
> You are missing the linux-libc-dev package which gets pulled in by the
> libc6-dev package.
linux-libc-dev, libc6-dev and build-essential are all installed.
> I'd recommend just installing the build-essential package, which is
> what every package in Debian can assume being present when being built.
.. but if you believe these are required, but not installed, then why
does this -dev package not depend on them?
In any case, no matter how you turn it around, it's a package bug.
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#959182; Package liburing-dev.
(Thu, 30 Apr 2020 18:03:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list.
(Thu, 30 Apr 2020 18:03:11 GMT) (full text, mbox, link).
Message #27 received at 959182@bugs.debian.org (full text, mbox, reply):
On Thu, 2020-04-30 at 19:26:46 +0200, Max Kellermann wrote:
> On 2020/04/30 18:32, Guillem Jover <guillem@debian.org> wrote:
> > You are missing the linux-libc-dev package which gets pulled in by the
> > libc6-dev package.
>
> linux-libc-dev, libc6-dev and build-essential are all installed.
I assume then that your linux-libc-dev is older than 5.1, which is
when that header got introduced? Are you building in testing/sid?
> > I'd recommend just installing the build-essential package, which is
> > what every package in Debian can assume being present when being built.
>
> .. but if you believe these are required, but not installed, then why
> does this -dev package not depend on them?
For the same reason we do not declare Depends on essential packages,
or Build-Depends on build-essential packages. I think adding this
explicitly for a -dev is fine, and helpful for users, but the
environment expected to build stuff in Debian assumes build-essential.
> In any case, no matter how you turn it around, it's a package bug.
Not necessarily. :)
Thanks,
Guillem
Information forwarded
to debian-bugs-dist@lists.debian.org, Guillem Jover <guillem@debian.org>:
Bug#959182; Package liburing-dev.
(Thu, 30 Apr 2020 18:27:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Max Kellermann <max@blarg.de>:
Extra info received and forwarded to list. Copy sent to Guillem Jover <guillem@debian.org>.
(Thu, 30 Apr 2020 18:27:06 GMT) (full text, mbox, link).
Message #32 received at 959182@bugs.debian.org (full text, mbox, reply):
On 2020/04/30 19:58, Guillem Jover <guillem@debian.org> wrote:
> I assume then that your linux-libc-dev is older than 5.1, which is
> when that header got introduced? Are you building in testing/sid?
True, my linux-libc-dev is 4.19.98-1.
If the package requires at least version 5.1, then it should declare
exactly that in the "Depends" line.
Reply sent
to Guillem Jover <guillem@debian.org>:
You have taken responsibility.
(Fri, 01 May 2020 03:51:03 GMT) (full text, mbox, link).
Notification sent
to Max Kellermann <max@blarg.de>:
Bug acknowledged by developer.
(Fri, 01 May 2020 03:51:03 GMT) (full text, mbox, link).
Message #37 received at 959182-close@bugs.debian.org (full text, mbox, reply):
Source: liburing
Source-Version: 0.6-3
Done: Guillem Jover <guillem@debian.org>
We believe that the bug you reported is fixed in the latest version of
liburing, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 959182@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated liburing package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 01 May 2020 05:05:09 +0200
Source: liburing
Architecture: source
Version: 0.6-3
Distribution: unstable
Urgency: medium
Maintainer: Guillem Jover <guillem@debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Closes: 959182
Changes:
liburing (0.6-3) unstable; urgency=medium
.
* Add dependencies on libc6-dev | libc-dev and linux-libc-dev (>= 5.1)
to liburing-dev. (Closes: #959182)
* Replace mmap patch with upstream one.
Checksums-Sha1:
674572d4bd0c8ebbc28e7f01682cab3df5775075 2241 liburing_0.6-3.dsc
d6c89ecb618de2329e680fb070c99b8fda030b72 13912 liburing_0.6-3.debian.tar.xz
8ee2c911621f88fd50e6903e8af779c1bf989c62 5997 liburing_0.6-3_amd64.buildinfo
Checksums-Sha256:
94bdf3955de0174ac3a503abc282c660e73cf193993961de29ec74721af39bde 2241 liburing_0.6-3.dsc
6eafd781cb630ae3f75df6365d9df6dc007e335e3479c78290feb931e5272313 13912 liburing_0.6-3.debian.tar.xz
19d365ac511d18a8a66693131d6a95ae637990e1a4087246a0ca3d35cf37a4c1 5997 liburing_0.6-3_amd64.buildinfo
Files:
c249860799664906506bec000bd429e1 2241 libs optional liburing_0.6-3.dsc
0d23d26e0a90bbfe5117dc92307ebe7c 13912 libs optional liburing_0.6-3.debian.tar.xz
723c42319350a140ae70afb61df969a4 5997 libs optional liburing_0.6-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAl6rlsQACgkQuXK/PqSu
V6P+0RAAsS0iusuxaEwYjpQt93Zgn0RB4hz/ywQaLakSkVN9mz/sdrk6t0AN9TPt
9/bFAD7OKRRNbGxjCrRZQXpLJmWKialPEjFtZtl2q93HzOY1bRx71ATZu7RSaw1b
I883p/6qmMmtvVlG6/Q0n/aZ+KKFQHieWqIG5ls7jk6d9/6RmllfnZW5adRhv+Nh
w4ETTPPhafn3Gz1QlX3Y0GLj5IoAXey7iaUHoQFnbQdOjs+Kf4Wve5ezUhvGdDz6
JkFKaPArZ5E0Uc1JUBQK655otB/5S2gg4ow3VSxnqqFF4hcOdFF8IDOyKBrvFjeV
box/IhKus9lfqJolmLYtvPqRznqe++J/URUrjLbSmcFfip1I30coBmp+mIU26bG/
Em5HNtyYAr2pwWNhj930134ggIRbCvkuji0AtB3GQOF8P3FOUUZ/0+RttI/RWTu6
urkGqy/b8OB3G1/wsGLQt3SeOPrVA1z+Iuy9L3RlGkHMsgdYwLWeHclnRf21gEZQ
VvBGRoLuIOv0RRpRgrBv834A38vqXaPb/kOqzNI7tU5WJWswH9jwzndrVAreo3ha
vLo7BKCYkbso83DkyQnYfJ9pY//NUx8d9/WWMgULxpm0tMMTGpULP6h2T1BF4WgG
SiU9IE2E5NZLIlSo7N6btfwmVS8ryLhzBEfQiKuQjT0oiSXz3tA=
=VNaQ
-----END PGP SIGNATURE-----
Message sent on
to Max Kellermann <max@blarg.de>:
Bug#959182.
(Fri, 01 May 2020 04:03:03 GMT) (full text, mbox, link).
Message #40 received at 959182-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag 959182 pending
Hi!
Bug #959182 in package liburing reported by you has been fixed in
the debian/pkgs/liburing.git Git repository. You can see the changelog below, and
you can check the diff of the fix at:
https://git.hadrons.org/cgit/debian/pkgs/liburing.git/diff/?id=b3d7f70
---
commit b3d7f70af955a8c5f7ae06504030ae4d9707d299
Author: Guillem Jover <guillem@debian.org>
Date: Fri May 1 04:43:49 2020 +0200
Add dependencies on libc-dev and linux-libc-dev to liburing-dev
Closes: #959182
diff --git a/debian/changelog b/debian/changelog
index 9f8cbbb..ee2c10e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+liburing (0.6-3) UNRELEASED; urgency=medium
+
+ * Add dependencies on libc6-dev | libc-dev and linux-libc-dev (>= 5.1)
+ to liburing-dev. (Closes: #959182)
+
+ -- Guillem Jover <guillem@debian.org> Fri, 01 May 2020 04:42:50 +0200
+
liburing (0.6-2) unstable; urgency=medium
* Fix build failures on armhf and armel, by using __NR_mmap2 when __NR_mmap
Added tag(s) pending.
Request was from Guillem Jover <guillem@debian.org>
to 959182-submitter@bugs.debian.org.
(Fri, 01 May 2020 04:03:03 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 03 Jun 2020 07:29:11 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Jul 15 11:47:47 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.