Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] clang17 does not include header files
@ 2024-02-09 12:45 Sqvid
  2024-02-09 12:53 ` chrysos349
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sqvid @ 2024-02-09 12:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

New issue by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/issues/48621

Description:
### 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

1. Install `clang17`
2. Paste the following in `main.c`:

```C
#include <stdio.h>

int main(void) {
	printf("Hello, World!\n");

	return 0;
}
```
3. run `clang main.c`
4. Obtain the error:
```C
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.
```
5. Cry.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: clang17 does not include header files
  2024-02-09 12:45 [ISSUE] clang17 does not include header files Sqvid
@ 2024-02-09 12:53 ` chrysos349
  2024-02-10  4:24 ` Calandracas606
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: chrysos349 @ 2024-02-09 12:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

New comment by chrysos349 on void-packages repository

https://github.com/void-linux/void-packages/issues/48621#issuecomment-1935878859

Comment:
this problem is being fixed atm.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: clang17 does not include header files
  2024-02-09 12:45 [ISSUE] clang17 does not include header files Sqvid
  2024-02-09 12:53 ` chrysos349
@ 2024-02-10  4:24 ` Calandracas606
  2024-02-12 21:59 ` Calandracas606
  2024-02-12 22:43 ` [ISSUE] [CLOSED] " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: Calandracas606 @ 2024-02-10  4:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

New comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/issues/48621#issuecomment-1936855732

Comment:
https://github.com/void-linux/void-packages/pull/48625

Install clang17-devel for the time being

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: clang17 does not include header files
  2024-02-09 12:45 [ISSUE] clang17 does not include header files Sqvid
  2024-02-09 12:53 ` chrysos349
  2024-02-10  4:24 ` Calandracas606
@ 2024-02-12 21:59 ` Calandracas606
  2024-02-12 22:43 ` [ISSUE] [CLOSED] " classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: Calandracas606 @ 2024-02-12 21:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

New comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/issues/48621#issuecomment-1939662457

Comment:
This has been fixed

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] clang17 does not include header files
  2024-02-09 12:45 [ISSUE] clang17 does not include header files Sqvid
                   ` (2 preceding siblings ...)
  2024-02-12 21:59 ` Calandracas606
@ 2024-02-12 22:43 ` classabbyamp
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-02-12 22:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

Closed issue by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/issues/48621

Description:
### 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

1. Install `clang17`
2. Paste the following in `main.c`:

```C
#include <stdio.h>

int main(void) {
	printf("Hello, World!\n");

	return 0;
}
```
3. run `clang main.c`
4. Obtain the error:
```C
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.
```
5. Cry.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-12 22:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 12:45 [ISSUE] clang17 does not include header files Sqvid
2024-02-09 12:53 ` chrysos349
2024-02-10  4:24 ` Calandracas606
2024-02-12 21:59 ` Calandracas606
2024-02-12 22:43 ` [ISSUE] [CLOSED] " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).