Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ARM builds for Linux #270

Open
ghost opened this issue Oct 24, 2019 · 10 comments
Open

Add ARM builds for Linux #270

ghost opened this issue Oct 24, 2019 · 10 comments
Labels
feature request Issues that request new features to be added to OnlyOffice

Comments

@ghost
Copy link

ghost commented Oct 24, 2019

pi@raspberrypi:~/Desktop/DesktopEditors/core/Common/3dParty $ ./make.sh
boost/
boost already downloaded
boost already extracted
/home/pi/Desktop/DesktopEditors/core/Common/3dParty/boost/boost_1_58_0/build/linux_32
cef/


--2019-10-24 11:11:59--  http://d2ettrnqo7v976.cloudfront.net/cef/3202/linux_32/cef_binary.7z
Resolviendo d2ettrnqo7v976.cloudfront.net (d2ettrnqo7v976.cloudfront.net)... 13.227.92.118, 13.227.92.11, 13.227.92.215, ...
Conectando con d2ettrnqo7v976.cloudfront.net (d2ettrnqo7v976.cloudfront.net)[13.227.92.118]:80... conectado.
Petición HTTP enviada, esperando respuesta... 404 Not Found
2019-10-24 11:11:59 ERROR 404: Not Found.


7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=es_AR.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs LE)

Scanning the drive for archives:
         
ERROR: No more files
cef_binary.7z



