Piuparts fails when attempting to create chroot
Howdy all,
When Piuparts runs in an Sbuild session, it fails with a traceback:
=====
0m0.7s DEBUG: Command ok: ['dpkg', '--info', '/home/bignose/Projects/debian/python-coverage/build-area/python3-coverage_4.4.1+dfsg.1-1_amd64.deb']
0m0.7s DEBUG: Created temporary directory /tmp/tmphwGgjf
0m0.7s DEBUG: Copying /srv/chroot/unstable-amd64-sbuild/ into /tmp/tmphwGgjf
0m0.7s DEBUG: Starting command: ['mount', '-t', 'proc', 'proc', '/tmp/tmphwGgjf/proc']
0m0.7s DEBUG: Command ok: ['mount', '-t', 'proc', 'proc', '/tmp/tmphwGgjf/proc']
Piuparts caught exception, exiting...
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/sbin/piuparts", line 3461, in <module>
main()
File "/usr/sbin/piuparts", line 3446, in main
process_packages(package_list)
File "/usr/sbin/piuparts", line 3345, in process_packages
chroot.create()
File "/usr/sbin/piuparts", line 786, in create
self.mount_proc()
File "/usr/sbin/piuparts", line 1689, in mount_proc
os.symlink("../proc/mounts", etcmtab)
OSError: [Errno 2] No such file or directory
------------------------------------------------------------
0m1.0s DEBUG: Starting command: ['umount', '/tmp/tmphwGgjf/proc']
0m1.0s DEBUG: Command ok: ['umount', '/tmp/tmphwGgjf/proc']
0m1.0s DEBUG: Starting command: ['rm', '-rf', '--one-file-system', '/tmp/tmphwGgjf']
0m1.0s DEBUG: Command ok: ['rm', '-rf', '--one-file-system', '/tmp/tmphwGgjf']
0m1.0s DEBUG: Removed directory tree at /tmp/tmphwGgjf
0m1.0s ERROR: piuparts run ends.
E: Piuparts run failed.
=====
What can I do to correct this and allow Piuparts to proceed?
--
\ “I know you believe you understood what you think I said, but I |
`\ am not sure you realize that what you heard is not what I |
_o__) meant.” —Robert J. McCloskey |
Ben Finney
Reply to: