dpkg-buildpackage: error: debian/rules binary subprocess was killed by signal 2

简介: dpkg-buildpackage: error: debian/rules binary subprocess was killed by signal 2

碰到一个错误:

make[1]: 进入目录“/home/quantum6/tio-software/totem-3.30.0”
dh_auto_build -- src/Totem-1.0.gir
  cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v src/Totem-1.0.gir
^Cmake[1]: *** [debian/rules:21: override_dh_auto_build] 中断
ninja: build stopped: interrupted by user.
make: *** [debian/rules:9:binary] 错误 1
dpkg-buildpackage: error: debian/rules binary subprocess was killed by signal 2
E: 执行构造软件包命令“cd xscreensaver-5.42+dfsg1 && dpkg-buildpackage -b -uc”失败。
E: 执行构造软件包命令“cd totem-3.30.0 && dpkg-buildpackage -b -uc”失败

也不知道怎么产生的,应该是编译打包时出错。也不知道解决。

  也忘记这个错误是执行什么命令首行的。当时觉得记录信息够了,结果还是……有网友说有人解决了,办法是:

  • 修改配置

 修改 .config 文件,把CONFIG_MODULE_SIG_ALL,CONFIG_MODULE_SIG_KEY和CONFIG_SYSTEM_TRUSTED_KEYS三项注释掉,编译时系统会自动生成一次性密钥来加密,另外记得把CONFIG_DEBUG_INFO=y去掉,不然新内核带debug信息超大。


  • 再次执行
make -j12 deb-pkg
目录
相关文章
|
Ubuntu Unix Linux
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
|
7月前
|
Python
.repo/repo/main.py“, line 79 file=sys.stderr) SyntaxError: invalid syntax
.repo/repo/main.py“, line 79 file=sys.stderr) SyntaxError: invalid syntax
203 0
|
6月前
|
编译器
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
|
7月前
|
NoSQL C语言
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
1572 0
|
数据安全/隐私保护
dpkg-buildpackage: error: debian/rules binary subprocess was killed by signal 2
dpkg-buildpackage: error: debian/rules binary subprocess was killed by signal 2
1058 0
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
665 0
|
Ubuntu
问题解决:Ubuntu安装ROS依赖出现ERROR: the following packages/stacks could not have their rosdep keys resolvedt
问题解决:Ubuntu安装ROS依赖出现ERROR: the following packages/stacks could not have their rosdep keys resolvedt
1646 0
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
装R包(package)error:(as ‘lib’ is unspecified)installation of package had non-zero exit status]
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
在处理时有错误发生: trousers tpm-tools E: Sub-process /usr/bin/dpkg returned an error code (1)
下一篇
DataWorks