Package: src:python-certbot
Version: 0.28.0-1~deb9u1
Severity: serious
Tags: ftbfs patch

Dear maintainer:

I tried to build this package in stretch but it failed:

--------------------------------------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 778 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ 
sbuild-build-depends-core-dummy 0.invalid.0 [778 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 778 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 13595 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb 
...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (amd64 included in all)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 10~), dh-python, python3, python3-acme (>= 
0.26.0~), python3-configargparse (>= 0.10.0), python3-configobj, 
python3-cryptography (>= 1.2), python3-distutils | python3 (<< 3.6.5~), 
python3-josepy, python3-mock, python3-parsedatetime (>= 1.3), 
python3-repoze.sphinx.autointerface, python3-requests (>= 2.4.3), 
python3-rfc3339, python3-setuptools (>= 1.0), python3-sphinx (>= 1.2), 
python3-sphinx-rtd-theme, python3-tz, python3-zope.component, 
python3-zope.interface
Filtered Build-Depends: debhelper (>= 10~), dh-python, python3, python3-acme 
(>= 0.26.0~), python3-configargparse (>= 0.10.0), python3-configobj, 
python3-cryptography (>= 1.2), python3-distutils, python3-josepy, python3-mock, 
python3-parsedatetime (>= 1.3), python3-repoze.sphinx.autointerface, 
python3-requests (>= 2.4.3), python3-rfc3339, python3-setuptools (>= 1.0), 
python3-sphinx (>= 1.2), python3-sphinx-rtd-theme, python3-tz, 
python3-zope.component, python3-zope.interface
dpkg-deb: building package 'sbuild-build-depends-python-certbot-dummy' in 
'/<<BUILDDIR>>/resolver-imjM6a/apt_archive/sbuild-build-depends-python-certbot-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy 
sbuild-build-depends-python-certbot-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
Ign:1 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ Release [963 B]
Ign:3 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ Release.gpg
Get:4 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ Sources [684 B]
Get:5 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ Packages [750 B]
Fetched 2397 B in 0s (0 B/s)
Reading package lists...
Reading package lists...

Install python-certbot build dependencies (apt-based resolver)
--------------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sbuild-build-depends-python-certbot-dummy : Depends: python3-distutils but it 
is not installable
E: Unable to correct problems, you have held broken packages.
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use
/usr/bin/du: cannot access '/<<PKGBUILDDIR>>': No such file or directory
E: read_command failed to execute du
E: Cannot determine space needed for /<<PKGBUILDDIR>> (du failed)

Setup apt archive
-----------------

Merged Build-Depends: dose-distcheck
Filtered Build-Depends: dose-distcheck
dpkg-deb: building package 'sbuild-build-depends-dose3-dummy' in 
'/<<BUILDDIR>>/resolver-imjM6a/apt_archive/sbuild-build-depends-dose3-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy 
sbuild-build-depends-dose3-dummy sbuild-build-depends-python-certbot-dummy
dpkg-scanpackages: info: Wrote 3 entries to output Packages file.
Ign:1 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ Release [963 B]
Ign:3 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ Release.gpg
Get:4 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ Sources [810 B]
Get:5 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ Packages [872 B]
Fetched 2645 B in 0s (0 B/s)
Reading package lists...
Reading package lists...

Install dose3 build dependencies (apt-based resolver)
-----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  dose-distcheck libcap2 libelf1 liblua5.2-0 libnspr4 libnss3 libpopt0 librpm3
  librpmio3 libsqlite3-0
Recommended packages:
  rpm-common
