beegfs client rebuild error on Ubuntu 20.04.4 LTS

178 views
Skip to first unread message

Timothy Yim

unread,
Mar 14, 2022, 5:46:34 AM3/14/22
to beegfs-user
hi,

  Found error on /etc/init.d/beegfs-client rebuild on Ubuntu 20.04.4 LTS.

  $ uname -r
5.13.0-30-generic

  Error messages:
$ sudo /etc/init.d/beegfs-client rebuild
[sudo] password for hpcadmin:
- BeeGFS module autobuild
Building beegfs client module
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/NetworkInterfaceCard.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../NetMessage.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../SimpleStringMsg.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/AckMsgEx.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
   24 |    struct timespec atime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
   25 |    struct timespec mtime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
   26 |    struct timespec ctime; // attrib change time (not creation time)
      |                    ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/os/atomic64.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
   24 |    struct timespec atime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
   25 |    struct timespec mtime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
   26 |    struct timespec ctime; // attrib change time (not creation time)
      |                    ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
   24 |    struct timespec atime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
   25 |    struct timespec mtime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
   26 |    struct timespec ctime; // attrib change time (not creation time)
      |                    ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
   24 |    struct timespec atime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
   25 |    struct timespec mtime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
   26 |    struct timespec ctime; // attrib change time (not creation time)
      |                    ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
   24 |    struct timespec atime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
   25 |    struct timespec mtime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
   26 |    struct timespec ctime; // attrib change time (not creation time)
      |                    ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
   24 |    struct timespec atime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
   25 |    struct timespec mtime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
   26 |    struct timespec ctime; // attrib change time (not creation time)
      |                    ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/StringTk.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/system/System.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
   24 |    struct timespec atime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
   25 |    struct timespec mtime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
   26 |    struct timespec ctime; // attrib change time (not creation time)
      |                    ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/NetworkInterfaceCard.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../NetMessage.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../SimpleStringMsg.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/AckMsgEx.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~
      |           timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/Socket.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../NetMessage.h:5,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../SimpleStringMsg.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/AckMsgEx.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
   29 |    struct timespec now;
      |                    ^~~
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
   38 |    ktime_get_ts(&this->now);
      |    ^~~~~~~~~~~~
      |    ktime_get_ns
In file included from /opt/beegfs/src/client/client_module_7/build/../source/os/atomic64.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~
      |           timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/StringTk.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/system/System.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~
      |           timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/os/atomic64.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
In file included from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~
      |           timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~
      |           timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/Socket.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.c:5:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
   29 |    struct timespec now;
      |                    ^~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Condition.h:5,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Thread.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:10,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
   29 |    struct timespec now;
      |                    ^~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Serialization.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../NetMessage.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/../SimpleStringMsg.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/control/AckMsgEx.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h:11:10: fatal error: asm/kmap_types.h: No such file or directory
   11 | #include <asm/kmap_types.h>
      |          ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
   38 |    ktime_get_ts(&this->now);
      |    ^~~~~~~~~~~~
      |    ktime_get_ns
cc1: some warnings being treated as errors
In file included from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~
      |           timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
   38 |    ktime_get_ts(&this->now);
      |    ^~~~~~~~~~~~
      |    ktime_get_ns
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/common/system/System.o] Error 1
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/net/message/NetMessageFactory.o] Error 1
In file included from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~
      |           timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Condition.h:5,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Thread.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:10,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
   29 |    struct timespec now;
      |                    ^~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Condition.h:5,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Thread.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:10,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
   29 |    struct timespec now;
      |                    ^~~
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
   38 |    ktime_get_ts(&this->now);
      |    ^~~~~~~~~~~~
      |    ktime_get_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
   38 |    ktime_get_ts(&this->now);
      |    ^~~~~~~~~~~~
      |    ktime_get_ns
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.c:11:
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:24:20: error: field ‘atime’ has incomplete type
   24 |    struct timespec atime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:25:20: error: field ‘mtime’ has incomplete type
   25 |    struct timespec mtime;
      |                    ^~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/FhgfsTypes.h:26:20: error: field ‘ctime’ has incomplete type
   26 |    struct timespec ctime; // attrib change time (not creation time)
      |                    ^~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Serialization.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/NetMessage.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/session/FSyncLocalFileMsg.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h:11:10: fatal error: asm/kmap_types.h: No such file or directory
   11 | #include <asm/kmap_types.h>
      |          ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKit.o] Error 1
