• Bug#1065771: dcap: FTBFS on arm{el,hf}: dcap.h:56:21: error: conflictin

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 21:40:01 2024
    Source: dcap
    Version: 2.47.14-1.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=dcap&arch=armel&ver=2.47.14-1.1&stamp=1709087050&raw=0

    /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DDCAP_NO_PREAD -Wall -pedantic -pipe -D_
    REENTRANT -DLIBC_SYSCALLS -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c -o dcap_error.lo dcap_error.c
    In file included from dcap_dirent.c:27:
    dcap.h:56:21: error: conflicting types for ‘dc_readdir64’; have ‘struct dirent *(DIR *)’
    56 | #define dc_readdir dc_readdir64
    | ^~~~~~~~~~~~
    dcap_dirent.c:143:16: note: in expansion of macro ‘dc_readdir’
    143 | struct dirent *dc_readdir( DIR *dir)
    | ^~~~~~~~~~
    dcap.h:115:26: note: previous declaration of ‘dc_readdir64’ with type ‘struct dirent64 *(DIR *)’
    115 | extern struct dirent64 * dc_readdir64(DIR *);
    | ^~~~~~~~~~~~
    dcap_dirent.c: In function ‘dc_readdir64’:
    dcap_dirent.c:149:12: warning: assignment to ‘struct dirent64 *’ from incompatible pointer type ‘struct dirent *’ [-Wincompatible-pointer-types]
    149 | ep = dc_readdir64(dir);
    | ^
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DDCAP_NO_PREAD -Wall -pedantic -pipe -D_REENTRANT -DLIBC_SYSCALLS -D_
    GNU_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c dcap_dup.c -o dcap_dup.o >/dev/null 2>&1
    make[3]: *** [Makefile:839: dcap_dirent.lo] Error 1

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Mar 11 22:30:02 2024
    This is a multi-part message in MIME format...

    Your message dated Mon, 11 Mar 2024 21:20:56 +0000
    with message-id <E1rjn4q-00GWHk-3W@fasolo.debian.org>
    and subject line Bug#1065771: fixed in dcap 2.47.14-2
    has caused the Debian Bug report #1065771,
    regarding dcap: FTBFS on arm{el,hf}: dcap.h:56:21: error: conflicting types for ‘dc_readdir64’; have ‘struct dirent *(DIR *)’
    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 owner@bugs.debian.org
    immediately.)


    --
    1065771: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065771
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 9 Mar 2024 20:33:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.8 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 150; neutral, 74; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:108, 0.000-+--H*RT:311
    Return-path: <sramacher@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8