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
Lonnie, Had a similar problem to you. This should help http://www.rpm.org/hintskinks/unpackaged-files/ -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. P : ++353 93 23151 F : ++353 93 23110 E : mailto:clancyian@cel.ie W : http://www.cel-europe.com Lonnie wrote:> 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? >
Hello Ian, In searching for a solution to this problem, I ran across this link as well, but am not really clear as to what it is saying for me to do. ---------------------------------------------------- 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 ---------------------------------------------------- Do I modify the SPEC file? Also, is this saying that "/usr/lib/samba/pdb/mysql.so" is missing as I think that I need that in order to run the MySQL passwd right? Thanks, Lonnie Cumberland Ian Clancy wrote:> Lonnie, > Had a similar problem to you. This should help > http://www.rpm.org/hintskinks/unpackaged-files/ >
On Mon, Aug 15, 2005 at 06:54:30AM -0500, Lonnie wrote:> Ian Clancy wrote: > > >Lonnie, > >Had a similar problem to you. This should help > >http://www.rpm.org/hintskinks/unpackaged-files/ > > > Hello Ian, > > In searching for a solution to this problem, I ran across this link as > well, but am not really clear as to what it is saying for me to do. > > ----------------------------------------------------<snip/>> RPM build errors: > Installed (but unpackaged) file(s) found: > /usr/lib/samba/pdb/mysql.so > ---------------------------------------------------- > > Do I modify the SPEC file? > > Also, is this saying that "/usr/lib/samba/pdb/mysql.so" is missing as I > think that I need that in order to run the MySQL passwd right? >As I read it, it says: /usr/lib/samba/pdb/mysql.so is allready on the computer available and that RPM will not overwrite it. Something completely different: Could the answer please go below the question? ( Hi JHT ;-) And why are (basic?) RPM building questions posted to the samba mailinglist? Cheers Geert Stappers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.samba.org/archive/samba/attachments/20050815/b05ce32d/attachment.bin
To answer your "Something completely different" question. It is because I am trying to build a Samba rpm. This list is where "all" members, both newbies like myself and seasoned experts, can come for help and share their ideas and problems associated with Samba. You do not have the market corner on types of Samba related questions that you think should be asked and that you think are important. Thanks, Lonnie>Something completely different: > >Could the answer please go below the question? ( Hi JHT ;-) > >And why are (basic?) RPM building questions posted to the samba >mailinglist? > > >Cheers >Geert Stappers > > >
Lonnie wrote:> 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? >RPM builds a tree of files that will go in the final package under a temporary directory ($RPM_BUILD_ROOT, identified as /var/tmp/samba-3.0.10-root above). It builds/compiles the package, then "installs" it to this temporary directory, then packages it up according to the instructions in your %files section. The above error means that /usr/lib/samba/pdb/mysql.so was installed to this temporary directory (as /var/tmp/samba-3.0.10-root/usr/lib/samba/pdb/mysql.so), but it's not listed under %files, so RPM doesn't know what to do with it. Since it's a file that you want, the correct solution is to add it to your %files section. Josh Kelley