#31891: make autostyle doesn't work when building outside the source tree ------------------------------+--------------------------------- Reporter: catalyst | Owner: (none) Type: defect | Status: new Priority: Medium | Milestone: Tor: unspecified Component: Core Tor/Tor | Version: Severity: Normal | Keywords: easy, maint-scripts Actual Points: | Parent ID: Points: | Reviewer: Sponsor: | ------------------------------+--------------------------------- It looks like `make autostyle` doesn't work correctly if building outside the source tree. (Here I'm building in a subdirectory of the source tree.) {{{ $ make -k autostyle abs_top_srcdir="/Users/tlyu/src/tor/build-norust/.." python3 ../scripts/maint/update_versions.py Traceback (most recent call last): File "../scripts/maint/update_versions.py", line 98, in <module> with open("configure.ac") as f: FileNotFoundError: [Errno 2] No such file or directory: 'configure.ac' make: *** [update-versions] Error 1 python3 scripts/maint/annotate_ifdef_directives.py ../src/lib/*/*.[ch] ../src/core/*/*.[ch] ../src/feature/*/*.[ch] ../src/app/*/*.[ch] ../src/test/*.[ch] ../src/test/*/*.[ch] ../src/tools/*.[ch] /Users/tlyu/src/brew/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'scripts/maint/annotate_ifdef_directives.py': [Errno 2] No such file or directory make: *** [autostyle-ifdefs] Error 2 python3 scripts/maint/rectify_include_paths.py /Users/tlyu/src/brew/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'scripts/maint/rectify_include_paths.py': [Errno 2] No such file or directory make: *** [rectify-includes] Error 2 make: Target `autostyle' not remade because of errors. }}}
-- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31891> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs