WorkDir yaması ile kaynağın açılmış halini çalışma alanı olarak görmesini istiyoruz. ancak aşağıdaki gibi hata veriyor.
pisi bi /git/BuildFiles/system/base/json-c/pspec.xml -d --ignore-safety --unpack --debug
Last state was 'none'
json-c-0.13.1-20180305.tar.gz [cached]
Unpacking archive(s)...
Applying patch: wno-werror.patch
System error. Program terminated.
<class 'AttributeError'>: 'generator' object has no attribute 'next'
Please use 'pisi help' for general help.
Traceback:
File "/usr/bin/pisi", line 85, in <module>
cli.run_command()
File "/usr/lib/python3.6/site-packages/pisi/cli/pisicli.py", line 146, in run_command
self.command.run()
File "/usr/lib/python3.6/site-packages/pisi/cli/build.py", line 179, in run
pisi.api.build_until(x, ctx.get_option('until'))
File "/usr/lib/python3.6/site-packages/pisi/api.py", line 919, in build_until
return pisi.operations.build.build_until(*args, **kw)
File "/usr/lib/python3.6/site-packages/pisi/operations/build.py", line 1343, in build_until
__build_until(pb, state, last)
File "/usr/lib/python3.6/site-packages/pisi/operations/build.py", line 1350, in __build_until
__buildState_unpack(pb, last)
File "/usr/lib/python3.6/site-packages/pisi/operations/build.py", line 1284, in __buildState_unpack
pb.unpack_source_archives()
File "/usr/lib/python3.6/site-packages/pisi/operations/build.py", line 536, in unpack_source_archives
if self.apply_patches():
File "/usr/lib/python3.6/site-packages/pisi/operations/build.py", line 863, in apply_patches
util.do_patch(self.pkg_src_dir(), patchFile,
File "/usr/lib/python3.6/site-packages/pisi/operations/build.py", line 687, in pkg_src_dir
src_dir = util.join_path(self.pkg_work_dir(), [d for d in os.walk(self.pkg_work_dir()).next()[1] if not d.startswith(".")][0])
WorkDir yaması ile kaynağın açılmış halini çalışma alanı olarak görmesini istiyoruz. ancak aşağıdaki gibi hata veriyor.