Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1077869

Summary: hivex do not compile for ppc64le archi as no ocaml native compiler
Product: [Fedora] Fedora Reporter: Michel Normand <normand>
Component: hivexAssignee: Richard W.M. Jones <rjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: mbooth, rjones
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-04-22 07:24:37 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    
Attachments:
Description Flags
hivex.no.ocaml.native.compiler.patch none

Description Michel Normand 2014-03-18 18:16:33 UTC
Created attachment 876061 [details]
hivex.no.ocaml.native.compiler.patch

Description of problem: hivex do not compile for ppc64le archi as no ocaml native compiler


Version-Release number of selected component (if applicable):
hivex-1.3.9-2.fc21


Steps to Reproduce:
1. fedpkg clone -a hivex
2. fedpkg prep
3. fedpkg mockbuild

Actual results:
===
...

Provides: ocaml(Hivex) = 765f24b168da39d4a01e7c17ecf3fbca ocaml-hivex = 1.3.9-2.fc21 ocaml-hivex(ppc-64) = 1.3.9-2.fc21
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.18)(64bit) libhivex.so.0()(64bit) ocaml(Callback) = 198fb4bcde892143b0866b03cfae8085 ocaml(Pervasives) = 36b5bc8227dc9914c6d9fd9bdcfadb45 ocaml(Unix) = 93736a394d3d85d6d127fe238ddc6092 ocaml(runtime) = 4.01.0 rtld(GNU_HASH)
Processing files: ocaml-hivex-devel-1.3.9-2.fc21.ppc64le
error: File not found by glob: /home/michel/rpmbuild/BUILDROOT/hivex-1.3.9-2.fc21.ppc64le/usr/lib64/ocaml/hivex/*.cmxa
error: File not found by glob: /home/michel/rpmbuild/BUILDROOT/hivex-1.3.9-2.fc21.ppc64le/usr/lib64/ocaml/hivex/*.cmx
RPM build errors:
    File not found by glob: /home/michel/rpmbuild/BUILDROOT/hivex-1.3.9-2.fc21.ppc64le/usr/lib64/ocaml/hivex/*.cmxa
    File not found by glob: /home/michel/rpmbuild/BUILDROOT/hivex-1.3.9-2.fc21.ppc64le/usr/lib64/ocaml/hivex/*.cmx
    File not found by glob: /home/michel/rpmbuild/BUILDROOT/hivex-1.3.9-2.fc21.ppc64le/usr/lib64/ocaml/hivex/*.cmxa
    File not found by glob: /home/michel/rpmbuild/BUILDROOT/hivex-1.3.9-2.fc21.ppc64le/usr/lib64/ocaml/hivex/*.cmx
====                                                                            

Additional info:
refer to attached hivex.no.ocaml.native.compiler.patch as a proposed solution

Comment 1 Michel Normand 2014-04-22 07:24:37 UTC
native ocaml for ppc64le now available in rawhide, so no need of this bug anymore.