Is this a new report?
Yes
System Info
Void 6.6.16_1 x86_64 AuthenticAMD uptodate rrFFFFF
Package(s) Affected
clang17
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
Installing clang should pull in the standard library headers so that you can actually compile programs. However clang17 does not do this (one would need clang17-devel).
Actual behaviour
Clang17 pulls in no headers and as a result cannot be used to compile C/C++ programs. Clang15 is unaffected.
Observe the difference between xbps-query -Rf clang17 and xbps-query -Rf clang15
Steps to reproduce
- Install
clang17
- Paste the following in
main.c:
#include <stdio.h>
int main(void) {
printf("Hello, World!\n");
return 0;
}
- run
clang main.c
- Obtain the error:
In file included from test.c:1:
/usr/include/stdio.h:33:10: fatal error: 'stddef.h' file not found
33 | #include <stddef.h>
| ^~~~~~~~~~
1 error generated.
- Cry.
Is this a new report?
Yes
System Info
Void 6.6.16_1 x86_64 AuthenticAMD uptodate rrFFFFF
Package(s) Affected
clang17
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
Installing clang should pull in the standard library headers so that you can actually compile programs. However
clang17does not do this (one would needclang17-devel).Actual behaviour
Clang17 pulls in no headers and as a result cannot be used to compile C/C++ programs. Clang15 is unaffected.
Observe the difference between
xbps-query -Rf clang17andxbps-query -Rf clang15Steps to reproduce
clang17main.c:clang main.c