Project

General

Profile

Actions

Bug #14832

closed

configure flag dependencies/inconsistensies

Added by Bjørnar Ness about 8 years ago. Updated almost 7 years ago.

Status:
Won't Fix
Priority:
Low
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
build configure
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I am working on a buildroot package (using 10.0.3 atm), and have found
some problems with configure flag dependencies. I am not entirely
sure about dependencies, but afaik ceph-osd does not depend on rados
or radosstriper, but this is the output of build with different flags:

  1. --with-osd --with-nss --without-"everything"
      CXXLD    ceph-dencoder
    test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<journal::Entry>::decode(ceph::buffer::list, unsigned long)':
    /usr/src/ceph/src/test/encoding/ceph_dencoder.cc:112: undefined reference to `journal::Entry::decode(ceph::buffer::list::iterator&)'
    test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<journal::Entry>::dump(ceph::Formatter*)':
    /usr/src/ceph/src/test/encoding/ceph_dencoder.cc:128: undefined reference to `journal::Entry::dump(ceph::Formatter*) const'
    test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderBase<journal::Entry>::generate()':
    /usr/src/ceph/src/test/encoding/ceph_dencoder.cc:131: undefined reference to `journal::Entry::generate_test_instances(std::list<journal::Entry*, std::allocator<journal::Entry*> >&)'
    test/encoding/ceph_dencoder-ceph_dencoder.o: In function `DencoderImplNoFeatureNoCopy<journal::Entry>::encode(ceph::buffer::list&, unsigned long)':
    /usr/src/ceph/src/test/encoding/ceph_dencoder.cc:160: undefined reference to `journal::Entry::encode(ceph::buffer::list&) const'
    
  2. --with-osd --with-rados --with-nss --without-"everything"
    make[3]: Entering directory `/usr/src/ceph/src'
    ./make_version -g ./.git_version
    if [ -n "$NO_VERSION" ] ; then \
                    ./make_version -g ./.git_version -c ./ceph_ver.h -n ; \
            else \
                    ./make_version -g ./.git_version -c ./ceph_ver.h ; \
            fi
      CXXLD    rados
    g++: error: ./.libs/libradosstriper.so: No such file or directory
    
  3. --with-osd --with-rados --with-radosstriper --with-nss --without-"everything"
    /usr/src/ceph/src/os/bluestore/BlueStore.cc:1263: undefined reference to `rocksdb::Env::Default()'
    
  4. --with-osd --with-rados --with-radosstriper --with-librocksdb-static --with-nss --without-"everything"
    => build ok
    
Actions #1

Updated by Kefu Chai about 8 years ago

  • Description updated (diff)
Actions #2

Updated by Sage Weil almost 7 years ago

  • Status changed from New to Won't Fix

cmake has repalced autotools

Actions

Also available in: Atom PDF