Any way to use Maynard on archlinux arm?

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Any way to use Maynard on archlinux arm?

Postby xenphor » Wed Dec 17, 2014 8:53 pm

There are instructions for running Maynard but they refer to raspbian and I wanted to try it on Arch. I've tried building it but I get a blank screen after running 'weston-launch' or 'maynard'. I've also tried building weston from the raspberry pi git repository in addition but I get this error when compiling:

$this->bbcode_second_pass_code('', '
$ ./autogen.sh --disable-x11-compositor --disable-drm-compositor --disable-wayland-compositor --enable-weston-launch --disable-simple-egl-clients --disable-egl --disable-libunwind --disable-colord --disable-resize-optimization --disable-xwayland-test --with-cairo=image autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:23: installing 'build-aux/compile'
configure.ac:26: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
autoreconf: Leaving directory `.'
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether SFD_CLOEXEC is declared... yes
checking whether TFD_CLOEXEC is declared... yes
checking whether CLOCK_MONOTONIC is declared... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for mkostemp... yes
checking for strchrnul... yes
checking for initgroups... yes
checking for posix_fallocate... yes
checking for XWAYLAND... yes
checking for LIBDRM... yes
checking for LIBINPUT_BACKEND... yes
checking for COMPOSITOR... yes
checking for RPI_COMPOSITOR... yes
checking for RPI_BCM_HOST... yes
checking for FBDEV_COMPOSITOR... yes
checking for PIXMAN... yes
checking for PNG... yes
checking for WEBP... yes
checking for LIBVA... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking for CAIRO... yes
checking for TEST_CLIENT... yes
checking for SIMPLE_CLIENT... yes
checking for CLIENT... yes
checking for SERVER... yes
checking for WESTON_INFO... yes
checking for PANGO... yes
checking for SYSTEMD_LOGIN... yes
checking for SYSTEMD_LOGIN_209... yes
checking for pam_open_session in -lpam... yes
checking for DBUS... yes
checking for WCAP... yes
checking for SETBACKLIGHT... yes
configure: Weston's native backend: drm-backend.so
configure: Weston's default desktop shell client: weston-desktop-shell
checking for LCMS... yes
checking for wayland-scanner... /usr/bin/wayland-scanner
checking for WAYLAND_SCANNER... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/version.h
config.status: creating src/weston.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Native Backend drm-backend.so
setuid Install yes

Cairo Renderer image
EGL no
libxkbcommon yes
xcb_xkb
XWayland yes
dbus yes

ivi-shell yes

Build wcap utility yes
Build Fullscreen Shell yes

weston-launch utility yes
systemd-login support yes

DRM Compositor no
X11 Compositor no
Wayland Compositor no
Headless Compositor yes
RPI Compositor yes
FBDEV Compositor yes
RDP Compositor no
Screen Sharing no

Raspberry Pi BCM headers yes

Build Clients yes
Build EGL Clients no
Build Simple Clients yes
Build Simple EGL Clients no

Install Demo Clients no

Colord Support
GLU Support
LCMS2 Support yes
libwebp Support yes
libunwind Support
VA H.264 encoding Support yes

[dustin@alarmpi2 weston]$ make
GEN protocol/screenshooter-protocol.c
GEN protocol/screenshooter-server-protocol.h
GEN protocol/text-cursor-position-protocol.c
GEN protocol/text-cursor-position-server-protocol.h
GEN protocol/text-protocol.c
GEN protocol/text-server-protocol.h
GEN protocol/input-method-protocol.c
GEN protocol/input-method-server-protocol.h
GEN protocol/workspaces-protocol.c
GEN protocol/workspaces-server-protocol.h
GEN protocol/presentation_timing-protocol.c
GEN protocol/presentation_timing-server-protocol.h
GEN protocol/scaler-protocol.c
GEN protocol/scaler-server-protocol.h
GEN protocol/text-cursor-position-client-protocol.h
GEN protocol/scaler-client-protocol.h
GEN protocol/workspaces-client-protocol.h
GEN protocol/presentation_timing-client-protocol.h
GEN protocol/xdg-shell-protocol.c
GEN protocol/xdg-shell-client-protocol.h
GEN protocol/ivi-application-protocol.c
GEN protocol/ivi-application-client-protocol.h
GEN protocol/screenshooter-client-protocol.h
GEN protocol/text-client-protocol.h
GEN protocol/input-method-client-protocol.h
GEN protocol/desktop-shell-client-protocol.h
GEN protocol/desktop-shell-protocol.c
GEN protocol/fullscreen-shell-protocol.c
GEN protocol/fullscreen-shell-client-protocol.h
GEN protocol/ivi-hmi-controller-protocol.c
GEN protocol/ivi-hmi-controller-client-protocol.h
GEN protocol/desktop-shell-server-protocol.h
GEN protocol/xdg-shell-server-protocol.h
GEN protocol/fullscreen-shell-server-protocol.h
GEN protocol/ivi-application-server-protocol.h
GEN protocol/ivi-hmi-controller-server-protocol.h
GEN protocol/wayland-test-protocol.c
GEN protocol/wayland-test-server-protocol.h
GEN protocol/wayland-test-client-protocol.h
make all-am
make[1]: Entering directory '/home/dustin/weston'
CC src/rpi_backend_la-compositor-rpi.lo
In file included from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:37:0,
from /opt/vc/include/bcm_host.h:46,
from src/compositor-rpi.c:41:
/opt/vc/include/interface/vchi/vchi.h:345:40: warning: function declaration isn't a prototype [-Wstrict-prototypes]
int (*copy_pagelist)() );
^
CC src/rpi_backend_la-rpi-renderer.lo
In file included from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:37:0,
from /opt/vc/include/bcm_host.h:46,
from src/rpi-renderer.c:30:
/opt/vc/include/interface/vchi/vchi.h:345:40: warning: function declaration isn't a prototype [-Wstrict-prototypes]
int (*copy_pagelist)() );
^
CC src/rpi_backend_la-libinput-seat.lo
CC src/rpi_backend_la-libinput-device.lo
CC src/libsession_helper_la-launcher-util.lo
CC src/libsession_helper_la-dbus.lo
CC src/libsession_helper_la-logind-util.lo
CCLD libsession-helper.la
CC shared/libshared_la-config-parser.lo
CC shared/libshared_la-option-parser.lo
CC shared/libshared_la-os-compatibility.lo
CCLD libshared.la
CCLD rpi-backend.la
CC src/headless_backend_la-compositor-headless.lo
CCLD headless-backend.la
CC src/fbdev_backend_la-compositor-fbdev.lo
CC src/fbdev_backend_la-libinput-seat.lo
CC src/fbdev_backend_la-libinput-device.lo
CCLD fbdev-backend.la
CC src/cms_static_la-cms-static.lo
CC src/cms_static_la-cms-helper.lo
CCLD cms-static.la
CC desktop-shell/desktop_shell_la-shell.lo
desktop-shell/shell.c: In function 'shell_get_shell_surface':
desktop-shell/shell.c:3647:19: error: 'WL_SHELL_ERROR_ROLE' undeclared (first use in this function)
resource, WL_SHELL_ERROR_ROLE) < 0)
^
desktop-shell/shell.c:3647:19: note: each undeclared identifier is reported only once for each function it appears in
Makefile:3659: recipe for target 'desktop-shell/desktop_shell_la-shell.lo' failed
make[1]: *** [desktop-shell/desktop_shell_la-shell.lo] Error 1
make[1]: Leaving directory '/home/dustin/weston'
Makefile:2514: recipe for target 'all' failed
make: *** [all] Error 2
')

I built Maynard by manually following the PKGBUILD on AUR which oddly isn't for ARM architecture.
xenphor
 
Posts: 12
Joined: Wed Mar 26, 2014 1:19 pm

Re: Any way to use Maynard on archlinux arm?

Postby WarheadsSE » Wed Dec 17, 2014 9:36 pm

If you read their comments, it apparently needs "their" version of weston.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Any way to use Maynard on archlinux arm?

Postby xenphor » Thu Dec 18, 2014 2:22 am

Right, that's the version I'm trying to build but ran into the error above.
xenphor
 
Posts: 12
Joined: Wed Mar 26, 2014 1:19 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 97 guests