pkgsrc-Bugs archive

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

pkg/54975: modular-xorg-server on NetBSD 9.0 and pkgsrc 2019Q4 fails to build



>Number:         54975
>Category:       pkg
>Synopsis:       modular-xorg-server on NetBSD 9.0 and pkgsrc 2019Q4 fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 17 10:25:01 +0000 2020
>Originator:     Bartek Krawczyk
>Release:        NetBSD 9.0, pkgsrc 2019Q4
>Organization:
>Environment:
NetBSD localhost 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When I try to build meta-package for modular-xorg it fails on modular-xorg-server due to epoxy/egl.h missing.

Dependency for libepoxy is missing from modular-xorg-server. When I install it manually it also fails:

libepoxy is installed and egl.h exists although in EGL and GLES locations:


gmake[1]: Entering directory '/usr/pkgsrc/x11/modular-xorg-server/work/xorg-server-1.20.6/glamor'
  CC       glamor.lo
In file included from glamor.c:37:0:
glamor_priv.h:44:10: fatal error: epoxy/egl.h: No such file or directory
 #include <epoxy/egl.h>
          ^~~~~~~~~~~~~
compilation terminated.
gmake[1]: *** [Makefile:763: glamor.lo] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/x11/modular-xorg-server/work/xorg-server-1.20.6/glamor'
gmake: *** [Makefile:816: all-recursive] Error 1
*** Error code 2

Stop.
make[2]: stopped in /usr/pkgsrc/x11/modular-xorg-server
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/x11/modular-xorg-server
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/meta-pkgs/modular-xorg
localhost# pkg_info | grep epoxy
libepoxy-1.5.3      Library for OpenGL function pointer management
localhost# find / -name egl\.h -print
/usr/pkgsrc/x11/modular-xorg-server/work/.buildlink/include/EGL/egl.h
/usr/pkgsrc/x11/modular-xorg-server/work/.buildlink/include/GLES/egl.h
/usr/pkg/include/EGL/egl.h
/usr/pkg/include/GLES/egl.h
localhost# uname -a
NetBSD localhost 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64


>How-To-Repeat:
- Install NetBSD 9.0
- Install pkgsrc 2019Q4
- Go to /usr/pkgesr/meta-pkgs/modular-xorg
- do "make install"
>Fix:
- correctly add libepoxy as build dependency for modular-xorg-server
- unknown fix afterwards for epoxy/egl.h



Home | Main Index | Thread Index | Old Index