[Samba] RPM SPEC rebuild errors

Lonnie lonnie at outstep.com
Sun Aug 14 22:37:45 GMT 2005


Hello All,

I have been trying all afternoon to rebuild the Samba RPM for my Fedora 
3 with the MySQL passdb support and from what I can see it only needs 
the inclusion of "--with-expsam=mysql" in the SPEC file in addition to 
the regular ones.

The problem is that no matter what version of Samba I try to rebuild, it 
always gice an error at the same place:
---------------------------------------------------
Processing files: samba-client-3.0.10-1.fc3
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/sh /usr/bin/perl libc.so.6 libc.so.6(GLIBC_2.0) 
libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) 
libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 
libcrypt.so.1 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) 
libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 
libldap-2.2.so.7 libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) 
libpopt.so.0 libreadline.so.4 libresolv.so.2 samba-common = 0:3.0.10
Obsoletes: smbfs
Processing files: samba-common-3.0.10-1.fc3
Provides: CP437.so CP850.so config(samba-common) = 0:3.0.10-1.fc3 
libnss_winbind.so libnss_wins.so libsmbclient.so.0 pam_winbind.so
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires: /bin/sh config(samba-common) = 0:3.0.10-1.fc3 libc.so.6 
libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) 
libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) 
libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 
libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 
libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 
libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 
libresolv.so.2 libssl.so.4
Processing files: samba-swat-3.0.10-1.fc3
Provides: config(samba-swat) = 0:3.0.10-1.fc3
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: config(samba-swat) = 0:3.0.10-1.fc3 libc.so.6 
libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) 
libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) 
libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 
libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 
libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 
libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 
libresolv.so.2 libssl.so.4 samba = 0:3.0.10 xinetd

Processing files: samba-debuginfo-3.0.10-1.fc3
Provides: CP437.so.debug CP850.so.debug audit.so.debug cap.so.debug 
default_quota.so.debug expand_msdfs.so.debug extd_audit.so.debug 
fake_perms.so.debug full_audit.so.debug libnss_winbind.so.2.debug 
libnss_wins.so.2.debug libsmbclient.so.debug mysql.so.debug net.debug 
netatalk.so.debug nmbd.debug nmblookup.debug ntlm_auth.debug 
pam_smbpass.so.debug pam_winbind.so.debug pdbedit.debug profiles.debug 
readonly.so.debug recycle.so.debug rpcclient.debug shadow_copy.so.debug 
smbcacls.debug smbclient.debug smbcontrol.debug smbcquotas.debug 
smbd.debug smbmnt.debug smbmount.debug smbpasswd.debug smbspool.debug 
smbstatus.debug smbtree.debug smbumount.debug swat.debug tdbbackup.debug 
tdbdump.debug tdbtool.debug testparm.debug testprns.debug wbinfo.debug 
winbindd.debug
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/var/tmp/samba-3.0.10-root
error: Installed (but unpackaged) file(s) found:
   /usr/lib/samba/pdb/mysql.so


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib/samba/pdb/mysql.so
----------------------------------------------------

This /usr/lib/samba/pdb/mysql.so does not exist and if I understnd this 
error then it is saying that it keeps finding it.

Can someone please tell me what is happening here?

-- 
Thanks,

Lonnie Cumberland




More information about the samba mailing list