Bug 1375213
| Summary: | supermin doesn't seem to work | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
| Component: | supermin | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | ptoscano, rjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | s390x | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | supermin-5.1.16-6.fc26 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-10 07:29:26 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: | 467765 | ||
|
Description
Dan Horák
2016-09-12 13:32:56 UTC
"No bytecode file specified." happens because running strip on bytecode files damages them. https://bugzilla.redhat.com/show_bug.cgi?id=435559 To avoid this we usually disable stripping in the RPM: %ifnarch %{ocaml_native_compiler} %global __strip /bin/true %endif BTW there is rumoured to be an s390x backend for the OCaml compiler, although I have not used it and it's not in our OCaml package. http://alan.petitepomme.net/cwn/2015.07.14.html#2 (In reply to Richard W.M. Jones from comment #1) > "No bytecode file specified." happens because running strip on > bytecode files damages them. > > https://bugzilla.redhat.com/show_bug.cgi?id=435559 > > To avoid this we usually disable stripping in the RPM: > > %ifnarch %{ocaml_native_compiler} > %global __strip /bin/true > %endif looks like %global debug_package %{nil} is also required for supermin to work ... Quite likely. Please make sure that statement is conditional
on %{ocaml_native_compiler} too.
another solution - use dietlibc and no workarounds are needed |