0

假设我在文件夹中package并正在运行dpkg-source --build .. ../package.tar.xz它在打印处创建一个存档,building package in package.tar.xz然后是unable to change permission of 'package.tar.xz': No such file or directory.

该文件确实存在,在上层目录中。我认为它正在寻找CWD?我究竟做错了什么?

同样的错误发生在dpkg-source, debuild, dpkg-buildpackage

dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package sense7agent
dpkg-buildpackage: info: source version 1.0.0
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Adam Stokes <adam.stokes@ubuntu.com>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean --with-systemd
   dh_auto_clean -O--with-systemd
   dh_autoreconf_clean -O--with-systemd
   dh_clean -O--with-systemd
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (native)'
dpkg-source: info: building sense7agent in sense7agent_1.0.0.tar.xz
dpkg-source: error: unable to change permission of 'sense7agent_1.0.0.tar.xz': No such file or directory
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
4

0 回答 0