Bug #4674
waf build: OSError: [Errno 2] No such file or directory
100%
Description
This happens only with the latest release, does not happen with 0.6.1.
https://koji.fedoraproject.org/koji/getfile?taskID=28458928&volume=DEFAULT&name=build.log&offset=-4000
https://koji.fedoraproject.org/koji/taskinfo?taskID=28456782
Checking supported LINKFLAGS : -fuse-ld=gold -Wl,-O1 'configure' finished successfully (8.020s) + /usr/bin/python2 ./waf Waf: Entering directory `/builddir/build/BUILD/ndn-cxx-0.6.2/build' Traceback (most recent call last): File "/builddir/build/BUILD/ndn-cxx-0.6.2/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Scripting.py", line 118, in waf_entry_point run_commands() File "/builddir/build/BUILD/ndn-cxx-0.6.2/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Scripting.py", line 178, in run_commands ctx=run_command(cmd_name) File "/builddir/build/BUILD/ndn-cxx-0.6.2/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Scripting.py", line 169, in run_command ctx.execute() File "/builddir/build/BUILD/ndn-cxx-0.6.2/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Scripting.py", line 366, in execute return execute_method(self) File "/builddir/build/BUILD/ndn-cxx-0.6.2/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Build.py", line 93, in execute self.execute_build() File "/builddir/build/BUILD/ndn-cxx-0.6.2/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Build.py", line 96, in execute_build self.recurse([self.run_dir]) File "/builddir/build/BUILD/ndn-cxx-0.6.2/.waf-2.0.6-593191f496fe8c66231dfd5df26167ae/waflib/Context.py", line 125, in recurse user_function(self) File "/builddir/build/BUILD/ndn-cxx-0.6.2/wscript", line 150, in build version(bld) File "/builddir/build/BUILD/ndn-cxx-0.6.2/wscript", line 343, in version out = subprocess.check_output(cmd, universal_newlines=True).strip() File "/usr/lib64/python2.7/subprocess.py", line 216, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib64/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
Updated by Davide Pesavento over 2 years ago
- Status changed from New to Closed
- Assignee set to Davide Pesavento
- Target version changed from Unsupported to v0.7
- % Done changed from 0 to 100
Already fixed in git master -> https://github.com/named-data/ndn-cxx/commit/21be81676ffaf49d27d2b149f5f452e106fd4a03
As a workaround, install git.
Updated by Davide Pesavento over 2 years ago
- Subject changed from ndn-cxx build fails on Fedora 29 to waf build: OSError: [Errno 2] No such file or directory
Updated by susmit shannigrahi over 2 years ago
Davide Pesavento wrote:
Already fixed in git master -> https://github.com/named-data/ndn-cxx/commit/21be81676ffaf49d27d2b149f5f452e106fd4a03
As a workaround, install git.
I don't want to make git a dependency in the RPM SPEC, it will be an unnecessary bloat.
I will take the "pass" :)
Updated by Davide Pesavento over 2 years ago
I understand and agree with you. Backporting the commit mentioned above should be straightforward. Alternatively, wait for the next release or package a snapshot from git.