View Issue Details

IDProjectCategoryView StatusLast Update
0005754SOGoPackaging (Debian)public2023-11-20 09:13
ReporterDerLinkman Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
PlatformARM64 ServerOSDebianOS Version11
Product Version5.8.2 
Summary0005754: Native ARM64 support
Description

Hello dear SOGo dev team,

i kindly ask for the possibility of a native ARM64 Support for sogo.

It is possible though to compile SOGo for ARM64 manually (technically) but many users might not have the know how on how to do it and rather want to use the precompiled packages in your repo.

Unfortunately that repo does not contain any ARM64 package at all so it isn't a option here...

Due to the fact, that ARM64 Servers getting more and more popular in the it world it would be very awesome to see SOGo there as well.

Please think about it and don't answer directly with: "Nah, not planned as no one will use it." (Believe me it will).

If it has technical reasons why sogo does not have ARM64 packages yet is a different and reasonable argument.

Steps To Reproduce

No ones, as no ARM Package exist.

TagsARM64, mailcow, Package

Activities

DerLinkman

DerLinkman

2023-04-26 12:39

reporter   ~0016888

  • it would make many many people very happy of the mailcow project which is currently expanding to the ARM64 world but sogo is currently one of the stopping points (due to the non ARM64 repo package availability)
sebastien

sebastien

2023-04-26 12:52

administrator   ~0016889

Hi there,

This is a good idea. I'm working on a mac M1 so I compile SOGo in Docker in different architecture, so this is technically possible.

Sebastien

rflrkn

rflrkn

2023-04-26 12:53

reporter   ~0016890

+1 - would very much appreciate it if this would happen! :)

DerLinkman

DerLinkman

2023-04-26 12:59

reporter   ~0016891

@sebastien

I was experimenting with that compilation earlier this day but i didn't got it to work as it moans:

#0 29.00 /usr/bin/ld: cannot find -lSOGo
#0 29.02 collect2: error: ld returned 1 exit status
#0 29.02 make[3]: [/usr/share/GNUstep/Makefiles/wobundle.make:173: Appointments.SOGo/./Appointments] Error 1
#0 29.02 make[2]:
[/usr/share/GNUstep/Makefiles/Master/rules.make:297: Appointments.all.wobundle.variables] Error 2
#0 29.02 make[1]: [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
#0 29.02 make:
[/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2

SOAP, gnu-step and the dependencies have been installed.

If you could help me with that i could continue experimenting with mailcow on ARM feat. SOGo until you guys have decided about publishing SOGo to ARM64 as well.

nlion

nlion

2023-04-26 13:06

reporter   ~0016892

+1 this would be amazing.

sebastien

sebastien

2023-04-26 13:11

administrator   ~0016893

I can't provide my Dockerfile as this is not really clean yet.
I'm using https://github.com/pmietlicki/docker-sogo-from-sources as base image. Try to clone the repo and docker build image.

Regarding official ARM64 release, this would need some rework in our actual build system. This rework has already started with the integration of Ubuntu Jammy in SOGo 5.8.2 (behind the scene :))

Sebastien

DerLinkman

DerLinkman

2023-04-26 13:13

reporter   ~0016894

Alright, thanks @sebastien!

Then don't forget it when you guys are reconstructing the build system anyways :P

sebastien

sebastien

2023-04-26 13:13

administrator   ~0016895

No problem ;)

DerLinkman

DerLinkman

2023-04-26 13:58

reporter   ~0016898

@sebastien
Did you've tweaked the desired Dockerfile for building SOGo?

It now moans regarding ActiveSync that wbxml.h is not found, but indeed it is installed and located in the /usr/local path.

I don't get it...

DerLinkman

DerLinkman

2023-04-26 14:06

reporter   ~0016899

I just saw that it is using a special wbxml2 for SOGo which is (of course) only available for all other platforms exept: ARM64! Yay...

sebastien

sebastien

2023-04-26 14:19

administrator   ~0016902

Last edited: 2023-04-26 14:23

Try this :

apt-get install -y --fix-missing cmake
mkdir /tmp/libwbxml
git clone https://github.com/libwbxml/libwbxml.git /tmp/libwbxml/
cd /tmp/libwbxml/ && cmake . -B/tmp/build/libwbxml -DCMAKE_INSTALL_PREFIX=$prefix && cd /tmp/build/libwbxml && make && make install
ln -s /include/libwbxml-1.0 /usr/include/libwbxml-1.0

[EDIT] : To be executed in docker container of course :)

DerLinkman

DerLinkman

2023-04-26 15:00

reporter   ~0016903

Yes works! Compilation done!

Very nice.

Now i got the error libSOGo.so.5 when i start to run sogod located in /usr/local/sbin/sogod.

Any idea on how to solve it?

sebastien

sebastien

2023-04-26 15:38

administrator   ~0016904

Maybe you can try /sbin/ldconfig -v

Sebastien

SlavekB

SlavekB

2023-04-30 07:59

reporter   ~0016920

If you are interested, I added ARM64 packages for stable release od SOGo for Debian 11.x (bullseye) and Ubuntu 22.04 (jammy) to our community APT repository, which I provide on:

deb https://www.axis.cz/linux/debian <distribution-name> sogo-v5

DerLinkman

DerLinkman

2023-04-30 21:06

reporter   ~0016922

That's awesome! Yes thank you. mailcow will use it until SOGo publishes their official ARM64 packages.

Nothing personal though, it's nice to have such option. Very much appreciated!

DerLinkman

DerLinkman

2023-11-16 10:36

reporter   ~0017437

Hoi, any news on the ARM64 support of the official SOGo packages?

Would be very great to hear something.

qhivert

qhivert

2023-11-20 09:13

administrator   ~0017448

Hello,
This is still in our backlog but not planned.

Issue History

Date Modified Username Field Change
2023-04-26 12:36 DerLinkman New Issue
2023-04-26 12:39 DerLinkman Note Added: 0016888
2023-04-26 12:48 DerLinkman Tag Attached: mailcow
2023-04-26 12:48 DerLinkman Tag Attached: ARM64
2023-04-26 12:48 DerLinkman Tag Attached: Package
2023-04-26 12:48 DerLinkman Tag Detached: ARM64
2023-04-26 12:48 DerLinkman Tag Attached: ARM64
2023-04-26 12:52 sebastien Note Added: 0016889
2023-04-26 12:53 rflrkn Note Added: 0016890
2023-04-26 12:59 DerLinkman Note Added: 0016891
2023-04-26 13:06 nlion Note Added: 0016892
2023-04-26 13:11 sebastien Note Added: 0016893
2023-04-26 13:13 DerLinkman Note Added: 0016894
2023-04-26 13:13 sebastien Note Added: 0016895
2023-04-26 13:58 DerLinkman Note Added: 0016898
2023-04-26 14:06 DerLinkman Note Added: 0016899
2023-04-26 14:19 sebastien Note Added: 0016902
2023-04-26 14:23 sebastien Note Edited: 0016902
2023-04-26 14:23 sebastien Note Edited: 0016902
2023-04-26 15:00 DerLinkman Note Added: 0016903
2023-04-26 15:38 sebastien Note Added: 0016904
2023-04-30 07:59 SlavekB Note Added: 0016920
2023-04-30 21:06 DerLinkman Note Added: 0016922
2023-11-16 10:36 DerLinkman Note Added: 0017437
2023-11-20 09:13 qhivert Note Added: 0017448