[Pkg-erlang-devel] Bug#718084: yaws: FTBFS: yaws_websockets.erl:1250: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2 - warnings being treated as errors

David Suárez david.sephirot at gmail.com
Sun Jul 28 08:34:00 UTC 2013


Source: yaws
Version: 1.96-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130726 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):
> make[5]: Entering directory `/«PKGBUILDDIR»/src'
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_generated.erl
> make[5]: Leaving directory `/«PKGBUILDDIR»/src'
> make[4]: Leaving directory `/«PKGBUILDDIR»/src'
> if [  false = "true" ]; then \
> 		echo "-define(HAVE_YAWS_SENDFILE, true)." > yaws_configure.hrl; \
> 	else touch yaws_configure.hrl; fi
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_app.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_ticker.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_config.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_server.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_sup.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_api.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_log.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_trace.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_logger.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_ls.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_debug.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_compile.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_ctl.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_cgi.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_zlib.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin mime_type_c.erl
> "/usr/bin/erl" -noshell -pa ../ebin -s mime_type_c generate
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin mime_types.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_session_server.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_outmod.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_revproxy.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_html.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_log_file_h.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_rss.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_dav.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_davlock.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_pam.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin json.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin json2.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin jsonrpc.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_jsonrpc.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_xmlrpc.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin haxe.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_rpc.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_soap_srv.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_soap_lib.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_soap12_lib.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_appmod_cgi.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_appmod_fcgi.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_sendfile.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_sup_restarts.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_stats.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_vdir.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_multipart.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_shaper.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_dime.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_exhtml.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_sse.erl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_websockets.erl
> compile: warnings being treated as errors
> yaws_websockets.erl:1250: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
> make[3]: *** [../ebin/yaws_websockets.beam] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/07/26/yaws_1.96-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.



More information about the Pkg-erlang-devel mailing list