Bug#841568: sollya: FTBFS: ./_build/lex.yy.c:1185: undefined reference to `yywrap'

Lucas Nussbaum lucas at debian.org
Fri Oct 21 13:30:18 UTC 2016


Source: sollya
Version: 5.0+ds-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161021 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):
> g++: fatal error: no input files
> compilation terminated.
> configure:4615: $? = 1
> configure:4619: checking whether we are using the GNU C++ compiler
> configure:4638: g++ -c -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sollya-5.0+ds=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.cpp >&5
> configure:4638: $? = 0
> configure:4647: result: yes
> configure:4656: checking whether g++ accepts -g
> configure:4676: g++ -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.cpp >&5
> configure:4676: $? = 0
> configure:4717: result: yes
> configure:4742: checking dependency style of g++
> configure:4853: result: none
> configure:4872: checking for gawk
> configure:4899: result: mawk
> configure:4910: checking for a sed that does not truncate output
> configure:4974: result: /bin/sed
> configure:4987: checking whether C++ compiler works
> configure:5001: g++ -o conftest -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sollya-5.0+ds=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now conftest.cpp  >&5
> configure:5001: $? = 0
> configure:5002: result: yes
> configure:5020: checking for flex
> configure:5036: found /usr/bin/flex
> configure:5047: result: flex
> configure:5085: flex conftest.l
> configure:5089: $? = 0
> configure:5091: checking lex output file root
> configure:5105: result: lex.yy
> configure:5110: checking lex library
> configure:5124: gcc -o conftest -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sollya-5.0+ds=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now conftest.c   >&5
> /tmp/ccXTP3Xk.o: In function `input':
> ./_build/lex.yy.c:1185: undefined reference to `yywrap'
> /tmp/ccXTP3Xk.o: In function `yylex':
> ./_build/lex.yy.c:879: undefined reference to `yywrap'
> /tmp/ccXTP3Xk.o: In function `main':
> ./_build/conftest.l:18: undefined reference to `yywrap'
> collect2: error: ld returned 1 exit status

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/21/sollya_5.0+ds-3_unstable.log

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.



More information about the debian-science-maintainers mailing list