From: Loic Dachary <loic@dachary.org>
To: Jai <jai_97@rediffmail.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: make error while building ceph
Date: Tue, 1 Mar 2016 00:34:32 +0700 [thread overview]
Message-ID: <56D48128.8020701@dachary.org> (raw)
In-Reply-To: <CAPpuMWxo-qSeMyiv2eMNhbM-5=dp-+eQOxqvH_yZUNCenfDQUg@mail.gmail.com>
It appears to be a problem with your installation: the compiler's not working as it should ?
On 01/03/2016 00:13, Jai wrote:
> That was the output from make.
> ps shows the actual compilation command as --
>
> jai 2822 2821 3 19:47 pts/0 00:05:09
> /usr/libexec/gcc/x86_64-redhat-linux/4.8.5/cc1plus -quiet -I . -I
> /usr/include/nss3 -I /usr/include/nspr4 -MD
> test/encoding/ceph_dencoder-ceph_dencoder.d -MF
> test/encoding/.deps/ceph_dencoder-ceph_dencoder.Tpo -MP -MT
> test/encoding/ceph_dencoder-ceph_dencoder.o -D_GNU_SOURCE -D
> HAVE_CONFIG_H -D __CEPH__ -D _FILE_OFFSET_BITS=64 -D _THREAD_SAFE -D
> __STDC_FORMAT_MACROS -D _GNU_SOURCE -D CEPH_LIBDIR="/usr/local/lib" -D
> CEPH_PKGLIBDIR="/usr/local/lib/ceph" -D GTEST_USE_OWN_TR1_TUPLE=0 -D
> _REENTRANT -D WITH_RBD -D WITH_RADOSGW -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=2 test/encoding/ceph_dencoder.cc -quiet -dumpbase
> ceph_dencoder.cc -mtune=generic -march=x86-64 -auxbase-strip
> test/encoding/ceph_dencoder-ceph_dencoder.o -g -g -O2 -O2
> -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith
> -Wnon-virtual-dtor -Wno-invalid-offsetof -Wall -Wstrict-null-sentinel
> -std=gnu++11 -fno-strict-aliasing -fsigned-char -ftemplate-depth=1024
> -fexceptions -fPIE -fstack-protector -fno-builtin-malloc
> -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
> -fno-var-tracking-assignments --param ssp-buffer-size=4 -o -
>
> It appears to be stuck in strcmp in libc.
>
> gstack 2822
> #0 0x00007f57bd9b3006 in __strcmp_sse42 () from /lib64/libc.so.6
> #1 0x000000000096447c in ?? ()
> #2 0x0000000000dcd027 in htab_find_slot_with_hash ()
> #3 0x000000000096b3b1 in ?? ()
> #4 0x000000000098b741 in ?? ()
> #5 0x0000000000e2f626 in ?? ()
> #6 0x0000000000e3005c in toplev_main(int, char**) ()
> #7 0x00007f57bd8a2b15 in __libc_start_main () from /lib64/libc.so.6
> #8 0x0000000000dceaad in _start ()
>
> On Mon, Feb 29, 2016 at 8:45 PM, Loic Dachary <loic@dachary.org> wrote:
>>
>>
>> On 29/02/2016 21:34, Jai wrote:
>>> Loic,
>>>
>>> With centos 7, I ve moved further .. The build is stuck however at this --
>>>
>>> ./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
>>> CXX test/encoding/ceph_dencoder-ceph_dencoder.o
>>>
>>> I ve tried restarting the make a few times after cleaning up, but it
>>> comes back to this point. Could this be a failed/hung test ?
>>
>> I'm not sure, it looks like the compilation is not finished yet and the tests did not start. Could you provide details about what is stuck ?
>>
>> Cheers
>>
>>>
>>> --
>>> Jai
>>>
>>> On Sun, Feb 28, 2016 at 4:39 PM, Loic Dachary <loic@dachary.org> wrote:
>>>> Hi,
>>>>
>>>> Ubuntu 12.04 is no longer supported, reason why you're having troubles. I recommend CentOS 7 or Ubunut 14.04 instead.
>>>>
>>>> Cheers
>>>>
>>>> On 28/02/2016 17:55, Jai wrote:
>>>>> Loic,
>>>>>
>>>>> I did run install-deps before the make, and it completed without
>>>>> error. I have an Ubuntu (1204) VM (uname shows 3.5.0-30-generic
>>>>> #51~precise1-Ubuntu)
>>>>>
>>>>> I ran these as per the README --
>>>>> ./install-deps.sh
>>>>> ./autogen.sh
>>>>> ./configure
>>>>> make
>>>>>
>>>>> I found the bugs link on http://ceph.com/community/contribute/ under
>>>>> "submit issues"
>>>>>
>>>>> --
>>>>> Jai
>>>>>
>>>>> On Sun, Feb 28, 2016 at 4:18 PM, Loic Dachary <loic@dachary.org> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> You should try to run ./install-deps.sh first so that the required dependencies are all installed. Which operating system are you using ?
>>>>>> The bug tracker is at http://tracker.ceph.com/. Where did you find a link to http://tracker.newdream.net/projects/ceph ? It should be fixed :-)
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>> On 28/02/2016 17:29, Jai wrote:
>>>>>>> I followed instructions in the README, but "make" gives me this error --
>>>>>>>
>>>>>>> In file included from ./include/types.h:21:0,
>>>>>>> from kv/LevelDBStore.h:6,
>>>>>>> from kv/KeyValueDB.cc:5:
>>>>>>> ./include/uuid.h:14:42: fatal error: boost/random/random_device.hpp:
>>>>>>> No such file or directory
>>>>>>> compilation terminated.
>>>>>>>
>>>>>>> I m compiling on ubuntu, and it looks like I have boost headers
>>>>>>> (/usr/include/boost), but this file is absent. llibboost appears to be
>>>>>>> 1.46.1
>>>>>>> appreciate any pointers to resolve this error.
>>>>>>>
>>>>>>> Also, I couldn't access the web page for bugs
>>>>>>> (http://tracker.newdream.net/projects/ceph) - where can I find a list
>>>>>>> of bugs/ features ?
>>>>>>> --
>>>>>>> Jai
>>>>>>> --
>>>>>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Loïc Dachary, Artisan Logiciel Libre
>>>>>
>>>>
>>>> --
>>>> Loïc Dachary, Artisan Logiciel Libre
>>>
>>
>> --
>> Loïc Dachary, Artisan Logiciel Libre
>
--
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-02-29 17:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-28 10:29 make error while building ceph Jai
2016-02-28 10:48 ` Loic Dachary
2016-02-28 10:55 ` Jai
2016-02-28 11:09 ` Loic Dachary
2016-02-29 14:34 ` Jai
2016-02-29 15:15 ` Loic Dachary
2016-02-29 17:13 ` Jai
2016-02-29 17:34 ` Loic Dachary [this message]
2016-03-01 13:45 ` Daniel Gryniewicz
2016-03-01 14:39 ` Jai
2016-03-01 20:15 ` Nathan Cutler
2016-03-02 2:59 ` Jai
2016-03-02 4:07 ` David Zafman
2016-03-02 4:19 ` Robert LeBlanc
2016-03-02 6:40 ` Jai
2016-03-04 9:58 ` Jai
2016-03-04 10:53 ` John Spray
2016-03-04 18:44 ` Jai
2016-03-09 9:17 ` Jai
2016-03-30 20:59 ` Noah Watkins
2016-03-30 22:18 ` Josh Durgin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56D48128.8020701@dachary.org \
--to=loic@dachary.org \
--cc=ceph-devel@vger.kernel.org \
--cc=jai_97@rediffmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox