Bug#893426: systemd FTBFS: syntax error close to GPGRT_ATTR_NORETURN

Michael Biebl biebl at debian.org
Sun Mar 18 20:57:07 GMT 2018


Control: reassign -1 libgpg-error-dev
Control: found -1 1.28-1
Control: affects -1 + systemd

Am 18.03.2018 um 19:54 schrieb Helmut Grohne:
> Package: systemd
> Version: 238-2
> Severity: serious
> User: helmutg at debian.org
> Usertags: rebootstrap
> 
> systemd fails to build from source on amd64. Here is a tail of the build
> log.
> 
> | FAILED: journal-core at sta/src_journal_journald-context.c.o 
> | cc  -Ijournal-core at sta -I. -I.. -I../ -Isrc/libsystemd-network -I../src/libsystemd-network -I../src/libsystemd/sd-network -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-device -I../src/libsystemd/sd-bus -Isrc/core -I../src/core -Isrc/libudev -I../src/libudev -Isrc/udev -I../src/udev -Isrc/login -I../src/login -Isrc/timesync -I../src/timesync -Isrc/resolve -I../src/resolve -Isrc/journal -I../src/journal -Isrc/systemd -I../src/systemd -Isrc/shared -I../src/shared -Isrc/basic -I../src/basic -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-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=format=2 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wimplicit-fallthrough=5 -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -fPIE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Wno-error=nonnull -Werror=shadow -ffunction-sections -fdata-sections -include config.h -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ 'journal-core at sta/src_journal_journald-context.c.o' -MF 'journal-core at sta/src_journal_journald-context.c.o.d' -o 'journal-core at sta/src_journal_journald-context.c.o' -c ../src/journal/journald-context.c
> | In file included from ../src/basic/alloc-util.h:28:0,
> |                  from ../src/journal/journald-context.c:25:
> | ../src/basic/macro.h:423:18: error: expected ‘)’ before ‘__attribute__’
> |  #define noreturn __attribute__((noreturn))
> |                   ^
> | In file included from /usr/include/gcrypt.h:30:0,
> |                  from ../src/journal/journal-file.h:26,
> |                  from ../src/journal/journald-server.h:31,
> |                  from ../src/journal/journald-context.h:30,
> |                  from ../src/journal/journald-context.c:33:
> | /usr/include/x86_64-linux-gnu/gpg-error.h:1545:46: error: expected ‘,’ or ‘;’ before ‘)’ token
> |  void gpgrt_log_bug (const char *fmt, ...)    GPGRT_ATTR_NR_PRINTF(1,2);
> |                                               ^
> | In file included from ../src/basic/alloc-util.h:28:0,
> |                  from ../src/journal/journald-context.c:25:
> | ../src/basic/macro.h:423:18: error: expected ‘)’ before ‘__attribute__’
> |  #define noreturn __attribute__((noreturn))
> |                   ^
> | In file included from /usr/include/gcrypt.h:30:0,
> |                  from ../src/journal/journal-file.h:26,
> |                  from ../src/journal/journald-server.h:31,
> |                  from ../src/journal/journald-context.h:30,
> |                  from ../src/journal/journald-context.c:33:
> | /usr/include/x86_64-linux-gnu/gpg-error.h:1546:46: error: expected ‘,’ or ‘;’ before ‘)’ token
> |  void gpgrt_log_fatal (const char *fmt, ...)  GPGRT_ATTR_NR_PRINTF(1,2);
> |                                               ^
> | In file included from ../src/basic/alloc-util.h:28:0,
> |                  from ../src/journal/journald-context.c:25:
> | ../src/basic/macro.h:423:18: error: expected ‘)’ before ‘__attribute__’
> |  #define noreturn __attribute__((noreturn))
> |                   ^
> | In file included from /usr/include/gcrypt.h:30:0,
> |                  from ../src/journal/journal-file.h:26,
> |                  from ../src/journal/journald-server.h:31,
> |                  from ../src/journal/journald-context.h:30,
> |                  from ../src/journal/journald-context.c:33:
> | /usr/include/x86_64-linux-gnu/gpg-error.h:1558:43: error: expected ‘,’ or ‘;’ before ‘)’ token
> |                          const char *func) GPGRT_ATTR_NORETURN;
> |                                            ^
> | [231/1523] /usr/bin/python3 /usr/bin/meson --internal exe /<<PKGBUILDDIR>>/build-deb/meson-private/meson_exe_awk_ec289b1578d245bbf1d8589a5ea437fc6525ccd3.dat
> | ninja: build stopped: subcommand failed.
> | dh_auto_build: cd build-deb && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> | make[1]: *** [debian/rules:161: override_dh_auto_build] Error 1
> | make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> | make: *** [debian/rules:294: binary-arch] Error 2
> | dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
> 
> This issue might be related to the libgpg-error/1.28-1 upload. Please
> reassign if necessary.

Since I don't anything obviously wrong in systemd, and downgrading
libgpg-error to 1.27-6 fixes the build failure, I'm reassigning this bug
report accordingly.


Regards,
Michael

-- 
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/20180318/486859b9/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list