[Bug 1797662] Re: advpng built from an archive without a .version file
Hans Joachim Desserud
1797662 at bugs.launchpad.net
Sun Oct 14 09:05:02 UTC 2018
Thank you for reporting this issue and help making Ubuntu better.
I can confirm that advancecomp 2.1-1 reports version "vnone" on Ubuntu
Cosmic as well.
When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. This will automatically add
useful debug information such as which package version and Ubuntu
release you are running. You can learn more about this functionality at
https://wiki.ubuntu.com/ReportingBugs.
** Changed in: advancecomp (Ubuntu)
Status: New => Confirmed
** Tags added: bionic cosmic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to advancecomp in Ubuntu.
https://bugs.launchpad.net/bugs/1797662
Title:
advpng built from an archive without a .version file
Status in advancecomp package in Ubuntu:
Confirmed
Bug description:
```
$ lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
```
***
```
$ apt-cache policy advancecomp
advancecomp:
Installed: 2.1-1
Candidate: 2.1-1
Version table:
*** 2.1-1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
1.20-1 500
500 http://old-releases.ubuntu.com/ubuntu zesty/main amd64 Packages
```
***
When running `advpng --version` its output does not provide the version of the utility. Instead it reports it as "vnone". Example:
```
$ advpng --version
advancecomp vnone by Andrea Mazzoleni, http://www.advancemame.it
```
I expect it to return "v2.1-1". A la -
```
advancecomp v2.1-1 by Andrea Mazzoleni, http://www.advancemame.it
```
After some looking around it seems that maybe the wrong archive is
fetched before building it. Possibly
https://github.com/amadvance/advancecomp/archive/v2.1.tar.gz
Instead it should be
https://github.com/amadvance/advancecomp/releases/download/v2.1/advancecomp-2.1.tar.gz.
The one that was used is an archive of the git repository which does
NOT contain the `.version` file, and latter one linked is a release
archive which I think is created from repository after running all
auto* tools and running the script that generates .version file.
This is all information gleaned from the image_optim project where
there is more information in an issue there:
https://github.com/toy/image_optim/issues/165#issuecomment-429489170
Much thanks to Ivan Kuchin and Kasper Grubbe over there helping track
this down.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/advancecomp/+bug/1797662/+subscriptions
More information about the foundations-bugs
mailing list