Project

General

Profile

Actions

Bug #21622

closed

Cannot build .deb's on ARM

Added by Konstantin Salnikov over 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
build
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I'm trying to build debs from sources on arm board and build process fails.
My ARM board is a Odroid HC1, Ubuntu xenial

root@plk-sr0046-013-dm:~/ceph# uname -a
Linux plk-sr0046-013-dm 4.9.44-54 #1 SMP PREEMPT Sun Aug 20 20:24:08 UTC 2017 armv7l armv7l armv7l GNU/Linux

What i do:

git clone -b luminous https://github.com/ceph/ceph.git
cd ceph
./install-deps.sh
./make-debs.sh

and i dot an error:

make[8]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb'
[100%] Built target rocksdb
make[7]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb'
make[6]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb'
make[5]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb'
cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb && /usr/bin/cmake -E touch /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-build
[ 16%] Performing install step for 'rocksdb_ext'
cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb && true
cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb && /usr/bin/cmake -E touch /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-install
[ 16%] Completed 'rocksdb_ext'
cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E make_directory /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/CMakeFiles
cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E touch /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/CMakeFiles/rocksdb_ext-complete
cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src && /usr/bin/cmake -E touch /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-done
make[4]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf'
[ 16%] Built target rocksdb_ext
[ 16%] Linking CXX static library ../../lib/libosdc.a
cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/osdc && /usr/bin/cmake -P CMakeFiles/osdc.dir/cmake_clean_target.cmake
cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf/src/osdc && /usr/bin/cmake -E cmake_link_script CMakeFiles/osdc.dir/link.txt --verbose=1
/usr/bin/ar qc ../../lib/libosdc.a  CMakeFiles/osdc.dir/Filer.cc.o CMakeFiles/osdc.dir/ObjectCacher.cc.o CMakeFiles/osdc.dir/Objecter.cc.o CMakeFiles/osdc.dir/Striper.cc.o
/usr/bin/ranlib ../../lib/libosdc.a
make[4]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf'
[ 16%] Built target osdc
make[3]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf'
Makefile:141: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16/obj-arm-linux-gnueabihf'
        cd /tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16
dh_auto_build: make -j4 returned exit code 2
debian/rules:40: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/tmp/release/Ubuntu/WORKDIR/ceph-12.2.1-62-gae9de16'
debian/rules:33: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Files

output.txt.gz (132 KB) output.txt.gz gzipped output Anonymous, 12/30/2017 04:48 PM
Actions

Also available in: Atom PDF