Your message dated Wed, 19 Oct 2016 16:51:31 +0000
with message-id <e1bwu5t-0002i8...@franck.debian.org>
and subject line Bug#840425: fixed in mkosi 0~20161012-1
has caused the Debian Bug report #840425,
regarding mkosi: FTBFS when built with dpkg-buildpackage -A (debian/mkosi.1: No
such file or directory)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
840425: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840425
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:mkosi
Version: 0~20161004-1
Severity: serious
Tags: patch
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python3 --buildsystem=pybuild
dh_testdir -i -O--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:184: python3.5 setup.py config
running config
dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python3 setup.py build
running build
running build_scripts
creating build
creating build/scripts-3.5
copying and adjusting mkosi -> build/scripts-3.5
changing mode of build/scripts-3.5/mkosi from 664 to 775
dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:184: cd '/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build';
python3.5 -m unittest discover -v
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
fakeroot debian/rules binary-indep
dh binary-indep --with python3 --buildsystem=pybuild
dh_testroot -i -O--buildsystem=pybuild
dh_prep -i -O--buildsystem=pybuild
dh_auto_install -i -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python3 setup.py install --root
'/<<PKGBUILDDIR>>/debian/mkosi'
running install
running build
running build_scripts
running install_egg_info
running egg_info
creating mkosi.egg-info
writing mkosi.egg-info/PKG-INFO
writing dependency_links to mkosi.egg-info/dependency_links.txt
writing top-level names to mkosi.egg-info/top_level.txt
writing manifest file 'mkosi.egg-info/SOURCES.txt'
reading manifest file 'mkosi.egg-info/SOURCES.txt'
writing manifest file 'mkosi.egg-info/SOURCES.txt'
Copying mkosi.egg-info to
/<<PKGBUILDDIR>>/debian/mkosi/usr/lib/python3.5/dist-packages/mkosi-1.egg-info
Skipping SOURCES.txt
running install_scripts
creating /<<PKGBUILDDIR>>/debian/mkosi/usr/bin
copying build/scripts-3.5/mkosi -> /<<PKGBUILDDIR>>/debian/mkosi/usr/bin
changing mode of /<<PKGBUILDDIR>>/debian/mkosi/usr/bin/mkosi to 775
dh_installdocs -i -O--buildsystem=pybuild
dh_installchangelogs -i -O--buildsystem=pybuild
dh_installman -i -O--buildsystem=pybuild
debian/mkosi.1: No such file or directory at /usr/bin/dh_installman line 131.
debian/rules:10: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit
status 2
--------------------------------------------------------------------------------
This happens because there is a "build" target but there is not a "build-indep"
target,
so the build paths for "dpkg-buildpackage" and "dpkg-buildpackage -A" are
different.
I suggest the patch below to fix this. It makes debian/rules a little bit
shorter
and maybe a little bit more dh-style.
I would also suggest that you try source-only uploads (even for
Arch:all packages like this one). That way, we would get pretty
official build logs here:
https://buildd.debian.org/status/package.php?p=mkosi
and we would also detect bugs like this one before they propagate to testing.
Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -9,15 +9,10 @@ export PYBUILD_NAME=mkosi
%:
dh $@ --with python3 --buildsystem=pybuild
-# need explicit target to be able to mark as phony
-build: debian/mkosi.1
- dh $@ --with python3 --buildsystem=pybuild
-
-debian/mkosi.1:
+override_dh_auto_build:
+ dh_auto_build
help2man --name "Create legacy-free OS images" \
--version-string "mkosi $(DEB_VERSION_UPSTREAM)" \
--no-info \
-o debian/mkosi.1 \
./mkosi
-
-.PHONY: build
--- End Message ---
--- Begin Message ---
Source: mkosi
Source-Version: 0~20161012-1
We believe that the bug you reported is fixed in the latest version of
mkosi, 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 840...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Felipe Sateler <fsate...@debian.org> (supplier of updated mkosi 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 19 Oct 2016 12:27:32 -0300
Source: mkosi
Binary: mkosi
Architecture: source
Version: 0~20161012-1
Distribution: unstable
Urgency: medium
Maintainer: Debian systemd Maintainers
<pkg-systemd-maintain...@lists.alioth.debian.org>
Changed-By: Felipe Sateler <fsate...@debian.org>
Description:
mkosi - create legacy-free OS images
Closes: 840425
Changes:
mkosi (0~20161012-1) unstable; urgency=medium
.
* New upstream git snapshot
* Also hook up debian/mkosi.1 for build-indep builds (Closes: #840425)
Checksums-Sha1:
4d8e625e724a7d84514610ce15f86d117d9612a3 1982 mkosi_0~20161012-1.dsc
3b106083950931968853f7f5f8dad1c648c2f362 25432 mkosi_0~20161012.orig.tar.gz
c4091c6302e8ffb7570842e6af16d4a12e59923b 2232 mkosi_0~20161012-1.debian.tar.xz
Checksums-Sha256:
dbc866c94404f9131bce68ff59fb4c705ad00f57e31740e8f864b03222c81b9c 1982
mkosi_0~20161012-1.dsc
5462ac12f7a078fbfba9d5950eb769400cdd7617b858af6de5562108d84e8405 25432
mkosi_0~20161012.orig.tar.gz
0c8d907963c565fecbb0f0859ed928c0ecc6ee9a9ddd53f11c8e0afd40e035d9 2232
mkosi_0~20161012-1.debian.tar.xz
Files:
152c2d2253cc783bdfcbcd4888e88df6 1982 admin optional mkosi_0~20161012-1.dsc
be0c44ae8d03e1db34f406e4e905ff79 25432 admin optional
mkosi_0~20161012.orig.tar.gz
1972c5acacce0d5cf2b7095617ce2768 2232 admin optional
mkosi_0~20161012-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIxBAEBCAAbBQJYB52JFBxmc2F0ZWxlckBkZWJpYW4ub3JnAAoJEKO6uuJAjdbP
FpcP/1Kbu7oWqX/brHMCW7CNkiMPZfGOjDZEt9Ng/rgLIjWjGAB/YQeNFUNbQ2hm
nuGUb+j1g27Z+qq846y48hzfG5etUk1cTU8cEssr3esyzgE9CUwWyUx1yXnXtUak
6DYsnQX4cnY0trQVZtoOgyYyG9V1T7RHuopi/mXiYvZsH8mxwiV3b/Gj2SCO/liP
Mw1mzaMB3kplvL0U0tlLkQMkdhmN7WfIDgCV7KzJrMbXwX1E+xLwZ+IkfAFU18UR
4VEmfn8b4a4LzuZ45szkWOSdyqUvItm7gJnyjz1/AxhZJaW7qAsTS1hu/T9Cvh/q
Q/BZEfRjEyIsVYG7F1iNTmS76erpLB5TAt7+wCE9UoJ/HTVjSEVpLz/VDpbgzD70
P5uYEz4e1PTYr8s0metjhYYKFOIirL5Y/1joG6NoRjfAxhbfl+aVkWSlNh+GvBk7
o2jZ/rp78j/w3EEO9aaFkXKbPFHb7WsNC7jrwJ273bsCw/32CJtw1Pq0KAeIlcXT
E5xEdfhKL4+1+w5FbKkPnDzFv3glbAWtiyFhJQvK7eZM0j+ZBr9x0TfBngtDwdfV
MZVnBsKFo8DUGiH2K/Anbn6Ph+I0eyKlo7kst075FFzchsYXFOxiqnj15tCwOaJR
s8PcSWEd89+3hEg/H4Ud+NwFsNqX23AQghy492bTzD1nICfN
=LmiC
-----END PGP SIGNATURE-----
--- End Message ---