After the previous attempt and raising an issue, I am trying to install again with a fresh rootfs as described here
First attempt failed with missing dependencies, so I reran a command from last time:
sudo apt-get install build-essential autoconf automake autopoint libtool intltool bison flex libgnutls28-dev libxml2-dev libsqlite3-dev
Stuck on installing Weston — it's missing a dependency on libinput which I can't find in the repo and the build instructions for Weston reference as needing to be built from source. Seems like this should be part of the dependency tree for Webkit, then?
Full output here
ubuntu@tegra-ubuntu:/mnt/working/src/webkit$ Tools/Scripts/update-webkitwpe-libsUpdating WPE port dependencies using jhbuild...
*** Checking out libffi *** [1/15]
*** Skipping libffi (not updated) *** [1/15]
*** Checking out glib *** [2/15]
*** Skipping glib (not updated) *** [2/15]
*** Checking out glib-networking *** [3/15]
*** Skipping glib-networking (not updated) *** [3/15]
*** Checking out libsoup *** [4/15]
*** Skipping libsoup (not updated) *** [4/15]
*** Checking out fontconfig *** [5/15]
*** Skipping fontconfig (not updated) *** [5/15]
*** Checking out pixman *** [6/15]
*** Skipping pixman (not updated) *** [6/15]
*** Checking out cairo *** [7/15]
git remote set-url origin git://github.com/WebKitForWayland/cairo.git
git remote update origin
Fetching origin
git checkout patches
Already on 'patches'
Your branch is up-to-date with 'origin/patches'.
git rebase origin/patches
Current branch patches is up to date.
*** Skipping cairo (not updated) *** [7/15]
*** Checking out wayland *** [8/15]
*** Skipping wayland (not updated) *** [8/15]
*** Checking out weston *** [9/15]
git remote set-url origin git://github.com/WebKitForWayland/weston.git
git remote update origin
Fetching origin
git checkout patches-1.6
Already on 'patches-1.6'
Your branch is up-to-date with 'origin/patches-1.6'.
git rebase origin/patches-1.6
Current branch patches-1.6 is up to date.
*** Configuring weston *** [9/15]
./autogen.sh --prefix /mnt/working/src/webkit/WebKitBuild/DependenciesWPE/Root --libdir '/mnt/working/src/webkit/WebKitBuild/DependenciesWPE/Root/lib' --disable-setuid-install --enable-libinput-backend --disable-static --disable-gtk-doc
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_DIR, `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
autoreconf: Leaving directory `.'
configure: WARNING: unrecognized options: --disable-gtk-doc
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... /bin/grep
checking for egrep... /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... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
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... /bin/sed
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-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 mt... mt
checking if mt 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 EGL... yes
checking for EGL_TESTS... yes
checking for XWAYLAND... yes
checking for XWAYLAND_TEST... yes
checking for LIBDRM... yes
checking for LIBDRM_TEGRA... yes
checking for XCB... yes
checking for xcb_poll_for_queued_event... yes
checking for X11_COMPOSITOR_XKB... no
checking for X11_COMPOSITOR... yes
checking for DRM_COMPOSITOR... yes
checking for LIBINPUT_BACKEND... no
configure: error: Package requirements (libinput >= 0.6.0) were not met:
No package 'libinput' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBINPUT_BACKEND_CFLAGS
and LIBINPUT_BACKEND_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error during phase configure of weston: ########## Error running ./autogen.sh --prefix /mnt/working/src/webkit/WebKitBuild/DependenciesWPE/Root --libdir '/mnt/working/src/webkit/WebKitBuild/DependenciesWPE/Root/lib' --disable-setuid-install --enable-libinput-backend --disable-static --disable-gtk-doc *** [9/15]
*** Checking out gstreamer *** [10/15]
*** Skipping gstreamer (not updated) *** [10/15]
*** Checking out gst-plugins-base *** [11/15]
*** Skipping gst-plugins-base (not updated) *** [11/15]
*** Checking out gst-plugins-good *** [12/15]
*** Skipping gst-plugins-good (not updated) *** [12/15]
*** Checking out gst-plugins-bad *** [13/15]
*** Skipping gst-plugins-bad (not updated) *** [13/15]
*** Checking out gst-libav *** [14/15]
*** Skipping gst-libav (not updated) *** [14/15]
*** module webkitwpe-testing-dependencies not built due to non buildable weston *** [15/15]
*** the following modules were not built *** [15/15]
weston webkitwpe-testing-dependencies
Running jhbuild-wrapper build failed.
Died at Tools/Scripts/update-webkitwpe-libs line 24.
ubuntu@tegra-ubuntu:/mnt/working/src/webkit$
Got
libinputbuilt using the following:The build now detects libinput at the configure stage, but I get a compile error