Re: Failed to compile due to missing <linux/blkdev.h> header with liburing-2.9?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On 2/8/25 1:40 PM, Qu Wenruo wrote:
> 
> 
> 在 2025/2/8 23:41, Jens Axboe 写道:
>> On 2/7/25 8:43 PM, Qu Wenruo wrote:
>>> Hi,
>>>
>>> Just find out that fsstress no longer compiles on for-next (v2025.02.02)
>>> , patches-in-queue (a494849fb48dc6b276c2a1784d6ff66c731e5572) nor master
>>> branchs (8467552f09e1672a02712653b532a84bd46ea10e)
>>> All fails with the following error:
>>>
>>> ```
>>> Building ltp
>>>      [CC]    fsstress
>>> In file included from /usr/include/liburing.h:17,
>>>                   from fsstress.c:30:
>>> /usr/include/liburing/compat.h:11:10: fatal error: linux/blkdev.h: No
>>> such file or directory
>>>     11 | #include <linux/blkdev.h>
>>>        |          ^~~~~~~~~~~~~~~~
>>> ```
>>>
>>> This seems to be a change in the liburing headers, as v2.8 still
>>> compiles fine.
>>>
>>> Is there something wrong with header change?
>>
>> Are you on arch linux? They messed up their packaging.
>>
> 
> Thanks for confirming, will report back to downstream.

Forgot to link it, but also see:

https://github.com/axboe/liburing/issues/1341

which is the same issue on Arch. They compiled the library against
different heads than the version they are installing with, which
caused the issue. They just need to fix their liburing package.

-- 
Jens Axboe





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux