dh_missing and arch/indep
Hello, I am working on the bornagain package
the arch all build failed with this error mesage
dh_missing: warning: usr/bin/bornagain exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/bornagain/__init__.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/bornagain/ba_fitmonitor.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/bornagain/ba_plot.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/bornagain/sample_tools.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/bornagain/std_samples.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/bornagain/std_simulations.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/libBornAgainBase.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/libBornAgainDevice.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/libBornAgainFit.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/libBornAgainParam.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/libBornAgainResample.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/libBornAgainSample.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/python3/dist-packages/libBornAgainSim.py exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainBase.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainDevice.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainFit.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainGUI.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainParam.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainPyCore.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainResample.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainSample.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/lib/x86_64-linux-gnu/bornagain/_libBornAgainSim.so exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/BornAgain/Images/BornAgain.icns exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/BornAgain/Images/BornAgain.ico exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/BornAgain/Images/BornAgain_48x48.png exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/BornAgain/Images/BornAgain_64x64.png exists in debian/tmp but is not installed to anywhere
dh_missing: warning: usr/share/man/man1/bornagain.1 exists in debian/tmp but is not installed to anywhere
dh_missing: error: missing files, aborting
The following debhelper tools have reported what they installed (with files per package)
* dh_install: bornagain (0), bornagain-doc (39), python3-bornagain (0)
* dh_installdocs: bornagain (0), bornagain-doc (0), python3-bornagain (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.md.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.
Remember to be careful with paths containing "x86_64-linux-gnu", where you might need to
use a wildcard or (assuming compat 13+) e.g. ${DEB_HOST_MULTIARCH} in debian/not-installed
to ensure it works on all architectures (see #961104).
make: *** [debian/rules:37: binary-indep] Error 25
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2
The install target in the rules files does this
override_dh_install:
# bornagain-doc
dh_install -p bornagain-doc usr/share/BornAgain/bornagain_build.log usr/share/doc/bornagain/
dh_install -p bornagain-doc usr/share/BornAgain/Examples/* usr/share/doc/bornagain/examples/
dh_install -p bornagain-doc hugo/public/* usr/share/doc/bornagain/html
# bornagain
dh_install -p bornagain usr/bin/bornagain
dh_install -p bornagain usr/lib/*/bornagain/_libBornAgainGUI.so
dh_install -p bornagain usr/share/BornAgain/Images/* usr/share/bornagain/images/
dh_install -p bornagain usr/share/man/
# python3-bornagain
dh_install -p python3-bornagain -X_libBornAgainGUI.so usr/lib/*/bornagain/*.so
dh_install -p python3-bornagain usr/lib/python3/*
So my question is why dh_missing does not understand that the remaining are not installed because they are part of arch packages (bornagain and python3-bornagain) ?
Thanks for your help
Frederic
Reply to: