Just a quick update...
On Fri, Dec 18, 2015 at 12:56 PM, Nathan Dauchy wrote:
> On Fri, Dec 18, 2015 at 12:40 PM, Thomas LEIBOVICI wrote:
>
>> strlcpy seams to be correctly defined in liblustreapi of all 2.x versions
>> we checked. But not this 2.5.39-ddn6.
>> I suggest you report this linking issue to you DDN support.
>>
>>
> Thomas,
>
> Thanks for your guidance. I have opened a ticket with DDN as you
> suggested. I also tested the last CentOS-6.6 kernel and it had the same
> problem. Now testing lustre-2.7.0 to further narrow down the source of the
> problem.
>
> I'll report back on results and (hopefully) a solution.
>
No final solution yet, still working with DDN to resolve the robinhood
build problem with their release, but I did successfully build lustre-2.7.0
and robinhood (including changelogs) appears to be working fine against
that.
Cheers,
Nathan
>
>> Le 18/12/2015 02:36, Nathan Dauchy - NOAA Affiliate wrote:
>>
>> Greetings Everyone,
>>
>> We are trying to get to the latest-and-greatest (stable) versions and
>> running into compilation problems. Any ideas of where to look for a
>> solution would be appreciated! Using the following combination, Robinhood
>> does not build with lustre or changelog support:
>>
>> CentOS-6.7
>> kernel-2.6.32-573.12.1.el6.x86_64
>> lustre-2.5.39-ddn6
>> robinhood-2.5.5-2
>>
>> The error was first identified with:
>>
>> [root@sherwood ~]# robinhood --version
>>
>> Product: robinhood
>> Version: 2.5.5-2
>> Build: 2015-12-17 22:07:33
>>
>> Compilation switches:
>> Temporary filesystem manager
>> Address entries by path
>> MDT Changelogs disabled
>>
>> No Lustre support
>> Database binding: MySQL
>>
>>
>> Here is how Lustre and Robinhood were built:
>>
>> # yum localinstall
>> lustre-source-2.5.39-ddn6_2.6.32_504.30.3.el6_lustre.ddn1.x86_64_g4b5fd9f.x86_64.rpm
>> # cd /usr/src/lustre-2.5.39
>> # ./configure --with-linux=/usr/src/kernels/`uname -r` --disable-server
>> --enable-quota --enable-mpitests=no
>> # make -j 24 rpms
>> # cd /root/rpmbuild/RPMS/x86_64/
>> # rpm -Uvh lustre-client{,-modules,-debuginfo}-2.*.rpm
>> # shutdown -r now
>>
>> # cd ~/robinhood-2.5.5
>> # ./configure --with-purpose=TMPFS --with-lustre=/usr/src/lustre-2.5.39
>> # make rpm
>> # rpm -Uvh rpms/RPMS/x86_64/robinhood-*.rpm
>>
>>
>> The lustre support seems to be disabled after this test failing in the
>> Robinhood configure step, from the "config.log" file:
>>
>> configure:16008: checking for llapi_obd_statfs in -llustreapi
>> configure:16044: gcc -o conftest -g -O2
>> -I/usr/src/lustre-2.5.39/lustre/include
>> -L/usr/src/lustre-2.5.39/lustre/utils conftest.c -llustreapi >&5
>> /usr/src/lustre-2.5.39/lustre/utils/liblustreapi.so: undefined reference
>> to `strlcpy'
>> collect2: ld returned 1 exit status
>> configure:16051: $? = 1
>> ...
>> CHANGELOGS_FALSE=''
>> CHANGELOGS_TRUE='#'
>> ...
>> LUSTRE=''
>> LUSTRE_FALSE=''
>> LUSTRE_HSM_FALSE=''
>> LUSTRE_HSM_TRUE='#'
>> LUSTRE_TRUE='#'
>>
>>
>> I also tried a slightly older Lustre version (2.5.37-ddn7), but that had
>> the same problem. Rolling back the kernel is possible, but to be avoided
>> if at all possible so we can get the latest security fixes. My hope is
>> that there is a simple change to how we are building robinhood or lustre,
>> or a patch to one or the other, which will allow us to move forward.
>>
>> Thanks much for any suggestions!
>>
>> -Nathan
>>
>>
------------------------------------------------------------------------------
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support