[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Ceph-maintainers] Bug#850906: ceph FTBFS on armel, libtool/linker related issues.



peter green <plugwash@p10link.net> writes:

> Package: ceph
> Version: 10.2.5-5
> Severity: serious
> x-debbugs-cc: debian-arm@lists.debian.org
>
> The most recent upload of ceph fixed the build on most architectures but unfortunately armel is still failing.
>
> libtool: relink: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/arm-linux-gnueabi/6/../../../arm-linux-gnueabi/crti.o /usr/lib/gcc/arm-linux-gnueabi/6/crtbeginS.o  java/native/.libs/libcephfs_jni_la-libcephfs_jni.o java/native/.libs/libcephfs_jni_la-JniConstants.o  -Wl,--whole-archive ./.libs/libcommon.a -Wl,--no-whole-archive  -Wl,--as-needed -L/«PKGBUILDDIR»/debian/tmp/usr/lib/arm-linux-gnueabi -L/usr/lib/arm-linux-gnueabi -lcephfs -ldl -lboost_thread -lboost_random -lblkid -luuid -lrt -lboost_iostreams -lboost_system -L/usr/lib/gcc/arm-linux-gnueabi/6 -L/usr/lib/gcc/arm-linux-gnueabi/6/../../../arm-linux-gnueabi -L/usr/lib/gcc/arm-linux-gnueabi/6/../../.. -L/lib/arm-linux-gnueabi -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/arm-linux-gnueabi/6/crtendS.o /usr/lib/gcc/arm-linux-gnueabi/6/../../../arm-linux-gnueabi/crtn.o  -O2 -g -fstack-protector-strong -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,libcephfs_jni.so.1 -o .libs/libcephfs_jni.so.1.0.0
> /usr/bin/ld: /«PKGBUILDDIR»/debian/tmp/usr/lib/arm-linux-gnueabi/libcephfs.so: invalid string offset 50471 >= 3194 for section `.strtab'
> <--snip-->
> libtool: warning: remember to run 'libtool --finish /usr/lib/arm-linux-gnueabi'
> make[5]: Leaving directory '/«PKGBUILDDIR»/src'
> Makefile:32173: recipe for target 'install-am' failed
> make[4]: *** [install-am] Error 2
> make[4]: Leaving directory '/«PKGBUILDDIR»/src'
> Makefile:30865: recipe for target 'install-recursive' failed
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory '/«PKGBUILDDIR»/src'
> Makefile:32167: recipe for target 'install' failed
> make[2]: *** [install] Error 2
> make[2]: Leaving directory '/«PKGBUILDDIR»/src'
> Makefile:703: recipe for target 'install-recursive' failed
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory '/«PKGBUILDDIR»'
> dh_auto_install: make -j4 install DESTDIR=/«PKGBUILDDIR»/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
> debian/rules:73: recipe for target 'binary-arch' failed
>
> This seems like a rather strange error, putting debian-arm in cc in
> case anyone there has any ideas.

I have seen these warnings (invalid string offset 50471 >= 3194 for
section `.strtab') too. I don't know what causes them and if they are
serious.

But the actual build failure is somewhere else further up in the log. It
has to do with running make install in parallel. If I disable parallel
execution for the dh_auto_install step, the package builds fine at least
on the armel porterbox. I'll do another upload with this fix.

Gaudenz
-- 
PGP: 836E 4F81 EFBB ADA7 0852 79BF A97A 7702 BAF9 1EF5

Attachment: signature.asc
Description: PGP signature


Reply to: