[Bug 2061476] Re: nfs-ganesha 4.3-8build1 fails to build on armhf

Colin Watson 2061476 at bugs.launchpad.net
Mon Apr 15 14:02:22 UTC 2024


$ remove-package -s noble -a armhf -b -m 'Broken with 64-bit time_t on armhf; see bug 2061476' nfs-ganesha nfs-ganesha-gpfs nfs-ganesha-mem nfs-ganesha-nullfs nfs-ganesha-proxy-v4 nfs-ganesha-vfs
Removing packages from noble:
        nfs-ganesha 4.3-8 in noble armhf
        nfs-ganesha-gpfs 4.3-8 in noble armhf
        nfs-ganesha-mem 4.3-8 in noble armhf
        nfs-ganesha-nullfs 4.3-8 in noble armhf
        nfs-ganesha-proxy-v4 4.3-8 in noble armhf
        nfs-ganesha-vfs 4.3-8 in noble armhf
Comment: Broken with 64-bit time_t on armhf; see bug 2061476
Remove [y|N]? y
6 packages successfully removed.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nfs-ganesha in Ubuntu.
https://bugs.launchpad.net/bugs/2061476

Title:
  nfs-ganesha 4.3-8build1 fails to build on armhf

Status in nfs-ganesha package in Ubuntu:
  New

Bug description:
  nfs-ganesha 4.3-8build1 fails to build on armhf:

  ```
  cd /<<PKGBUILDDIR>>/src/obj-arm-linux-gnueabihf/FSAL/FSAL_GPFS && /usr/bin/cc -DHAS_DOFF -D_GNU_SOURCE=1 -Dfsalgpfs_EXPORTS -I/<<PKGBUILDDIR>>/src/obj-arm-linux-gnueabihf/include -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/src/include/os/linux -I/include -I/usr/include/ntirpc -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/<<PKGBUILDDIR>>/src/FSAL/FSAL_GPFS -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/nfs-ganesha-4.3-8build1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -O2 -g -DNDEBUG -fPIC -MD -MT FSAL/FSAL_GPFS/CMakeFiles/fsalgpfs.dir/file.c.o -MF CMakeFiles/fsalgpfs.dir/file.c.o.d -o CMakeFiles/fsalgpfs.dir/file.c.o -c /<<PKGBUILDDIR>>/src/FSAL/FSAL_GPFS/file.c
  In file included from /usr/include/features.h:394,
                   from /usr/include/assert.h:35,
                   from /<<PKGBUILDDIR>>/src/FSAL/FSAL_GPFS/file.c:38:
  /usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
     26 | #   error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
        |     ^~~~~
  ```

  This is caused by src/FSAL/FSAL_GPFS/file.c:

  ```
  /* _FILE_OFFSET_BITS macro causes F_GETLK/SETLK/SETLKW to be defined to
   * F_GETLK64/SETLK64/SETLKW64. Currently GPFS kernel module doesn't work
   * with these 64 bit macro values through ganesha interface. Undefine it
   * here to use plain F_GETLK/SETLK/SETLKW values.
   */
  #undef _FILE_OFFSET_BITS
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-ganesha/+bug/2061476/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list