[prev in list] [next in list] [prev in thread] [next in thread]
List: lustre-discuss
Subject: Re: [lustre-discuss] Error while building Lustre on CentOS 7
From: Colin Faber <cfaber () gmail ! com>
Date: 2018-10-18 19:52:45
Message-ID: CAJcXmBnU9Ass5LFLkLZEACw=VW2i5uKota55DSQpRed=7Xwadg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks Andreas!
On Thu, Oct 18, 2018, 12:56 PM Andreas Dilger <adilger@whamcloud.com> wrote:
> On Oct 18, 2018, at 11:20, Colin Faber <cfaber@gmail.com> wrote:
> >
> > Is there a build compatibility table you guys have kicking around some
> place?
> >
> > I.e. lustre version XXX builds against ZoL YYY
>
>
> The compatibility matrix is listed in the lustre/ChangeLog file for each
> release:
>
> * version 2.11.0
> * See https://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix
> for currently supported client and server kernel versions.
> * Server known to build on patched kernels:
> 2.6.32-431.29.2.el6 (RHEL6.5)
> 2.6.32-504.30.3.el6 (RHEL6.6)
> 2.6.32-573.26.1.el6 (RHEL6.7)
> 2.6.32-642.15.1.el6 (RHEL6.8)
> 2.6.32-696.18.7.el6 (RHEL6.9)
> 3.10.0-693.21.1.el7 (RHEL7.4)
> 3.0.101-0.47.71 (SLES11 SP3)
> 3.0.101-107 (SLES11 SP4)
> 3.12.74-60.64.40 (SLES12 SP1)
> 4.4.114-92.64 (SLES12 SP2)
> 4.4.114-94.11 (SLES12 SP3)
> 3.13.0-101 (Ubuntu 14.04, ZFS only)
> 4.4.0-85.108 (Ubuntu 14.04.5 LTS)
> 4.4.0-116 (Ubuntu 16.04)
> vanilla linux 4.6.7 (ZFS only)
> * Recommended ZFS / SPL version: 0.7.9
>
> We should probably remove the RHEL6.x versions (or at least the older ones
> that we aren't actually testing).
>
> I also updated
> https://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix
> to indicate the ZFS versions used with each release. We recommend using
> the
> "close to latest" ZFS version, but there have been a few recent ZFS
> releases that have serious bugs, so we've been keeping a bit behind on the
> ZFS updates until it has seen a few weeks of outside usage.
>
> Cheers, Andreas
>
> > On Sat, Oct 13, 2018 at 4:40 AM Andreas Dilger <adilger@whamcloud.com>
> wrote:
> > There is a build breakage with Lustre and ZFS 0.7.10/0.7.11. There is
> a patch in
> > Gerrit that fixed this build issue for master, and there is a patch
> landed in ZFS
> > Git that also fixes this issue.
> >
> > That said, both ZFS 0.7.10 and 0.7.11 have serious bugs and should not
> be used.
> >
> > Also note that Lustre 2.11.56 is a development version and should only
> be used
> > for testing.
> >
> > Cheers, Andreas
> >
> > On Oct 13, 2018, at 00:04, Oscar Gatamah <gatamah@gmail.com> wrote:
> >
> >> I am trying to build Lustre. When I run ‘make rpms' I the errors shown
> below.
> >>
> >> [root@localhost lustre-release-5f4ca70]# make rpms
> >> ...
> >> ...
> >> ...
> >>
> >> CC: gcc
> >> LD: /usr/bin/ld -m elf_x86_64
> >> CPPFLAGS: -include
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/undef.h -include
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/config.h
> -I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/libcfs/include
> -I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lnet/include
> -I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lnet/include/uapi
> -I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/include
> -I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/include/uapi
>
> >> CFLAGS: -g -O2 -Werror -Wall -Werror
> >> EXTRA_KCFLAGS: -include
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/undef.h -include
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/config.h -g
> -I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/libcfs/include
> -I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lnet/include
> -I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/include
> -Wno-format-truncation
> >>
> >> Type 'make' to build Lustre.
> >> + make -s
> >> Making all in .
> >>
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:
> In function '__osd_attr_init':
> >>
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:1522:2:
> error: unknown type name 'timestruc_t'
> >> timestruc_t now;
> >> ^
> >>
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:1532:2:
> error: passing argument 1 of 'gethrestime' from incompatible pointer type
> [-Werror]
> >> gethrestime(&now);
> >> ^
> >> In file included from /usr/src/spl-0.7.11/include/sys/condvar.h:34:0,
> >> from /usr/src/spl-0.7.11/include/sys/t_lock.h:31,
> >> from /usr/src/zfs-0.7.11/include/sys/zfs_context.h:35,
> >> from /usr/src/zfs-0.7.11/include/sys/arc.h:30,
> >> from
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_internal.h:51,
> >> from
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:49:
> >> /usr/src/spl-0.7.11/include/sys/time.h:70:1: note: expected 'struct
> inode_timespec_t *' but argument is of type 'int *'
> >> gethrestime(inode_timespec_t *ts)
> >> ^
> >> In file included from
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_internal.h:53:0,
> >> from
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:49:
> >> /usr/src/zfs-0.7.11/include/sys/zfs_znode.h:278:28: error: request for
> member 'tv_sec' in something not a structure or union
> >> (stmp)[0] = (uint64_t)(tp)->tv_sec; \
> >> ^
> >>
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:1533:2:
> note: in expansion of macro 'ZFS_TIME_ENCODE'
> >> ZFS_TIME_ENCODE(&now, crtime);
> >> ^
> >> /usr/src/zfs-0.7.11/include/sys/zfs_znode.h:279:28: error: request for
> member 'tv_nsec' in something not a structure or union
> >> (stmp)[1] = (uint64_t)(tp)->tv_nsec; \
> >> ^
> >>
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:1533:2:
> note: in expansion of macro 'ZFS_TIME_ENCODE'
> >> ZFS_TIME_ENCODE(&now, crtime);
> >> ^
> >>
> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:
> At top level:
> >> cc1: error: unrecognized command line option "-Wno-format-truncation"
> [-Werror]
> >> cc1: all warnings being treated as errors
> >> make[7]: ***
> [/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.o]
> Error 1
> >> make[6]: ***
> [/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs]
> Error 2
> >> make[5]: ***
> [/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre] Error 2
> >> make[4]: ***
> [_module_/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56] Error 2
> >> make[3]: *** [modules] Error 2
> >> make[2]: *** [all-recursive] Error 1
> >> make[1]: *** [all] Error 2
> >> error: Bad exit status from
> /tmp/rpmbuild-lustre-test-OuOkY4qB/TMP/rpm-tmp.qA8OfS (%build)
> >>
> >> RPM build errors:
> >> Macro %with_gss has empty body
> >> Bad exit status from
> /tmp/rpmbuild-lustre-test-OuOkY4qB/TMP/rpm-tmp.qA8OfS (%build)
> >> make: *** [rpms] Error 1
> >>
> >> Regards,
> >>
> >> —
> >> Oscar Gatamah
> >>
> >> _______________________________________________
> >> lustre-discuss mailing list
> >> lustre-discuss@lists.lustre.org
> >> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
> > _______________________________________________
> > lustre-discuss mailing list
> > lustre-discuss@lists.lustre.org
> > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>
> Cheers, Andreas
> ---
> Andreas Dilger
> CTO Whamcloud
>
>
>
>
>
[Attachment #5 (text/html)]
<div dir="auto">Thanks Andreas!</div><br><div class="gmail_quote"><div dir="ltr">On \
Thu, Oct 18, 2018, 12:56 PM Andreas Dilger <<a \
href="mailto:adilger@whamcloud.com">adilger@whamcloud.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Oct 18, 2018, at 11:20, Colin \
Faber <<a href="mailto:cfaber@gmail.com" target="_blank" \
rel="noreferrer">cfaber@gmail.com</a>> wrote:<br> > <br>
> Is there a build compatibility table you guys have kicking around some \
place?<br> > <br>
> I.e. lustre version XXX builds against ZoL YYY<br>
<br>
<br>
The compatibility matrix is listed in the lustre/ChangeLog file for each release:<br>
<br>
* version 2.11.0<br>
* See <a href="https://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix" \
rel="noreferrer noreferrer" \
target="_blank">https://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix</a><br>
for currently supported client and server kernel versions.<br>
* Server known to build on patched kernels:<br>
2.6.32-431.29.2.el6 (RHEL6.5)<br>
2.6.32-504.30.3.el6 (RHEL6.6)<br>
2.6.32-573.26.1.el6 (RHEL6.7)<br>
2.6.32-642.15.1.el6 (RHEL6.8)<br>
2.6.32-696.18.7.el6 (RHEL6.9)<br>
3.10.0-693.21.1.el7 (RHEL7.4)<br>
3.0.101-0.47.71 (SLES11 SP3)<br>
3.0.101-107 (SLES11 SP4)<br>
3.12.74-60.64.40 (SLES12 SP1)<br>
4.4.114-92.64 (SLES12 SP2)<br>
4.4.114-94.11 (SLES12 SP3)<br>
3.13.0-101 (Ubuntu 14.04, ZFS only)<br>
4.4.0-85.108 (Ubuntu 14.04.5 LTS)<br>
4.4.0-116 (Ubuntu 16.04)<br>
vanilla linux 4.6.7 (ZFS only)<br>
* Recommended ZFS / SPL version: 0.7.9<br>
<br>
We should probably remove the RHEL6.x versions (or at least the older ones that we \
aren't actually testing).<br> <br>
I also updated <a href="https://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix" \
rel="noreferrer noreferrer" \
target="_blank">https://wiki.whamcloud.com/display/PUB/Lustre+Support+Matrix</a><br> \
to indicate the ZFS versions used with each release. We recommend using the<br> \
"close to latest" ZFS version, but there have been a few recent ZFS \
releases that have serious bugs, so we've been keeping a bit behind on the ZFS \
updates until it has seen a few weeks of outside usage.<br> <br>
Cheers, Andreas<br>
<br>
> On Sat, Oct 13, 2018 at 4:40 AM Andreas Dilger <<a \
href="mailto:adilger@whamcloud.com" target="_blank" \
rel="noreferrer">adilger@whamcloud.com</a>> wrote:<br> > There is a build \
breakage with Lustre and ZFS 0.7.10/<a href="http://0.7.11." rel="noreferrer \
noreferrer" target="_blank">0.7.11.</a> There is a patch in<br> > Gerrit that \
fixed this build issue for master, and there is a patch landed in ZFS<br> > Git \
that also fixes this issue. <br> > <br>
> That said, both ZFS 0.7.10 and 0.7.11 have serious bugs and should not be \
used.<br> > <br>
> Also note that Lustre 2.11.56 is a development version and should only be \
used<br> > for testing. <br>
> <br>
> Cheers, Andreas<br>
> <br>
> On Oct 13, 2018, at 00:04, Oscar Gatamah <<a href="mailto:gatamah@gmail.com" \
target="_blank" rel="noreferrer">gatamah@gmail.com</a>> wrote:<br> > <br>
>> I am trying to build Lustre. When I run ‘make rpms' I the errors shown \
below.<br> >> <br>
>> [root@localhost lustre-release-5f4ca70]# make rpms<br>
>> ...<br>
>> ...<br>
>> ...<br>
>> <br>
>> CC: gcc<br>
>> LD: /usr/bin/ld -m elf_x86_64<br>
>> CPPFLAGS: -include \
/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/undef.h -include \
/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/config.h \
-I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/libcfs/include \
-I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lnet/include \
-I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lnet/include/uapi \
-I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/include \
-I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/include/uapi <br> \
>> CFLAGS: -g -O2 -Werror -Wall -Werror<br> >> EXTRA_KCFLAGS: \
-include /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/undef.h -include \
/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/config.h -g \
-I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/libcfs/include \
-I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lnet/include \
-I/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/include \
-Wno-format-truncation<br> >> <br>
>> Type 'make' to build Lustre.<br>
>> + make -s<br>
>> Making all in .<br>
>> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c: \
In function '__osd_attr_init':<br> >> \
/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:1522:2: \
error: unknown type name 'timestruc_t'<br> >> timestruc_t \
now;<br> >> ^<br>
>> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:1532:2: \
error: passing argument 1 of 'gethrestime' from incompatible pointer type \
[-Werror]<br> >> gethrestime(&now);<br>
>> ^<br>
>> In file included from /usr/src/spl-0.7.11/include/sys/condvar.h:34:0,<br>
>> from \
/usr/src/spl-0.7.11/include/sys/t_lock.h:31,<br> >> \
from /usr/src/zfs-0.7.11/include/sys/zfs_context.h:35,<br> >> \
from /usr/src/zfs-0.7.11/include/sys/arc.h:30,<br> >> \
from /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_internal.h:51,<br>
>> from \
/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:49:<br>
>> /usr/src/spl-0.7.11/include/sys/time.h:70:1: note: expected 'struct \
inode_timespec_t *' but argument is of type 'int *'<br> >> \
gethrestime(inode_timespec_t *ts)<br> >> ^<br>
>> In file included from \
/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_internal.h:53:0,<br>
>> from \
/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:49:<br>
>> /usr/src/zfs-0.7.11/include/sys/zfs_znode.h:278:28: error: request for \
member 'tv_sec' in something not a structure or union<br> >> \
(stmp)[0] = (uint64_t)(tp)->tv_sec; \<br> >> \
^<br> >> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:1533:2: \
note: in expansion of macro 'ZFS_TIME_ENCODE'<br> >> \
ZFS_TIME_ENCODE(&now, crtime);<br> >> ^<br>
>> /usr/src/zfs-0.7.11/include/sys/zfs_znode.h:279:28: error: request for \
member 'tv_nsec' in something not a structure or union<br> >> \
(stmp)[1] = (uint64_t)(tp)->tv_nsec; \<br> >> \
^<br> >> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c:1533:2: \
note: in expansion of macro 'ZFS_TIME_ENCODE'<br> >> \
ZFS_TIME_ENCODE(&now, crtime);<br> >> ^<br>
>> /tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.c: \
At top level:<br> >> cc1: error: unrecognized command line option \
"-Wno-format-truncation" [-Werror]<br> >> cc1: all warnings being \
treated as errors<br> >> make[7]: *** \
[/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs/osd_object.o] \
Error 1<br> >> make[6]: *** \
[/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre/osd-zfs] Error 2<br> \
>> make[5]: *** \
[/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56/lustre] Error 2<br> >> \
make[4]: *** [_module_/tmp/rpmbuild-lustre-test-OuOkY4qB/BUILD/lustre-2.11.56] Error \
2<br> >> make[3]: *** [modules] Error 2<br>
>> make[2]: *** [all-recursive] Error 1<br>
>> make[1]: *** [all] Error 2<br>
>> error: Bad exit status from \
/tmp/rpmbuild-lustre-test-OuOkY4qB/TMP/rpm-tmp.qA8OfS (%build)<br> >> <br>
>> RPM build errors:<br>
>> Macro %with_gss has empty body<br>
>> Bad exit status from \
/tmp/rpmbuild-lustre-test-OuOkY4qB/TMP/rpm-tmp.qA8OfS (%build)<br> >> make: *** \
[rpms] Error 1<br> >> <br>
>> Regards,<br>
>> <br>
>> —<br>
>> Oscar Gatamah<br>
>> <br>
>> _______________________________________________<br>
>> lustre-discuss mailing list<br>
>> <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" \
rel="noreferrer">lustre-discuss@lists.lustre.org</a><br> >> <a \
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer \
noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
> _______________________________________________<br>
> lustre-discuss mailing list<br>
> <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" \
rel="noreferrer">lustre-discuss@lists.lustre.org</a><br> > <a \
href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer \
noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
<br>
Cheers, Andreas<br>
---<br>
Andreas Dilger<br>
CTO Whamcloud<br>
<br>
<br>
<br>
<br>
</blockquote></div>
_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic