[Pkg-samba-maint] "dh_install: missing files" when building Samba with MIT Kerberos support
Guillermo López Alejos
guillermo at lopezalejos.es
Thu Feb 22 22:01:49 UTC 2018
Dear Samba package maintainers,
I'm working in the integration of a new Samba server with an existing
MIT Kerberos server in my network.
Since the Samba package in Debian Buster is not compiled with MIT
Kerberos support, I'm in the process of compiling the source code with
support for this provider [1].
Following are the steps that I'm executing:
---
apt-get build-dep samba
apt-get source samba
# List of dependencies stated in [2]
apt-get install acl attr autoconf bind9utils bison build-essential
debhelper dnsutils docbook-xml docbook-xsl flex gdb libjansson-dev
krb5-user libacl1-dev libarchive-dev libattr1-dev libblkid-dev
libbsd-dev libcap-dev libcups2-dev libgpgme11-dev libjson-perl
libldap2-dev libncurses5-dev libpam0g-dev libparse-yapp-perl libpopt-dev
libreadline-dev nettle-dev perl perl-modules pkg-config python-all-dev
python-crypto python-dbg python-dev python-dnspython python3-dnspython
python-markdown python3-markdown python3-dev xsltproc zlib1g-dev
krb5-kdc libkrb5-dev libgnutls28-dev python-gpg python3-gpg libsystemd-dev
cd samba-4.7.4+dfsg
# Added the following lines to debian/rules:
#conf_args += \
# --with-system-mitkrb5
dpkg-buildpackage
---
The build process fails with the messages shown in [3]. I've tried
removing "heimbase", "heimntlm", and "hdb" from "--bundled-libraries" in
"debian/rules" but the result seems to be the same.
Can you point out why would the files referred in [3] be missing?
Thank you,
Guillermo
---
[1]
https://wiki.samba.org/index.php/Running_a_Samba_AD_DC_with_MIT_Kerberos_KDC
[2]
https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Debian_.2F_Ubuntu
[3]
dh_install --sourcedir=/root/samba-src/samba-4.7.4+dfsg/debian/tmp
--list-missing --fail-missing
dh_install: Please use dh_missing --list-missing/--fail-missing instead
dh_install: This feature will be removed in compat 12.
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libHDB-SAMBA4.so.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba missing files: usr/lib/*/samba/libHDB-SAMBA4.so.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libhdb-samba4.so.11" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba missing files: usr/lib/*/samba/libhdb-samba4.so.11
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libhdb-samba4.so.11.0.2" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba missing files: usr/lib/*/samba/libhdb-samba4.so.11.0.2
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libkdc-samba4.so.2" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba missing files: usr/lib/*/samba/libkdc-samba4.so.2
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libkdc-samba4.so.2.0.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba missing files: usr/lib/*/samba/libkdc-samba4.so.2.0.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libasn1-samba4.so.8" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files: usr/lib/*/samba/libasn1-samba4.so.8
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libasn1-samba4.so.8.0.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libasn1-samba4.so.8.0.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libcom_err-samba4.so.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files: usr/lib/*/samba/libcom_err-samba4.so.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libcom_err-samba4.so.0.25" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libcom_err-samba4.so.0.25
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libgssapi-samba4.so.2" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files: usr/lib/*/samba/libgssapi-samba4.so.2
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libgssapi-samba4.so.2.0.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libgssapi-samba4.so.2.0.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libhcrypto-samba4.so.5" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files: usr/lib/*/samba/libhcrypto-samba4.so.5
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libhcrypto-samba4.so.5.0.1" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libhcrypto-samba4.so.5.0.1
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libheimbase-samba4.so.1" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libheimbase-samba4.so.1
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libheimbase-samba4.so.1.0.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libheimbase-samba4.so.1.0.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libheimntlm-samba4.so.1" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libheimntlm-samba4.so.1
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libheimntlm-samba4.so.1.0.1" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libheimntlm-samba4.so.1.0.1
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libhx509-samba4.so.5" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files: usr/lib/*/samba/libhx509-samba4.so.5
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libhx509-samba4.so.5.0.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libhx509-samba4.so.5.0.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libkrb5-samba4.so.26" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files: usr/lib/*/samba/libkrb5-samba4.so.26
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libkrb5-samba4.so.26.0.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libkrb5-samba4.so.26.0.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libroken-samba4.so.19" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files: usr/lib/*/samba/libroken-samba4.so.19
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libroken-samba4.so.19.0.1" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libroken-samba4.so.19.0.1
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libwind-samba4.so.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files: usr/lib/*/samba/libwind-samba4.so.0
dh_install: Cannot find (any matches for)
"usr/lib/*/samba/libwind-samba4.so.0.0.0" (tried in
/root/samba-src/samba-4.7.4\+dfsg/debian/tmp, debian/tmp)
dh_install: samba-libs missing files:
usr/lib/*/samba/libwind-samba4.so.0.0.0
dh_install: missing files, aborting
debian/rules:126: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 25
make[1]: Leaving directory '/root/samba-src/samba-4.7.4+dfsg'
debian/rules:84: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
More information about the Pkg-samba-maint
mailing list