On Sat, Jan 02, 2021 at 07:57:02PM +0100, Kamil Jońca wrote:
> 
> I tried to compile qemu by myself (this is not the first time).
> I issued
> %sudo apt-get build-dep qemu
> %apt-get source qemu
> and then
> in qemu directory
> %debuild -us -uc -b
> claims about header files:

[...]

> config-temp/qemu-conf.c:1:10: fatal error: sys/endian.h: No such file or 
> directory
>     1 | #include <sys/endian.h>
>       |          ^~~~~~~~~~~~~~
> compilation terminated.
> 
> any hints?

No idea whether this leads somewhere, but FWIW, sys/endian.h is in
libbsd-dev:

| tomas@trotzki:~$ apt-file search sys/endian.h
| freebsd-glue: /usr/include/freebsd/sys/endian.h
| libbsd-dev: /usr/include/bsd/sys/endian.h

Perhaps there's a buglet in quemu's build deps, perhaps there are
other forces at play.

Cheers
 - t

Attachment: signature.asc
Description: Digital signature

Reply via email to