misc/raspberrypi-userland port and xorg-server

Eugene M. Zheganin emz at norma.perm.ru
Tue Nov 17 08:57:25 UTC 2015


Hi,

On 17.11.2015 06:46, Oleksandr Tymoshenko wrote:
> I've just checked - these files are in /usr/local/include/interface/vcos/pthreads
> directory in latest raspberrypi-userland port (20151105). I have never tried
> to build xorg libs/apps against this port though. Could you describe
> what you're doing and how build fails?  
>
I decided to try to build the x11-server/xorg-server port and it's
dependencies (like graphics/libexpoxy) against misc/raspberrypi-userland
libraries.
>From your questions though I understand I'm doing something wicked. Are
you saying there's more support to Raspberry Pi in 11-CURRENT and I
should use it, not the 10.2-STABLE ? All I need is the ability to play
video on a Raspberry Pi, thus I need a support for GPU. Still I don't
understand how can I get it if the ports tree is linking against general
ports versions of graphics/libEGL and graphics/libglesv2, not the
misc/raspberrypi-userland libraries. Could you please clarify this for
me ? I'm hoping to use the still not commited multimedia/omxplayer or
multimedia/kodi with the patch that Mikael Urankar gave me.

As about my tries to build the xorg stack against misc/raspberry-pi
libraries, I'm getting this on modified (I commented out the EGL and gl
requirements) ports tree:

# make
===>  Building for libepoxy-1.2
/usr/bin/make  all-recursive
Making all in include/epoxy
Making all in src
/usr/bin/make  all-am
  CC       dispatch_common.lo
In file included from dispatch_common.c:103:
In file included from ./dispatch_common.h:48:
In file included from ../include/epoxy/egl.h:46:
In file included from ../include/epoxy/egl_generated.h:10:
In file included from /usr/local/include/EGL/eglplatform.h:110:
In file included from
/usr/local/include/interface/vmcs_host/vc_dispmanx.h:33:
In file included from /usr/local/include/interface/vcos/vcos.h:114:
In file included from /usr/local/include/interface/vcos/vcos_assert.h:149:
/usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error:
'vcos_platform_types.h' file not found
#include "vcos_platform_types.h"
         ^
1 error generated.
  CC       dispatch_egl.lo
In file included from dispatch_egl.c:28:
In file included from ./dispatch_common.h:48:
In file included from ../include/epoxy/egl.h:46:
In file included from ../include/epoxy/egl_generated.h:10:
In file included from /usr/local/include/EGL/eglplatform.h:110:
In file included from
/usr/local/include/interface/vmcs_host/vc_dispmanx.h:33:
In file included from /usr/local/include/interface/vcos/vcos.h:114:
In file included from /usr/local/include/interface/vcos/vcos_assert.h:149:
/usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error:
'vcos_platform_types.h' file not found
#include "vcos_platform_types.h"
         ^
1 error generated.
  CC       dispatch_glx.lo
In file included from dispatch_glx.c:28:
In file included from ./dispatch_common.h:48:
In file included from ../include/epoxy/egl.h:46:
In file included from ../include/epoxy/egl_generated.h:10:
In file included from /usr/local/include/EGL/eglplatform.h:110:
In file included from
/usr/local/include/interface/vmcs_host/vc_dispmanx.h:33:
In file included from /usr/local/include/interface/vcos/vcos.h:114:
In file included from /usr/local/include/interface/vcos/vcos_assert.h:149:
/usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error:
'vcos_platform_types.h' file not found
#include "vcos_platform_types.h"
         ^
1 error generated.
  CC       gl_generated_dispatch.lo
In file included from gl_generated_dispatch.c:31:
In file included from ./dispatch_common.h:48:
In file included from ../include/epoxy/egl.h:46:
In file included from ../include/epoxy/egl_generated.h:10:
In file included from /usr/local/include/EGL/eglplatform.h:110:
In file included from
/usr/local/include/interface/vmcs_host/vc_dispmanx.h:33:
In file included from /usr/local/include/interface/vcos/vcos.h:114:
In file included from /usr/local/include/interface/vcos/vcos_assert.h:149:
/usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error:
'vcos_platform_types.h' file not found
#include "vcos_platform_types.h"
         ^
1 error generated.
  CC       egl_generated_dispatch.lo
In file included from egl_generated_dispatch.c:9:
In file included from ./dispatch_common.h:48:
In file included from ../include/epoxy/egl.h:46:
In file included from ../include/epoxy/egl_generated.h:10:
In file included from /usr/local/include/EGL/eglplatform.h:110:
In file included from
/usr/local/include/interface/vmcs_host/vc_dispmanx.h:33:
In file included from /usr/local/include/interface/vcos/vcos.h:114:
In file included from /usr/local/include/interface/vcos/vcos_assert.h:149:
/usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error:
'vcos_platform_types.h' file not found
#include "vcos_platform_types.h"
         ^
1 error generated.
  CC       glx_generated_dispatch.lo
In file included from glx_generated_dispatch.c:9:
In file included from ./dispatch_common.h:48:
In file included from ../include/epoxy/egl.h:46:
In file included from ../include/epoxy/egl_generated.h:10:
In file included from /usr/local/include/EGL/eglplatform.h:110:
In file included from
/usr/local/include/interface/vmcs_host/vc_dispmanx.h:33:
In file included from /usr/local/include/interface/vcos/vcos.h:114:
In file included from /usr/local/include/interface/vcos/vcos_assert.h:149:
/usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error:
'vcos_platform_types.h' file not found
#include "vcos_platform_types.h"
         ^
1 error generated.
  CCLD     libepoxy.la
libtool:   error: 'dispatch_common.lo' is not a valid libtool object
*** [libepoxy.la] Error code 1

make[4]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2/src
1 error

make[4]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2/src
*** [all] Error code 2

make[3]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2/src
1 error

make[3]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2/src
*** [all-recursive] Error code 1

make[2]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2
1 error

make[2]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2
*** [all] Error code 2

make[1]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2
1 error

make[1]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/libepoxy
#

Thanks.
Eugene.




More information about the freebsd-arm mailing list