[Samba] RHEL 5 compilation of Samba 3.5.2, termcap library problem, use '--no-as-needed'

Nico Kadel-Garcia nkadel at gmail.com
Thu Apr 15 04:48:56 MDT 2010

On Thu, Apr 15, 2010 at 5:51 AM, Björn Jacke <bj at sernet.de> wrote:
> On 2010-04-14 at 18:48 -0400 Nico Kadel-Garcia sent off:
>> Can you publish the actual SRPM built for RHEL 5, or explain how you
>> were able to compile this package for RHEL 5?
> that SRPM that Volker mentioned is the correct SRPM. There is no different
> SRPM. The fact that you see a different distribution tag there is because the
> spec file does not know how the src.rpm that it was extracted from was named
> and the distribution tag is generated at built time.  For that reason, if you
> take a look at any of the binary RPMs on ftp.sernet.de you'll see on each
> distibution package set that it was built from it's own distribution specific
> spec file. It might be that compilation of the srpm is not as trivialized as it
> might be. If you have any suggestions or fixes availabe to make it work on your
> flavour or patchlevel of RHEL5 you're welcome to send us them so that we can
> incorporate them and make compilation from the srpm also for other
> people even more convenient.
> Cheers
> Björn

It's cool. Where I'm working these days, I have to be really careful
about software provenance.

I remain confused that the RPM's you publish all have something like
this in their 'rpm -qi' information. Notice that the 'Source RPM' they
lise is not the suse91 SRPM, it's an 'el5' SRPM. I assume this is
because you're doing your builds for RHEL with a tool like 'mock',
that first rebuilds the SRPM you are working from as a new SRPM
precisely to get tags and PGP signatures right, then builds the RPM's
from that.

$ rpm -qip ldb-tools-3.5.2-43.el5.x86_64.rpm
warning: ldb-tools-3.5.2-43.el5.x86_64.rpm: Header V4 DSA signature:
NOKEY, key ID f4428b1a
Name        : ldb-tools                    Relocations: (not relocatable)
Version     : 3.5.2                             Vendor: Service
Network GmbH, Goettingen
Release     : 43.el5                        Build Date: Tue 06 Apr
2010 07:37:55 AM EDT
Install Date: (not installed)               Build Host: sam
Group       : Productivity/Networking/Samba   Source RPM:
Size        : 11378307                         License: GPL v3 or later
Signature   : DSA/SHA1, Tue 06 Apr 2010 09:38:12 AM EDT, Key ID d9921b1cf4428b1a
Packager    : SerNet Samba Team <Samba at SerNet.DE>
URL         : http://www.samba.org
Summary     : SerNet Samba ldb tools
Description :
This packages contains the tools to manage ldb databases

More information about the samba mailing list