Mailinglist Archive: opensuse-factory (710 mails)

< Previous Next >
Re: [opensuse-factory] broken samba-3.5.7 package in 11.4 (binary and source)
On Sunday, June 05, 2011 06:45:01 PM Linda Walsh wrote:
I'm not sure how this ever passed QA, but when I try to load
'nmbd', I get:

/usr/sbin/nmbd: symbol lookup error: /usr/sbin/nmbd: undefined symbol:

ldd -r shows a bunch of similar undefined symbols (shown further below).

my samba rpm is samba-3.5.7-1.17.1.x86_64.

In checking, I found:
lrwxrwxrwx 1 18 Jun 5 17:49 /usr/lib64/ ->* -rwxr-xr-x 1 43280 Mar 1 04:21

(Note: there was only, I moved it to it's 'real version',
and created the symlink to be consistent with other libs -- to see if that
would solve the problem (it didn't)).

looking at the lib,
# readelf -s|grep realloc
34: 0000000000000000 0 FUNC GLOBAL DEFAULT UND
realloc@GLIBC_2.2.5 (2) 49: 0000000000007000 47 FUNC GLOBAL
12 _talloc_realloc_array 62: 0000000000006ff0 7 FUNC GLOBAL
DEFAULT 12 talloc_realloc_fn 65: 0000000000006b80 1124 FUNC
DEFAULT 12 _talloc_realloc

I see the symbols.

When I try to load nmbd with ldd:
Ishtar:packages/rpms/x86_64> ldd /usr/sbin/nmbd => (0x00007fffe610a000) => /lib64/ (0x00007fa6d18db000) => /lib64/ (0x00007fa6d16c3000) => /lib64/ (0x00007fa6d14bf000) => /lib64/ (0x00007fa6d12a1000) => /lib64/ (0x00007fa6d1095000) => /usr/lib64/
(0x00007fa6d0e5f000) => /usr/lib64/
(0x00007fa6d0b94000) => /usr/lib64/
(0x00007fa6d096c000) => /lib64/
(0x00007fa6d0768000) => /usr/lib64/
(0x00007fa6d0521000) => /usr/lib64/
(0x00007fa6d0312000) => /lib64/ (0x00007fa6d00fa000) => /lib64/ (0x00007fa6cfd8d000)
/lib64/ (0x00007fa6d1af2000) => /usr/lib64/
(0x00007fa6cfb84000) => /lib64/
(0x00007fa6cf981000) => /lib64/
(0x00007fa6cf764000) => /usr/lib64/
(0x00007fa6cf549000) => /lib64/
(0x00007fa6cf2ed000) => /lib64/

I see no reference to 'libtalloc' -- why not??


Note, I then tried to build the package from source and had it fail in
multiple ways -- there's no way the source could build the binary -- the
spec has error in it.

It references:
vendor_tag=$( grep ^Release: ${RPM_SOURCE_DIR}/samba.spec | \...

"samba.spec" is in the "SPEC" dir along with other 'spec' files. How
could this build work on a standard system, while the source files are
in the RPM_SOURCE_DIR (sources/samba-3.5.7 on my system, sources on
standard). The spec file is NOT in the sources dir.

2) MAJOR FAIL in trying to build binaries & source packages:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/usr/src/packages/BUILDROOT/samba-3.5.7-1.17.1.x86_64 error: Installed
(but unpackaged) file(s) found:

RPM build errors:
Installed (but unpackaged) file(s) found:


So how could the source build if files are being left over?

Is some special rpm being used on build machines that ignores errors?

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?
Well, that would explain why I can't get Samba to work in 11.4 at all, when it
was rather easy in 11.3.
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >