Re: Build fails with `../../../dist/out/include/prtypes.h:593:38: error: size of array ‘arg’ is negative`
Stephan Bergmann
sbergman at redhat.com
Wed Jun 13 07:16:08 UTC 2018
On 13/06/18 09:07, Paul Menzel wrote:
> $ make PARALLELISM=1
> […]
> cd lib; make libs
> cd util; make libs
> cd freebl; make libs
> Makefile:636: warning: overriding recipe for target
> 'out/Linux_SINGLE_SHLIB'
> Makefile:623: warning: ignoring old recipe for target
> 'out/Linux_SINGLE_SHLIB'
> In file included from ../../../dist/out/include/prerror.h:9:0,
> from drbg.c:9:
> drbg.c: In function ‘RNG_RandomUpdate’:
> ../../../dist/out/include/prtypes.h:593:38: error: size of array ‘arg’
> is negative
> extern void pr_static_assert(int arg[(condition) ? 1 : -1])
> ^
> drbg.c:541:5: note: in expansion of macro ‘PR_STATIC_ASSERT’
> PR_STATIC_ASSERT(sizeof(size_t) <= 4);
> ^~~~~~~~~~~~~~~~
> ../../coreconf/rules.mk:392: recipe for target
> 'out/Linux_SINGLE_SHLIB/drbg.o' failed
> make[5]: *** [out/Linux_SINGLE_SHLIB/drbg.o] Error 1
> Makefile:626: recipe for target 'libs' failed
> make[4]: *** [libs] Error 2
> ../coreconf/rules.mk:101: recipe for target 'libs' failed
> make[3]: *** [libs] Error 2
> coreconf/rules.mk:101: recipe for target 'libs' failed
> make[2]: *** [libs] Error 2
> /dev/shm/libreoffice-core/external/nss/ExternalProject_nss.mk:34: recipe
> for target '/dev/shm/libreoffice-core/workdir/ExternalProject/nss/build'
> failed
^ so it's external/nss that's causing you trouble
> make[1]: ***
> [/dev/shm/libreoffice-core/workdir/ExternalProject/nss/build] Error 1
> Makefile:286: recipe for target 'build' failed
> make: *** [build] Error 2
More information about the LibreOffice
mailing list