Bug#893602: macro.h:423:18: error: expected ')' before '__attribute__'

Mathieu Malaterre malat at debian.org
Tue Mar 20 10:32:52 GMT 2018


Source: systemd
Version: 238-2
Severity: important
User: debian-mips at lists.debian.org
Usertags: mipsel

For some reason I cannot build systemd on a sid/mipsel system (sid
schroot on eller.d.o):

[7/1280] Compiling C object 'src/journal/journal-client at sta/sd-journal.c.o'.
FAILED: src/journal/journal-client at sta/sd-journal.c.o
cc  -Isrc/journal/journal-client at sta -Isrc/journal -I../src/journal
-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/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=/home/malat/systemd-238=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -fvisibility=default -MD -MQ
'src/journal/journal-client at sta/sd-journal.c.o' -MF
'src/journal/journal-client at sta/sd-journal.c.o.d' -o
'src/journal/journal-client at sta/sd-journal.c.o' -c
../src/journal/sd-journal.c
In file included from ../src/basic/alloc-util.h:28:0,
                 from ../src/journal/sd-journal.c:33:
../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/sd-journal.c:46:
/usr/include/mipsel-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/sd-journal.c:33:
../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/sd-journal.c:46:
/usr/include/mipsel-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/sd-journal.c:33:
../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/sd-journal.c:46:
/usr/include/mipsel-linux-gnu/gpg-error.h:1558:43: error: expected ','
or ';' before ')' token
                         const char *func) GPGRT_ATTR_NORETURN;
                                           ^
ninja: build stopped: subcommand failed.



More information about the Pkg-systemd-maintainers mailing list