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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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

Closed by  Florian Pritz (bluewind)
Wednesday, 25 February 2015, 10:05 GMT
Reason for closing:  Fixed
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.

Loading...