--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: pegasus-wms: FTBFS: error: switch quantity not an integer
- From: "Chris West (Faux)" <solo-debianbugs@goeswhere.com>
- Date: Fri, 1 Jan 2016 17:11:10 +0000
- Message-id: <20160101171110.GA10318@astoria.goeswhere.com>
Source: pegasus-wms
Version: 4.4.0+dfsg-4
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org
Dear Maintainer,
The package fails to build:
[exec] make[1]: Leaving directory '/pegasus-wms-4.4.0+dfsg/src/tools'
[exec] parse.c: In function ‘internalParse’:
[exec] parse.c:311:20: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
[exec] int newstate = statemap[*state][charclass];
[exec] ^
[exec] parse.c:319:14: error: switch quantity not an integer
[exec] switch ( actionmap[*state][charclass] ) {
[exec] ^
[exec] parse.c: In function ‘parseCommandLine’:
[exec] parse.c:415:35: warning: passing argument 4 of ‘internalParse’ from incompatible pointer type [-Wincompatible-pointer-types]
[exec] internalParse( line, &s, state, actionmap1, statemap1, &head, &tail,
[exec] ^
[exec] parse.c:297:1: note: expected ‘const char (*)[15][10]’ but argument is of type ‘const char (*)[10]’
[exec] internalParse( const char* line, const char** cursor, int* state,
[exec] ^
[exec] parse.c:415:47: warning: passing argument 5 of ‘internalParse’ from incompatible pointer type [-Wincompatible-pointer-types]
[exec] internalParse( line, &s, state, actionmap1, statemap1, &head, &tail,
[exec] ^
[exec] parse.c:297:1: note: expected ‘const char (*)[15][10]’ but argument is of type ‘const char (*)[10]’
[exec] internalParse( const char* line, const char** cursor, int* state,
[exec] ^
[exec] parse.c: In function ‘parseArgVector’:
[exec] parse.c:461:40: warning: passing argument 4 of ‘internalParse’ from incompatible pointer type [-Wincompatible-pointer-types]
[exec] internalParse( argv[i], &s, state, actionmap2, statemap2, &head, &tail,
[exec] ^
[exec] parse.c:297:1: note: expected ‘const char (*)[15][10]’ but argument is of type ‘const char (*)[10]’
[exec] internalParse( const char* line, const char** cursor, int* state,
[exec] ^
[exec] parse.c:461:52: warning: passing argument 5 of ‘internalParse’ from incompatible pointer type [-Wincompatible-pointer-types]
[exec] internalParse( argv[i], &s, state, actionmap2, statemap2, &head, &tail,
[exec] ^
[exec] parse.c:297:1: note: expected ‘const char (*)[15][10]’ but argument is of type ‘const char (*)[10]’
[exec] internalParse( const char* line, const char** cursor, int* state,
[exec] ^
[exec] make[2]: *** [parse.o] Error 1
[exec] make[1]: *** [install] Error 1
BUILD FAILED
/pegasus-wms-4.4.0+dfsg/build.xml:310: exec returned: 2
Total time: 15 seconds
debian/rules:26: recipe for target 'build-arch-stamp' failed
make: *** [build-arch-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/pegasus-wms.html
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
--- End Message ---