Public bug reported:

The debian packaging for curtin fails to completely clean the build
directory, causing repeated builds to fail:

ubuntu@maas-6-2-3rd-admin-nodes:~/test$ dpkg-source -x 
curtin_20.1-29-g81144052-0ubuntu1.dsc 
gpgv: Signature made Mon Sep 14 16:34:42 2020 UTC
gpgv:                using RSA key 0E7290610D2F6DC4D65EA9219A314EC5F470A0AC
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on 
./curtin_20.1-29-g81144052-0ubuntu1.dsc
dpkg-source: info: extracting curtin in curtin-20.1-29-g81144052
dpkg-source: info: unpacking curtin_20.1-29-g81144052.orig.tar.gz
dpkg-source: info: unpacking curtin_20.1-29-g81144052-0ubuntu1.debian.tar.xz
ubuntu@maas-6-2-3rd-admin-nodes:~/test$ cd curtin-20.1-29-g81144052/
ubuntu@maas-6-2-3rd-admin-nodes:~/test/curtin-20.1-29-g81144052$ 
dpkg-buildpackage -rfakeroot -uc -us -b > /dev/null 2>&1
ubuntu@maas-6-2-3rd-admin-nodes:~/test/curtin-20.1-29-g81144052$ echo $?
0
ubuntu@maas-6-2-3rd-admin-nodes:~/test/curtin-20.1-29-g81144052$ 
dpkg-buildpackage -rfakeroot -uc -us -S
dpkg-buildpackage: info: source package curtin
dpkg-buildpackage: info: source version 20.1-29-g81144052-0ubuntu1
dpkg-buildpackage: info: source distribution groovy
dpkg-buildpackage: info: source changed by Paride Legovini 
<[email protected]>
 dpkg-source --before-build curtin-20.1-29-g81144052
 fakeroot debian/rules clean
dh clean --with=python3
dh: Compatibility levels before 9 are deprecated (level 7 in use)
   dh_auto_clean
dh_auto_clean: Compatibility levels before 9 are deprecated (level 7 in use)
        make -j1 clean
make[1]: Entering directory '/home/ubuntu/test/curtin-20.1-29-g81144052'
rm -rf doc/_build
make[1]: Leaving directory '/home/ubuntu/test/curtin-20.1-29-g81144052'
   dh_clean
dh_clean: Compatibility levels before 9 are deprecated (level 7 in use)
 dpkg-source -b curtin-20.1-29-g81144052
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: warning: Version number suggests Ubuntu changes, but there is no 
XSBC-Original-Maintainer field
dpkg-source: info: building curtin using existing 
./curtin_20.1-29-g81144052.orig.tar.gz
dpkg-source: warning: file curtin-20.1-29-g81144052/.coverage has no final 
newline (either original or modified version)
dpkg-source: warning: executable mode 0775 of 'build/scripts-3.6/curtin' will 
not be represented in diff
dpkg-source: error: cannot represent change to 
curtin/__pycache__/__init__.cpython-36.pyc: binary file contents changed
dpkg-source: error: add curtin/__pycache__/__init__.cpython-36.pyc in 
debian/source/include-binaries if you want to store the modified binary in the 
debian tarball
dpkg-source: error: cannot represent change to 
curtin/__pycache__/config.cpython-36.pyc: binary file contents changed
dpkg-source: error: add curtin/__pycache__/config.cpython-36.pyc in 
debian/source/include-binaries if you want to store the modified binary in the 
debian tarball
dpkg-source: error: cannot represent change to 
curtin/__pycache__/distro.cpython-36.pyc: binary file contents changed
dpkg-source: error: add curtin/__pycache__/distro.cpython-36.pyc in 
debian/source/include-binaries if you want to store the modified binary in the 
debian tarball
dpkg-source: error: cannot represent change to 
curtin/__pycache__/futil.cpython-36.pyc: binary file contents changed
dpkg-source: error: add curtin/__pycache__/futil.cpython-36.pyc in 
debian/source/include-binaries if you want to store the modified binary in the 
debian tarball
dpkg-source: error: cannot represent change to 
curtin/__pycache__/gpg.cpython-36.pyc: binary file contents changed
dpkg-source: error: add curtin/__pycache__/gpg.cpython-36.pyc in 
debian/source/include-binaries if you want to store the modified binary in the 
debian tarball
dpkg-source: error: cannot represent change to 
curtin/__pycache__/log.cpython-36.pyc: binary file contents changed
dpkg-source: error: add curtin/__pycache__/log.cpython-36.pyc in 
debian/source/include-binaries if you want to store the modified binary in the 
debian tarball
dpkg-source: error: cannot represent change to 
curtin/__pycache__/pack.cpython-36.pyc: binary file contents changed
dpkg-source: error: add curtin/__pycache__/pack.cpython-36.pyc in 
debian/source/include-binaries if you want to store the modified binary in the 
debian tarball
dpkg-source: error: cannot represent change to 
curtin/__pycache__/paths.cpython-36.pyc: binary file contents changed
dpkg-source: error: add curtin/__pycache__/paths.cpython-36.pyc in 
debian/source/include-binaries if you want to store the modified binary in the 
debian tarball
dpkg-source: error: cannot represent change to 
curtin/__pycache__/storage_config.cpython-36.pyc: binary file contents changed
[...]

** Affects: curtin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1899698

Title:
  fails to rebuild from source

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1899698/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to