In file included from /opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/MetadataTk.h:14,
                 from /opt/beegfs/src/client/client_module_7/build/../source/filesystem/FhgfsOpsHelper.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:4:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/TimeAbs.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/TimeAbs.h:22:19: error: field ‘now’ has incomplete type
   22 |    struct timeval now;
      |                   ^~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/MetadataTk.h:14,
                 from /opt/beegfs/src/client/client_module_7/build/../source/filesystem/FhgfsOpsHelper.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:4:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h: In function ‘OsTypeConv_iattrOsToFhgfs’:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsTypeConversion.h:120:65: error: dereferencing pointer to incomplete type ‘struct timeval’
  120 |       fhgfsAttr->modificationTimeSecs = TimeAbs_getTimeval(&now)->tv_sec;
      |                                                                 ^~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Serialization.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/NetMessage.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/storage/lookup/LookupIntentRespMsg.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/LookupIntentInfoOut.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/MetadataTk.h:16,
                 from /opt/beegfs/src/client/client_module_7/build/../source/filesystem/FhgfsOpsHelper.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.c:4:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h:11:10: fatal error: asm/kmap_types.h: No such file or directory
   11 | #include <asm/kmap_types.h>
      |          ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
In file included from /opt/beegfs/src/client/client_module_7/build/../source/app/config/MountConfig.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.c:11:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h: In function ‘current_fs_time’:
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: implicit declaration of function ‘timespec64_trunc’; did you mean ‘timespec64_to_ns’? [-Werror=implicit-function-declaration]
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~
      |           timespec64_to_ns
/opt/beegfs/src/client/client_module_7/build/../source/common/Common.h:163:11: error: incompatible types when returning type ‘int’ but ‘struct timespec64’ was expected
  163 |    return timespec64_trunc(now, sb->s_time_gran);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Serialization.h:27,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/NetMessage.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/net/message/session/rw/ReadLocalFileV2Msg.h:4,
                 from /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.c:2:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.h:11:10: fatal error: asm/kmap_types.h: No such file or directory
   11 | #include <asm/kmap_types.h>
      |          ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsRemoting.o] Error 1
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/net/filesystem/FhgfsOpsCommKitVec.o] Error 1
In file included from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Condition.h:5,
                 from /opt/beegfs/src/client/client_module_7/build/../source/common/threading/Thread.h:6,
                 from /opt/beegfs/src/client/client_module_7/build/../source/app/App.h:10,
                 from /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.c:11:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: At top level:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:29:20: error: field ‘now’ has incomplete type
   29 |    struct timespec now;
      |                    ^~~
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h: In function ‘Time_init’:
/opt/beegfs/src/client/client_module_7/build/../source/common/toolkit/Time.h:38:4: error: implicit declaration of function ‘ktime_get_ts’; did you mean ‘ktime_get_ns’? [-Werror=implicit-function-declaration]
   38 |    ktime_get_ts(&this->now);
      |    ^~~~~~~~~~~~
      |    ktime_get_ns
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/os/OsCompat.o] Error 1
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:281: /opt/beegfs/src/client/client_module_7/build/../source/os/OsDeps.o] Error 1
make[2]: *** [Makefile:1879: /opt/beegfs/src/client/client_module_7/build/../source] Error 2
make[1]: *** [Makefile:144: module] Error 2
make: *** [AutoRebuild.mk:34: auto_rebuild] Error 2

Timothy Yim

unread,
Mar 15, 2022, 4:27:38 AM3/15/22
to beegfs-user
Any roadmap to support 5.13 or later for Ubuntu?  Thanks.

Lehmann, Greg (IM&T, Pullenvale)

unread,
Mar 15, 2022, 4:33:45 AM3/15/22
to fhgfs...@googlegroups.com

I am also looking for support for SLES 15 SP4 which will release mid-year with a 5.14 kernel. The beta is available now for testing…

 

Cheers,

 

Greg

--
You received this message because you are subscribed to the Google Groups "beegfs-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fhgfs-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fhgfs-user/91bc2101-f1c4-44bd-bdf5-bea0452406cdn%40googlegroups.com.

Timothy Yim

unread,
Mar 15, 2022, 4:36:37 AM3/15/22
to beegfs-user
Hi, Greg,

  how can I get the beta for testing? Thanks.

Tim

Lehmann, Greg (IM&T, Pullenvale)

unread,
Mar 15, 2022, 4:46:59 AM3/15/22
to fhgfs...@googlegroups.com

Quentin Le Burel

unread,
Mar 15, 2022, 10:58:03 AM3/15/22
to fhgfs...@googlegroups.com
Hi Timothy,

BeeGFS client 7.2.5 compiles fine under Ubuntu 20.04 LTS under the following two conditions:
- use the GA kernel (5.4) and not the HWE one (5.13)

Kind regards

Quentin



Timothy Yim

unread,
Mar 15, 2022, 11:12:38 AM3/15/22
to fhgfs...@googlegroups.com
Hi Quentin,

  We are using Ubuntu 20.04.4 LTS. GA level is a bit old. Do you know if any support or roadmap for latest Ubuntu?

  Thanks.

Timothy

You received this message because you are subscribed to a topic in the Google Groups "beegfs-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fhgfs-user/FHDFHO6A7do/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fhgfs-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fhgfs-user/CABGSqP%2B5qjpsc8j74OkyDmqtpMEzqZx4GcaZey-a2T%3D2WmjE-A%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages