Your message dated Tue, 23 Apr 2024 17:50:36 +0000
with message-id <e1rzkhs-00aj0h...@fasolo.debian.org>
and subject line Bug#1064920: fixed in rshim-user-space 2.0.20+debian-2
has caused the Debian Bug report #1064920,
regarding FTBFS on 32-bit architectures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1064920: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064920
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: rshim-user-space
Version: 2.0.12+debian-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

The switch to fuse3 appears to have introduced a build issue for 32-bit
architectures such as armhf:

From 
https://buildd.debian.org/status/fetch.php?pkg=rshim-user-space&arch=armhf&ver=2.0.20%2Bdebian-1&stamp=1709056732&raw=0
 :

gcc -DHAVE_CONFIG_H -I. -I..  -Wall -DHAVE_RSHIM_NET -I/usr/include/libusb-1.0  
-DHAVE_RSHIM_USB -I/usr/include/arm-linux-gnueabihf  -DHAVE_RSHIM_PCIE 
-I/usr/include/fuse3  -DHAVE_RSHIM_FUSE -Wdate-time -D_FORTIFY_SOURCE=2 
-DFUSE_USE_VERSION=30 -DDEFAULT_RSHIM_CONFIG_FILE='"/etc/rshim.conf"'  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -c -o 
rshim-rshim_fuse.o `test -f 'rshim_fuse.c' || echo './'`rshim_fuse.c
In file included from /usr/include/fuse3/fuse_lowlevel.h:25,
                 from /usr/include/fuse3/cuse_lowlevel.h:19,
                 from rshim_fuse.c:23:
/usr/include/fuse3/fuse_common.h:928:1: error: static assertion failed: "fuse: 
off_t must be 64bit"
  928 | _Static_assert(sizeof(off_t) == 8, "fuse: off_t must be 64bit");
      | ^~~~~~~~~~~~~~
rshim_pcie.c: In function ‘rshim_pcie_mmap_vfio’:
rshim_pcie.c:52:37: warning: overflow in conversion from ‘long long unsigned 
int’ to ‘__off_t’ {aka ‘long int’} changes value from ‘7696581394436’ to ‘4’ 
[-Woverflow]
   52 | #define VFIO_GET_REGION_ADDR(x)     ((uint64_t) x << 40ULL)
      |                                     ^
rshim_pcie.c:634:18: note: in expansion of macro ‘VFIO_GET_REGION_ADDR’
  634 |                  VFIO_GET_REGION_ADDR(VFIO_PCI_CONFIG_REGION_INDEX) +
      |                  ^~~~~~~~~~~~~~~~~~~~
rshim_pcie.c:52:37: warning: overflow in conversion from ‘long long unsigned 
int’ to ‘__off_t’ {aka ‘long int’} changes value from ‘7696581394436’ to ‘4’ 
[-Woverflow]
   52 | #define VFIO_GET_REGION_ADDR(x)     ((uint64_t) x << 40ULL)
      |                                     ^
rshim_pcie.c:643:19: note: in expansion of macro ‘VFIO_GET_REGION_ADDR’
  643 |                   VFIO_GET_REGION_ADDR(VFIO_PCI_CONFIG_REGION_INDEX) +
      |                   ^~~~~~~~~~~~~~~~~~~~
rshim_fuse.c: In function ‘rshim_fuse_misc_read’:
rshim_fuse.c:713:36: warning: format ‘%ld’ expects argument of type ‘long int’, 
but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=]
  713 |       n = snprintf(p, len, "%-16s%ld(s)\n", "UP_TIME", 
value/BF3_REF_CLK_IN_HZ);
      |                                  ~~^
      |                                    |
      |                                    long int
      |                                  %lld
rshim_fuse.c: In function ‘rshim_fuse_misc_write’:
rshim_fuse.c:954:25: warning: format ‘%lx’ expects argument of type ‘long 
unsigned int *’, but argument 3 has type ‘uint64_t *’ {aka ‘long long unsigned 
int *’} [-Wformat=]
  954 |     if (sscanf(p, " 0x%lx", &val64) != 1)
      |                       ~~^   ~~~~~~
      |                         |   |
      |                         |   uint64_t * {aka long long unsigned int *}
      |                         long unsigned int *
      |                       %llx
make[3]: *** [Makefile:524: rshim-rshim_fuse.o] Error 1


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: rshim-user-space
Source-Version: 2.0.20+debian-2
Done: Taihsiang Ho (tai271828) <e...@tai271828.me>

