[Pkg-leofs-devel] Bug#707364: erlang-cherly: FTBFS: stdio2.h:140:1: error: expected identifier or '(' before '{' token

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 9 07:47:12 UTC 2013


Source: erlang-cherly
Version: 0.12.7+dfsg-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130509 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/«BUILDDIR»/erlang-cherly-0.12.7+dfsg'
> rebar compile -vv
> ==> erlang-cherly-0.12.7+dfsg (compile)
> Compiled src/cherly_app.erl
> Compiled src/cherly_sup.erl
> Compiled src/cherly_server.erl
> Compiled src/cherly.erl
> Compiling c_src/alg.c
> INFO:  sh info:
> 	cwd: "/«BUILDDIR»/erlang-cherly-0.12.7+dfsg"
> 	cmd: cc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -g -Wall -fPIC  -I/usr/lib/erlang/lib/erl_interface-3.7.11/include -I/usr/lib/erlang/erts-5.10.1/include   -Wall -Wno-unused-function -Wno-strict-aliasing -Wno-pointer-to-int-cast -Ic_src c_src/alg.c -o c_src/alg.o
> Compiling c_src/cherly.c
> INFO:  sh info:
> 	cwd: "/«BUILDDIR»/erlang-cherly-0.12.7+dfsg"
> 	cmd: cc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -g -Wall -fPIC  -I/usr/lib/erlang/lib/erl_interface-3.7.11/include -I/usr/lib/erlang/erts-5.10.1/include   -Wall -Wno-unused-function -Wno-strict-aliasing -Wno-pointer-to-int-cast -Ic_src c_src/cherly.c -o c_src/cherly.o
> Compiling c_src/cherly_nif.c
> INFO:  sh info:
> 	cwd: "/«BUILDDIR»/erlang-cherly-0.12.7+dfsg"
> 	cmd: cc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -g -Wall -fPIC  -I/usr/lib/erlang/lib/erl_interface-3.7.11/include -I/usr/lib/erlang/erts-5.10.1/include   -Wall -Wno-unused-function -Wno-strict-aliasing -Wno-pointer-to-int-cast -Ic_src c_src/cherly_nif.c -o c_src/cherly_nif.o
> Compiling c_src/double_link.c
> INFO:  sh info:
> 	cwd: "/«BUILDDIR»/erlang-cherly-0.12.7+dfsg"
> 	cmd: cc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -g -Wall -fPIC  -I/usr/lib/erlang/lib/erl_interface-3.7.11/include -I/usr/lib/erlang/erts-5.10.1/include   -Wall -Wno-unused-function -Wno-strict-aliasing -Wno-pointer-to-int-cast -Ic_src c_src/double_link.c -o c_src/double_link.o
> Compiling c_src/hashmap.c
> INFO:  sh info:
> 	cwd: "/«BUILDDIR»/erlang-cherly-0.12.7+dfsg"
> 	cmd: cc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -g -Wall -fPIC  -I/usr/lib/erlang/lib/erl_interface-3.7.11/include -I/usr/lib/erlang/erts-5.10.1/include   -Wall -Wno-unused-function -Wno-strict-aliasing -Wno-pointer-to-int-cast -Ic_src c_src/hashmap.c -o c_src/hashmap.o
> Compiling c_src/lru.c
> INFO:  sh info:
> 	cwd: "/«BUILDDIR»/erlang-cherly-0.12.7+dfsg"
> 	cmd: cc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -g -Wall -fPIC  -I/usr/lib/erlang/lib/erl_interface-3.7.11/include -I/usr/lib/erlang/erts-5.10.1/include   -Wall -Wno-unused-function -Wno-strict-aliasing -Wno-pointer-to-int-cast -Ic_src c_src/lru.c -o c_src/lru.o
> In file included from /usr/include/stdio.h:937:0,
>                  from c_src/lru.c:5:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:140:1: error: expected identifier or '(' before '{' token
> ERROR: cc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -g -Wall -fPIC  -I/usr/lib/erlang/lib/erl_interface-3.7.11/include -I/usr/lib/erlang/erts-5.10.1/include   -Wall -Wno-unused-function -Wno-strict-aliasing -Wno-pointer-to-int-cast -Ic_src c_src/lru.c -o c_src/lru.o failed with error: 1 and output:
> In file included from /usr/include/stdio.h:937:0,
>                  from c_src/lru.c:5:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:140:1: error: expected identifier or '(' before '{' token
> 
> make[1]: *** [override_dh_auto_build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2013/05/09/erlang-cherly_0.12.7+dfsg-1_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 Pkg-leofs-devel mailing list