Public bug reported: ``` $ 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. ** Affects: advancecomp (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1797662 Title: advpng built from an archive without a .version file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/advancecomp/+bug/1797662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs