FS#58928 - [riscv64-linux-gnu-gcc] sRISCV ystem header files missing

Attached to Project: Community Packages
Opened by Andreas Baumann (andreas_baumann) - Friday, 08 June 2018, 13:44 GMT
Last edited by Toolybird (Toolybird) - Sunday, 16 April 2023, 03:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The directory that should contain system headers does not exist:
/usr/riscv64-linux-gnu/usr/include
make[2]: *** [Makefile:3091: stmp-fixinc] Error 1
make[2]: Leaving directory '/data/INSTALL/riscv64-linux-gnu-gcc/src/gcc-build/gcc'
make[1]: *** [Makefile:4268: all-gcc] Error 2

Am I missing some RISCV header files from a Linux kernel?

Additional info:
* package version(s): 8.1.0-0.19 (git: 25ae8d599efa52a68e3e050d38c10b97e5408345)
* config and/or log files etc.


Steps to reproduce:

makepkg -s
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 16 April 2023, 03:26 GMT
Reason for closing:  Works for me
Comment by Felix Yan (felixonmars) - Tuesday, 12 June 2018, 16:33 GMT
The package version doesn't look like an Arch package. Are you building for another distribution?

I cannot reproduce the problem myself :/
Comment by Erich Eckner (deepthought) - Wednesday, 20 June 2018, 10:30 GMT
> git checkout 5551189655109aefc7d67c503cf5ee890af3146b
> cd riscv64-linux-gnu-gcc/repos/community-x86_64
> extra-x86_64-build

produces the attached log
(I guess, Andreas was building archlinux32's pkgbuild on x86_64, which mainly attaches ".$sub_pkgrel" to the pkgrel)
   log (1.07 MiB)

Loading...