Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42691 - [musl] Add symlinks for kernel headers

Attached to Project: Community Packages
Opened by Emil Renner Berthing (Esmil) - Wednesday, 05 November 2014, 17:39 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 11 November 2014, 14:38 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Programs directly using kernel headers cannot be compiled using the musl-gcc wrapper.
This can easily be fixed by adding something like this to the end of the package()-function in the PKGBUILD:

for i in linux asm asm-generic; do
ln -s /usr/include/$i "$pkgdir/usr/lib/musl/include/$i"
done

Additional info:
* Missing in version 1.1.5-1

Steps to reproduce:

$ cat > test.c <<EOF
#include <linux/dm-ioctl.h>

int main() {
return 42;
}
EOF

$ musl-gcc test.c -o test
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 11 November 2014, 14:38 GMT
Reason for closing:  Won't implement
Additional comments about closing:  needed package is in aur
Comment by Sergej Pupykin (sergej) - Wednesday, 05 November 2014, 19:16 GMT

Loading...