FS#43936 - [freecad] version reports $WCREV$ instead of revision
Attached to Project:
Community Packages
Opened by Jon Nordby (jonnor) - Tuesday, 24 February 2015, 20:49 GMT
Last edited by Florian Pritz (bluewind) - Wednesday, 25 February 2015, 10:05 GMT
Opened by Jon Nordby (jonnor) - Tuesday, 24 February 2015, 20:49 GMT
Last edited by Florian Pritz (bluewind) - Wednesday, 25 February 2015, 10:05 GMT
|
Details
In freecad 0.14.3702-4, seems like not everything in version
number has gotten substituted in build.
This causes some Python scripts which check for the version to fail. Steps to reproduce: pacman -S freecad PYTHONPATH=/usr/lib/freecad python2 -c "import FreeCAD; print FreeCAD.Version()" Expected: Version tuple to include revision/patch number ['0', '14', '3702', ....] Actual: Version tuple has correct major+minor, but rest are templates ['0', '14', '$WCREV$', '$WCURL$', '$WCDATE$'] |
This task depends upon
Comment by Jon Nordby (jonnor) -
Tuesday, 24 February 2015, 20:52 GMT
Some info about the breakage, and possible reason:
http://forum.freecadweb.org/viewtopic.php?f=3&t=7152
Comment by
Florian Pritz (bluewind) -
Wednesday, 25 February 2015, 10:03 GMT
Apparently this is broken because we are building out of tree
which is unnecessary anyway. Fixed in freecad 0.14.3702-5.