Re: v0.42 not compiling .deb's (but v0.41 can)

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

 



On Tue, Feb 21, 2012 at 00:05, Paul Pettigrew
<Paul.Pettigrew@xxxxxxxxxxx> wrote:
> Looking forward to upgrading our Ceph cluster from v0.41 to v0.42, started to compile the .deb packages per the procedure below (see end of email).
[grab a clean source]
> dpkg-buildpackage -j16
...
> However, the same server (Ubuntu 12.04 x64) that successfully produced v0.41 is giving the below now with v0.42:
> libtool: install: (cd /usr/src/ceph/git-ceph_v0.42/v0.42/src; /bin/bash /usr/src/ceph/git-ceph_v0.42/v0.42/libtool  --silent --tag CXX --mode=relink g++ -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -rdynamic -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -fno-strict-aliasing -DCEPH_LIBDIR=\"/usr/lib\" -Wnon-virtual-dtor -Wno-invalid-offsetof -Wstrict-null-sentinel -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -version-info 1:0:0 -lpthread -lm -lcrypto++ -luuid -lrt -lexpat -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro -o librgw.la -rpath /usr/lib librgw_la-librgw.lo librgw_la-rgw_acl.lo librgw_la-rgw_xml.lo librados.la -inst-prefix-dir /usr/src/ceph/git-ceph_v0.42/v0.42/debian/tmp)
> ./.libs/librgw.so: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make[5]: *** [radosgw-admin] Error 1
> make[5]: *** Waiting for unfinished jobs....
> ./.libs/librgw.so: file not recognized: File format not recognized

Like Florian, -j4 worked fine for me. Our automated builds are -j10.

I've seen libtool get confused very much like that when it's not a
clean build, but your list of commands explicitly started with a clean
tree.

Perhaps this was a case of a cosmic ray flipping a bit in RAM and
actually corrupting that file. Is the build failure reproducible? It
might be a timing error, so not 100% reproducible, but if you e.g.
leave that running in a loop for a few hours, do you see any failures?
And if so, does e.g. a regular kernel compile also fail sometimes?

http://www.bitwizard.nl/sig11/
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux