Documentation #14070
closedadmin/build-doc fails to build because of -lrbd
0%
Description
On a virgin ubuntu 14.04 the hack to get the fake librbd does not appear to be working.
admin/build-doc Top Level States: ['RecoveryMachine'] New python executable in ./virtualenv/bin/python Installing setuptools, pip...done. Unpacking /opt/ceph/src/pybind Running setup.py (path:/tmp/pip-jxyi_l-build/setup.py) egg_info for package from file:///opt/ceph/src/pybind Installing collected packages: rbd Running setup.py install for rbd Compiling rbd.pyx because it changed. Cythonizing rbd.pyx building 'rbd' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -iquote /opt/ceph/build-doc/../src/include -iquote /opt/ceph/build-doc/../src/include -fPIC -I/usr/include/python2.7 -c rbd.c -o build/temp.linux-x86_64-2.7/rbd.o x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L./virtualenv/lib -Wl,--no-as-needed -iquote /opt/ceph/build-doc/../src/include -iquote /opt/ceph/build-doc/../src/include build/temp.linux-x86_64-2.7/rbd.o -lrbd -o build/lib.linux-x86_64-2.7/rbd.so /usr/bin/ld: cannot find -lrbd collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 Complete output from command /opt/ceph/build-doc/virtualenv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-jxyi_l-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-B6Kp8_-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/ceph/build-doc/virtualenv/include/site/python2.7: Compiling rbd.pyx because it changed. Cythonizing rbd.pyx running install running build running build_ext building 'rbd' extension creating build creating build/temp.linux-x86_64-2.7 x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -iquote /opt/ceph/build-doc/../src/include -iquote /opt/ceph/build-doc/../src/include -fPIC -I/usr/include/python2.7 -c rbd.c -o build/temp.linux-x86_64-2.7/rbd.o creating build/lib.linux-x86_64-2.7 x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -L./virtualenv/lib -Wl,--no-as-needed -iquote /opt/ceph/build-doc/../src/include -iquote /opt/ceph/build-doc/../src/include build/temp.linux-x86_64-2.7/rbd.o -lrbd -o build/lib.linux-x86_64-2.7/rbd.so /usr/bin/ld: cannot find -lrbd collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Cleaning up... Command /opt/ceph/build-doc/virtualenv/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-jxyi_l-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-B6Kp8_-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/ceph/build-doc/virtualenv/include/site/python2.7 failed with error code 1 in /tmp/pip-jxyi_l-build Storing debug log for failure in /root/.pip/pip.log
Updated by Josh Durgin over 8 years ago
Odd, this worked before on gitbuilder-doc, which I had to upgrade to trusty to get a recent cython. I'll check what's different when gitbuilder-doc is accessible again.
Updated by Nathan Cutler over 8 years ago
- Status changed from New to In Progress
- Assignee set to Nathan Cutler
Compared to what is documented at http://docs.ceph.com/docs/master/dev/generatedocs/#install-the-required-tools we now need the following additional packages to be installed in the documentation build environment: cython
and librbd-dev
.
Updated by Nathan Cutler over 8 years ago
- Tracker changed from Bug to Documentation
Note that this isn't a problem with gitbuilder-doc
. The problem is that the instructions in http://docs.ceph.com/docs/master/dev/generatedocs/ were not updated when https://github.com/ceph/ceph/commit/5113c962 was merged.
Updated by Nathan Cutler over 8 years ago
- Status changed from In Progress to 4
- Assignee changed from Nathan Cutler to Loïc Dachary
master PR: https://github.com/ceph/ceph/pull/6934
Updated by Nathan Cutler over 8 years ago
- Status changed from 4 to Resolved
- Assignee changed from Loïc Dachary to Nathan Cutler