[Git][NTPsec/ntpsec][master] 2 commits: Document a workaeound for a build bug.

Eric S. Raymond gitlab at mg.gitlab.com
Fri Dec 30 20:03:14 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
22ec6995 by Eric S. Raymond at 2016-12-30T15:03:03-05:00
Document a workaeound for a build bug.

- - - - -
452b89b2 by Eric S. Raymond at 2016-12-30T15:03:03-05:00
Avoid an autorevision bug reported by Hal Murray.

- - - - -


3 changed files:

- INSTALL
- devel/TODO
- wafhelpers/autorevision.sh


Changes:

=====================================
INSTALL
=====================================
--- a/INSTALL
+++ b/INSTALL
@@ -151,7 +151,12 @@ additions. There is currently no support for using Xcode's builder.
 Details on how to qualify NTPsec if you've never used it before
 are at devel/testing.txt.
 
-== Bugs ==
+== Build Bugs ==
+
+You may find that after a fresh clone and first ./waf build you get a
+Python import error when trying to run ntpq or other Python tools.
+If this happens, just do ./waf build again.  This is a known bug
+which will be fixed in a future release.
 
 The configuration system occasionally acts up during builds on new
 platforms.  If you see the message "Compilation check failed but


=====================================
devel/TODO
=====================================
--- a/devel/TODO
+++ b/devel/TODO
@@ -2,6 +2,11 @@
 
 == Checklist for a quality 1.0 release ==
 
+== Build recipe ==
+
+* After a fresh clone, it may take *two* ./waf builds to force the
+  compiled versions of the Python libraries.
+
 === Code ===
 
 * All the code relating to iteration over interfaces can and should be removed


=====================================
wafhelpers/autorevision.sh
=====================================
--- a/wafhelpers/autorevision.sh
+++ b/wafhelpers/autorevision.sh
@@ -605,8 +605,8 @@ EOF
 # For Python output
 pyOutput() {
 	case "${VCS_WC_MODIFIED}" in
-		0) VCS_WC_MODIFIED="False" ;;
-		1) VCS_WC_MODIFIED="True" ;;
+		0) PY_VCS_WC_MODIFIED="False" ;;
+		1) PY_VCS_WC_MODIFIED="True" ;;
 	esac
 	tee << EOF
 # ${GENERATED_HEADER}
@@ -625,7 +625,7 @@ VCS_ACTION_STAMP = "${VCS_ACTION_STAMP}"
 VCS_FULL_HASH = "${VCS_FULL_HASH}"
 VCS_SHORT_HASH = "${VCS_SHORT_HASH}"
 
-VCS_WC_MODIFIED = ${VCS_WC_MODIFIED}
+VCS_WC_MODIFIED = ${PY_VCS_WC_MODIFIED}
 
 # end
 EOF



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/b4d05e711a64b9ae3884ce71eaed56c5353e69b0...452b89b2ce71b85b515f8abe3eaa25921417ee2d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161230/acc374a7/attachment.html>


More information about the vc mailing list