Colin

No – we would usually recommend that people use the latest shipping version. We 
do test with zfs-master to catch build breakages before the next version ships 
(0.8 is in the works ATM, say) but we don’t actively go back and test with 
older releases.

Peter

From: lustre-discuss <[email protected]> on behalf of 
Colin Faber <[email protected]>
Date: Thursday, October 18, 2018 at 10:21 AM
To: Andreas Dilger <[email protected]>
Cc: lustre-discuss <[email protected]>
Subject: Re: [lustre-discuss] Error while building Lustre on CentOS 7

Is there a build compatibility table you guys have kicking around some place?

I.e. lustre version XXX builds against ZoL YYY

etc.



On Sat, Oct 13, 2018 at 4:40 AM Andreas Dilger 
<[email protected]<mailto:[email protected]>> wrote:
There is a build breakage with Lustre and ZFS 0.7.10/0.7.11.<http://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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
[email protected]<mailto:[email protected]>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to