[Pkg-sssd-devel] Bug#1069450: socket-wrapper: FTBFS on armhf: features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"

Lucas Nussbaum lucas at debian.org
Sat Apr 20 14:14:58 BST 2024


Source: socket-wrapper
Version: 1.4.2-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240420 ftbfs-trixie ftbfs-t64-armhf

Hi,

During a rebuild of all packages in sid, your package failed to build
on armhf.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj/src && /usr/bin/cc -Dsocket_wrapper_EXPORTS -I/<<PKGBUILDDIR>>/obj/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu99 -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Wcast-qual -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Wno-format-zero-length -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -MD -MT src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o -MF CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o.d -o CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o -c /<<PKGBUILDDIR>>/src/socket_wrapper.c
> In file included from /usr/include/features.h:393,
>                  from /usr/include/arm-linux-gnueabihf/sys/types.h:25,
>                  from /<<PKGBUILDDIR>>/src/socket_wrapper.c:53:
> /usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
>    26 | #   error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
>       |     ^~~~~
> [  6%] Linking C shared library libsocket_wrapper_noop.so
> cd /<<PKGBUILDDIR>>/obj/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/socket_wrapper_noop.dir/link.txt --verbose=1
> /usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -shared  -o libsocket_wrapper_noop.so CMakeFiles/socket_wrapper_noop.dir/socket_wrapper_noop.c.o  /usr/lib/arm-linux-gnueabihf/libdl.a 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj'
> [  6%] Built target socket_wrapper_noop
> make  -f tests/CMakeFiles/swrap_fake_uid_wrapper.dir/build.make tests/CMakeFiles/swrap_fake_uid_wrapper.dir/depend
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj'
> cd /<<PKGBUILDDIR>>/obj && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/obj /<<PKGBUILDDIR>>/obj/tests /<<PKGBUILDDIR>>/obj/tests/CMakeFiles/swrap_fake_uid_wrapper.dir/DependInfo.cmake "--color="
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj'
> make  -f tests/CMakeFiles/swrap_fake_uid_wrapper.dir/build.make tests/CMakeFiles/swrap_fake_uid_wrapper.dir/build
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj'
> [  8%] Building C object tests/CMakeFiles/swrap_fake_uid_wrapper.dir/swrap_fake_uid_wrapper.c.o
> cd /<<PKGBUILDDIR>>/obj/tests && /usr/bin/cc -Dswrap_fake_uid_wrapper_EXPORTS -I/<<PKGBUILDDIR>>/obj/tests -I/<<PKGBUILDDIR>>/tests -I/<<PKGBUILDDIR>>/obj -I/<<PKGBUILDDIR>>/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu99 -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Wcast-qual -Werror=address -Wstrict-prototypes -Werror=strict-prototypes -Wwrite-strings -Werror=write-strings -Werror-implicit-function-declaration -Wpointer-arith -Werror=pointer-arith -Wdeclaration-after-statement -Werror=declaration-after-statement -Wreturn-type -Werror=return-type -Wuninitialized -Werror=uninitialized -Wimplicit-fallthrough -Wno-format-zero-length -Wformat -Wformat-security -Werror=format-security -fno-common -fstack-protector-strong -fstack-clash-protection -D_GNU_SOURCE -MD -MT tests/CMakeFiles/swrap_fake_uid_wrapper.dir/swrap_fake_uid_wrapper.c.o -MF CMakeFiles/swrap_fake_uid_wrapper.dir/swrap_fake_uid_wrapper.c.o.d -o CMakeFiles/swrap_fake_uid_wrapper.dir/swrap_fake_uid_wrapper.c.o -c /<<PKGBUILDDIR>>/tests/swrap_fake_uid_wrapper.c
> make[3]: *** [src/CMakeFiles/socket_wrapper.dir/build.make:79: src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/04/20/socket-wrapper_1.4.2-3_unstable-armhf.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240420;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240420&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-sssd-devel mailing list