Bug#927467: dput-ng: FTBFS (failing tests)

2019-04-23 Thread Ivo De Decker
Control: reassign -1 dput-ng 1.24

Hi,

On Sun, Apr 21, 2019 at 04:19:02PM +0200, Mattia Rizzolo wrote:
> On Sat, Apr 20, 2019 at 11:46:26PM +0200, Santiago Vila wrote:
> > On Sat, Apr 20, 2019 at 11:40:07PM +0200, Mattia Rizzolo wrote:
> > > This is because ubuntu released disco, and now there is no development
> > > release.
> > 
> > Hmm, but why the building of a package should be affected by whatever
> > happens in the outside world? Is dput-ng using Internet during the build?
> 
> It doesn't use internet, it uses the static data contained in
> distro-info-data.

Even so, this bug should not be reassigned to distro-info-data. This is a bug
in dput-ng. It shouldn't randomly start failing to build because
distro-info-data changed or is outdated, something that is expected to happen
multiple times during the lifetime of a stable release.

Maybe some of these tests would be better in an autopkgtest instead of during
the build. That way, a regression introduced by distro-info-data would be
identified automatically.

There might be a bug in distro-info-data as well. But that would be a separate
bug (and I don't know if that one would be RC).

Thanks,

Ivo



Bug#927467: dput-ng: FTBFS (failing tests)

2019-04-22 Thread Jochen Sprickerhof

Hi,

I had a look into this and created a merge request to fix it in dput-ng:

https://salsa.debian.org/debian/dput-ng/merge_requests/6

Please review and reassign this bug to dput-ng, if you agree.

Cheers Jochen

* Mattia Rizzolo  [2019-04-21 16:19]:

On Sat, Apr 20, 2019 at 11:46:26PM +0200, Santiago Vila wrote:

On Sat, Apr 20, 2019 at 11:40:07PM +0200, Mattia Rizzolo wrote:
> This is because ubuntu released disco, and now there is no development
> release.

Hmm, but why the building of a package should be affected by whatever
happens in the outside world? Is dput-ng using Internet during the build?


It doesn't use internet, it uses the static data contained in
distro-info-data.

--
regards,
   Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-





signature.asc
Description: PGP signature


Bug#927467: dput-ng: FTBFS (failing tests)

2019-04-21 Thread Mattia Rizzolo
On Sat, Apr 20, 2019 at 11:46:26PM +0200, Santiago Vila wrote:
> On Sat, Apr 20, 2019 at 11:40:07PM +0200, Mattia Rizzolo wrote:
> > This is because ubuntu released disco, and now there is no development
> > release.
> 
> Hmm, but why the building of a package should be affected by whatever
> happens in the outside world? Is dput-ng using Internet during the build?

It doesn't use internet, it uses the static data contained in
distro-info-data.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#927467: dput-ng: FTBFS (failing tests)

2019-04-20 Thread Santiago Vila
On Sat, Apr 20, 2019 at 11:40:07PM +0200, Mattia Rizzolo wrote:
> Control: reassign distro-info-data 0.39
> Control: affects -1 dput-ng
> 
> On Sat, Apr 20, 2019 at 08:59:34AM +, Santiago Vila wrote:
> > Package: src:dput-ng
> > Version: 1.24
> > Severity: serious
> > Tags: ftbfs
> > 
> > Dear maintainer:
> > 
> > I tried to build this package in buster but it failed:
> 
> This is because ubuntu released disco, and now there is no development
> release.

Hmm, but why the building of a package should be affected by whatever
happens in the outside world? Is dput-ng using Internet during the build?

Thanks.



Bug#927467: dput-ng: FTBFS (failing tests)

2019-04-20 Thread Mattia Rizzolo
Control: reassign distro-info-data 0.39
Control: affects -1 dput-ng

On Sat, Apr 20, 2019 at 08:59:34AM +, Santiago Vila wrote:
> Package: src:dput-ng
> Version: 1.24
> Severity: serious
> Tags: ftbfs
> 
> Dear maintainer:
> 
> I tried to build this package in buster but it failed:

This is because ubuntu released disco, and now there is no development
release.

> Test the upload of a package ... Uploading fnord using local to test (host: 
> test; directory: /dev/null)
> running required-fields: check whether a field is present and non-empty in 
> the changes file
> ERROR
> Test a double-upload (and force block) ... Uploading fnord using local to 
> test (host: test; directory: /dev/null)
> running required-fields: check whether a field is present and non-empty in 
> the changes file
> ERROR
> Test the upload of a package to a PPA (no Launchpad-Bugs-Fixed) ... Uploading 
> fnord using local to ppa (host: ppa.launchpad.net; directory: ~foo/bar)
> running required-fields: check whether a field is present and non-empty in 
> the changes file
> running supported-distribution: check whether the target distribution is 
> currently supported (using distro-info)
> {'allowed': ['release'], 'known': ['release']}
…
> ==
> ERROR: Test the upload of a package
> --
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
>   File 
> "/<>/.pybuild/cpython3_3.7_dput/build/tests/test_upload.py", 
> line 31, in test_upload
> upload(path, 'test')
>   File "/<>/.pybuild/cpython3_3.7_dput/build/dput/uploader.py", 
> line 261, in invoke_dput_simple
> return invoke_dput(changes, config)
>   File "/<>/.pybuild/cpython3_3.7_dput/build/dput/uploader.py", 
> line 313, in invoke_dput
> run_pre_hooks(changes, profile)
>   File "/<>/.pybuild/cpython3_3.7_dput/build/dput/hook.py", line 
> 54, in run_pre_hooks
> run_hook(name, hook, changes, profile)
>   File "/<>/.pybuild/cpython3_3.7_dput/build/dput/hook.py", line 
> 83, in run_hook
> return run_func_by_name('hooks', name, changes, profile)
>   File "/<>/.pybuild/cpython3_3.7_dput/build/dput/util.py", line 
> 377, in run_func_by_name
> obj(changes, profile, interface)
>   File 
> "/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks/distro_info_checks.py",
>  line 160, in required_fields
> supported -= set([distro_info.devel(), 'experimental'])
>   File "/usr/lib/python3/dist-packages/distro_info.py", line 133, in devel
> raise DistroDataOutdated()
> distro_info.DistroDataOutdated: Distribution data outdated. Please check for 
> an update for distro-info-data. See 
> /usr/share/doc/distro-info-data/README.Debian for details.

↑

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  https://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature


Bug#927467: dput-ng: FTBFS (failing tests)

2019-04-20 Thread Santiago Vila
Package: src:dput-ng
Version: 1.24
Severity: serious
Tags: ftbfs

Dear maintainer:

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


[...]
 debian/rules binary-indep
dh binary-indep --with bash-completion,python3,sphinxdoc --buildsystem pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python3.7 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<>'
dh_auto_build
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/command.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/config.py -> /<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/core.py -> /<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/interface.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/uploader.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/__init__.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/logger.py -> /<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/changes.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/exceptions.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/util.py -> /<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/hook.py -> /<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/dsc.py -> /<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/profile.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput
copying dput/overrides.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput
creating /<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
copying dput/hooks/impatient.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
copying dput/hooks/distro_info_checks.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
copying dput/hooks/checksum.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
copying dput/hooks/deb.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
copying dput/hooks/lintian.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
copying dput/hooks/__init__.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
copying dput/hooks/gpg.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
copying dput/hooks/distribution.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/hooks
creating /<>/.pybuild/cpython3_3.7_dput/build/dput/configs
copying dput/configs/dputng.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/configs
copying dput/configs/__init__.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/configs
copying dput/configs/dputcf.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/configs
creating /<>/.pybuild/cpython3_3.7_dput/build/dput/commands
copying dput/commands/cancel.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands
copying dput/commands/reschedule.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands
copying dput/commands/__init__.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands
copying dput/commands/dm.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands
copying dput/commands/rm.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands
copying dput/commands/breakthearchive.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands
copying dput/commands/upload.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands
creating /<>/.pybuild/cpython3_3.7_dput/build/dput/commands/contrib
copying dput/commands/contrib/debomatic.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands/contrib
copying dput/commands/contrib/__init__.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/commands/contrib
creating /<>/.pybuild/cpython3_3.7_dput/build/dput/uploaders
copying dput/uploaders/secure_sftp.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/uploaders
copying dput/uploaders/local.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/uploaders
copying dput/uploaders/__init__.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/uploaders
copying dput/uploaders/http.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/uploaders
copying dput/uploaders/sftp.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/uploaders
copying dput/uploaders/scp.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/uploaders
copying dput/uploaders/ftp.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/uploaders
creating /<>/.pybuild/cpython3_3.7_dput/build/dput/interfaces
copying dput/interfaces/__init__.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/interfaces
copying dput/interfaces/cli.py -> 
/<>/.pybuild/cpython3_3.7_dput/build/dput/interfaces
make -C docs html
make[2]: Entering directory '/<>/docs'
sphinx-build -b html -W -d _build/doctrees   . _build/html
Running Sphinx v1.8.4
making output directory...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 36 source files that are out of date
updating environment: 36 added, 0 changed, 0 removed