I need an old version of chromium for graphical testing purposes, executed by Linux (whathever version, ubuntu preferred) on Mac m1.
I'm on a Mac and I run this version of linux on docker which works and gives me a GUI interaction via VLC:
https://github.com/fcwu/docker-ubuntu-vnc-desktop
docker run -p 6080:80 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc --name=browtest
root@204876e368d0:/root# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
I've also find some useful hint in this post. So I've found this version that should be the perfect fit:
But here is the problem once I tried to execute it:
# ./chrome
./chrome: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
seems legit, some lib could be missing. alrigh I'll install it:
root@204876e368d0:/root/Downloads/chrome-linux# sudo apt-get install libgconf-2-4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gconf-service gconf-service-backend gconf2-common
The following NEW packages will be installed:
gconf-service gconf-service-backend gconf2-common libgconf-2-4
0 upgraded, 4 newly installed, 0 to remove and 214 not upgraded.
Need to get 859 kB of archives.
After this operation, 8092 kB of additional disk space will be used.
Do you want to continue? [Y/n]
but now this happens:
oot@204876e368d0:~/Downloads/chrome-linux# ./chrome --no-sandbox
[10209:10209:0116/165839:ERROR:stack_trace_posix.cc(584)] Failed to parse the contents of /proc/self/maps
[0116/165839:FATAL:nacl_helper_linux.cc(452)] Check failed: nacl_sandbox->IsSingleThreaded().
#0 0x00400007918e base::debug::StackTrace::StackTrace()
#1 0x00400007e1bb logging::LogMessage::~LogMessage()
#2 0x00400002b8cd main
#3 0x004002a130b3 <unknown>
#4 0x00400002b5c5 <unknown>
qemu: uncaught target signal 6 (Aborted) - core dumped
[10209:10209:0116/165839:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)
(chrome:10205): Pango-ERROR **: 16:58:40.075: Harfbuzz version too old (1.2.7)
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
Trace/breakpoint trap
And I don't know how to keeep fixing this. Any solution that could allow a chromium 53 running on a linux accessible by mac (via docker/emulation) would be ok for my purpose. So if you see other ways to get the purpose please do tell.