System ERROR:
Error desconocido -2147024872
cp: no se puede efectuar `stat' sobre './cef_binary/Release/*': No existe el fichero o el directorio
cp: no se puede efectuar `stat' sobre './cef_binary/Resources/*': No existe el fichero o el directorio
chmod: no se puede acceder a 'build/locales': No existe el fichero o el directorio
build: OK!
cryptopp/
icu/


svn: E170011: Repository moved temporarily to 'http://site.icu-project.org/repository'
sed: no se puede leer ./icu/source/i18n/digitlst.cpp: No existe el fichero o el directorio
fetch.sh: línea 74: cd: ./icu/source/: No existe el fichero o el directorio
fetch.sh: línea 78: ./runConfigureICU: No existe el fichero o el directorio
make: *** No se especificó ningún objetivo y no se encontró ningún makefile.  Alto.
make: *** No hay ninguna regla para construir el objetivo 'install'.  Alto.
cp: no se puede efectuar `stat' sobre './icu/source/lib/libicudata.so.58.2': No existe el fichero o el directorio
cp: no se puede efectuar `stat' sobre './icu/source/lib/libicuuc.so.58.2': No existe el fichero o el directorio
@ShockwaveNN
Copy link
Contributor

Related issue for DocumentServer ONLYOFFICE/DocumentServer#152

@ShockwaveNN ShockwaveNN added the compilation Issues with compilation of product from source label Dec 26, 2019
@jkumeboshi
Copy link

There is some ARM CEF builds there, don't know it it can be used as is:

http://opensource.spotify.com/cefbuilds/index.html

@Kabouik
Copy link

Kabouik commented Feb 24, 2022

Just posting to show support for this request. Is there any plan to provide ARM packages? M1 CPU are supported officially but they are far from being the only ARM CPUs, and many other ARM CPUs are powerful enough for full desktop WMs and Office needs.

The mobile applications surely support ARM already but desktop applications would be better and more OS-agnostic.

I have tried extracting the AppImage and running the binary with box64 but unfortunately this failed. First, it failed because it couldn't find libgdk-3.so.0 (it was on my system but box64 probably needs the amd64 version):

user@debian-sid ~/P/box64onlyoffice  $ box64 squashfs-root/usr/bin/./DesktopEditors
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096
Box64 with Dynarec v0.1.7 fc3b931 built on Feb 24 2022 01:44:43
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 64 Env var
Looking for squashfs-root/usr/bin/./DesktopEditors
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libPdfReader.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libDjVuFile.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libhunspell.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libooxmlsignature.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libkernel.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libkernel_network.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libvideoplayer.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libascdocumentscore.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libqtascdocumentscore.so
Using native(wrapped) libX11.so.6
Error loading needed lib libgdk-3.so.0
Error loading one of needed lib
Error: loading needed libs in elf /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/DesktopEditors

I downloaded libgtk-3-0.deb for Debian Sid and amd64 architecture from https://packages.debian.org, extracted it with dpkg-deb -xv packagename.deb ., and moved the said lib to the AppImage-extracted squashfs/usr/bin/ folder. Then running box64 squashfs/usr/bin/./DesktopEditors went much further than previously, which gave me hope, but still no luck in the end:

user@debian-sid ~/P/box64onlyoffice  $ box64 squashfs-root/usr/bin/./DesktopEditors
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL PageSize:4096
Box64 with Dynarec v0.1.7 fc3b931 built on Feb 24 2022 01:44:43
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 64 Env var
Looking for squashfs-root/usr/bin/./DesktopEditors
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libPdfReader.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libDjVuFile.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libhunspell.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libooxmlsignature.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libkernel.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libkernel_network.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libvideoplayer.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libascdocumentscore.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libqtascdocumentscore.so
Using native(wrapped) libX11.so.6
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libgdk-3.so.0
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5PrintSupport.so.5
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5Svg.so.5
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5Widgets.so.5
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5X11Extras.so.5
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5Gui.so.5
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5Network.so.5
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5Core.so.5
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) librt.so.1
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libgraphics.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libUnicodeConverter.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libHtmlRenderer.so
Using native(wrapped) libm.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libicuuc.so.58
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libicudata.so.58
Using native(wrapped) libdl.so.2
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libPdfWriter.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5MultimediaWidgets.so.5
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5Multimedia.so.5
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libQt5OpenGL.so.5
Using native(wrapped) libGL.so.1
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libicui18n.so.52
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libicuuc.so.52
Using native(wrapped) libglib-2.0.so.0
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libicudata.so.52
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/converter/libXpsFile.so
Using emulated /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/libcef.so
Error loading needed lib libgtk-3.so.0
Error loading one of needed lib
Error initializing needed lib libascdocumentscore.so
Error loading one of needed lib
Error: loading needed libs in elf /home/user/Projects/box64onlyoffice/squashfs-root/usr/bin/DesktopEditors

ARM devices are so widespread it would really be a great progress to have installers for this architecture, especially as Onlyoffice seems to have put some significant work into providing installers or packages for many OS (Windows, Linux, MacOS), distributions (several packages), and even distro-agnostic versions (Flatpak, Snap, AppImage), so it's a shame that those efforts to make Onlyoffice work on virtually any system (thanks for that) fall short when it comes to ARM devices.

@ShockwaveNN
Copy link
Contributor

Is there any plan to provide ARM packages?

Yes there is a plan, but currently it's not a production ready

We'll notify as soon as it ready at ONLYOFFICE/DocumentServer#152

And yes we understand that ARM is very popular right now, but we have not enough resources to support several architectures with our usually quality, so we need some time

@Kabouik
Copy link

Kabouik commented Feb 24, 2022

Thanks, looking forward to it!

@ShockwaveNN
Copy link
Contributor

So, we already release arm build of DocumentServer and they are working fine, but right now we have not build of DesktopEditors for Linux arm

I've created issue 58793 for our dev team to provide such builds

And I think we can make this a main issue to track user request for such builds

@ShockwaveNN ShockwaveNN changed the title fail to compile on arm linux due missing 3erd party sources Add ARM builds for Linux Aug 30, 2022
@ShockwaveNN ShockwaveNN added feature request Issues that request new features to be added to OnlyOffice and removed compilation Issues with compilation of product from source labels Aug 30, 2022
@alfredonodo
Copy link

Hi,
do you have any news?
Thank you

@kde-yyds
Copy link

is there any updates? i want to run onlyoffice in android chroot

@Botspot
Copy link

Botspot commented Jan 17, 2024

Interested in adding OnlyOffice to our Linux ARM app store. Any updates on building from source, or official ARM builkds?

@tbocek
Copy link

tbocek commented Feb 11, 2025

One year later. Any updates on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to OnlyOffice
Projects
None yet
Development

No branches or pull requests

8 participants