Bug 1738924 - erlang-eflame-0-0.14.gita085181.fc31 FTBFS: Uncaught error in rebar_core: {'EXIT', {undef, [{getopt,parse, ... ["compile","skip_deps=true","-vv"]]
Summary: erlang-eflame-0-0.14.gita085181.fc31 FTBFS: Uncaught error in rebar_core: {'E...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang-eflame
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-08 11:50 UTC by Petr Pisar
Modified: 2019-11-19 01:34 UTC (History)
1 user (show)

Fixed In Version: erlang-eflame-0-0.15.gita085181.fc31
Clone Of:
Environment:
Last Closed: 2019-11-19 01:34:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2019-08-08 11:50:01 UTC
erlang-eflame-0-0.14.gita085181.fc31 fails to build in Fedora 31:

+ /usr/bin/rebar compile skip_deps=true -vv
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.orAsij (%build)
*.app file (or *.app.src template) was found.
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{getopt,parse,
                                  [[{help,104,"help",undefined,
                                     "Show the program options"},
                                    {commands,99,"commands",undefined,
                                     "Show available commands"},
                                    {verbose,118,"verbose",integer,
                                     "Verbosity level (-v, -vv)"},
                                    {quiet,113,"quiet",boolean,
                                     "Quiet, only print error messages"},
                                    {version,86,"version",undefined,
                                     "Show version information"},
                                    {force,102,"force",undefined,"Force"},
                                    {defines,68,undefined,string,
                                     "Define compiler macro"},
                                    {jobs,106,"jobs",integer,
                                     "Number of concurrent workers a command may use. Default: 3"},
                                    {config,67,"config",string,
                                     "Rebar config file to use"},
                                    {profile,112,"profile",undefined,
                                     "Profile this run of rebar. Via profiler= you can optionally select either fprof (default) or eflame. The result can be found in fprof.analysis or eflame.svg. Additionally, in fprof mode, if erlgrind can be found in $PATH, a Cachegrind file (fprof.cgrind) will be generated as well."},
                                    {keep_going,107,"keep-going",undefined,
                                     "Keep running after a command fails"},
                                    {recursive,114,"recursive",boolean,
                                     "Apply all commands recursively. Alternatively, you can selectively configure what other commands in addition to the always-recursive ones (compile, *-deps) should also be applied recursively. For example, to make 'eunit' recursive, add {recursive_cmds, [eunit]} to rebar.config."}],
                                   ["compile","skip_deps=true","-vv"]],
                                  []},
                                 {rebar,parse_args,1,
                                  [{file,"src/rebar.erl"},{line,304}]},
                                 {rebar,run,1,
                                  [{file,"src/rebar.erl"},{line,101}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {erl_eval,local_func,6,
                                  [{file,"erl_eval.erl"},{line,567}]},
                                 {escript,interpret,4,
                                  [{file,"escript.erl"},{line,788}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_em,1,[]}]}}

A difference between passing and failing build root is at <https://apps.fedoraproject.org/koschei/build/6754722>.

Comment 1 Petr Pisar 2019-08-08 11:58:22 UTC
I tried to build it my Rawhide machine with latest pacakges from Koji and it fails differently:

+ /usr/bin/rebar compile skip_deps=true -vv
error: Bad exit status from /var/tmp/rpm-tmp.WcVyBE (%build)
    Macro expanded in comment on line 13: %{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz

    Bad exit status from /var/tmp/rpm-tmp.WcVyBE (%build)
*.app file (or *.app.src template) was found.
escript: exception error: undefined function rebar:main/1
  in function  erl_eval:local_func/6 (erl_eval.erl, line 567)
  in call from escript:interpret/4 (escript.erl, line 788)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1
  in call from init:do_boot/3

Comment 2 Ben Cotton 2019-08-13 17:05:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 3 Ben Cotton 2019-08-13 17:29:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 4 Fedora Update System 2019-11-10 13:09:22 UTC
FEDORA-2019-dff59c85ae has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-dff59c85ae

Comment 5 Fedora Update System 2019-11-11 01:38:23 UTC
erlang-eflame-0-0.15.gita085181.fc31, erlang-getopt-1.0.1-7.fc31, erlang-gettext-2.1.0-0.21.20170123git2bcba56.fc31, erlang-meck-0.8.13-4.fc31, erlang-mustache-0.1.1-13.fc31, erlang-neotoma-1.7.4-10.fc31, erlang-protobuffs-0.9.1-4.fc31, erlang-rebar-2.6.4-13.fc31, erlang-triq-1.3.0-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-dff59c85ae

Comment 6 Fedora Update System 2019-11-19 01:34:42 UTC
erlang-eflame-0-0.15.gita085181.fc31, erlang-getopt-1.0.1-7.fc31, erlang-gettext-2.1.0-0.21.20170123git2bcba56.fc31, erlang-meck-0.8.13-4.fc31, erlang-mustache-0.1.1-13.fc31, erlang-neotoma-1.7.4-10.fc31, erlang-protobuffs-0.9.1-4.fc31, erlang-rebar-2.6.4-13.fc31, erlang-triq-1.3.0-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.