Bug 415843

Summary: musl system: can't be compiled due to missing fstab.h
Product: [Applications] k3b Reporter: Bart Ribbers <bribbers>
Component: generalAssignee: k3b developers <k3b>
Status: RESOLVED FIXED    
Severity: normal CC: michalm, trueg
Priority: NOR    
Version: 19.12   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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