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 916130 - libguestfs can't rebuild in mock
Summary: libguestfs can't rebuild in mock
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libguestfs
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 958183
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-27 11:41 UTC by Levente Farkas
Modified: 2013-06-28 12:44 UTC (History)
4 users (show)

Fixed In Version: libguestfs-1.20.9-5.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-28 11:05:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build.log (2.71 MB, text/plain)
2013-02-28 19:27 UTC, Levente Farkas
no flags Details
root.log (75.07 KB, text/plain)
2013-02-28 19:28 UTC, Levente Farkas
no flags Details

Description Levente Farkas 2013-02-27 11:41:51 UTC
libguestfs-1.16.34-2.el6 can't rebuild in mock since gives this error
----------------------------------
libguestfs: [00044ms] begin building supermin appliance
libguestfs: [00044ms] run febootstrap-supermin-helper
libguestfs: [00044ms] febootstrap-supermin-helper --verbose -f ext2 /builddir/build/BUILD/libguestfs-1.16.34/appliance/supermin.d x86_64 /builddir/build/BUIL
D/libguestfs-1.16.34/guestfs.v8UCXK/kernel /builddir/build/BUILD/libguestfs-1.16.34/guestfs.v8UCXK/initrd /builddir/build/BUILD/libguestfs-1.16.34/guestfs.v8
UCXK/root
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = /builddir/build/BUILD/libguestfs-1.16.34/guestfs.v8UCXK/kernel, initrd = /
builddir/build/BUILD/libguestfs-1.16.34/guestfs.v8UCXK/initrd, appliance = /builddir/build/BUILD/libguestfs-1.16.34/guestfs.v8UCXK/root
supermin helper [00000ms] inputs[0] = /builddir/build/BUILD/libguestfs-1.16.34/appliance/supermin.d
checking modpath /lib/modules/2.6.32-358.el6.x86_64 is a directory
picked vmlinuz-2.6.32-358.el6.x86_64 because modpath /lib/modules/2.6.32-358.el6.x86_64 exists
supermin helper [00000ms] finished creating kernel
supermin helper [00076ms] finished mke2fs
supermin helper [00077ms] visiting /builddir/build/BUILD/libguestfs-1.16.34/appliance/supermin.d
supermin helper [00077ms] visiting /builddir/build/BUILD/libguestfs-1.16.34/appliance/supermin.d/base.img
supermin helper [02251ms] visiting /builddir/build/BUILD/libguestfs-1.16.34/appliance/supermin.d/daemon.img
supermin helper [02255ms] visiting /builddir/build/BUILD/libguestfs-1.16.34/appliance/supermin.d/hostfiles
supermin helper [03973ms] visiting /builddir/build/BUILD/libguestfs-1.16.34/appliance/supermin.d/init.img
supermin helper [03973ms] adding kernel modules
supermin helper [05483ms] closing ext2 filesystem
febootstrap-supermin-helper: symbol lookup error: febootstrap-supermin-helper: undefined symbol: ext2fs_close2
*stdin*:2: libguestfs: error: external command failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x1ba6da0 (state 0)
FAIL: qemu-liveness.sh
----------------------------------

Comment 2 Richard W.M. Jones 2013-02-27 12:54:11 UTC
The error is caused by e2fsprogs-libs missing the new
symbol ext2fs_close2:

febootstrap-supermin-helper: symbol lookup error: febootstrap-supermin-helper: undefined symbol: ext2fs_close2
*stdin*:2: libguestfs: error: external command failed, see earlier error messages

I've no idea why that is, because there's not enough information
in this report.  Please supply the complete root.log and build.log
from mock.

Comment 3 Levente Farkas 2013-02-28 19:27:13 UTC
Created attachment 703938 [details]
build.log

Comment 4 Levente Farkas 2013-02-28 19:28:25 UTC
Created attachment 703939 [details]
root.log

Comment 5 Richard W.M. Jones 2013-02-28 19:59:25 UTC
Where does febootstrap come from?  e2fsprogs-libs 1.41.12-14
does not contain the new ext2fs_close2 symbol.  But for some
reason your copy of febootstrap is linked against that symbol,
so it must have been built against a newer / upstream e2fsprogs,
and not the version that is installed on your machine.

Comment 6 Levente Farkas 2013-02-28 23:18:58 UTC
you've got right.
sorry it was my fault:-(

Comment 8 Richard W.M. Jones 2013-06-28 11:05:23 UTC
General issues with libguestfs rebuilding in mock are fixed
by the rebase (bug 958183).

In this specific case it turned out to be not a bug related
to libguestfs.


Note You need to log in before you can comment on or make changes to this bug.