Mailinglist Archive: opensuse-factory (710 mails)

< Previous Next >
[opensuse-factory] Re: [opensuse] broken samba-3.5.7 package in 11.4 (binary and source)
Marcus Meissner wrote:


The build seems to depend on the buildrequires. You probably have more
buildrequires installed than necessary, so additional files are built.
---
???
The buildrequires, I thought were the files NEEDED to build
the RPM? (If not, then what?) Trying to run rpmbuild -bp, against samba
without the buildrequires refuses to start -- saying I had to install
various 'devel' packages to continue.
It's normal these days for packages to have requirements for
build. You can't have "less than necessary" "buildrequires" installed
or the rpm won't even start the build process.



It also has SPECs and Source files in the same directory during build,
so a simple install source rpm and rpmbuild is not fully working.
----
"It?" The source rpm doesn't have this -- when I installed it, the source and spec files are in separate directories -- that's why it fails.


Of course none of the above explains why nmbd isn't linking with libtalloc, which was the root problem of this mess! ;-)

(up-to-butt in alligators; meant to drain swamp?)....

So Does anyone have ideas as to what's going on? -- especially, why nmbd
isn't linking against libtalloc and how it ever got released that way?

First, it works for me on my 11.4 system.
----
nmbd? x64? (note I was listing files for /usr/lib64...)

And it likely works for some more people, as you are the first to report this
with 11.4 released in March (and samba was not updated).
----
For some low probability of 'likely', probably. Since anyone
using samba with a windows client will have the window's client 'nmb' process picking up slack for most purposes. Unfortunately, I've been
unable to 'login' to my domain server since installing the new samba.

You say your samba 'works', are you also running with samba configured as
a domain server? Would you suspect many early installers of 11.4 would
be running domain servers?.... I'd say the odds were less than 25%.



Try to run:
rpm -V samba libtalloc2
---
rpm -V samba libtalloc2
S.5....T. c /etc/samba/smbusers
SM5....T. c /etc/xinetd.d/swat
......G.. /var/lib/samba/profiles
....L.... /usr/lib64/libtalloc.so.2
----
The link is the one I created trying to work-around the problem
(usually the libs are installed as lib.X.Y.Z and symlinks point to the lib,
but this one wasn't even though it's really libtalloc.so.2.0.1 and should
have symlinks AFAIK for libtalloc.so.2.0 and libtalloc.so.2 pointing to the
real thing. Hmm....

---
nmbd isn't asking for libtalloc
Ishtar:/usr/lib64> readelf -d /usr/sbin/nmbd
Dynamic section at offset 0x380870 contains 34 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libresolv.so.2]
0x0000000000000001 (NEEDED) Shared library: [libnsl.so.1]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libwbclient.so.0]
0x0000000000000001 (NEEDED) Shared library: [libpopt.so.0]
0x0000000000000001 (NEEDED) Shared library: [libgssapi_krb5.so.2]
0x0000000000000001 (NEEDED) Shared library: [libkrb5.so.3]
0x0000000000000001 (NEEDED) Shared library: [libk5crypto.so.3]
0x0000000000000001 (NEEDED) Shared library: [libcom_err.so.2]
0x0000000000000001 (NEEDED) Shared library: [libldap-2.4.so.2]
0x0000000000000001 (NEEDED) Shared library: [liblber-2.4.so.2]
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
....
------------------------------------------

How it compiles without error, is very confusing...AH...
did libwbclient.so move from /lib64 to /usr/lib64 at some point?

I had a libwbclient.so in /lib64 that belonged to no package.

removing it...nmbd now loads (and immediately exits...
so have some more tracking.....

If this is fine, open a bugreport.
---
Probably should against the source rpm as it won't build, in any event...as for any thing else...

will keep digging (slowly...)....


Ciao, Marcus

Sayounara, Linda
:-)


--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >