From owner-freebsd-arm@freebsd.org Tue Nov 17 08:57:25 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33A64A2EDB0 for ; Tue, 17 Nov 2015 08:57:25 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AD007156A; Tue, 17 Nov 2015 08:57:24 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (pc233031.norma.com [IPv6:fd00::7fa] (may be forged)) by elf.hq.norma.perm.ru (8.14.9/8.14.9) with ESMTP id tAH8vFIu056169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 17 Nov 2015 13:57:17 +0500 (YEKT) (envelope-from emz@norma.perm.ru) Subject: Re: misc/raspberrypi-userland port and xorg-server To: Oleksandr Tymoshenko , Adrian Chadd References: <564A446D.1020703@norma.perm.ru> <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org> Cc: "freebsd-arm@freebsd.org" From: "Eugene M. Zheganin" X-Enigmail-Draft-Status: N1110 Message-ID: <564AEBEB.5040400@norma.perm.ru> Date: Tue, 17 Nov 2015 13:57:15 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (elf.hq.norma.perm.ru [IPv6:fd00::30a]); Tue, 17 Nov 2015 13:57:17 +0500 (YEKT) X-Spam-Status: No hits=-100.4 bayes=0.0000 testhits AWL=0.038,BAYES_00=-1.9, RDNS_NONE=0.793,SPF_SOFTFAIL=0.665,USER_IN_WHITELIST=-100 autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on elf.hq.norma.perm.ru X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2015 08:57:25 -0000 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.