Bug#907409: casync: FTBFS with glibc 2.28, header mismatch wih new renameat2()

Michael Biebl biebl at debian.org
Mon Aug 27 21:52:22 BST 2018

Control: forwarded -1 https://github.com/systemd/casync/issues/166

Hi Steve

On 8/27/18 19:00, Steve Langasek wrote:
> Package: casync
> Version: 2+20180321-2
> Severity: normal
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu cosmic ubuntu-patch
> Dear maintainers,
> casync fails to build from source against glibc 2.28, as seen in the Ubuntu
> autopkgtest:
> [...]
> cc -Isrc/src@@shared at sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Werror=format=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Werror=old-style-definition -Werror=pointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=shadow -Werror=int-conversion -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -Werror=sign-compare -Wdate-time -Wnested-externs -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -include config.h -g -O2 -fdebug-prefix-map=/tmp/autopkgtest.iBt8c8/build.W5z/src=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -MD -MQ 'src/src@@shared at sta/cacache.c.o' -MF 'src/src@@shared at sta/cacache.c.o.d' -o 'src/src@@shared at sta/cacache.c.o' -c ../src/cacache.c
> In file included from ../src/canametable.h:9,
>                  from ../src/calocation.h:12,
>                  from ../src/cacache.h:7,
>                  from ../src/cacache.c:9:
> ../src/util.h:532:19: error: static declaration of ‘renameat2’ follows non-static declaration
>  static inline int renameat2(int oldfd, const char *oldname, int newfd, const char *newname, unsigned flags) {

Looks like there is already an upstream bug report for it. So marking

Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20180827/46847607/attachment-0002.sig>

More information about the Pkg-systemd-maintainers mailing list