--- Begin Message ---
Source: elektra
Version: 0.8.14-5.1
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20161111 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libelektra && /usr/bin/cc
> -DHAVE_KDBCONFIG_H -Delektra_EXPORTS
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include
> -I/<<PKGBUILDDIR>>/src/include
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/bindings/cpp/include
> -I/<<PKGBUILDDIR>>/src/bindings/cpp/include
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libelektra -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99
> -Wno-deprecated-declarations -Wno-long-long -pedantic -Wno-variadic-macros
> -Wall -Wextra -Wno-overlength-strings -Wsign-compare -Wfloat-equal
> -Wformat-security -Wshadow -Wcomments -Wtrigraphs -Wundef -Wuninitialized
> -Winit-self -Wmaybe-uninitialized -Wsign-compare -Wfloat-equal
> -Wformat-security -fPIC -o CMakeFiles/elektra.dir/array.c.o -c
> /<<PKGBUILDDIR>>/src/libelektra/array.c
> [ 14%] Building CXX object
> src/plugins/python/CMakeFiles/elektra-python-objects.dir/python.cpp.o
> In file included from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:9:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h: In function
> 'elektraAddWarningf6':
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:489:1: warning:
> null character(s) ignored
> buffer[12] = '\0'; strcat(buffer, "/mountpoint");
> ^
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:489:0: warning:
> ISO C forbids nested functions [-Wpedantic]
> buffer[12] = '\0'; strcat(buffer, "/mountpoint");
>
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:489:0: error:
> invalid storage class for function 'elektraSetErrorf8'
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h: In function
> 'elektraSetErrorf8':
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:489:0: warning:
> declaration of 'reason' shadows a parameter [-Wshadow]
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:455:69: note:
> shadowed declaration is here
> static inline void elektraAddWarningf6(Key *warningKey, const char *reason,
> ^~~~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:490:14:
> warning: declaration of 'file' shadows a parameter [-Wshadow]
> keySetMeta(warningKey, buffer, keyName(warningKey));
> ^~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:456:14: note:
> shadowed declaration is here
> const char *file, const char *line, ...)
> ^~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:490:32:
> warning: declaration of 'line' shadows a parameter [-Wshadow]
> keySetMeta(warningKey, buffer, keyName(warningKey));
> ^~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:456:32: note:
> shadowed declaration is here
> const char *file, const char *line, ...)
> ^~~~
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/python && /usr/bin/c++
> -DELEKTRA_STATIC -DHAVE_KDBCONFIG_H -DPLUGIN_SHORT_NAME=python
> -DPYTHON_PLUGIN_NAME=python -DPYTHON_PLUGIN_SYMBOL_NAME=Python
> -DREADME=readme_python.c -DSWIG_RUNTIME=\"runtime.h\" -DSWIG_TYPE_TABLE=kdb
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include
> -I/<<PKGBUILDDIR>>/src/include
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/bindings/cpp/include
> -I/<<PKGBUILDDIR>>/src/bindings/cpp/include -I/usr/include/python3.5m
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/python
> -I/<<PKGBUILDDIR>>/tests/cframework -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11
> -Wno-deprecated-declarations -Wstrict-null-sentinel -D_GLIBCXX_USE_NANOSLEEP
> -Wno-missing-field-initializers -Wold-style-cast -Woverloaded-virtual
> -Wsign-promo -Wno-long-long -pedantic -Wno-variadic-macros -Wall -Wextra
> -Wno-overlength-strings -Wsign-compare -Wfloat-equal -Wformat-security
> -Wshadow -Wcomments -Wtrigraphs -Wundef -Wuninitialized -Winit-self
> -Wmaybe-uninitialized -fPIC -Wno-shadow -Wno-old-style-cast
> -Wno-unused-variable -o CMakeFiles/elektra-python-objects.dir/python.cpp.o -c
> /<<PKGBUILDDIR>>/src/plugins/python/python.cpp
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h: In function
> 'elektraAddWarningf6':
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:510:1: warning:
> ISO C forbids nested functions [-Wpedantic]
> {
> ^~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:510:20: error:
> invalid storage class for function 'elektraSetError8'
> {
> ^
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h: In function
> 'elektraSetError8':
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:510:64:
> warning: declaration of 'reason' shadows a parameter [-Wshadow]
> {
> ^
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:455:69: note:
> shadowed declaration is here
> static inline void elektraAddWarningf6(Key *warningKey, const char *reason,
> ^~~~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:511:14:
> warning: declaration of 'file' shadows a parameter [-Wshadow]
> buffer[10] = keyString(meta)[0];
> ^~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:456:14: note:
> shadowed declaration is here
> const char *file, const char *line, ...)
> ^~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:511:32:
> warning: declaration of 'line' shadows a parameter [-Wshadow]
> buffer[10] = keyString(meta)[0];
> ^~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:456:32: note:
> shadowed declaration is here
> const char *file, const char *line, ...)
> ^~~~
> In file included from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:9:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:3:0: error:
> unterminated #ifndef
> #ifndef KDBERRORS_H
>
> In file included from /<<PKGBUILDDIR>>/src/plugins/sync/sync.c:32:0:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:3:0: error:
> unterminated #ifndef
> #ifndef KDBERRORS_H
>
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:33:0,
> from /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h: In function
> 'elektraAddWarningf13':
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:3:0: error:
> unterminated #ifndef
> #ifndef KDBERRORS_H
>
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:32:1: warning: ISO C
> forbids nested functions [-Wpedantic]
> int elektraValidationGet(Plugin *handle ELEKTRA_UNUSED, KeySet *returned,
> Key *parentKey ELEKTRA_UNUSED)
> ^~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:32:5: error: static
> declaration of 'elektraValidationGet' follows non-static declaration
> int elektraValidationGet(Plugin *handle ELEKTRA_UNUSED, KeySet *returned,
> Key *parentKey ELEKTRA_UNUSED)
> ^~~~~~~~~~~~~~~~~~~~
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:0:
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:37:5: note: previous
> declaration of 'elektraValidationGet' was here
> int elektraValidationGet(Plugin *handle, KeySet *ks, Key *parentKey);
> ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:56:1: warning: ISO C
> forbids nested functions [-Wpedantic]
> int elektraValidationSet(Plugin *handle ELEKTRA_UNUSED, KeySet *returned,
> Key *parentKey)
> ^~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:56:5: error: static
> declaration of 'elektraValidationSet' follows non-static declaration
> int elektraValidationSet(Plugin *handle ELEKTRA_UNUSED, KeySet *returned,
> Key *parentKey)
> ^~~~~~~~~~~~~~~~~~~~
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:0:
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:38:5: note: previous
> declaration of 'elektraValidationSet' was here
> int elektraValidationSet(Plugin *handle, KeySet *ks, Key *parentKey);
> ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c: In function
> 'elektraValidationSet':
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:62:14: warning:
> declaration of 'meta' shadows a previous local [-Wshadow]
> const Key *meta = keyGetMeta (cur, "check/validation");
> ^~~~
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:33:0,
> from /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:942:13: note:
> shadowed declaration is here
> const Key *meta = keyGetMeta(warningKey, "warnings");
> ^~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:72:9: warning:
> declaration of 'buffer' shadows a previous local [-Wshadow]
> char buffer [1000];
> ^~~~~~
> In file included from /<<PKGBUILDDIR>>/src/plugins/sync/sync.c:35:0:
> /usr/include/x86_64-linux-gnu/sys/stat.h:208:12: error: storage class
> specified for parameter 'stat'
> extern int stat (const char *__restrict __file,
> ^~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:213:12: error: storage class
> specified for parameter 'fstat'
> extern int fstat (int __fd, struct stat *__buf) __THROW __nonnull ((2));
> ^~~~~
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:33:0,
> from /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:941:7: note:
> shadowed declaration is here
> char buffer[] = "warnings/#00\0description";
> ^~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:237:12: error: storage class
> specified for parameter 'fstatat'
> extern int fstatat (int __fd, const char *__restrict __file,
> ^~~~~~~
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:33:0,
> from /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:16:72: warning:
> implicit declaration of function 'elektraSetError41'
> [-Wimplicit-function-declaration]
> #define ELEKTRA_SET_ERROR_HELPER_HELPER(number, key, text, file, line)
> elektraSetError ## number\
> ^
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:13:65: note: in
> expansion of macro 'ELEKTRA_SET_ERROR_HELPER_HELPER'
> #define ELEKTRA_SET_ERROR_HELPER(number, key, text, file, line)
> ELEKTRA_SET_ERROR_HELPER_HELPER\
>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:10:46: note: in
> expansion of macro 'ELEKTRA_SET_ERROR_HELPER'
> #define ELEKTRA_SET_ERROR(number, key, text) ELEKTRA_SET_ERROR_HELPER\
> ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:74:4: note: in expansion
> of macro 'ELEKTRA_SET_ERROR'
> ELEKTRA_SET_ERROR (41, parentKey, buffer);
> ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:262:12: error: storage class
> specified for parameter 'lstat'
> extern int lstat (const char *__restrict __file,
> ^~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:283:12: error: storage class
> specified for parameter 'chmod'
> extern int chmod (const char *__file, __mode_t __mode)
> ^~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:290:12: error: storage class
> specified for parameter 'lchmod'
> extern int lchmod (const char *__file, __mode_t __mode)
> ^~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:296:12: error: storage class
> specified for parameter 'fchmod'
> extern int fchmod (int __fd, __mode_t __mode) __THROW;
> ^~~~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:16:72: warning:
> implicit declaration of function 'elektraSetError42'
> [-Wimplicit-function-declaration]
> #define ELEKTRA_SET_ERROR_HELPER_HELPER(number, key, text, file, line)
> elektraSetError ## number\
> ^
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:13:65: note: in
> expansion of macro 'ELEKTRA_SET_ERROR_HELPER_HELPER'
> #define ELEKTRA_SET_ERROR_HELPER(number, key, text, file, line)
> ELEKTRA_SET_ERROR_HELPER_HELPER\
>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:10:46: note: in
> expansion of macro 'ELEKTRA_SET_ERROR_HELPER'
> #define ELEKTRA_SET_ERROR(number, key, text) ELEKTRA_SET_ERROR_HELPER\
> ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:86:5: note: in expansion
> of macro 'ELEKTRA_SET_ERROR'
> ELEKTRA_SET_ERROR (42, parentKey, keyString(msg));
> ^~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:302:12: error: storage class
> specified for parameter 'fchmodat'
> extern int fchmodat (int __fd, const char *__file, __mode_t __mode,
> ^~~~~~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:90:10: warning:
> declaration of 'buffer' shadows a previous local [-Wshadow]
> char buffer [1000];
> ^~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:311:17: error: storage class
> specified for parameter 'umask'
> extern __mode_t umask (__mode_t __mask) __THROW;
> ^~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:320:12: error: storage class
> specified for parameter 'mkdir'
> extern int mkdir (const char *__path, __mode_t __mode)
> ^~~~~
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:33:0,
> from /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:941:7: note:
> shadowed declaration is here
> char buffer[] = "warnings/#00\0description";
> ^~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:327:12: error: storage class
> specified for parameter 'mkdirat'
> extern int mkdirat (int __fd, const char *__path, __mode_t __mode)
> ^~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:335:12: error: storage class
> specified for parameter 'mknod'
> extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev)
> ^~~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c: In function
> 'elektraAddWarningf13':
> /usr/include/x86_64-linux-gnu/sys/stat.h:342:12: error: storage class
> specified for parameter 'mknodat'
> extern int mknodat (int __fd, const char *__path, __mode_t __mode,
> ^~~~~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:103:1: warning: ISO C
> forbids nested functions [-Wpedantic]
> Plugin *ELEKTRA_PLUGIN_EXPORT(validation)
> ^~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:349:12: error: storage class
> specified for parameter 'mkfifo'
> extern int mkfifo (const char *__path, __mode_t __mode)
> ^~~~~~
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:32:0,
> from /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:
> /<<PKGBUILDDIR>>/src/include/kdbplugin.h:47:41: error: static declaration of
> 'libelektra_validation_LTX_elektraPluginSymbol' follows non-static declaration
> #define ELEKTRA_PLUGIN_EXPORT(module)
> libelektra_##module##_LTX_elektraPluginSymbol(void)
> ^
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:103:9: note: in
> expansion of macro 'ELEKTRA_PLUGIN_EXPORT'
> Plugin *ELEKTRA_PLUGIN_EXPORT(validation)
> ^~~~~~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:356:12: error: storage class
> specified for parameter 'mkfifoat'
> extern int mkfifoat (int __fd, const char *__path, __mode_t __mode)
> ^~~~~~~~
> /<<PKGBUILDDIR>>/src/include/kdbplugin.h:47:41: note: previous declaration of
> 'libelektra_validation_LTX_elektraPluginSymbol' was here
> #define ELEKTRA_PLUGIN_EXPORT(module)
> libelektra_##module##_LTX_elektraPluginSymbol(void)
> ^
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:43:9: note: in expansion
> of macro 'ELEKTRA_PLUGIN_EXPORT'
> Plugin *ELEKTRA_PLUGIN_EXPORT(validation);
> ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:109:1: error: expected
> declaration or statement at end of input
> }
> ^
> /usr/include/x86_64-linux-gnu/sys/stat.h:363:12: error: storage class
> specified for parameter 'utimensat'
> extern int utimensat (int __fd, const char *__path,
> ^~~~~~~~~
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:33:0,
> from /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:936:70:
> warning: unused parameter 'reason' [-Wunused-parameter]
> static inline void elektraAddWarningf13(Key *warningKey, const char *reason,
> ^~~~~~
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:44:1: error: nested function
> 'getchar' declared 'extern'
> getchar (void)
> ^~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:371:12: error: storage class
> specified for parameter 'futimens'
> extern int futimens (int __fd, const struct timespec __times[2]) __THROW;
> ^~~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:44:1: error: static declaration of
> 'getchar' follows non-static declaration
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:937:14:
> warning: unused parameter 'file' [-Wunused-parameter]
> const char *file, const char *line, ...)
> ^~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:398:12: error: storage class
> specified for parameter '__fxstat'
> extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf)
> ^~~~~~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:937:32:
> warning: unused parameter 'line' [-Wunused-parameter]
> const char *file, const char *line, ...)
> ^~~~
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:540:12: note: previous declaration of 'getchar' was here
> extern int getchar (void);
> ^~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:400:12: error: storage class
> specified for parameter '__xstat'
> extern int __xstat (int __ver, const char *__filename,
> ^~~~~~~
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:53:1: error: nested function
> 'fgetc_unlocked' declared 'extern'
> fgetc_unlocked (FILE *__fp)
> ^~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:53:1: error: static declaration of
> 'fgetc_unlocked' follows non-static declaration
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:563:12: note: previous declaration of 'fgetc_unlocked'
> was here
> extern int fgetc_unlocked (FILE *__stream);
> ^~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:402:12: error: storage class
> specified for parameter '__lxstat'
> extern int __lxstat (int __ver, const char *__filename,
> ^~~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:404:12: error: storage class
> specified for parameter '__fxstatat'
> extern int __fxstatat (int __ver, int __fildes, const char *__filename,
> ^~~~~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:441:12: error: storage class
> specified for parameter '__xmknod'
> extern int __xmknod (int __ver, const char *__path, __mode_t __mode,
> ^~~~~~~~
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:63:1: error: nested function
> 'getc_unlocked' declared 'extern'
> getc_unlocked (FILE *__fp)
> ^~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:63:1: error: static declaration of
> 'getc_unlocked' follows non-static declaration
> In file included from
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.h:32:0,
> from /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:30:
> At top level:
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:552:12: note: previous declaration of 'getc_unlocked'
> was here
> extern int getc_unlocked (FILE *__stream);
> ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/include/kdbplugin.h:47:41: warning:
> 'libelektra_validation_LTX_elektraPluginSymbol' defined but not used
> [-Wunused-function]
> #define ELEKTRA_PLUGIN_EXPORT(module)
> libelektra_##module##_LTX_elektraPluginSymbol(void)
> ^
> /<<PKGBUILDDIR>>/src/plugins/validation/validation.c:103:9: note: in
> expansion of macro 'ELEKTRA_PLUGIN_EXPORT'
> Plugin *ELEKTRA_PLUGIN_EXPORT(validation)
> ^~~~~~~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/sys/stat.h:444:12: error: storage class
> specified for parameter '__xmknodat'
> extern int __xmknodat (int __ver, int __fd, const char *__path,
> ^~~~~~~~~~
> In file included from /usr/include/features.h:364:0,
> from /usr/include/limits.h:25,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:168,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/syslimits.h:7,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:34,
> from /<<PKGBUILDDIR>>/src/include/kdbos.h:92,
> from
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdb.h:35,
> from /<<PKGBUILDDIR>>/src/include/kdbplugin.h:25,
> from /<<PKGBUILDDIR>>/src/plugins/sync/sync.h:29,
> from /<<PKGBUILDDIR>>/src/plugins/sync/sync.c:30:
> /usr/include/x86_64-linux-gnu/sys/stat.h:452:1: error: storage class
> specified for parameter 'stat'
> __NTH (stat (const char *__path, struct stat *__statbuf))
> ^
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:70:1: error: nested function
> 'getchar_unlocked' declared 'extern'
> getchar_unlocked (void)
> ^~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:70:1: error: static declaration of
> 'getchar_unlocked' follows non-static declaration
> In file included from /<<PKGBUILDDIR>>/src/plugins/sync/sync.c:35:0:
> /usr/include/x86_64-linux-gnu/sys/stat.h:453:1: error: expected ';', ',' or
> ')' before '{' token
> {
> ^
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:553:12: note: previous declaration of 'getchar_unlocked'
> was here
> extern int getchar_unlocked (void);
> ^~~~~~~~~~~~~~~~
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:79:1: error: nested function
> 'putchar' declared 'extern'
> putchar (int __c)
> ^~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:79:1: error: static declaration of
> 'putchar' follows non-static declaration
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:582:12: note: previous declaration of 'putchar' was here
> extern int putchar (int __c);
> ^~~~~~~
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:88:1: error: nested function
> 'fputc_unlocked' declared 'extern'
> fputc_unlocked (int __c, FILE *__stream)
> ^~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:88:1: error: static declaration of
> 'fputc_unlocked' follows non-static declaration
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:596:12: note: previous declaration of 'fputc_unlocked'
> was here
> extern int fputc_unlocked (int __c, FILE *__stream);
> ^~~~~~~~~~~~~~
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:98:1: error: nested function
> 'putc_unlocked' declared 'extern'
> putc_unlocked (int __c, FILE *__stream)
> ^~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:98:1: error: static declaration of
> 'putc_unlocked' follows non-static declaration
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:604:12: note: previous declaration of 'putc_unlocked'
> was here
> extern int putc_unlocked (int __c, FILE *__stream);
> ^~~~~~~~~~~~~
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:105:1: error: nested function
> 'putchar_unlocked' declared 'extern'
> putchar_unlocked (int __c)
> ^~~~~~~~~~~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:105:1: error: static declaration
> of 'putchar_unlocked' follows non-static declaration
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:605:12: note: previous declaration of 'putchar_unlocked'
> was here
> extern int putchar_unlocked (int __c);
> ^~~~~~~~~~~~~~~~
> In file included from /usr/include/stdio.h:935:0,
> from /usr/include/augeas.h:23,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:115:1: error: nested function
> 'getline' declared 'extern'
> getline (char **__lineptr, size_t *__n, FILE *__stream)
> ^~~~~~~
> /usr/include/x86_64-linux-gnu/bits/stdio.h:115:1: error: static declaration
> of 'getline' follows non-static declaration
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:680:20: note: previous declaration of 'getline' was here
> extern _IO_ssize_t getline (char **__restrict __lineptr,
> ^~~~~~~
> In file included from /usr/include/features.h:364:0,
> from /usr/include/limits.h:25,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:168,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/syslimits.h:7,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:34,
> from /<<PKGBUILDDIR>>/src/include/kdbos.h:92,
> from
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdb.h:35,
> from /<<PKGBUILDDIR>>/src/include/kdbplugin.h:25,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:8,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:125:1: error: nested function
> 'feof_unlocked' declared 'extern'
> __NTH (feof_unlocked (FILE *__stream))
> ^
> /usr/include/x86_64-linux-gnu/bits/stdio.h:125:1: error: static declaration
> of 'feof_unlocked' follows non-static declaration
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:838:12: note: previous declaration of 'feof_unlocked'
> was here
> extern int feof_unlocked (FILE *__stream) __THROW __wur;
> ^~~~~~~~~~~~~
> In file included from /usr/include/features.h:364:0,
> from /usr/include/limits.h:25,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:168,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/syslimits.h:7,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:34,
> from /<<PKGBUILDDIR>>/src/include/kdbos.h:92,
> from
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdb.h:35,
> from /<<PKGBUILDDIR>>/src/include/kdbplugin.h:25,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:8,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio.h:132:1: error: nested function
> 'ferror_unlocked' declared 'extern'
> __NTH (ferror_unlocked (FILE *__stream))
> ^
> /usr/include/x86_64-linux-gnu/bits/stdio.h:132:1: error: static declaration
> of 'ferror_unlocked' follows non-static declaration
> In file included from /usr/include/augeas.h:23:0,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:13,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/stdio.h:839:12: note: previous declaration of 'ferror_unlocked'
> was here
> extern int ferror_unlocked (FILE *__stream) __THROW __wur;
> ^~~~~~~~~~~~~~~
> In file included from /usr/include/features.h:364:0,
> from /usr/include/limits.h:25,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:168,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/syslimits.h:7,
> from
> /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed/limits.h:34,
> from /<<PKGBUILDDIR>>/src/include/kdbos.h:92,
> from
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdb.h:35,
> from /<<PKGBUILDDIR>>/src/include/kdbplugin.h:25,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.h:8,
> from /<<PKGBUILDDIR>>/src/plugins/augeas/augeas.c:17:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:31:1: error: nested function
> 'sprintf' declared 'extern'
> __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
> ^
> src/plugins/validation/CMakeFiles/elektra-validation-objects.dir/build.make:69:
> recipe for target
> 'src/plugins/validation/CMakeFiles/elektra-validation-objects.dir/validation.c.o'
> failed
> make[3]: ***
> [src/plugins/validation/CMakeFiles/elektra-validation-objects.dir/validation.c.o]
> Error 1
The full build log is available from:
http://aws-logs.debian.net/2016/11/11/elektra_0.8.14-5.1_unstable.log
This failure happens on a CPU with TSX extensions available, but is not
reproducible on a machine without them. For context, I recommend reading the
thread starting at https://lists.debian.org/debian-devel/2016/11/msg00210.html
The node used is an Amazon EC2 VM with 64 cores. /proc/cpuinfo says:
model : 79
model name : Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
stepping : 1
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---