简体   繁体   English

Chromium构建gclient runhooks错误号13

[英]Chromium build gclient runhooks error number 13

I am getting the following error while running gclient runhooks for building chromium. 在运行gclient runhooks以构建Chrome时出现以下错误。

running '/usr/bin/python src/tools/clang/scripts/update.py --if-needed' in '/media/usrname/!!ChiLL out!!' 在'/ media / usrname / !! ChiLL out!'中运行'/ usr / bin / python src / tools / clang / scripts / update.py --if-needed'

Traceback (most recent call last): 追溯(最近一次通话):

File "src/tools/clang/scripts/update.py", line 283, in sys.exit(main()) sys.exit(main())中的文件“ src / tools / clang / scripts / update.py”,第283行

File "src/tools/clang/scripts/update.py", line 269, in main stderr=os.fdopen(os.dup(sys.stdin.fileno()))) 在主stderr = os.fdopen(os.dup(sys.stdin.fileno()))中的文件“ src / tools / clang / scripts / update.py”,第269行

File "/usr/lib/python2.7/subprocess.py", line 522, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) 文件“ /usr/lib/python2.7/subprocess.py”,行522,在调用返回Popen(* popenargs,** kwargs).wait()文件“ /usr/lib/python2.7/subprocess.py” ,第710行,在init errread,errwrite中)

File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception _execute_child中的文件“ /usr/lib/python2.7/subprocess.py”,第1327行,引发child_exception

OSError: [Errno 13] Permission denied Error: Command /usr/bin/python src/tools/clang/scripts/update.py --if-needed returned non-zero exit status 1 in /media/usrname/!!ChiLL out!! OSError:[Errno 13]权限被拒绝错误:命令/ usr / bin / python src / tools / clang / scripts / update.py-如果需要,返回/ media / usrname / !! ChiLL out中的非零退出状态1 !!

In order to get permission of the directory "/usr/bin/python src/tools/clang/scripts" I tried chown and chmod but it returned the same error. 为了获得目录“ / usr / bin / python src / tools / clang / scripts”的许可,我尝试使用chown和chmod,但返回了相同的错误。

I think the python scripts in scripts directory are trying to modify some other files or directories .... try to trace what it is trying to do...... You have not specified the OS on which u are working ....... see this link https://github.com/aerospike/aerospike-client-python/issues/22 我认为scripts目录中的python脚本正在尝试修改其他文件或目录....尝试跟踪其尝试执行的操作...您尚未指定要在其上运行的操作系统... ....请参阅此链接https://github.com/aerospike/aerospike-client-python/issues/22

It says Linux Mint 17 is not supported officially..... 它说Linux Mint 17不受官方支持.....

Actually the directory was not mounted with execution permission. 实际上,该目录未通过执行权限安装。 So I remounted the directory with execution permission using 所以我使用执行权限重新安装了目录
mount -o exec /dev/sda5 /media/usrname
and it worked fine. 而且效果很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM