Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 661772

Summary: hivex can't be rebuild in mock
Product: Red Hat Enterprise Linux 6 Reporter: Levente Farkas <lfarkas>
Component: hivexAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-04 12:11:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Levente Farkas 2010-12-09 16:06:49 UTC
can't be rebuild in mock because of this bug:

Provides: dllmlhivex.so ocaml(Hivex) = d3ca6d00b73418b8f8e01153a2505e55
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies)
 <= 3.0.3-1
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libhivex.so.0 ocaml(Callback) = 71e1f9b7f211661f1dfeedab5ffae0cc ocaml(Pervasives) = 88cb1505
c8bdf9a4dcd2cdf3452732b4 ocaml(Unix) = 0596a58544f8cd88fed5bf5432a53d43 ocaml(runtime) = 3.11.2 rtld(GNU_HASH)
Processing files: ocaml-hivex-devel-1.2.2-1.el6.i686
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: perl-hivex-1.2.2-1.el6.i686
RPM build errors:
error: File not found by glob: /builddir/build/BUILDROOT/hivex-1.2.2-1.el6.i386/usr/lib/perl5/vendor_perl/*
    Macro % has illegal name (%define)
    Macro % has illegal name (%define)
    File not found by glob: /builddir/build/BUILDROOT/hivex-1.2.2-1.el6.i386/usr/lib/perl5/vendor_perl/*
error: Macro % has illegal name (%define)

Comment 2 Levente Farkas 2010-12-21 15:41:15 UTC
just modify the install line to:
make install DESTDIR=$RPM_BUILD_ROOT INSTALLSITEARCH=%{perl_vendorarch}

Comment 3 Richard W.M. Jones 2011-01-04 12:11:09 UTC

*** This bug has been marked as a duplicate of bug 657017 ***