Bug 415843 - musl system: can't be compiled due to missing fstab.h
Summary: musl system: can't be compiled due to missing fstab.h
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 19.12
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-03 15:56 UTC by Bart Ribbers
Modified: 2023-07-23 20:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Ribbers 2020-01-03 15:56:28 UTC
SUMMARY
On a Musl based system rather than glibc, k3b can't be compiled due to missing fstab.h. kpmcore includes an fstab.h, but it does not seem to be the one k3b needs.

STEPS TO REPRODUCE
1. Get a musl based system like Alpine Linux
2. Try to compile k3b after installing all the required deps

OBSERVED RESULT
Build failure due to missing fstab.h

EXPECTED RESULT
No build failure

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Alpine Linux edge
(available in About System)
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.12.5

ADDITIONAL INFORMATION
This system is using Musl rather than glibc, which is probably what causes the issue.
Comment 1 Bart Ribbers 2020-01-03 15:56:52 UTC
/home/builder/aports/testing/k3b/src/k3b-19.12.0/src/k3bsystemproblemdialog.cpp:61:10: fatal error: fstab.h: No such file or directory
   61 | #include <fstab.h>
      |          ^~~~~~~~~
Comment 2 Bart Ribbers 2023-07-23 20:09:45 UTC
This isn't relevant anymore and hasn't been for a while. Alpine Linux (with Musl libc) has been shipping k3b for a while