Source: erlang-p1-sqlite3
Version: 1.1.5~dfsg0-2
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160930 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):
>  debian/rules build
> dh build --buildsystem=rebar --with rebar
>    dh_testdir -O--buildsystem=rebar
>    dh_update_autotools_config -O--buildsystem=rebar
>    dh_auto_configure -O--buildsystem=rebar
>       make --no-print-directory -f /usr/share/dh-rebar/make/dh-rebar.Makefile 
> configure
> make[1]: Nothing to be done for 'configure'.
>    dh_auto_build -O--buildsystem=rebar
>       make --no-print-directory -f /usr/share/dh-rebar/make/dh-rebar.Makefile 
> build
> rebar_compile
> rebar compile skip_deps=true -vv
> DEBUG: Evaluating config script "/<<PKGBUILDDIR>>/rebar.config.script"
> DEBUG: Consult config file "/<<PKGBUILDDIR>>/rebar.config"
> DEBUG: Rebar location: "/usr/bin/rebar"
> DEBUG: Consult config file "/<<PKGBUILDDIR>>/src/sqlite3.app.src"
> DEBUG: Available deps: []
> DEBUG: Missing deps  : []
> DEBUG: Plugins requested while processing /<<PKGBUILDDIR>>: []
> DEBUG: Predirs: []
> ==> erlang-p1-sqlite3-1.1.5~dfsg0 (compile)
> DEBUG: Matched required ERTS version: 8.1 -> .*
> DEBUG: Matched required OTP release: 19 -> .*
> DEBUG: Min OTP version unconfigured
> DEBUG: erl_opts [debug_info]
> DEBUG: Files to compile first: []
> DEBUG: Starting 3 compile worker(s)
> DEBUG: Worker exited cleanly
> Compiled src/sqlite3_lib.erl
> DEBUG: Worker exited cleanly
> Compiled src/sqlite3.erl
> DEBUG: Worker exited cleanly
> DEBUG: Skipping deps parse of c_src/sqlite3_drv.d: enoent
> DEBUG: Last mod is 0 on c_src/sqlite3_drv.o
> INFO:  sh info:
>       cwd: "/<<PKGBUILDDIR>>"
>       cmd: cc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -MMD  
> -I"/usr/lib/erlang/lib/erl_interface-3.9.1/include" 
> -I"/usr/lib/erlang/erts-8.1/include"   -Wall -Wextra -Wno-unused-parameter 
> -Wstrict-prototypes c_src/sqlite3_drv.c -o c_src/sqlite3_drv.o
> DEBUG:        opts: [{env,[{"REBAR_DEPS_DIR",
>                       "/<<PKGBUILDDIR>>/deps"},
>                      {"ERL_LIBS",
>                       "/<<PKGBUILDDIR>>/deps"},
>                      {"APT_CONFIG","/var/lib/sbuild/apt.conf"},
>                      {"AR","ar"},
>                      {"AS","as"},
>                      {"BINDIR","/usr/lib/erlang/erts-8.1/bin"},
>                      {"CC","cc"},
>                      {"CFLAGS",
>                       "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2"},
>                      {"CPP","cpp"},
>                      {"CPPFLAGS","-Wdate-time -D_FORTIFY_SOURCE=2"},
>                      {"CXX","c++"},
>                      {"CXXFLAGS",
>                       "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security"},
>                      {"DEB_BUILD_ARCH","amd64"},
>                      {"DEB_BUILD_ARCH_BITS","64"},
>                      {"DEB_BUILD_ARCH_CPU","amd64"},
>                      {"DEB_BUILD_ARCH_ENDIAN","little"},
>                      {"DEB_BUILD_ARCH_OS","linux"},
>                      {"DEB_BUILD_GNU_CPU","x86_64"},
>                      {"DEB_BUILD_GNU_SYSTEM","linux-gnu"},
>                      {"DEB_BUILD_GNU_TYPE","x86_64-linux-gnu"},
>                      {"DEB_BUILD_MAINT_OPTIONS","hardening=+all"},
>                      {"DEB_BUILD_MULTIARCH","x86_64-linux-gnu"},
>                      {"DEB_HOST_ARCH","amd64"},
>                      {"DEB_HOST_ARCH_BITS","64"},
>                      {"DEB_HOST_ARCH_CPU","amd64"},
>                      {"DEB_HOST_ARCH_ENDIAN","little"},
>                      {"DEB_HOST_ARCH_OS","linux"},
>                      {"DEB_HOST_GNU_CPU","x86_64"},
>                      {"DEB_HOST_GNU_SYSTEM","linux-gnu"},
>                      {"DEB_HOST_GNU_TYPE","x86_64-linux-gnu"},
>                      {"DEB_HOST_MULTIARCH","x86_64-linux-gnu"},
>                      {"DEB_TARGET_ARCH","amd64"},
>                      {"DEB_TARGET_ARCH_BITS","64"},
>                      {"DEB_TARGET_ARCH_CPU","amd64"},
>                      {"DEB_TARGET_ARCH_ENDIAN","little"},
>                      {"DEB_TARGET_ARCH_OS","linux"},
>                      {"DEB_TARGET_GNU_CPU","x86_64"},
>                      {"DEB_TARGET_GNU_SYSTEM","linux-gnu"},
>                      {"DEB_TARGET_GNU_TYPE","x86_64-linux-gnu"},
>                      {"DEB_TARGET_MULTIARCH","x86_64-linux-gnu"},
>                      {"DH_INTERNAL_BUILDFLAGS","1"},
>                      {"DRV_CC_TEMPLATE",
>                       "cc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   -Wall -Wextra -Wno-unused-parameter 
> -Wstrict-prototypes $PORT_IN_FILES -o $PORT_OUT_FILE"},
>                      {"DRV_CFLAGS",
>                       "-g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   -Wall -Wextra -Wno-unused-parameter 
> -Wstrict-prototypes"},
>                      {"DRV_CXX_TEMPLATE",
>                       "c++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g -Wall 
> -fPIC -MMD  -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   -Wall -Wextra -Wno-unused-parameter 
> -Wstrict-prototypes $PORT_IN_FILES -o $PORT_OUT_FILE"},
>                      {"DRV_LDFLAGS",
>                       "-shared  
> -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface -lei 
> -lsqlite3"},
>                      {"DRV_LINK_CXX_TEMPLATE",
>                       "c++ $PORT_IN_FILES -fPIE -pie -Wl,-z,relro -Wl,-z,now  
> -shared  -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface 
> -lei -lsqlite3 -o $PORT_OUT_FILE"},
>                      {"DRV_LINK_TEMPLATE",
>                       "cc $PORT_IN_FILES -fPIE -pie -Wl,-z,relro -Wl,-z,now  
> -shared  -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface 
> -lei -lsqlite3 -o $PORT_OUT_FILE"},
>                      {"EMU","beam"},
>                      {"ERLANG_ARCH","64"},
>                      {"ERLANG_TARGET","19.1.1-x86_64-pc-linux-gnu-64"},
>                      {"ERL_CFLAGS",
>                       " -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"  "},
>                      {"ERL_EI_LIBDIR",
>                       "\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\""},
>                      {"ERL_LDFLAGS",
>                       " -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" 
> -lerl_interface -lei"},
>                      {"EXE_CC_TEMPLATE",
>                       "cc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
>                      {"EXE_CFLAGS",
>                       "-g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"  "},
>                      {"EXE_CXX_TEMPLATE",
>                       "c++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g -Wall 
> -fPIC -MMD  -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
>                      {"EXE_LDFLAGS",
>                       " -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" 
> -lerl_interface -lei"},
>                      {"EXE_LINK_CXX_TEMPLATE",
>                       "c++ $PORT_IN_FILES -fPIE -pie -Wl,-z,relro -Wl,-z,now  
>  -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface -lei -o 
> $PORT_OUT_FILE"},
>                      {"EXE_LINK_TEMPLATE",
>                       "cc $PORT_IN_FILES -fPIE -pie -Wl,-z,relro -Wl,-z,now   
> -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface -lei -o 
> $PORT_OUT_FILE"},
>                      {"FCFLAGS",
>                       "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong"},
>                      {"FFLAGS",
>                       "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong"},
>                      {"GCJFLAGS",
>                       "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong"},
>                      {"HOME","/sbuild-nonexistent"},
>                      {"LC_ALL","POSIX"},
>                      {"LD","ld"},
>                      {"LDFLAGS","-fPIE -pie -Wl,-z,relro -Wl,-z,now "},
>                      {"LOGNAME","user42"},
>                      {"MAKEFLAGS"," --no-print-directory"},
>                      {"MAKELEVEL","2"},
>                      {"MFLAGS","--no-print-directory"},
>                      {"NM","nm"},
>                      {"OBJCFLAGS",
>                       "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security"},
>                      {"OBJCOPY","objcopy"},
>                      {"OBJCXXFLAGS",
>                       "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security"},
>                      {"OBJDUMP","objdump"},
>                      {"PATH",
>                       
> "/usr/lib/erlang/erts-8.1/bin:/usr/lib/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"},
>                      {"PERL_USE_UNSAFE_INC","1"},
>                      {"PROGNAME","erl"},
>                      {"PWD",
>                       "/<<PKGBUILDDIR>>"},
>                      {"RANLIB","ranlib"},
>                      {"ROOTDIR","/usr/lib/erlang"},
>                      {"SCHROOT_ALIAS_NAME","unstable-amd64-sbuild"},
>                      {"SCHROOT_CHROOT_NAME","unstable-amd64-sbuild"},
>                      {"SCHROOT_COMMAND",
>                       "dpkg-buildpackage -us -uc -sa -rfakeroot"},
>                      {"SCHROOT_GID","1001"},
>                      {"SCHROOT_GROUP","user42"},
>                      {"SCHROOT_SESSION_ID",
>                       
> "unstable-amd64-sbuild-1804aa69-d604-4f80-bda7-e72622629b1b"},
>                      {"SCHROOT_UID","1001"},
>                      {"SCHROOT_USER","user42"},
>                      {"SHELL","/bin/sh"},
>                      {"SOURCE_DATE_EPOCH","1473243268"},
>                      {"STRIP","strip"},
>                      {"USER","user42"}]},
>                return_on_error,
>                {use_stdout,false}]
> DEBUG: Port Cmd: "cc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   -Wall -Wextra -Wno-unused-parameter 
> -Wstrict-prototypes c_src/sqlite3_drv.c -o c_src/sqlite3_drv.o"
> Port Opts: [{env,[{"REBAR_DEPS_DIR",
>                    "/<<PKGBUILDDIR>>/deps"},
>                   {"ERL_LIBS",
>                    "/<<PKGBUILDDIR>>/deps"},
>                   {"APT_CONFIG","/var/lib/sbuild/apt.conf"},
>                   {"AR","ar"},
>                   {"AS","as"},
>                   {"BINDIR","/usr/lib/erlang/erts-8.1/bin"},
>                   {"CC","cc"},
>                   {"CFLAGS",
>                    "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2"},
>                   {"CPP","cpp"},
>                   {"CPPFLAGS","-Wdate-time -D_FORTIFY_SOURCE=2"},
>                   {"CXX","c++"},
>                   {"CXXFLAGS",
>                    "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security"},
>                   {"DEB_BUILD_ARCH","amd64"},
>                   {"DEB_BUILD_ARCH_BITS","64"},
>                   {"DEB_BUILD_ARCH_CPU","amd64"},
>                   {"DEB_BUILD_ARCH_ENDIAN","little"},
>                   {"DEB_BUILD_ARCH_OS","linux"},
>                   {"DEB_BUILD_GNU_CPU","x86_64"},
>                   {"DEB_BUILD_GNU_SYSTEM","linux-gnu"},
>                   {"DEB_BUILD_GNU_TYPE","x86_64-linux-gnu"},
>                   {"DEB_BUILD_MAINT_OPTIONS","hardening=+all"},
>                   {"DEB_BUILD_MULTIARCH","x86_64-linux-gnu"},
>                   {"DEB_HOST_ARCH","amd64"},
>                   {"DEB_HOST_ARCH_BITS","64"},
>                   {"DEB_HOST_ARCH_CPU","amd64"},
>                   {"DEB_HOST_ARCH_ENDIAN","little"},
>                   {"DEB_HOST_ARCH_OS","linux"},
>                   {"DEB_HOST_GNU_CPU","x86_64"},
>                   {"DEB_HOST_GNU_SYSTEM","linux-gnu"},
>                   {"DEB_HOST_GNU_TYPE","x86_64-linux-gnu"},
>                   {"DEB_HOST_MULTIARCH","x86_64-linux-gnu"},
>                   {"DEB_TARGET_ARCH","amd64"},
>                   {"DEB_TARGET_ARCH_BITS","64"},
>                   {"DEB_TARGET_ARCH_CPU","amd64"},
>                   {"DEB_TARGET_ARCH_ENDIAN","little"},
>                   {"DEB_TARGET_ARCH_OS","linux"},
>                   {"DEB_TARGET_GNU_CPU","x86_64"},
>                   {"DEB_TARGET_GNU_SYSTEM","linux-gnu"},
>                   {"DEB_TARGET_GNU_TYPE","x86_64-linux-gnu"},
>                   {"DEB_TARGET_MULTIARCH","x86_64-linux-gnu"},
>                   {"DH_INTERNAL_BUILDFLAGS","1"},
>                   {"DRV_CC_TEMPLATE",
>                    "cc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   -Wall -Wextra -Wno-unused-parameter 
> -Wstrict-prototypes $PORT_IN_FILES -o $PORT_OUT_FILE"},
>                   {"DRV_CFLAGS",
>                    "-g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   -Wall -Wextra -Wno-unused-parameter 
> -Wstrict-prototypes"},
>                   {"DRV_CXX_TEMPLATE",
>                    "c++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -fPIC -MMD 
>  -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   -Wall -Wextra -Wno-unused-parameter 
> -Wstrict-prototypes $PORT_IN_FILES -o $PORT_OUT_FILE"},
>                   {"DRV_LDFLAGS",
>                    "-shared  
> -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface -lei 
> -lsqlite3"},
>                   {"DRV_LINK_CXX_TEMPLATE",
>                    "c++ $PORT_IN_FILES -fPIE -pie -Wl,-z,relro -Wl,-z,now  
> -shared  -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface 
> -lei -lsqlite3 -o $PORT_OUT_FILE"},
>                   {"DRV_LINK_TEMPLATE",
>                    "cc $PORT_IN_FILES -fPIE -pie -Wl,-z,relro -Wl,-z,now  
> -shared  -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface 
> -lei -lsqlite3 -o $PORT_OUT_FILE"},
>                   {"EMU","beam"},
>                   {"ERLANG_ARCH","64"},
>                   {"ERLANG_TARGET","19.1.1-x86_64-pc-linux-gnu-64"},
>                   {"ERL_CFLAGS",
>                    " -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"  "},
>                   {"ERL_EI_LIBDIR",
>                    "\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\""},
>                   {"ERL_LDFLAGS",
>                    " -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" 
> -lerl_interface -lei"},
>                   {"EXE_CC_TEMPLATE",
>                    "cc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
>                   {"EXE_CFLAGS",
>                    "-g -Wall -fPIC -MMD  
> -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"  "},
>                   {"EXE_CXX_TEMPLATE",
>                    "c++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -g -Wall -fPIC -MMD 
>  -I\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\" 
> -I\"/usr/lib/erlang/erts-8.1/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
>                   {"EXE_LDFLAGS",
>                    " -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" 
> -lerl_interface -lei"},
>                   {"EXE_LINK_CXX_TEMPLATE",
>                    "c++ $PORT_IN_FILES -fPIE -pie -Wl,-z,relro -Wl,-z,now   
> -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface -lei -o 
> $PORT_OUT_FILE"},
>                   {"EXE_LINK_TEMPLATE",
>                    "cc $PORT_IN_FILES -fPIE -pie -Wl,-z,relro -Wl,-z,now   
> -L\"/usr/lib/erlang/lib/erl_interface-3.9.1/lib\" -lerl_interface -lei -o 
> $PORT_OUT_FILE"},
>                   {"FCFLAGS",
>                    "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong"},
>                   {"FFLAGS",
>                    "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong"},
>                   {"GCJFLAGS",
>                    "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong"},
>                   {"HOME","/sbuild-nonexistent"},
>                   {"LC_ALL","POSIX"},
>                   {"LD","ld"},
>                   {"LDFLAGS","-fPIE -pie -Wl,-z,relro -Wl,-z,now "},
>                   {"LOGNAME","user42"},
>                   {"MAKEFLAGS"," --no-print-directory"},
>                   {"MAKELEVEL","2"},
>                   {"MFLAGS","--no-print-directory"},
>                   {"NM","nm"},
>                   {"OBJCFLAGS",
>                    "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security"},
>                   {"OBJCOPY","objcopy"},
>                   {"OBJCXXFLAGS",
>                    "-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security"},
>                   {"OBJDUMP","objdump"},
>                   {"PATH",
>                    
> "/usr/lib/erlang/erts-8.1/bin:/usr/lib/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"},
>                   {"PERL_USE_UNSAFE_INC","1"},
>                   {"PROGNAME","erl"},
>                   {"PWD",
>                    "/<<PKGBUILDDIR>>"},
>                   {"RANLIB","ranlib"},
>                   {"ROOTDIR","/usr/lib/erlang"},
>                   {"SCHROOT_ALIAS_NAME","unstable-amd64-sbuild"},
>                   {"SCHROOT_CHROOT_NAME","unstable-amd64-sbuild"},
>                   {"SCHROOT_COMMAND",
>                    "dpkg-buildpackage -us -uc -sa -rfakeroot"},
>                   {"SCHROOT_GID","1001"},
>                   {"SCHROOT_GROUP","user42"},
>                   {"SCHROOT_SESSION_ID",
>                    
> "unstable-amd64-sbuild-1804aa69-d604-4f80-bda7-e72622629b1b"},
>                   {"SCHROOT_UID","1001"},
>                   {"SCHROOT_USER","user42"},
>                   {"SHELL","/bin/sh"},
>                   {"SOURCE_DATE_EPOCH","1473243268"},
>                   {"STRIP","strip"},
>                   {"USER","user42"}]},
>             exit_status,
>             {line,16384},
>             use_stdio,stderr_to_stdout,hide]
> Compiling c_src/sqlite3_drv.c
> c_src/sqlite3_drv.c: In function 'exec_async_command':
> c_src/sqlite3_drv.c:22:25: warning: too many arguments for format 
> [-Wformat-extra-args]
>        fprintf(drv->log, "[ERROR] (%s:%d) " M "\n", __FILE__, __LINE__, 
> __VA_ARGS__); \
>                          ^
> c_src/sqlite3_drv.c:459:7: note: in expansion of macro 'LOG_ERROR'
>        LOG_ERROR("driver_async call failed", 0);
>        ^~~~~~~~~
> c_src/sqlite3_drv.c:24:23: warning: too many arguments for format 
> [-Wformat-extra-args]
>        fprintf(stderr, "[ERROR] (%s:%d) " M "\n", __FILE__, __LINE__, 
> __VA_ARGS__); \
>                        ^
> c_src/sqlite3_drv.c:459:7: note: in expansion of macro 'LOG_ERROR'
>        LOG_ERROR("driver_async call failed", 0);
>        ^~~~~~~~~
> ERROR: compile failed while processing /<<PKGBUILDDIR>>: 
> {'EXIT',{badarg,[{io,format,
>                      [<0.86.0>,
>                       "{ \"file\"      : \"c_src/sqlite3_drv.c\"\n, 
> \"directory\" : \"/<<PKGBUILDDIR>>\"\n, \"command\"   : \"cc -c -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -fPIC -MMD 
> -I\\\"/usr/lib/erlang/lib/erl_interface-3.9.1/include\\\" 
> -I\\\"/usr/lib/erlang/erts-8.1/include\\\" -Wall -Wextra 
> -Wno-unused-parameter -Wstrict-prototypes c_src/sqlite3_drv.c -o 
> c_src/sqlite3_drv.o\"\n}~n",
>                       []],
>                      []},
>                  {rebar_port_compiler,'-compile_sources/3-fun-1-',2,
>                                       [{file,"src/rebar_port_compiler.erl"},
>                                        {line,233}]},
>                  {lists,foreach,2,[{file,"lists.erl"},{line,1338}]},
>                  {rebar_port_compiler,compile_sources,3,
>                                       [{file,"src/rebar_port_compiler.erl"},
>                                        {line,233}]},
>                  {rebar_port_compiler,compile,2,
>                                       [{file,"src/rebar_port_compiler.erl"},
>                                        {line,58}]},
>                  {rebar_core,run_modules,4,
>                              [{file,"src/rebar_core.erl"},{line,493}]},
>                  {rebar_core,execute,6,
>                              [{file,"src/rebar_core.erl"},{line,418}]},
>                  {rebar_core,maybe_execute,8,
>                              [{file,"src/rebar_core.erl"},{line,302}]}]}}
> /usr/share/dh-rebar/make/dh-rebar.Makefile:125: recipe for target 
> 'rebar_compile' failed
> make[1]: *** [rebar_compile] Error 1

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

The full build log is available from:
   
http://aws-logs.debian.net/2016/09/30/erlang-p1-sqlite3_1.1.5~dfsg0-2_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.

Reply via email to