• Bug#1065793: charliecloud: FTBFS on arm{el,hf}: ch_fuse.c:68:19: error:

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 22:50:01 2024
    Source: charliecloud
    Version: 0.37-1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=charliecloud&arch=armhf&ver=0.37-1&stamp=1709893440&raw=0

    gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
    Wformat -Werror=format-security -std=c99 -Wall -Werror -I/usr/include/fuse3 -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -
    std=c99 -Wall -Werror -I/usr/include/fuse3 -c -o ch_run-ch_fuse.o `test -f 'ch_fuse.c' || echo './'`ch_fuse.c
    rm -f ch-run-oci
    rm -f ch-image
    sed -E 's|%PYTHON_SHEBANG%|/usr/bin/env python3|' < ch-run-oci.py.in > ch-run-oci
    sed -E 's|%PYTHON_SHEBANG%|/usr/bin/env python3|' < ch-image.py.in > ch-image chmod +rx,-w ch-run-oci # respects umask
    chmod +rx,-w ch-image # respects umask
    ch_fuse.c:68:19: error: initialization of ‘void (*)(struct fuse_req *, fuse_ino_t, uint64_t)’ {aka ‘void (*)(struct fuse_req *, long long unsigned int, long long unsigned int)’} from incompatible pointer type ‘void (*)(struct fuse_req *, fuse_
    ino_t, long unsigned int)’ {aka ‘void (*)(struct fuse_req *, long long unsigned int, long unsigned int)’} [-Werror=incompatible-pointer-types]
    68 | .forget = &sqfs_ll_op_forget,
    | ^
    ch_fuse.c:68:19: note: (near initialization for ‘OPS.forget’)
    cc1: all warnings being treated as errors
    make[3]: *** [Makefile:625: ch_run-ch_fuse.o] Error 1

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Wienemann@21:1/5 to All on Sat Mar 16 14:40:01 2024
    Control: reopen -1

    It seems that the patch uploaded with 0.37-2 does not fix this issue.

    See

    https://buildd.debian.org/status/fetch.php?pkg=charliecloud&arch=armel&ver=0.37-2&stamp=1710594551&file=log

    and

    https://buildd.debian.org/status/fetch.php?pkg=charliecloud&arch=armhf&ver=0.37-2&stamp=1710594414&file=log

    Therefore I reopen this bug.

    Best regards,

    Peter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)