Package: live-wrapper Version: 0.8-0~4 Severity: normal Tags: patch INFO Installing the disk metadata ... INFO Creating the ISO image with Xorriso... xorriso -outdev ./lxqt-sid.iso -volid DEBIAN LIVE -padding 0 -map /var/cache/lwr/build/tmpW0OHFA / -chmod 0755 / -- -boot_image isolinux dir=/isolinux -boot_image isolinux system_area=/usr/lib/ISOLINUX/isohdpfx.bin -boot_image any next -boot_image any efi_path=boot/grub/efi.img -boot_image isolinux partition_entry=gpt_basdat DEBUG runcmd: ['xorriso', '-outdev', './lxqt-sid.iso', '-volid', 'DEBIAN LIVE', '-padding', 0, '-map', '/var/cache/lwr/build/tmpW0OHFA', '/', '-chmod', '0755', '/', '--', '-boot_image', 'isolinux', 'dir=/isolinux', '-boot_image', 'isolinux', 'system_area=/usr/lib/ISOLINUX/isohdpfx.bin', '-boot_image', 'any', 'next', '-boot_image', 'any', 'efi_path=boot/grub/efi.img', '-boot_image', 'isolinux', 'partition_entry=gpt_basdat'] None {} CRITICAL Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 193, in _run self.process_args(args) File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 142, in process_args self.start_ops() File "/usr/lib/python2.7/dist-packages/lwr/run.py", line 375, in start_ops xorriso.build_image() File "/usr/lib/python2.7/dist-packages/lwr/xorriso.py", line 74, in build_image runcmd(self.args) File "/usr/lib/python2.7/dist-packages/vmdebootstrap/base.py", line 38, in runcmd env=env, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 390, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child raise child_exception TypeError: execv() arg 2 must contain only strings
As the bug message said, we want only strings as runcmd parameters. Patch attached. Cheers Alf -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.14.2-towo.1-siduction-amd64 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages live-wrapper depends on: ii debian-archive-keyring 2017.6 ii isolinux 3:6.03+dfsg1-2 ii python 2.7.14-1 ii python-apt 1.4.0~beta3+b1 ii python-cliapp 1.20170827-1 ii python-distro-info 0.17 ii python-pycurl 7.43.0-2+b1 ii python-requests 2.18.1-1 ii squashfs-tools 1:4.3-4 ii vmdebootstrap 1.8+git-1 ii xorriso 1.4.8-3 live-wrapper recommends no packages. Versions of packages live-wrapper suggests: ii cmdtest 0.27-1 ii live-wrapper-doc 0.8-0~4 -- no debconf information
diff --git a/lwr/xorriso.py b/lwr/xorriso.py index 59718f3..4b6b155 100644 --- a/lwr/xorriso.py +++ b/lwr/xorriso.py @@ -69,4 +69,4 @@ class Xorriso(object): cliapp.AppException("Attempted to run xorriso before building " "arguments!") print(' '.join(str(v) for v in self.args)) - runcmd(self.args) + runcmd(str(v) for v in self.args)