Bug#880448: alien: Large integers in version numbers are converted to floating point format
Package: alien
Version: 8.95
Severity: minor
When running alien against a package that has a large integer as one of the
version components (e.g. a nanosecond timestamp), alien appears to convert it
internally to floating point, with the result that the output filename contains
exponential notation. So, for example:
```
andrewg@fred:~/Downloads$ sudo alien --scripts dremio-community-1.2.2-201710100154510864_d40e31c_1.noarch.rpm
dremio-community_1.2.2-2.01710100154511e+17_all.deb generated
```
One would expect that the version number components would be copied verbatim
between the input and output filenames.
Andrew.
-- System Information:
Debian Release: 9.1
APT prefers stable-updates
APT policy: (900, 'stable-updates'), (900, 'stable'), (800, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages alien depends on:
ii cpio 2.11+dfsg-6
ii debhelper 10.2.5
ii dpkg-dev 1.18.24
ii make 4.1-9.1
ii perl 5.24.1-3+deb9u1
ii rpm 4.12.0.2+dfsg1-2
ii rpm2cpio 4.12.0.2+dfsg1-2
alien recommends no packages.
Versions of packages alien suggests:
ii bzip2 1.0.6-8.1
pn lintian <none>
ii patch 2.7.5-1+b2
ii xz-utils [lzma] 5.2.2-1.2+b1
-- no debconf information
Reply to: