Bug 1122088
| Summary: | erlang-rebar missing bootstrap for new ppc64le archi | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michel Normand <normand> |
| Component: | erlang-rebar | Assignee: | Peter Lemenkov <lemenkov> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | erlang, karsten, lemenkov, menantea, s |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | ppc64le | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-21 16:07:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1051573 | ||
|
Description
Michel Normand
2014-07-22 14:04:39 UTC
This is a blocker at least for following packages: erlang-rebar erlang-getopt erlang-erlydtl erlang-neotoma Dan took care of the bootstrap and I've built erlang-erlydtl and erlang-neotoma. erlang-getopt fails on ppc64le: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1964305 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
|