Package: s3cmd
Version: 2.0.1-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear Maintainer,

As reported in Ubuntu, s3cmd on Debian also does not run by default (it
spits an error about distutils.spawn). This is because (I think) python2
had distutils as part of the core, while python3 does not.

In Ubuntu, the attached patch was applied to achieve the following:

  * d/control: add run-time dependency on python3-distutils.
    - Upstream has required it in s3cmd since 2007. 
    - LP: #1763398


Thanks for considering the patch.

*** /tmp/tmpLFbq1d/s3cmd_2.0.1-1ubuntu1.debdiff
diff -Nru s3cmd-2.0.1/debian/control s3cmd-2.0.1/debian/control
--- s3cmd-2.0.1/debian/control  2017-10-25 23:48:32.000000000 -0700
+++ s3cmd-2.0.1/debian/control  2018-04-12 09:03:35.000000000 -0700
@@ -16,7 +16,7 @@
 
 Package: s3cmd
 Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}
+Depends: ${misc:Depends}, ${python3:Depends}, python3-distutils
 Description: command-line Amazon S3 client
  Command-line tool to upload, retrieve and manage data in Amazon S3 service
  (http://www.amazon.com/s3/), designed for use in scripts. Features:


-- System Information:
Debian Release: buster/sid
  APT prefers bionic
  APT policy: (500, 'bionic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-13-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd

Reply via email to