Bug 15700

Summary: ./include/mount-api-utils.h:11:10: fatal error: linux/mount.h: No such file
Product: buildroot Reporter: Andrei Cherniaev <glscene2010>
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: 2023.05.1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: Buildroot with util-linux config examples and logs

Description Andrei Cherniaev 2023-07-18 13:59:16 UTC
Created attachment 9625 [details]
Buildroot with util-linux config examples and logs

In my .config file I use
BR2_PACKAGE_UTIL_LINUX=y
because of it I have build fail on old kernels (4.19.269; 5.4.179). On kernel 5.10.19 and 6.1.26 works ok.
Looks like old kernel should use old util-linux (more old then v2.39)?

Steps to Reproduce:
git clone https://git.buildroot.net/buildroot && cd buildroot
[Put my files to buildroot/configs/]
make clean
make pc_x86_bios_defconfig_4_19_269
make

Build Date & Hardware
I use last buildroot from git (a89a632833dca00beb7443ef540571b281703ae1).
18 Jul 2023. Ubuntu 22 5.19.0-46-generic
See my config files and corresponding logs.
Comment 1 Yann E. MORIN 2024-06-15 15:11:34 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!