[Pkg-erlang-devel] Bug#790625: FTBFS: erlang:now/0: Deprecated BIF

Martin Michlmayr tbm at hp.com
Tue Jun 30 12:56:32 UTC 2015


Package: yaws
Version: 1.98-4
Severity: serious

yaws fails to build in unstable:

> sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on bl460gen8-30.hlinux.usa.hp.com
...
> [ true = true ] && echo '-define(HAVE_SENDFILE, true).' > yaws_configure.hrl; \
> [ true = true ] && echo '-define(HAVE_ERLANG_SENDFILE, true).' >> yaws_configure.hrl; \
> [ true = true ] && echo '-define(HAVE_CRYPTO_HASH, true).' >> yaws_configure.hrl; \
> [ -f yaws_configure.hrl ] || touch yaws_configure.hrl
> "/usr/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws.erl
> compile: warnings being treated as errors
> yaws.erl:1562: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
> yaws.erl:2080: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
> yaws.erl:2413: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
> make[3]: *** [../ebin/yaws.beam] Error 1
> ../include.mk:109: recipe for target '../ebin/yaws.beam' failed
> make[3]: Leaving directory '/«PKGBUILDDIR»/src'
> make[2]: *** [all] Error 1

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard



More information about the Pkg-erlang-devel mailing list