After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 521717 - Version not updated in source package
Version not updated in source package
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.5.5
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-03-11 06:17 UTC by Craig Scott
Modified: 2011-08-22 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Craig Scott 2008-03-11 06:17:08 UTC
The version number in the 1.5.5 source package does not appear to have been updated. There are lots of references to 1.5.4 where it should be 1.5.5. A quick grep should show you what I'm referring to.
Comment 1 Dimitri van Heesch 2008-03-12 19:39:38 UTC
I don't see this myself.

Can you point you at least one place where there is still a verson 1.5.4 in the source package? (other than the TranslatorAdapter class)
Comment 2 Craig Scott 2008-03-12 23:37:18 UTC
tar zxf doxygen-1.5.5.src.tar.gz
cd doxygen-1.5.5
grep -R '1\.5\.4' *
(Translation and documentation matches omitted in the output pasted below)

addon/doxmlparser/src/Makefile:VERSION   = 1.5.4
addon/doxmlparser/test/Makefile:VERSION   = 1.5.4
addon/doxmlparser/examples/metrics/Makefile:VERSION   = 1.5.4
addon/doxywizard/Makefile:VERSION   = 1.5.4
addon/doxywizard2/version.cpp:char versionString[]="1.5.4";
Doxyfile:# Doxyfile 1.5.4
examples/Makefile:VERSION   = 1.5.4
libmd5/Makefile:VERSION   = 1.5.4
libpng/Makefile:VERSION   = 1.5.4
packages/rpm/doxygen-nodoxywizard.spec.in:* Sun Nov 18 2007 Kevin McBride <kevin@planetsaphire.com> 1.5.4
packages/rpm/doxygen.spec.in:* Sun Nov 18 2007 Kevin McBride <kevin@planetsaphire.com> 1.5.4
packages/rpm/doxygen.spec:%define version 1.5.4
packages/rpm/doxygen.spec:* Sun Nov 18 2007 Kevin McBride <kevin@planetsaphire.com> 1.5.4
qtools/Makefile:VERSION   = 1.5.4
qtools/Doxyfile:# Doxyfile 1.5.4



I suspect the one that causes problems for me is packages/rpm/doxygen.spec because the version number is wrong and rpmbuild complains. After I manually changed that version number and recreated the tarball, the rpmbuild eventually fails with the following:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/doxygen-1.5.5-1root
error: Installed (but unpackaged) file(s) found:
   /usr/man/man1/doxywizard.1.gz

This is a slightly different issue, but I'm not familiar enough with the doxygen build system to know whether it is a problem with the build script (ie doxywizard.1.gz should not have been included in the tarball) or the .spec file (doxywizard.1.gz missing from the %files section).
Comment 3 jan.ruzicka 2011-05-11 23:06:02 UTC
This is still a problem for spec file "packages/rpm/doxygen.spec" in 1.7.4 source file release.
Comment 4 Dimitri van Heesch 2011-06-04 21:12:11 UTC
Confirmed. I'll update the spec file with the latest version as well.
Comment 5 Dimitri van Heesch 2011-08-14 14:04:57 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 6 jan.ruzicka 2011-08-15 13:49:38 UTC
The issue is not fixed.

downloading 
doxygen-1.7.5.src.tar.gz

and running 
$ rpmbuild -ta ./doxygen-1.7.5.src.tar.gz 
error: File /home/jruzicka/doxygen-1.7.4.src.tar.gz: No such file or directory

:-(

%define version 1.7.4
Comment 7 jan.ruzicka 2011-08-15 14:01:12 UTC
The versions seem to be updated during running of "./configure" script.
Can it be executed as a step of the release procedure?

I expect to run rpmbuild directly on the source package without any additional configuration steps in between.
Comment 8 Dimitri van Heesch 2011-08-18 13:12:21 UTC
Hi Jan,

I'll add it to the release procedure.
Comment 9 Dimitri van Heesch 2011-08-18 13:12:37 UTC
Should be fixed in the next subversion update.
Comment 10 Dimitri van Heesch 2011-08-21 08:19:45 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5.1. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 11 jan.ruzicka 2011-08-22 16:55:17 UTC
Thank you!!
The RPM is building now.

$ rpmbuild -ta ./doxygen-1.7.5.1.src.tar.gz
[...]
+ exit 0

Thank you very much once more.