[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#726806: live-build: Syntax error in /usr/lib/live/build/bootstrap_debootstrap



Package: live-build
Version: 4.0~alpha27-1
Severity: normal

When running "lb build", I'm getting the following error message:

[2013-10-19 14:46:44] lb build 
..
..
..
W: skipping bootstrap, already done
[2013-10-19 14:46:44] lb bootstrap_debootstrap 
  File "/usr/lib/live/build/bootstrap_debootstrap", line 46
      print('E: config/build - no such file', file=sys.stderr)
                                                      ^
SyntaxError: invalid syntax
P: Begin unmounting filesystems...
..
..
..

The Python code "print('E: config/build - no such file', file=sys.stderr)"
works fine for me in python 3.3.2, but the default python on my system is
2.7.5, and it doesn't work there.

So perhaps the live-build Depends: python should be versioned?

Best regards
Torquil Sørensen

-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11.6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  cdebootstrap  0.5.10
ii  debootstrap   1.0.53
ii  python        2.7.5-5

Versions of packages live-build recommends:
ii  cpio                            2.11+dfsg-1
ii  gnu-fdisk                       1.2.5-2
pn  live-boot-doc                   <none>
pn  live-config-doc                 <none>
pn  live-manual-html | live-manual  <none>

Versions of packages live-build suggests:
pn  debian-keyring              <none>
ii  dosfstools                  3.0.16-2
ii  git                         1:1.8.4-1
ii  gpgv                        1.4.15-1.1
pn  loadlin                     <none>
ii  memtest86                   4.3.3-1
ii  memtest86+                  4.20-1.1
pn  mtools                      <none>
ii  parted                      2.3-16
pn  squashfs-tools | mtd-tools  <none>
pn  syslinux | grub             <none>
pn  uuid-runtime                <none>
pn  win32-loader                <none>
pn  xorriso                     <none>

-- no debconf information


Reply to: