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

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

Open
Moris-Shalon opened this issue Jan 28, 2024 · 2 comments

Comments

@Moris-Shalon
Copy link

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 Moris-Shalon changed the title Ubuntu 20.04.6 - erorr compiling from source Ubuntu 20.04.6 - error compiling from source Jan 28, 2024
@Moris-Shalon Moris-Shalon changed the title Ubuntu 20.04.6 - error compiling from source Ubuntu 20.04.6 - error compiling/building from source Jan 28, 2024
@Moris-Shalon
Copy link
Author

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```

@Moris-Shalon Moris-Shalon changed the title Ubuntu 20.04.6 - error compiling/building from source Ubuntu 20.04.6 (x86-64) and Raspberry Pi OS (Debian 11, arm64) - error compiling/building from source Jan 28, 2024
@Moris-Shalon Moris-Shalon changed the title Ubuntu 20.04.6 (x86-64) and Raspberry Pi OS (Debian 11, arm64) - error compiling/building from source Error compiling/building from source on Ubuntu 20.04.6 (x86-64) and Raspberry Pi OS (Debian 11, arm64) Jan 28, 2024
@shalva-an
Copy link
Contributor

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

#22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants