Bug 1286432
Summary: | librpm handler does not build with rpm < 4.9 | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | xiaoqing <xiaoqingnb> |
Component: | supermin | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | ptoscano, rjones, swaite |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-10-18 13:25:48 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: |
Description
xiaoqing
2015-11-29 13:11:59 UTC
it work correct for supermin 5.1.10 and supermin 5.1.9,only test from 5.1.9 to master. not work in other version, include 5.1.11 5.1.12 5.1.13 and master. (In reply to xiaoqing from comment #0) > i use the centos 6.7 to compile supermin 5.1.13 whitout librpm,supermin > --list-drivers not detect package handlers > > [root@app-test libguestfs-1.30.5]# /usr/local/supermin/bin/supermin > --list-drivers > arch/pacman not-detected > debian/dpkg not-detected > mageia/rpm not-detected > opensuse/rpm not-detected > ibm_powerkvm/rpm not-detected > fedora/rpm not-detected Since supermin 5.1.11, librpm is used in the rpm handler, so you need librpm-devel for it. This is expected. > if compile with librpm,has error in make > > checking for rpm... /bin/rpm > checking for rpm2cpio... /usr/bin/rpm2cpio > checking for yumdownloader... /usr/bin/yumdownloader > checking for dnf... no > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for LIBRPM... yes > > librpm-c.c: In function 'createProvidesIterator': > librpm-c.c:327: error: 'RPMDBI_PROVIDENAME' undeclared (first use in this > function) > librpm-c.c:327: error: (Each undeclared identifier is reported only once > librpm-c.c:327: error: for each function it appears in.) > librpm-c.c:331: error: 'RPMDBI_INSTFILENAMES' undeclared (first use in this > function) > make[2]: *** [supermin-librpm-c.o] Error 1 > make[2]: Leaving directory `/root/supermin/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/supermin' > make: *** [all] Error 2 This is the actual issue: these enums were introduced in rpm 4.9.0, and RHEL/CentOS 6.x has rpm 4.8; hence, retitling the bug according to this. > i find same problem in https://bugzilla.redhat.com/show_bug.cgi?id=1082044 No, that was a different issue in an older version. Btw, can you please remove all the groups in this bug? They make the bug private, which is not really a good choice. This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase All current releases have much newer RPM, so closing this old bug. |