[Pkg-erlang-devel] Bug#997710: erlang-erlware-commons: FTBFS: src/ec_cmd_log.erl:160:5: ambiguous call of overridden auto-imported BIF error/3

Lucas Nussbaum lucas at debian.org
Sun Oct 24 12:33:21 BST 2021


Source: erlang-erlware-commons
Version: 1.3.1+dfsg-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

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_update_autotools_config -O--buildsystem=rebar
>    dh_autoreconf -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/erlware_commons.app.src"
> DEBUG: Available deps: []
> DEBUG: Missing deps  : []
> DEBUG: Plugins requested while processing /<<PKGBUILDDIR>>: []
> DEBUG: Predirs: []
> ==> erlang-erlware-commons-1.3.1+dfsg (compile)
> DEBUG: Matched required ERTS version: 12.1.1 -> .*
> DEBUG: Matched required OTP release: 24 -> .*
> DEBUG: Min OTP version unconfigured
> DEBUG: erl_opts [debug_info,
>                  {d,namespaced_types},
>                  {d,have_callback_support},
>                  {d,rand_module},
>                  {d,unicode_str},
>                  debug_info,warnings_as_errors]
> DEBUG: Files to compile first: ["src/ec_vsn.erl","src/ec_dictionary.erl"]
> Compiled src/ec_vsn.erl
> Compiled src/ec_dictionary.erl
> DEBUG: Starting 3 compile worker(s)
> Compiled src/ec_dict.erl
> Compiled src/ec_orddict.erl
> Compiled src/ec_git_vsn.erl
> src/ec_cmd_log.erl:160:5: ambiguous call of overridden auto-imported BIF error/3
>  - use erlang:error/3 or "-compile({no_auto_import,[error/3]})." to resolve name clash
> Compiling src/ec_cmd_log.erl failed:
> DEBUG: Worker compilation failed: {{error,
>                                     {error,[],
>                                      [["src/ec_cmd_log.erl:160:5: ambiguous call of overridden auto-imported BIF error/3\n - use erlang:error/3 or \"-compile({no_auto_import,[error/3]}).\" to resolve name clash\n"]]}},
>                                    {source,"src/ec_cmd_log.erl"}}
> ERROR: compile failed while processing /<<PKGBUILDDIR>>: rebar_abort
> make[1]: *** [/usr/share/dh-rebar/make/dh-rebar.Makefile:126: rebar_compile] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/erlang-erlware-commons_1.3.1+dfsg-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-erlang-devel mailing list