Dadoum / anisette-v3-server

sidestore's anisette-v3 compatible server
181 stars 1.15k forks source link

Error compiling/building from source on Ubuntu 20.04.6 (x86-64) and Raspberry Pi OS (Debian 11, arm64) #11

Open Moris-Shalon opened 7 months ago

Moris-Shalon commented 7 months ago

Getting error, when trying to compile this project from source. Seems like, dub on Ubuntu 20.04.6 requires some other syntax of git commit in "version" field.

$ anisette-v3-server/

$ DC=ldc2 dub build -c "static" --build-mode allAtOnce -b release --compiler=ldc2
Invalid SemVer format: fa028b6f4e6e2704bf43f92031fe5c3223045f64

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

$ dub --version
DUB version 1.19.0-1build2.1, built on Jun 30 2021 
Moris-Shalon commented 7 months ago

Same problem on Raspberry Pi OS 64-bit (based on Debian 11) with dub 1.22


$ DC=ldc2 dub build -c "static" --build-mode allAtOnce -b release --compiler=ldc2
Invalid SemVer format: fa028b6f4e6e2704bf43f92031fe5c3223045f64

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

$ dub --version
DUB version 1.22.0-1, built on Aug  8 2020```
shalva-an commented 1 month ago

@Moris-Shalon Take a look at this. I had the same issues. Resolved it here:

https://github.com/Dadoum/anisette-v3-server/pull/22