<p>Attempting to build Linux packages on Debian 9 (with JDK 10.0.2) from an unmodified git clone breaks during <code>rpmbuild</code> with the error message below.</p>
<pre><code>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 (...)
</code></pre>
<p>Only the RPM build is affected, DEB package is built OK. The error message from <code>rpmbuild</code> indicates that the dash character is not allowed in version numbers (<code>1.1.1-SNAPSHOT</code>).</p>
<p>On further investigation:</p>
<ul>
<li>changing the dash to an underscore (<code>1.1.1_SNAPSHOT</code>) caused an error in the DEB builder instead</li>
<li>changing the dash to a dot (<code>1.1.1.SNAPSHOT</code>) allowed both RPM and DEB to build correctly.</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/2860?email_source=notifications&email_token=AJFFTNQ42IPEDEXTH3ZC64LPYSNGPA5CNFSM4HSEQ3E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXGDYSQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNVQJPM7TGZWBFOYIMTPYSNGPANCNFSM4HSEQ3EQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNRRF6LDRYF52FUJTSDPYSNGPA5CNFSM4HSEQ3E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXGDYSQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/2860?email_source=notifications\u0026email_token=AJFFTNQ42IPEDEXTH3ZC64LPYSNGPA5CNFSM4HSEQ3E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXGDYSQ",
"url": "https://github.com/bisq-network/bisq/issues/2860?email_source=notifications\u0026email_token=AJFFTNQ42IPEDEXTH3ZC64LPYSNGPA5CNFSM4HSEQ3E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXGDYSQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>