Re: Bug#876428: No 'standard' image of Debian-Live

2017-11-30 Thread Narcis Garcia
Where to start?
https://lists.debian.org/debian-cd/2017/06/msg00062.html




__
I'm using this express-made address because personal addresses aren't
masked enough at this mail public archive. Public archive administrator
should fix this against automated addresses collectors.
El 30/11/17 a les 00:25, Daniel Lewart ha escrit:
> Narcis,
> 
> Actually, it was discontinued (temporarily?) with Debian 9 (Stretch).
> 
> Q.v. "Is there a text console flavor available of the Debian 9
> (Stretch) Live CD installer?" thread:
> https://lists.debian.org/debian-cd/2017/06/msg00030.html
> 
> Dan
> 



Bug#883197: TypeError in run.py line 370

2017-11-30 Thread Alf Gaida
Package: live-wrapper
Version: 0.8-0~4
Severity: normal
Tags: patch


INFO Installing the disk metadata ...
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 370, in start_ops
' '.join(xorriso_args))
TypeError: sequence item 6: expected string, int found

We only want stings here. 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  isolinux3: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/run.py b/lwr/run.py
index a2fe103..c59af9c 100644
--- a/lwr/run.py
+++ b/lwr/run.py
@@ -367,7 +367,7 @@ class LiveWrapper(cliapp.Application):
 self.settings['description'] = 
get_default_description(self.settings['distribution'])
 install_disk_info(self.cdroot,
   self.settings['description'],
-  ' '.join(xorriso_args))
+  ' '.join(str(v) for v in xorriso_args))
 
 # Create ISO image
 logging.info("Creating the ISO image with Xorriso...")


Bug#883201: TypeError in xorriso.py line 71

2017-11-30 Thread Alf Gaida
Package: live-wrapper
Version: 0.8-0~4
Severity: normal
Tags: patch

INFO Installing the disk metadata ...
INFO Creating the ISO image with Xorriso...
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 71, in 
build_image
print(' '.join(self.args))
TypeError: sequence item 6: expected string, int found

We want only strings here, patch attached.

-- 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  isolinux3: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 5aa437d..59718f3 100644
--- a/lwr/xorriso.py
+++ b/lwr/xorriso.py
@@ -68,5 +68,5 @@ class Xorriso(object):
 if len(self.args) == 1:
 cliapp.AppException("Attempted to run xorriso before building "
 "arguments!")
-print(' '.join(self.args))
+print(' '.join(str(v) for v in self.args))
 runcmd(self.args)


Bug#883203: TypeError in xorriso.py line 72

2017-11-30 Thread Alf Gaida
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  isolinux3: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)


Bug#856628: live-wrapper: Fails with AttributeError: 'Package' object has no attribute 'version_list'

2017-11-30 Thread Alf Gaida
should be a dup. of 854204 
- did not
occour with current builds