Wireshark mailing list archives

Re: rpm-build on SuSE 11.3 fails with "new version string"


From: João Valverde <joao.valverde () tecnico ulisboa pt>
Date: Fri, 22 Apr 2016 12:41:53 +0100



On 22-04-2016 12:31, Anders Broman wrote:


-----Original Message-----
From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of João Valverde
Sent: den 22 april 2016 11:05
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] rpm-build on SuSE 11.3 fails with "new version string"

The problem is also present with old version string for automated builds.

How should this string be sanitized for RPM? Is there some best practice?

Well a day or two ago I got further, then it failed with dependency problems on autoconf and rpmbuild even though I've 
installed a newer autoconf from source.

For builds from master that bug was indeed introduced with 7c6e859ccf210a45e1cc0f6da17692845e6b5a23.

But tarballs from https://www.wireshark.org/download/automated/src/ were affected before that too.

Seems easy enough to fix, I'll test and push to Gerrit.

On 22-04-2016 09:33, Anders Broman wrote:
tardir=wireshark-2.1.0-git && tar --format=ustar -chf - "$tardir" |
bzip2 -9 -c >wireshark-2.1.0-git.tar.bz2

{ test ! -d wireshark-2.1.0-git || { find wireshark-2.1.0-git -type d !
-perm -200 -exec chmod u+w {} ';' && rm -fr wireshark-2.1.0-git; }; }

error: line 28: Illegal char '-' in version: Version:  2.1.0-git

make: *** [rpm-package] Error 1



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: