centos7 isign lasted,
sunxl-hb opened this issue · 0 comments
Traceback (most recent call last):
File "/usr/bin/isign", line 4, in
import('pkg_resources').run_script('isign==1.6.15.1574347938.dev67+root', 'isign')
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 748, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 1517, in run_script
exec(code, namespace, namespace)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/EGG-INFO/scripts/isign", line 199, in
isign.resign(app_path, **kwargs)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/isign.py", line 79, in resign
alternate_entitlements_path)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/archive.py", line 401, in resign
ua.bundle.resign(signer, provisioning_profile, alternate_entitlements_path)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/bundle.py", line 259, in resign
super(App, self).resign(signer)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/bundle.py", line 176, in resign
self.sign(signer)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/bundle.py", line 172, in sign
executable.sign(self, signer)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/signable.py", line 243, in sign
offset, new_codesig_data = self._sign_arch(arch, app, signer)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/signable.py", line 128, in _sign_arch
arch['codesig'].resign(app, signer)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/codesig.py", line 294, in resign
self.set_codedirectories(bundle.seal_path, bundle.info_path, signer)
File "/usr/lib/python2.7/site-packages/isign-1.6.15.1574347938.dev67+root-py2.7.egg/isign/codesig.py", line 237, in set_codedirectories
code_directory.bytes = macho_cs.CodeDirectory.build(code_directory.data)
File "/usr/lib/python2.7/site-packages/construct/core.py", line 212, in build
self.build_stream(obj, stream)
File "/usr/lib/python2.7/site-packages/construct/core.py", line 219, in build_stream
self._build(obj, stream, Container())
File "/usr/lib/python2.7/site-packages/construct/core.py", line 691, in _build
sc._build(subobj, stream, context)
File "/usr/lib/python2.7/site-packages/construct/core.py", line 981, in _build
self.subcon._build(obj, stream, context)
File "/usr/lib/python2.7/site-packages/construct/core.py", line 1297, in _build
self.bound._build(obj, stream, context)
File "/usr/lib/python2.7/site-packages/construct/core.py", line 456, in _build
self.subcon._build(subobj, stream, context)
File "/usr/lib/python2.7/site-packages/construct/core.py", line 400, in _build
_write_stream(stream, self.lengthfunc(context), obj)
File "/usr/lib/python2.7/site-packages/construct/core.py", line 312, in _write_stream
raise FieldError("expected %d, found %d" % (length, len(data)))
construct.core.FieldError: expected 32, found 20