Package: elektra
Version: 0.8.14-5
Severity: important

With a parallel build (-J30 in my case), elektra fails to build.  I
know the error message looks like it should happen every time (I
didn't investigate), but I compiled with -J1 several times and it
works and compiled with -J30 several times and it failed, so I'm
pretty sure it's because of building with -J.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> [  9%] Building C object 
> src/plugins/resolver/CMakeFiles/elektra-resolver_fm_hp_b-objects.dir/filename.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/resolver && /usr/bin/cc  
> -DELEKTRA_LOCK_FILE -DELEKTRA_LOCK_MUTEX 
> -DELEKTRA_PLUGIN_NAME=\"resolver_fm_hp_b\" -DELEKTRA_STATIC 
> -DELEKTRA_VARIANT=fm_hp_b -DELEKTRA_VARIANT_BASE=\"fm\" 
> -DELEKTRA_VARIANT_SYSTEM=\"b\" -DELEKTRA_VARIANT_USER=\"hp\" 
> -DHAVE_KDBCONFIG_H -DPLUGIN_SHORT_NAME=resolver_fm_hp_b 
> -DREADME=readme_resolver_fm_hp_b.c 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include 
> -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/tests/cframework 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/resolver  -g -O2 
> -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 CMa
> keFiles/elektra-resolver_fm_hp_b-objects.dir/filename.c.o   -c 
> /<<PKGBUILDDIR>>/src/plugins/resolver/filename.c
> In file included from /<<PKGBUILDDIR>>/src/plugins/resolver/resolver.c:50:0:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h: In function 
> 'elektraSetErrorf50':
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:3:0: error: 
> unterminated #ifndef
>  #ifndef KDBERRORS_H
>  ^
> In file included from /usr/include/sched.h:43:0,
>                  from /usr/include/pthread.h:23,
>                  from /<<PKGBUILDDIR>>/src/plugins/resolver/resolver.c:53:
> /usr/include/x86_64-linux-gnu/bits/sched.h:72:1: error: expected expression 
> before 'struct'
>  struct sched_param
>  ^
> /<<PKGBUILDDIR>>/src/plugins/resolver/resolver.c:944:1: error: expected 
> declaration or statement at end of input
>  }
>  ^
> In file included from /<<PKGBUILDDIR>>/src/plugins/resolver/resolver.c:50:0:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include/kdberrors.h:3499:9: 
> warning: unused variable 'r' [-Wunused-variable]

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to