The following NEW packages will be installed:
  dose-distcheck libcap2 libelf1 liblua5.2-0 libnspr4 libnss3 libpopt0 librpm3
  librpmio3 libsqlite3-0 sbuild-build-depends-dose3-dummy
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 5373 kB of archives.
After this operation, 13.5 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-imjM6a/apt_archive ./ 
sbuild-build-depends-dose3-dummy 0.invalid.0 [774 B]
Get:2 http://deb.debian.org/debian stretch/main amd64 libpopt0 amd64 1.16-10+b2 
[49.4 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 libcap2 amd64 1:2.25-1 
[16.8 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 libsqlite3-0 amd64 
3.16.2-5+deb9u1 [572 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 libelf1 amd64 0.168-1 
[157 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 liblua5.2-0 amd64 
5.2.4-1.1+b2 [110 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 libnspr4 amd64 2:4.12-6 
[117 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 libnss3 amd64 
2:3.26.2-1.1+deb9u1 [1161 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 librpmio3 amd64 
4.12.0.2+dfsg1-2 [1166 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 librpm3 amd64 
4.12.0.2+dfsg1-2 [1255 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 dose-distcheck amd64 
5.0.1-8+deb9u1 [768 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 5373 kB in 0s (7785 kB/s)
Selecting previously unselected package libpopt0:amd64.
(Reading database ... 13595 files and directories currently installed.)
Preparing to unpack .../00-libpopt0_1.16-10+b2_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-10+b2) ...
Selecting previously unselected package libcap2:amd64.
Preparing to unpack .../01-libcap2_1%3a2.25-1_amd64.deb ...
Unpacking libcap2:amd64 (1:2.25-1) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../02-libsqlite3-0_3.16.2-5+deb9u1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.16.2-5+deb9u1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../03-libelf1_0.168-1_amd64.deb ...
Unpacking libelf1:amd64 (0.168-1) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../04-liblua5.2-0_5.2.4-1.1+b2_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Selecting previously unselected package libnspr4:amd64.
Preparing to unpack .../05-libnspr4_2%3a4.12-6_amd64.deb ...
Unpacking libnspr4:amd64 (2:4.12-6) ...
Selecting previously unselected package libnss3:amd64.
Preparing to unpack .../06-libnss3_2%3a3.26.2-1.1+deb9u1_amd64.deb ...
Unpacking libnss3:amd64 (2:3.26.2-1.1+deb9u1) ...
Selecting previously unselected package librpmio3.
Preparing to unpack .../07-librpmio3_4.12.0.2+dfsg1-2_amd64.deb ...
Unpacking librpmio3 (4.12.0.2+dfsg1-2) ...
Selecting previously unselected package librpm3.
Preparing to unpack .../08-librpm3_4.12.0.2+dfsg1-2_amd64.deb ...
Unpacking librpm3 (4.12.0.2+dfsg1-2) ...
Selecting previously unselected package dose-distcheck.
Preparing to unpack .../09-dose-distcheck_5.0.1-8+deb9u1_amd64.deb ...
Unpacking dose-distcheck (5.0.1-8+deb9u1) ...
Selecting previously unselected package sbuild-build-depends-dose3-dummy.
Preparing to unpack 
.../10-sbuild-build-depends-dose3-dummy_0.invalid.0_amd64.deb ...
Unpacking sbuild-build-depends-dose3-dummy (0.invalid.0) ...
Setting up libpopt0:amd64 (1.16-10+b2) ...
Setting up libelf1:amd64 (0.168-1) ...
Setting up libcap2:amd64 (1:2.25-1) ...
Setting up libnspr4:amd64 (2:4.12-6) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libsqlite3-0:amd64 (3.16.2-5+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Setting up libnss3:amd64 (2:3.26.2-1.1+deb9u1) ...
Setting up librpmio3 (4.12.0.2+dfsg1-2) ...
Setting up librpm3 (4.12.0.2+dfsg1-2) ...
Setting up dose-distcheck (5.0.1-8+deb9u1) ...
Setting up sbuild-build-depends-dose3-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
(I)StdLoaders: Parsing and normalizing...
(I)Packages: Parsing Packages file -...
(I)Format822: total packages 51623
(I)Distcheck: Cudf Universe: 51623 packages
(I)Distcheck: --checkonly specified, consider all packages as background 
packages
(I)Distcheck: Solving...
output-version: 1.2
native-architecture: amd64
report:
 -
  package: sbuild-build-depends-python-certbot-dummy
  version: 0.invalid.0
  architecture: amd64
  status: broken
  reasons:
   -
    missing:
     pkg:
      package: sbuild-build-depends-python-certbot-dummy
      version: 0.invalid.0
      architecture: amd64
      unsat-dependency: python3-distutils:amd64
 
background-packages: 51622
foreground-packages: 1
total-packages: 51623
broken-packages: 1

+------------------------------------------------------------------------------+

In short: python-certbot in stretch build-depends on python3-distutils which is 
not in stretch.

I see that build-depends has python3-distutils | python3 (<< 3.6.5~) but
this will not work when building with sbuild because only the first
alternative (python3-distutils) is considered by sbuild.

The patch below (warning: untested) may help.

Thanks.

--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 10~),
                python3-configargparse (>= 0.10.0),
                python3-configobj,
                python3-cryptography (>= 1.2),
-              python3-distutils | python3 (<< 3.6.5~),
+              python3 (<< 3.6.5~) | python3-distutils,
               python3-josepy,
                python3-mock,
                python3-parsedatetime (>= 1.3),

Reply via email to