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

Jeremy Bícha 2061476 at bugs.launchpad.net
Thu Mar 27 18:58:34 UTC 2025


** Summary changed:

- nfs-ganesha 4.3-8build1 fails to build on armhf
+ Remove nfs-ganesha-gpfs on armhf

** Description changed:

+ In the "final:" section of https://ubuntu-archive-
+ team.ubuntu.com/proposed-migration/update_output.txt , it lists -nfs-
+ ganesha-gpfs/armhf
+ 
+ The changelog says:
+ 
+ nfs-ganesha (4.3-10) unstable; urgency=medium
+ 
+   * don't build FSAL GPFS on armel and armhf (closes: 1069692)
+ 
+  -- Christoph Martin   Tue, 23 Apr 2024 15:30:37 +0200
+ 
+ Since nfs-ganesha-gpfs is no longer built from source, please remove
+ this binary package. Do not remove the source package since other
+ binaries are still built on armhf.
+ 
+ Original Bug
+ ============
+ 
  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:
+                  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"
-       |     ^~~~~
+    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.
-  */
+  * 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
  ```

** Description changed:

  In the "final:" section of https://ubuntu-archive-
  team.ubuntu.com/proposed-migration/update_output.txt , it lists -nfs-
  ganesha-gpfs/armhf
  
  The changelog says:
  
  nfs-ganesha (4.3-10) unstable; urgency=medium
  
-   * don't build FSAL GPFS on armel and armhf (closes: 1069692)
+   * don't build FSAL GPFS on armel and armhf (closes: 1069692)
  
-  -- Christoph Martin   Tue, 23 Apr 2024 15:30:37 +0200
+  -- Christoph Martin   Tue, 23 Apr 2024 15:30:37 +0200
  
  Since nfs-ganesha-gpfs is no longer built from source, please remove
  this binary package. Do not remove the source package since other
  binaries are still built on armhf.
+ 
+ $ reverse-depends nfs-ganesha-gpfs
+ No reverse dependencies found
+ $ reverse-depends -b nfs-ganesha-gpfs
+ No reverse dependencies found
  
  Original Bug
  ============
  
  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
  ```

-- 
You received this bug notification because you are a member of Ubuntu
Package Archive Administrators, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2061476

Title:
  Remove nfs-ganesha-gpfs on armhf

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




More information about the ubuntu-archive mailing list