FS/XFS testing framework
 help / color / mirror / Atom feed
* Failed to compile due to missing <linux/blkdev.h> header with liburing-2.9?
@ 2025-02-08  3:43 Qu Wenruo
  2025-02-08 13:11 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Qu Wenruo @ 2025-02-08  3:43 UTC (permalink / raw)
  To: Jens Axboe; +Cc: fstests@vger.kernel.org

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?

Thanks,
Qu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Failed to compile due to missing <linux/blkdev.h> header with liburing-2.9?
  2025-02-08  3:43 Failed to compile due to missing <linux/blkdev.h> header with liburing-2.9? Qu Wenruo
@ 2025-02-08 13:11 ` Jens Axboe
  2025-02-08 20:40   ` Qu Wenruo
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2025-02-08 13:11 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: fstests@vger.kernel.org

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.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Failed to compile due to missing <linux/blkdev.h> header with liburing-2.9?
  2025-02-08 13:11 ` Jens Axboe
@ 2025-02-08 20:40   ` Qu Wenruo
  2025-02-08 22:08     ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Qu Wenruo @ 2025-02-08 20:40 UTC (permalink / raw)
  To: Jens Axboe; +Cc: fstests@vger.kernel.org



在 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.

Thanks,
Qu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Failed to compile due to missing <linux/blkdev.h> header with liburing-2.9?
  2025-02-08 20:40   ` Qu Wenruo
@ 2025-02-08 22:08     ` Jens Axboe
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2025-02-08 22:08 UTC (permalink / raw)
  To: Qu Wenruo; +Cc: fstests@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-08 22:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-08  3:43 Failed to compile due to missing <linux/blkdev.h> header with liburing-2.9? Qu Wenruo
2025-02-08 13:11 ` Jens Axboe
2025-02-08 20:40   ` Qu Wenruo
2025-02-08 22:08     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox