[bisq-network/bisq] Building Linux packages - default setting causes error (#2860)

agb19 notifications at github.com
Mon Jun 3 04:32:39 UTC 2019


Attempting to build Linux packages on Debian 9 (with JDK 10.0.2) from an unmodified git clone breaks during `rpmbuild` with the error message below. 
```
sh desktop/package/linux/package.sh
(...)
Generating RPM for installer to: /home/bisq/bisq/desktop/package/linux/../../../desktop/package/linux
Running [rpmbuild, -bb, (...)] in /tmp/fxbundler5968169114025910883/images/linux-rpm.image
error: line 3: Illegal char '-' in: Version: 1.1.1-SNAPSHOT
java.io.IOException: Exec failed with code 1 command (...)
```
Only the RPM build is affected, DEB package is built OK. The error message from `rpmbuild` indicates that the dash character is not allowed in version numbers (`1.1.1-SNAPSHOT`). 

On further investigation:
- changing the dash to an underscore (`1.1.1_SNAPSHOT`) caused an error in the DEB builder instead
- changing the dash to a dot (`1.1.1.SNAPSHOT`) allowed both RPM and DEB to build correctly. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/2860
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190602/5b702d45/attachment-0001.html>


More information about the bisq-github mailing list