All of lore.kernel.org
 help / color / mirror / Atom feed
* rpm dependencies
@ 2014-07-15  4:39 Sage Weil
  2014-07-15 14:18 ` Luis Pabón
  2014-07-15 19:02 ` Luis Pabón
  0 siblings, 2 replies; 4+ messages in thread
From: Sage Weil @ 2014-07-15  4:39 UTC (permalink / raw)
  To: lpabon, ceph-devel

Hey Luis,

I pushed wip-dencoder, which moves ceph-dencoder to ceph from ceph-common.  
This avoids the dependency for ceph-common.

For the librados2 package, though, there is still a leveldb dependency 
that makes no sense.  See the packages at

 http://gitbuilder.ceph.com/ceph-rpm-rhel6_5-x86_64-basic/ref/wip-dencoder/x86_64/

 $ wget http://gitbuilder.ceph.com/ceph-rpm-rhel6_5-x86_64-basic/ref/wip-dencoder/x86_64/librados2-0.82-595.g95f5a44.el6.x86_64.rpm
 $ rpm -qpR librados2-0.82-595.g95f5a44.el6.x86_64.rpm | grep level
 warning: librados2-0.82-595.g95f5a44.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 03c3951a: NOKEY
 libleveldb.so.1()(64bit)
 $ rpm2cpio librados2-0.82-595.g95f5a44.el6.x86_64.rpm | cpio -i --make-directories
 ...
 $ ldd usr/lib/librados2.so.2 | grep -c leveldb
 1

Our Makefile.am doesn't specify that we link against leveldb for librados, 
although strangely it is listed in the librados.la file anyway (along with 
every other lib anything links against).  Despite this, ldd 
.libs/librados.so on my (debian) box doesn't list it when building 
locally.

The Makefile-env.am has --as-needed, which is supposed to make us only use 
dependencies we actually use.

Not sure what is going on with the RPM build that is putting this 
dependency in place...

Any idea what is going on?  :/

sage

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-18  4:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-15  4:39 rpm dependencies Sage Weil
2014-07-15 14:18 ` Luis Pabón
2014-07-15 19:02 ` Luis Pabón
2014-07-18  4:58   ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.