• Bug#1065735: libgetdata: FTBFS on armel: error: redefinition of =?UTF-8

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 16:10:01 2024
    Source: libgetdata
    Version: 0.11.0-12
    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=libgetdata&arch=armel&ver=0.11.0-12%2Bb2&stamp=1709901162&raw=0

    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -DGETDATA_MODULEDIR=\"/usr/lib/arm-linux-gnueabi/getdata\" -g -O2 -Werror=implicit-function-
    declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c ../../src/flimits.c -fPIC -DPIC -o .libs/flimits.o
    In file included from ../../src/internal.h:34,
    from ../../src/flimits.c:21:
    ./getdata.h:1094:30: error: redefinition of ‘gd_alter_frameoffset64’
    1094 | #define gd_alter_frameoffset gd_alter_frameoffset64
    | ^~~~~~~~~~~~~~~~~~~~~~ ../../src/flimits.c:134:5: note: in expansion of macro ‘gd_alter_frameoffset’
    134 | int gd_alter_frameoffset(DIRFILE* D, off_t offset, int fragment, int move)
    | ^~~~~~~~~~~~~~~~~~~~
    ../../src/flimits.c:93:5: note: previous definition of ‘gd_alter_frameoffset64’ with type ‘int(DIRFILE *, off64_t, int, int)’ {aka ‘int(struct gd_dirfile_ *, long long int, int, int)’}
    93 | int gd_alter_frameoffset64(DIRFILE* D, off64_t offset, int fragment, int move)
    | ^~~~~~~~~~~~~~~~~~~~~~
    ./getdata.h:1098:24: error: redefinition of ‘gd_frameoffset64’
    1098 | #define gd_frameoffset gd_frameoffset64
    | ^~~~~~~~~~~~~~~~
    ../../src/flimits.c:139:7: note: in expansion of macro ‘gd_frameoffset’
    139 | off_t gd_frameoffset(DIRFILE* D, int fragment) gd_nothrow
    | ^~~~~~~~~~~~~~
    ../../src/flimits.c:120:9: note: previous definition of ‘gd_frameoffset64’ with type ‘off64_t(DIRFILE *, int)’ {aka ‘long long int(struct gd_dirfile_ *, int)’}
    120 | off64_t gd_frameoffset64(DIRFILE* D, int fragment)
    | ^~~~~~~~~~~~~~~~
    ./getdata.h:1101:16: error: redefinition of ‘gd_eof64’
    1101 | #define gd_eof gd_eof64
    | ^~~~~~~~
    ../../src/flimits.c:344:7: note: in expansion of macro ‘gd_eof’
    344 | off_t gd_eof(DIRFILE* D, const char *field_code)
    | ^~~~~~
    ../../src/flimits.c:318:9: note: previous definition of ‘gd_eof64’ with type ‘off64_t(DIRFILE *, const char *)’ {aka ‘long long int(struct gd_dirfile_ *, const char *)’}
    318 | off64_t gd_eof64(DIRFILE* D, const char *field_code)
    | ^~~~~~~~
    ./getdata.h:1100:16: error: redefinition of ‘gd_bof64’
    1100 | #define gd_bof gd_bof64
    | ^~~~~~~~
    ../../src/flimits.c:514:7: note: in expansion of macro ‘gd_bof’
    514 | off_t gd_bof(DIRFILE* D, const char *field_code) gd_nothrow
    | ^~~~~~
    ../../src/flimits.c:488:9: note: previous definition of ‘gd_bof64’ with type ‘off64_t(DIRFILE *, const char *)’ {aka ‘long long int(struct gd_dirfile_ *, const char *)’}
    488 | off64_t gd_bof64(DIRFILE* D, const char *field_code) gd_nothrow
    | ^~~~~~~~
    make[4]: *** [Makefile:952: flimits.lo] Error 1

    Cheers
    --
    Sebastian Ramacher

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