Open
Description
When running getdeps.sh on Windows (via git/mingw bash), I get the following error when it tries to patch boost:
Building on {distro=None, distro_vers=10, fb=off, fbsource=off, os=windows, shared_libs=off, test=on}
Assessing gperf...
Assessing libsodium...
Assessing boost...
Building boost...
Patching boost with boost_comparator_operator_fix.patch in Z:\extracted\boost-boost_1_83_0.zip\boost_1_83_0
error: corrupt patch at line 11
Traceback (most recent call last):
File "C:\source\proxygen\build\fbcode_builder\getdeps\builder.py", line 138, in _apply_patchfile
subprocess.check_call(patchcmd + [patchfile])
File "C:\Tools\Python310\Lib\subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '--ignore-space-change', 'C:\\source\\proxygen\\build\\fbcode_builder\\patches\\boost_comparator_operator_fix.patch']' returned non-zero exit status 128.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\source\proxygen\build\fbcode_builder\getdeps.py", line 1422, in <module>
sys.exit(main())
File "C:\source\proxygen\build\fbcode_builder\getdeps.py", line 1405, in main
return args.func(args)
File "C:\source\proxygen\build\fbcode_builder\getdeps.py", line 108, in run
self.run_project_cmd(args, loader, manifest)
File "C:\source\proxygen\build\fbcode_builder\getdeps.py", line 671, in run_project_cmd
builder.build(reconfigure=reconfigure)
File "C:\source\proxygen\build\fbcode_builder\getdeps\builder.py", line 163, in build
self._apply_patchfile()
File "C:\source\proxygen\build\fbcode_builder\getdeps\builder.py", line 140, in _apply_patchfile
raise ValueError(f"Failed to apply patch to {self.manifest.name}")
ValueError: Failed to apply patch to boost
Activity