Bug#1112075: mpich: FTBFS on hurd due to fstype type casting
Drew Parsons <[email protected]>
| Newsgroups | gmane.linux.debian.ports.hurd |
|---|---|
| Message-ID | <175616298494.168213.18095461683217833827.reportbug__30848.7279269443$1756163132$gmane$org@sandy> |
Package: mpich Version: 4.3.1-2 Severity: normal Tags: ftbfs X-Debbugs-Cc: [email protected] User: [email protected] Usertags: hurd-amd64 hurd-i386 Control: forwarded -1 https://github.com/pmodels/mpich/issues/7362 mpich 4.3 fails to build on hurd due to lack of HAVE_STRUCT_STATFS_F_FSTYPENAME, which makes sbuf.st_fstype defined as int instead of char *. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./adio/include -I/build/reproducible-path/mpich-4.3.0/src/include -I/build/reproducible-path/mpich-4.3.0/src/include -I./include -I/build/reproducible-path/mpich-4.3.0/src/mpi/romio/include -I/build/reproducible-path/mpich-4.3.0/src/mpl/include -I/build/reproducible-path/mpich-4.3.0/src/mpl/include -I./mpi-io -I/build/reproducible-path/mpich-4.3.0/src/mpi/romio/mpi-io -I./adio/include -I/build/reproducible-path/mpich-4.3.0/src/mpi/romio/adio/include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mpich-4.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -fcf-protection -DFORTRANUNDERSCORE -DHAVE_ROMIOCONF_H -c adio/common/ad_fstype.c -fPIC -DPIC -o adio/common/.libs/ad_fstype.o adio/common/ad_fstype.c: In function 'romio_statfs': adio/common/ad_fstype.c:370:12: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 370 | fstype = sbuf.st_fstype; | ^ make[4]: *** [Makefile:6343: adio/common/ad_fstype.lo] Error 1 make[4]: Leaving directory '/build/reproducible-path/mpich-4.3.0/src/mpi/romio' Reported upstream, https://github.com/pmodels/mpich/issues/7362