Package: debhelper
Version: 13.2.1
Severity: normal
X-Debbugs-Cc: arjenbalfo...@hotmail.com
Dear Maintainer,
* What led up to the situation?
I needed a package name change of a pybuild package.
* What exactly did you do (or not do) that was effective (or ineffective)?
I added the configuration of the transitional package to the package control
file.
* What was the outcome of this action?
dh_missing threw the following warning on all files:
dh_missing: warning: usr/bin/hello exists in debian/tmp but is not
installed to
anywhere
Resulting in two empty packages: the new named package and the old
(transitional) package.
* What outcome did you expect instead?
A complete package with a new name and an empty transitional package
with the
old name.
Note: after removing the configuration of the transitional package the
new package was built correctly.
-- System Information:
Distributor ID: Solydxk
Description: SolydK 11 64-bit
Release: 11
Codename: solydxk-11
Architecture: x86_64
Kernel: Linux 5.8.0-2-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:nl
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages debhelper depends on:
ii autotools-dev 20180224.1
ii dh-autoreconf 19
ii dh-strip-nondeterminism 1.9.0-1
ii dpkg 1.20.5
ii dpkg-dev 1.20.5
ii dwz 0.13-5
ii file 1:5.38-5
ii libdebhelper-perl 13.2.1
ii libdpkg-perl 1.20.5
ii man-db 2.9.3-2
ii perl 5.30.3-4
ii po-debconf 1.0.21
debhelper recommends no packages.
Versions of packages debhelper suggests:
pn dh-make <none>
Source: debhello
Section: devel
Priority: optional
Maintainer: My Name <myn...@mydomain.org>
Build-Depends: debhelper-compat (= 12)
, dh-python
, python3-all
Standards-Version: 4.5.0
Homepage:
Vcs-Git:
X-Python3-Version: >= 3.6
Package: debhello
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
, ${python3:Depends}
, gir1.2-gtk-3.0
, python3-gi
Description: example package in the debmake-doc package
This is an example package to demonstrate Debian packaging using
the debmake command.
Package: myfirst-debhello
Architecture: all
Section: oldlibs
Depends: debhello, ${misc:Depends}
Description: transitional package
This is a transitional package. It can safely be removed.
#!/usr/bin/make -f
export DH_VERBOSE = 1
%:
dh $@ --with python3 --buildsystem=pybuild
debuild output WITH transitional package in control file:
$ debuild
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package debhello
dpkg-buildpackage: info: source version 1.0
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by My Name <myn...@mydomain.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with python3 --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
pybuild --clean -i python{version} -p 3.8
I: pybuild base:217: python3.8 setup.py clean
running clean
removing '/home/shared/Development/dev/debhello/.pybuild/cpython3_3.8/build'
(and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.8' does not exist -- can't clean it
rm -rf .pybuild/
find . -name \*.pyc -exec rm {} \;
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/debhello.substvars debian/myfirst-debhello.substvars
debian/files
rm -fr -- debian/debhello/ debian/tmp/ debian/myfirst-debhello/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o
-type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \)
\)
dpkg-source -b .
dpkg-source: info: using source format '3.0 (native)'
dpkg-source: info: building debhello in debhello_1.0.tar.xz
dpkg-source: info: building debhello in debhello_1.0.dsc
debian/rules build
dh build --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
pybuild --configure -i python{version} -p 3.8
I: pybuild base:217: python3.8 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
pybuild --build -i python{version} -p 3.8
I: pybuild base:217: /usr/bin/python3 setup.py build
running build
running build_py
creating
/home/shared/Development/dev/debhello/.pybuild/cpython3_3.8/build/hello_py
copying hello_py/__init__.py ->
/home/shared/Development/dev/debhello/.pybuild/cpython3_3.8/build/hello_py
running build_scripts
creating build
creating build/scripts-3.8
copying and adjusting scripts/hello -> build/scripts-3.8
changing mode of build/scripts-3.8/hello from 644 to 755
dh_auto_test -O--buildsystem=pybuild
pybuild --test -i python{version} -p 3.8
I: pybuild base:217: cd
/home/shared/Development/dev/debhello/.pybuild/cpython3_3.8/build; python3.8 -m
unittest discover -v
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
/home/shared/Development/dev/debhello/.pybuild/cpython3_3.8/build/hello_py/__init__.py:2:
PyGIWarning: Gtk was imported without specifying a version first. Use
gi.require_version('Gtk', '3.0') before import to ensure that the right version
gets loaded.
from gi.repository import Gtk
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
create-stamp debian/debhelper-build-stamp
fakeroot debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh_testroot -O--buildsystem=pybuild
dh_prep -O--buildsystem=pybuild
rm -f -- debian/debhello.substvars debian/myfirst-debhello.substvars
rm -fr -- debian/.debhelper/generated/debhello/ debian/debhello/
debian/tmp/ debian/.debhelper/generated/myfirst-debhello/
debian/myfirst-debhello/
dh_auto_install -O--buildsystem=pybuild
install -d /home/shared/Development/dev/debhello/debian/tmp
pybuild --install -i python{version} -p 3.8 --dest-dir
/home/shared/Development/dev/debhello/debian/tmp
I: pybuild base:217: /usr/bin/python3 setup.py install --root
/home/shared/Development/dev/debhello/debian/tmp
running install
running build
running build_py
running build_scripts
running install_lib
creating /home/shared/Development/dev/debhello/debian/tmp/usr
creating /home/shared/Development/dev/debhello/debian/tmp/usr/lib
creating /home/shared/Development/dev/debhello/debian/tmp/usr/lib/python3.8
creating
/home/shared/Development/dev/debhello/debian/tmp/usr/lib/python3.8/dist-packages
creating
/home/shared/Development/dev/debhello/debian/tmp/usr/lib/python3.8/dist-packages/hello_py
copying
/home/shared/Development/dev/debhello/.pybuild/cpython3_3.8/build/hello_py/__init__.py
->
/home/shared/Development/dev/debhello/debian/tmp/usr/lib/python3.8/dist-packages/hello_py
creating
/home/shared/Development/dev/debhello/debian/tmp/usr/lib/python3.8/dist-packages/hello_py/__pycache__
copying
/home/shared/Development/dev/debhello/.pybuild/cpython3_3.8/build/hello_py/__pycache__/__init__.cpython-38.pyc
->
/home/shared/Development/dev/debhello/debian/tmp/usr/lib/python3.8/dist-packages/hello_py/__pycache__
byte-compiling
/home/shared/Development/dev/debhello/debian/tmp/usr/lib/python3.8/dist-packages/hello_py/__init__.py
to __init__.cpython-38.pyc
running install_scripts
creating /home/shared/Development/dev/debhello/debian/tmp/usr/bin
copying build/scripts-3.8/hello ->
/home/shared/Development/dev/debhello/debian/tmp/usr/bin
changing mode of /home/shared/Development/dev/debhello/debian/tmp/usr/bin/hello
to 755
running install_data
creating /home/shared/Development/dev/debhello/debian/tmp/usr/share
creating /home/shared/Development/dev/debhello/debian/tmp/usr/share/applications
copying data/hello.desktop ->
/home/shared/Development/dev/debhello/debian/tmp/usr/share/applications
creating /home/shared/Development/dev/debhello/debian/tmp/usr/share/pixmaps
copying data/hello.png ->
/home/shared/Development/dev/debhello/debian/tmp/usr/share/pixmaps
creating /home/shared/Development/dev/debhello/debian/tmp/usr/share/man
creating /home/shared/Development/dev/debhello/debian/tmp/usr/share/man/man1
copying man/hello.1 ->
/home/shared/Development/dev/debhello/debian/tmp/usr/share/man/man1
running install_egg_info
Writing
/home/shared/Development/dev/debhello/debian/tmp/usr/lib/python3.8/dist-packages/debhello-1.0.egg-info
dh_installdocs -O--buildsystem=pybuild
install -d debian/debhello/usr/share/doc/debhello
install -d debian/.debhelper/generated/debhello
install -p -m0644 debian/copyright
debian/debhello/usr/share/doc/debhello/copyright
install -d debian/myfirst-debhello/usr/share/doc/myfirst-debhello
install -d debian/.debhelper/generated/myfirst-debhello
install -p -m0644 debian/copyright
debian/myfirst-debhello/usr/share/doc/myfirst-debhello/copyright
dh_installchangelogs -O--buildsystem=pybuild
install -p -m0644 debian/changelog
debian/myfirst-debhello/usr/share/doc/myfirst-debhello/changelog
install -p -m0644 debian/changelog
debian/debhello/usr/share/doc/debhello/changelog
dh_python3 -O--buildsystem=pybuild
D: dh_python3 dh_python3:161: version: 4.20200925
D: dh_python3 dh_python3:162: argv: ['/usr/bin/dh_python3',
'-O--buildsystem=pybuild']
D: dh_python3 dh_python3:163: options: {'guess_deps': True, 'skip_private':
False, 'verbose': False, 'arch': None, 'package': None, 'no_package': None,
'compile_all': False, 'vrange': None, 'regexpr': None,
'accept_upstream_versions': False, 'depends': None, 'depends_section': None,
'recommends': None, 'recommends_section': None, 'suggests': None,
'suggests_section': None, 'requires': None, 'shebang': None, 'ignore_shebangs':
False, 'clean_dbg_pkg': True, 'no_ext_rename': False, 'no_shebang_rewrite':
False, 'O': '--buildsystem=pybuild'}
D: dh_python3 dh_python3:164: args: []
D: dh_python3 dh_python3:165: supported Python versions: 3.8 (default=3.8)
D: dh_python3 debhelper:99: skipping package myfirst-debhello (missing
${python3:Depends} in Depends)
D: dh_python3 debhelper:152: source=debhello, binary packages=['debhello']
D: dh_python3 dh_python3:183: processing package debhello...
D: dh_python3 fs:260: package debhello details = {'requires.txt': set(),
'egg-info': set(), 'nsp.txt': set(), 'shebangs': set(), 'public_vers': set(),
'private_dirs': {}, 'compile': False, 'ext_vers': set(), 'ext_no_version':
set()}
D: dh_python3 depends:117: generating dependencies for package debhello
D: dh_python3 depends:275: D=set(); R=[]; S=[]; E=[], B=[]; RT=[]
dh_installinit -O--buildsystem=pybuild
dh_installsystemduser -O--buildsystem=pybuild
dh_perl -O--buildsystem=pybuild
dh_link -O--buildsystem=pybuild
dh_strip_nondeterminism -O--buildsystem=pybuild
dh_compress -O--buildsystem=pybuild
cd debian/debhello
cd debian/myfirst-debhello
chmod a-x usr/share/doc/debhello/changelog
chmod a-x usr/share/doc/myfirst-debhello/changelog
gzip -9nf usr/share/doc/debhello/changelog
gzip -9nf usr/share/doc/myfirst-debhello/changelog
cd '/home/shared/Development/dev/debhello'
cd '/home/shared/Development/dev/debhello'
dh_fixperms -O--buildsystem=pybuild
find debian/debhello -true -print0 2>/dev/null | xargs -0r chown
--no-dereference 0:0
find debian/myfirst-debhello -true -print0 2>/dev/null | xargs -0r
chown --no-dereference 0:0
find debian/debhello ! -type l -a -true -a -true -print0 2>/dev/null |
xargs -0r chmod go=rX,u+rw,a-s
find debian/myfirst-debhello ! -type l -a -true -a -true -print0
2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/debhello/usr/share/doc -type f -a -true -a ! -regex
'debian/debhello/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs
-0r chmod 0644
find debian/myfirst-debhello/usr/share/doc -type f -a -true -a ! -regex
'debian/myfirst-debhello/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null |
xargs -0r chmod 0644
find debian/debhello/usr/share/doc -type d -a -true -a -true -print0
2>/dev/null | xargs -0r chmod 0755
find debian/myfirst-debhello/usr/share/doc -type d -a -true -a -true
-print0 2>/dev/null | xargs -0r chmod 0755
find debian/debhello -type f \( -name '*.so.*' -o -name '*.so' -o -name
'*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o
-name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name
'*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0
2>/dev/null | xargs -0r chmod 0644
find debian/myfirst-debhello -type f \( -name '*.so.*' -o -name '*.so'
-o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name
'*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png'
-o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true
-print0 2>/dev/null | xargs -0r chmod 0644
dh_missing -O--buildsystem=pybuild
dh_missing: warning: usr/bin/hello exists in debian/tmp but is not installed to
anywhere
dh_missing: warning: usr/lib/python3.8/dist-packages/debhello-1.0.egg-info
exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3.8/dist-packages/hello_py/__init__.py
exists in debian/tmp but is not installed to anywhere
dh_missing: warning:
usr/lib/python3.8/dist-packages/hello_py/__pycache__/__init__.cpython-38.pyc
exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/applications/hello.desktop exists in debian/tmp
but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/hello.1 exists in debian/tmp but is not
installed to anywhere
dh_missing: warning: usr/share/pixmaps/hello.png exists in debian/tmp but is
not installed to anywhere
The following debhelper tools have reported what they installed (with
files per package)
* dh_installdocs: debhello (0), myfirst-debhello (0)
If the missing files are installed by another tool, please file a bug
against it.
When filing the report, if the tool is not part of debhelper itself,
please reference the
"Logging helpers and dh_missing" section from the "PROGRAMMING" guide
for debhelper (10.6.3+).
(in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
Be sure to test with dpkg-buildpackage -A/-B as the results may vary
when only a subset is built
If the omission is intentional or no other helper can take care of this
consider adding the
paths to debian/not-installed.
dh_installdeb -O--buildsystem=pybuild
install -d debian/debhello/DEBIAN
install -d debian/myfirst-debhello/DEBIAN
dh_gencontrol -O--buildsystem=pybuild
echo misc:Depends= >> debian/debhello.substvars
echo misc:Pre-Depends= >> debian/debhello.substvars
dpkg-gencontrol -pdebhello -ldebian/changelog
-Tdebian/debhello.substvars -Pdebian/debhello
echo misc:Depends= >> debian/myfirst-debhello.substvars
echo misc:Pre-Depends= >> debian/myfirst-debhello.substvars
dpkg-gencontrol -pmyfirst-debhello -ldebian/changelog
-Tdebian/myfirst-debhello.substvars -Pdebian/myfirst-debhello
dpkg-gencontrol: warning: Depends field of package debhello: substitution
variable ${python3:Depends} used, but is not defined
chmod 0644 -- debian/debhello/DEBIAN/control
chown 0:0 -- debian/debhello/DEBIAN/control
chmod 0644 -- debian/myfirst-debhello/DEBIAN/control
chown 0:0 -- debian/myfirst-debhello/DEBIAN/control
dh_md5sums -O--buildsystem=pybuild
cd debian/debhello >/dev/null && xargs -r0 md5sum | perl -pe 'if
(s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
cd debian/myfirst-debhello >/dev/null && xargs -r0 md5sum | perl -pe
'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
chmod 0644 -- debian/debhello/DEBIAN/md5sums
chown 0:0 -- debian/debhello/DEBIAN/md5sums
chmod 0644 -- debian/myfirst-debhello/DEBIAN/md5sums
chown 0:0 -- debian/myfirst-debhello/DEBIAN/md5sums
dh_builddeb -O--buildsystem=pybuild
dpkg-deb --build debian/debhello ..
dpkg-deb --build debian/myfirst-debhello ..
dpkg-deb: building package 'debhello' in '../debhello_1.0_all.deb'.
dpkg-deb: building package 'myfirst-debhello' in
'../myfirst-debhello_1.0_all.deb'.
dpkg-genbuildinfo
dpkg-genchanges >../debhello_1.0_amd64.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-buildpackage: info: full upload; Debian-native package (full source is
included)
Now running lintian debhello_1.0_amd64.changes ...
W: debhello: empty-binary-package
Finished running lintian.
Now signing changes and any dsc files...
signfile dsc debhello_1.0.dsc 1FD0 3599 DC09 A23A 5011 EB5F EADB 2FB0 BCA6 3C3C
fixup_buildinfo debhello_1.0.dsc debhello_1.0_amd64.buildinfo
signfile buildinfo debhello_1.0_amd64.buildinfo 1FD0 3599 DC09 A23A 5011 EB5F
EADB 2FB0 BCA6 3C3C
fixup_changes dsc debhello_1.0.dsc debhello_1.0_amd64.changes
fixup_changes buildinfo debhello_1.0_amd64.buildinfo debhello_1.0_amd64.changes
signfile changes debhello_1.0_amd64.changes 1FD0 3599 DC09 A23A 5011 EB5F EADB
2FB0 BCA6 3C3C
Successfully signed dsc, buildinfo, changes files