Package: flex
Version: 2.5.35-4
Severity: important

From my pbuilder build log, using a configuration that sets
DEB_BUILD_OPTIONS="parallel=3":

...
Executing test test-bison-yylloc                                                
Test test-bison-yylloc succeeded.                                               
Executing test test-bison-yylval                                                
Test test-bison-yylval FAILED. See test-bison-yylval/OUTPUT for details.        
Executing test test-bison-nr                                                    
Test test-bison-nr FAILED. See test-bison-nr/OUTPUT for details.                
Executing test test-multiple-scanners-nr                                        
Test test-multiple-scanners-nr succeeded.                                       
...
Results:
Tests succeeded: 44
Tests FAILED: 2
make[6]: *** [check-local] Error 1
make[6]: Leaving directory `/tmp/buildd/flex-2.5.35/tests'
make[5]: *** [check-am] Error 2
make[5]: Leaving directory `/tmp/buildd/flex-2.5.35/tests'
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/flex-2.5.35/tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/flex-2.5.35'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/tmp/buildd/flex-2.5.35'
make[1]: *** [debian/stamp/build/flex] Error 2
make[1]: Leaving directory `/tmp/buildd/flex-2.5.35'
make: *** [debian/stamp/do-build-arch] Error 2

The test-bison-yylval/OUTPUT file contains:

make[7]: Entering directory `/tmp/buildd/flex-2.5.35/tests/test-bison-yylval'
/usr/bin/bison --defines --output=parser.c --name-prefix="test" parser.y
../../flex scanner.l
gcc -c -o parser.o -I. -I../.. -I../.. -I.  -Wall -g -O2 -Wall -D_REENTRANT 
parser.c
gcc -c -o main.o -I. -I../.. -I../.. -I.  -Wall -g -O2 -Wall -D_REENTRANT main.c
main.c:25:21: error: scanner.h: No such file or directory
main.c:27: warning: parameter names (without types) in function declaration
main.c: In function 'main':
main.c:31: error: 'yyscan_t' undeclared (first use in this function)
main.c:31: error: (Each undeclared identifier is reported only once
main.c:31: error: for each function it appears in.)
main.c:31: error: expected ';' before 'scanner'
main.c:33: warning: implicit declaration of function 'testlex_init'
main.c:33: error: 'scanner' undeclared (first use in this function)
main.c:34: warning: implicit declaration of function 'testset_in'
main.c:34: error: 'stdin' undeclared (first use in this function)
main.c:36: warning: implicit declaration of function 'testlex_destroy'
make[7]: *** [main.o] Error 1
make[7]: *** Waiting for unfinished jobs....
parser.c: In function 'testparse':
parser.c:1266: warning: implicit declaration of function 'testlex'
make[7]: Leaving directory `/tmp/buildd/flex-2.5.35/tests/test-bison-yylval'

and test-bison-nr/OUTPUT is similar.  If I unset DEB_BUILD_OPTIONS, the build
completes successfully.
-- 
Daniel Schepler




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to