Debian Bug report logs - #973227
dh-cmake: FTBFS: AttributeError: 'Changelog' object has no attribute 'get_version'

version graph

Package: src:dh-cmake; Maintainer for src:dh-cmake is Kitware Debian Maintainers <debian@kitware.com>;

Reported by: Lucas Nussbaum <lucas@debian.org>

Date: Tue, 27 Oct 2020 17:54:29 UTC

Severity: serious

Tags: bullseye, ftbfs, sid

Found in version dh-cmake/0.6

Fixed in version dh-cmake/0.6.1

Done: Alastair McKinstry <mckinstry@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Kitware Debian Maintainers <debian@kitware.com>:
Bug#973227; Package src:dh-cmake. (Tue, 27 Oct 2020 17:54:33 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Kitware Debian Maintainers <debian@kitware.com>. (Tue, 27 Oct 2020 17:54:34 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@debian.org>
To: submit@bugs.debian.org
Subject: dh-cmake: FTBFS: AttributeError: 'Changelog' object has no attribute 'get_version'
Date: Tue, 27 Oct 2020 18:22:22 +0100
Source: dh-cmake
Version: 0.6
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package dh-cmake
> dpkg-buildpackage: info: source version 0.6
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Alastair McKinstry <mckinstry@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean  --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:217: python3.9 setup.py clean 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 28, in <module>
>     version=debian_version_to_python_version(get_current_version()),
>   File "/<<PKGBUILDDIR>>/setup.py", line 17, in get_current_version
>     return str(changelog.get_version())
> AttributeError: 'Changelog' object has no attribute 'get_version'
> E: pybuild pybuild:352: clean: plugin distutils failed with: exit code=1: python3.9 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p "3.9 3.8" returned exit code 13
> make: *** [debian/rules:6: clean] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/dh-cmake_0.6_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



Information forwarded to debian-bugs-dist@lists.debian.org, Kitware Debian Maintainers <debian@kitware.com>:
Bug#973227; Package src:dh-cmake. (Tue, 27 Oct 2020 20:03:11 GMT) (full text, mbox, link).


Acknowledgement sent to Kyle Edwards <kyle.edwards@kitware.com>:
Extra info received and forwarded to list. Copy sent to Kitware Debian Maintainers <debian@kitware.com>. (Tue, 27 Oct 2020 20:03:11 GMT) (full text, mbox, link).


Message #10 received at 973227@bugs.debian.org (full text, mbox, reply):

From: Kyle Edwards <kyle.edwards@kitware.com>
To: 973227@bugs.debian.org
Subject: Re: Bug#973227: dh-cmake: FTBFS: AttributeError: 'Changelog' object has no attribute 'get_version'
Date: Tue, 27 Oct 2020 16:01:56 -0400
Thanks. Looks like I was accidentally using an undocumented method from 
python3-debian that got renamed. I have a working and fix and will ask 
my sponsor to upload it.



Reply sent to Alastair McKinstry <mckinstry@debian.org>:
You have taken responsibility. (Wed, 11 Nov 2020 16:51:09 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Wed, 11 Nov 2020 16:51:10 GMT) (full text, mbox, link).


Message #15 received at 973227-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 973227-close@bugs.debian.org
Subject: Bug#973227: fixed in dh-cmake 0.6.1
Date: Wed, 11 Nov 2020 16:48:47 +0000
Source: dh-cmake
Source-Version: 0.6.1
Done: Alastair McKinstry <mckinstry@debian.org>

We believe that the bug you reported is fixed in the latest version of
dh-cmake, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 973227@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alastair McKinstry <mckinstry@debian.org> (supplier of updated dh-cmake package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 11 Nov 2020 16:01:35 +0000
Source: dh-cmake
Architecture: source
Version: 0.6.1
Distribution: unstable
Urgency: medium
Maintainer: Kitware Debian Maintainers <debian@kitware.com>
Changed-By: Alastair McKinstry <mckinstry@debian.org>
Closes: 970392 973227
Changes:
 dh-cmake (0.6.1) unstable; urgency=medium
 .
   [ Kyle Edwards ]
   * Use changelog.version in setup.py (closes: #973227)
   * Install README.md in /usr/share/doc/dh-cmake (closes: #970392)
Checksums-Sha1:
 3b10e7dd0ace6653e22703ef940c4743b0b71558 1839 dh-cmake_0.6.1.dsc
 790252bd3b7a97d66021bd3fcf99d33cfb9a6ff9 24304 dh-cmake_0.6.1.tar.xz
Checksums-Sha256:
 43c1aa0c060a0f0b396937f82992deb402c1432af7df5e6cd104a270add22b2a 1839 dh-cmake_0.6.1.dsc
 45163e834c6d3078e8f1422fd5823bd14e69da3c7d82380c1a04861ec8a88fa3 24304 dh-cmake_0.6.1.tar.xz
Files:
 1c4c813dd07c447c85efc1204acd51b2 1839 devel optional dh-cmake_0.6.1.dsc
 7d7501369468c9b7005f5b8646dba409 24304 devel optional dh-cmake_0.6.1.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAl+sERUACgkQy+a7Tl2a
06Xdkg//Q6Q7hAc6VVdewsaQ+UegFeCpEbIPvPBy+EWFqajmSNHuG9kCJt31C4tY
oQUUPGebBoQdtwHjdQuy9EbDNWWCmbmiydlzDg2uTqohAg8FHNpl0ioPaORlwn8A
3DsFJkPqLswB2pErENIMZSH6G2H1oG3PLYSvG8n++Dz9q/hfUQj9a4aVzFQFmSDx
GhDOC369KficYL0V7bBoj4avmKJqjq7U9HFYCbg+VDm4bckxdSwYxdMQIsQWUmKp
0Ta4W6eaR/9BtTgMDTPAgzHV3B+riisXkp2m3U2bSRp5se9PYEbYI+32OO4RUKKE
Zz5KSolq3b/0Vy39Q5vTHjnSOW1lbTFFDicliLehfd+zmSFxsu7t4o1G4+FVqIze
/WZchFiia10SkSOqczHqnt/yzeYEtedP6dlPzG1sPGt5fNgwyjG4IMJPNvKQNWBj
jtM4CIcJ7HI/eAlIFOvkYLlxGCF2dSSR+A4fWXyNXBtLVT8FC5JhB0zZbiJPJe0l
9Lc5pkxcQxeWK6CIiDeX3ajLtgaUAd6J4gNyl4+NPgvEHenoRTZfCxifWJVevGd+
CvXrz0PdnQjTeHBo9em5gy5RPoT4wun7VFNNCAeBjF1jkjRzeP8/OBi2QH/LUoSW
pG4lRUyh0zYXKQCQYyFHrjL/wxXdVt2sEcFo2jShrUDtWZeiMjU=
=/7Zm
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 15 Dec 2020 07:26:08 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 03:09:10 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.