We believe that the bug you reported is fixed in the latest version of
rshim-user-space, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1064...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Taihsiang Ho (tai271828) <e...@tai271828.me> (supplier of updated 
rshim-user-space package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 20 Apr 2024 19:26:49 +0200
Source: rshim-user-space
Architecture: source
Version: 2.0.20+debian-2
Distribution: unstable
Urgency: medium
Maintainer: da...@debian.org
Changed-By: Taihsiang Ho (tai271828) <e...@tai271828.me>
Closes: 1064920
Changes:
 rshim-user-space (2.0.20+debian-2) unstable; urgency=medium
 .
   * debian/rules: update CFLAG for FTBFS on armhf (Closes: #1064920)
   * debian/rules: conditionally append for armhf arch
   * debian/rules: apply the best practice of DEB_BUILD
Checksums-Sha1:
 4a346ccbdf8379f5bd7a55e1c33af218c612f1b5 2044 
rshim-user-space_2.0.20+debian-2.dsc
 15432a2092ac8956230f9e02f3efca0064a209ad 2908 
rshim-user-space_2.0.20+debian-2.debian.tar.xz
 45b1e36d2f8ea34541ce3c64bb83f2091dac6dba 7976 
rshim-user-space_2.0.20+debian-2_source.buildinfo
Checksums-Sha256:
 db49e5a77fc0691a005c06f30743920f16067426bf19f6352e7cebe9831528dd 2044 
rshim-user-space_2.0.20+debian-2.dsc
 7f0280d9997b945d780e949d8e18f4c80a52009aa76286e9a1a44a80fc0b1eec 2908 
rshim-user-space_2.0.20+debian-2.debian.tar.xz
 b6e8680d153428381f1161cc0f24beb33d9dcbe0e2690f699a2d2ef2908b66a6 7976 
rshim-user-space_2.0.20+debian-2_source.buildinfo
Files:
 b95b4cfe47530478e49244a96fd736ea 2044 admin optional 
rshim-user-space_2.0.20+debian-2.dsc
 65fb8723a7e9d4691bb5641d8655cc47 2908 admin optional 
rshim-user-space_2.0.20+debian-2.debian.tar.xz
 44df61d4e68cb7b31b1ae480d6179ba9 7976 admin optional 
rshim-user-space_2.0.20+debian-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEECfR9vy0y7twkQ+vuG/g8XlT8hkAFAmYn75sRHGRhbm5mQGRl
Ymlhbi5vcmcACgkQG/g8XlT8hkAIKA/6A1CAd+L4CvHg/csTdYdCw0UK4udHrnGD
Gf2Iu7mIkGXVTvqQJc5gZevEN75Nxx9LOxYu6hL6EPSEDg8wj4wMzhlrDM2Tsv2n
9z4PQuQ8Wp5qx+YQBnh8OnQ2hMAxqxeHb98NhZYmev/zo/jJz5XLxAswsfa4zRRu
fOBvr4INO9lRRDlp160JOBoUY1KnzEFyTKluG8ur5vCabif3PNEJvlnJW5diz2MD
gx8xmykZ0WvibGmXJNF8Cj4TA56JF2cl521BLHGvdsGzJ4FIeA34gPzn5W6W82ur
DsXWj3HauPoYFHoFVMudyqjG/2dbEi+3/So0v7WfJin3akqZJ/+zock5xsFwfjyb
IeUR999yysXUrIf8FBO2x1LtozMVciPfTqM/ZaeWlsaJqhKi3rmZ2f2p9cGoLciB
95A3FiATk990qaOm2mF+8cryXUiD0wki4ofBVo+q2Ka3tpKNltSamdn5ycmEUvxG
U4wdfMPt57PqgeROhBiauotST30CdFWcVJBVZ+Pusc7iEgHTFgN44P76hHq6XtS5
q8wF2WQXJdBApqueM56J4T4EPEj0Th5DfcqRxCnzC4m9aLvFO9mlrqZ1TzuPGVnL
ipTfX3JbsmTYU37R9qkCg0YJNLAwQJ6/mQEHmYtCE88ss//3X4Glu1EtRcnkUacT
YWl8VYQQ9vM=
=SOVQ
-----END PGP SIGNATURE-----

Attachment: pgpYsUyH5Ep7j.pgp
Description: PGP signature


--- End Message ---

Reply via email to