[wpe-webkit] AArch64 builds in AUR

Andrea Giammarchi andrea.giammarchi at gmail.com
Thu Apr 4 06:18:57 PDT 2019


You cannot use the/any 32 bit version of the OS, as I've already mentioned
a part from this list.

All my pre-built are explicitly (by name) for the aarch64 architecture.

The fact yay gives you wpewebkit-gl-aarch64 is probably because it suggests
the most similar package, as there's no such module named wpewebkit-gl,
only the https://aur.archlinux.org/packages/wpewebkit-gl-aarch64/ one,
which is for aarch64 **only**.

Not sure what's wrong with your Pi3 though 🤷‍♂️

On Thu, Apr 4, 2019 at 3:10 PM Diego Moore <diego.moore at gmail.com> wrote:

> Well I’ve not been able to get an AArch64 installation on my raspi 3B
> using
> http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-3-latest.tar.gz as per
> https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3
>
> Details of issue I had on
> https://archlinuxarm.org/forum/viewtopic.php?f=67&t=13537
>
> So instead I’ve forked
> https://github.com/mibstar/archibold.io/tree/gh-pages as a base to get up
> and running with 32 bit using  ArchLinuxARM-rpi-2-latest.tar.gz.
>
> I ran ./kiosk/wpe locally but the build failed making cog-wpe-gl:
>
> /usr/lib/gcc/armv71-unknown-linux-gnueabihf/8.2.1/../../../
> libWPEWebKit-0.1.so: file not regonized: file format wat not regonized
> collect2: error: Id returned 1 exit status
> make[2]: *** [CMakeFiles/cogcore.dir/build.make:174: libcogcore.so.0.1.0]
> Error 1
> make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/cogcore.dir/all] Error 2
> Make: *** [MakeFile:130: all] Error 2
> ==> ERROR: A failure ocurred in build().
>         Aborting…
> Error making: cog-wpe-gl
> Please type exit
>
> @Andrea: I also noticed that despite me replacing:
> yay -S --needed wpewebkit-gl-aarch64 with
> yay -S --needed wpewebkit-gl
>
> I saw wpewebkit-gl-aarch64 being built.
>
> Have I missed anything? See
> https://github.com/WebReflection/archibold.io/compare/gh-pages...mibstar:gh-pages#diff-5193b451dac2385c41c63553fdffe834R23
>
> Many thanks
>
> On 1 Apr 2019, at 13:43, Andrea Giammarchi <andrea.giammarchi at gmail.com>
> wrote:
>
> You gotta trust any AUR module anyway ... but fair point, so:
>
> `bash <(curl -s https://archibold.io/kiosk/wpe)`
>
> for long then, and all the files are open source in the related repo
> https://github.com/WebReflection/archibold.io/tree/gh-pages/kiosk
>
> đź‘‹
>
> On Mon, Apr 1, 2019 at 2:37 PM Konstantin Tokarev <annulen at yandex.ru>
> wrote:
>
>>
>>
>> 01.04.2019, 15:27, "Andrea Giammarchi" <andrea.giammarchi at gmail.com>:
>> > Hi Diego,
>> >   if you're unfamiliar with ArchLinux just install the OS following the
>> instruction page, login as root/root and then `bash <(curl -s
>> archibold.io/kiosk/wpe)` <http://archibold.io/kiosk/wpe)>
>>
>> Running random script from web blindly with root privelledges isn't a
>> bright idea,
>> especially given that script isn't served via https
>>
>> >
>> > AFAIK that should work, but please let me know if that's not the case,
>> thanks.
>> >
>> > On Mon, Apr 1, 2019 at 2:18 PM Diego Moore <diego.moore at gmail.com>
>> wrote:
>> >> Hi Andrea,
>> >>
>> >> It took me some time to get Arch Linux up and running but I’m there
>> now. Although the got the following build error:
>> >>
>> >> ==> Starting build()...
>> >> -- The C compiler identification is GNU 8.2.1
>> >> -- Check for working C compiler: /usr/bin/cc
>> >> -- Check for working C compiler: /usr/bin/cc -- works
>> >> -- Detecting C compiler ABI info
>> >> -- Detecting C compiler ABI info - done
>> >> -- Detecting C compile features
>> >> -- Detecting C compile features - done
>> >> -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1")
>> >> -- Checking for module 'gio-2.0'
>> >> --   Found gio-2.0, version 2.58.3
>> >> -- Checking for module 'libsoup-2.4'
>> >> --   Found libsoup-2.4, version 2.66.0
>> >> -- Checking for modules 'wpe-webkit-0.1>=2.21.90;wpe-0.2'
>> >> --   Found wpe-webkit-0.1, version 2.22.5
>> >> --   Found wpe-0.2, version 1.0.0
>> >> -- Checking for module 'wayland-client'
>> >> --   Found wayland-client, version 1.17.0
>> >> -- Checking for modules
>> 'wpe-webkit-0.1>=2.21.90;wpe-0.2;wpebackend-fdo-0.1;egl;xkbcommon'
>> >> --   Found wpe-webkit-0.1, version 2.22.5
>> >> --   Found wpe-0.2, version 1.0.0
>> >> --   Found wpebackend-fdo-0.1, version 1.0.1
>> >> --   Found egl, version 19.0.1
>> >> --   Found xkbcommon, version 0.8.4
>> >> -- Checking for module 'wayland-egl'
>> >> --   Found wayland-egl, version 18.1.0
>> >> -- Configuring done
>> >> -- Generating done
>> >> -- Build files have been written to:
>> /home/alarm/.cache/yay/cog-wpe-gl/src/_build
>> >> Scanning dependencies of target cogcore
>> >> [  5%] Building C object CMakeFiles/cogcore.dir/core/cog-launcher.c.o
>> >> [ 11%] Building C object
>> CMakeFiles/cogcore.dir/core/cog-request-handler.c.o
>> >> [ 17%] Building C object
>> CMakeFiles/cogcore.dir/core/cog-directory-files-handler.c.o
>> >> [ 23%] Building C object CMakeFiles/cogcore.dir/core/cog-utils.c.o
>> >> [ 29%] Building C object CMakeFiles/cogcore.dir/core/cog-shell.c.o
>> >> [ 35%] Building C object
>> CMakeFiles/cogcore.dir/core/cog-webkit-utils.c.o
>> >> [ 41%] Building C object CMakeFiles/cogcore.dir/core/cog-platform.c.o
>> >> [ 47%] Linking C shared library libcogcore.so
>> >> /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/8.2.1/../../../
>> libWPEWebKit-0.1.so <http://libwpewebkit-0.1.so/>: file not recognized:
>> file format not recognized
>> >> collect2: error: ld returned 1 exit status
>> >> make[2]: *** [CMakeFiles/cogcore.dir/build.make:174:
>> libcogcore.so.0.1.0] Error 1
>> >> make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/cogcore.dir/all]
>> Error 2
>> >> make: *** [Makefile:130: all] Error 2
>> >> ==> ERROR: A failure occurred in build().
>> >>     Aborting...
>> >> Error making: cog-wpe-gl
>> >>
>> >> That’s from running bash <(curl -s
>> archibold.io/kiosk/utils/wpe-aarch64) as alarm.
>> >>
>> >> ps: What’s the difference between archibold.io/kiosk/utils/wpe-aarch64
>>  and archibold.io/kiosk/wpe?
>> >>
>> >> Thanks
>> >>
>> >>> On 22 Mar 2019, at 12:28, Andrea Giammarchi <
>> andrea.giammarchi at gmail.com> wrote:
>> >>>
>> >>> Hi Diego (and others)
>> >>>
>> >>> So, I like automations but having conflicts with dependencies is not
>> super simple to handle.
>> >>>
>> >>> I had to re-package cog as cog-wpe-gl so it doesn't bother trying to
>> rebuild wpewebkit from the scratch.
>> >>>
>> >>> To install all packages you can simply:
>> >>>
>> >>> bash <(curl -s archibold.io/kiosk/utils/wpe-aarch64)
>> >>>
>> >>> the content of the file is here:
>> >>>
>> https://github.com/WebReflection/archibold.io/blob/gh-pages/kiosk/utils/wpe-aarch64
>> >>>
>> >>> If you want to install everything from scratch with one command, and
>> low-to-little interaction (unfortunately mandatory), I've prepared a s
>> script that does all the things for you:
>> >>>
>> >>> Boot and login as root, type this:
>> >>>
>> >>> bash <(curl -s archibold.io/kiosk/wpe)
>> >>>
>> >>> Follow the instructions (it will ask you from time to time to add
>> some root or alarm password)
>> >>>
>> >>> If everything goes fine, at the end of the script it should reboot
>> into full screen 720p kiosk on a local page showing the IP add and info.
>> >>>
>> >>> You can then ssh alarm at 192.168.1.111 (or whatever address it shows)
>> and change the initial page from that point on, to anything else you like.
>> >>>
>> >>> If you are into NodeJS you can follow these instructions:
>> >>>
>> https://medium.com/@WebReflection/nodejs-for-the-web-pi-kiosk-126283f5be16
>> >>>
>> >>> Have fun đź‘‹
>> > ,
>> >
>> >  _______________________________________________
>> > Do not post admin requests to the list. They will be ignored.
>> > webkit-wpe mailing list (webkit-wpe at lists.webkit.org)
>> > Help/Unsubscribe/Update your Subscription:
>> > https://lists.webkit.org/mailman//listinfo/webkit-wpe
>>
>>
>> --
>> Regards,
>> Konstantin
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-wpe/attachments/20190404/7d5f87dc/attachment-0001.html>


More information about the webkit-wpe mailing list