pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: qemu fails on NetBDS 8 amd64

On Mon, Jun 22, 2020 at 07:17:52AM -0400, Greg Troxel wrote:
> base xsrc, pkgsrc head, up to date.
> I had a successful build on May 22.
>   CC      ui/egl-helpers.o
> In file included from /tmp/work/emulators/qemu/work/.buildlink/include/epoxy/egl.h:46:0,
>                  from /tmp/work/emulators/qemu/work/qemu-5.0.0/include/ui/egl-helpers.h:5,
>                  from ui/egl-helpers.c:21:
> /tmp/work/emulators/qemu/work/.buildlink/include/epoxy/egl_generated.h:10:29: fatal error: EGL/eglplatform.h: No such file or directory
> compilation terminated.
> gmake: *** [/tmp/work/emulators/qemu/work/qemu-5.0.0/rules.mak:69: ui/egl-helpers.o] Error 1

NetBSD 8 does not ship native X11 with EGL support.

The pkgsrc package for libepoxy is configured to not install EGL headers
if there's no EGL support in mesa.

But if you're using native libepoxy, it might mistakenly include EGL

Likely this can be fixed by:

(a) forcing pkgsrc libepoxy
(b) conditionally disabling opengl support in qemu on NetBSD 8
(c) conditionally disabling egl support in qemu on NetBSD, if there's
    an option for that in its configure script

Home | Main Index | Thread Index | Old Index