https://bugzilla.redhat.com/show_bug.cgi?id=1122088
Menanteau Guy menantea@linux.vnet.ibm.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |menantea@linux.vnet.ibm.com
--- Comment #3 from Menanteau Guy menantea@linux.vnet.ibm.com --- Tests failures of erlang-getopt are still due to bootstrap.
I succeed to build erlang-getopt following this procedure: 1. build erlang-rebar in bootstrap mode
2. install erlang-rebar (bootstrap) note that erlang-rebar have a require on erlang-getopt so I modified erlang-rebar.spec has following:
# eunit_test:function_wrapper/2. This function was removed in R16, and rebar # contains a workaround for that. So no need to worry about that. Requires: erlang-eunit%{?_isa} + %if 0%{?need_bootstrap} < 1 Requires: erlang-getopt%{?_isa} + %endif Requires: erlang-kernel%{?_isa} Requires: erlang-lfe%{?_isa} Requires: erlang-mustache%{?_isa}
3. build erlang-getopt with tests disbaled (--nocheck on build) note if it is not easy to automatically run a build with tests disabled, then a bootstrap mechanism needs to be defined in erlang-getopt.spec to diasble %check build process section when bootstrap on.
4. install erlang-getopt
5. build erlang-rebar in normal mode (no bootstrap)
6. uninstall erlang-rebar (bootstrap)
7. install erlang-rebar normal (no bootstrap)
8. build erlang-getopt with tests enabled