linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.27k stars 1k forks source link

Build failure while trying to build from source #1121

Closed DaanDeMeyer closed 5 months ago

DaanDeMeyer commented 5 months ago
In file included from /usr/include/linux/fs.h:19,
                 from /usr/include/linux/io_uring.h:11,
                 from ../include/lapi/io_uring.h:21,
                 from tst_fd.c:20:
/usr/include/sys/mount.h:35:3: error: expected identifier before numeric constant
   35 |   MS_RDONLY = 1,                /* Mount read-only.  */
      |   ^~~~~~~~~
pevik commented 5 months ago

Thanks, although we talked about it 2 days ago (https://lore.kernel.org/ltp/20240116003219.GD2535088@pevik/), Cyril added just one part of the fix: 12867c0d6428891e175e9abecbe466066a0e9720. I'm adding a rest tonight (wait for CI test):

https://github.com/pevik/ltp/commit/dcb038e34a68f7a287eac189c1b39399776e40f4 https://github.com/pevik/ltp/actions/runs/7561031650

@metan-ucw FYI

pevik commented 5 months ago

Actually closed by 9793c892d4d230ef0b78ea3dac9c78e6a4b48f2f.