Bug 962967

Summary: Error while compiling libvirt-1.0.5
Product: [Community] Virtualization Tools Reporter: Javier <javi>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: crobinso, rbalakri
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: 2016-04-09 23:13:52 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 Javier 2013-05-14 20:37:33 UTC
Description of problem:

Error after invoking 'make' command while compiling libvirt-1.0.5

Version-Release number of selected component (if applicable):

libvirt-1.0.5

How reproducible:

Trying to compile libvirt-1.0.5 from sources.

Steps to Reproduce:

1. Download libvirt-1.0.5 and unpack it
2. Enter in the directory
3. './configure'
4. 'make'
  
Actual results:

 CCLD   libvirt_parthelper
libvirt_parthelper-parthelper.o: In function `main':
/usr/local/src/libvirt-1.0.5/src/storage/parthelper.c:102: undefined reference to `ped_device_get'
/usr/local/src/libvirt-1.0.5/src/storage/parthelper.c:116: undefined reference to `ped_disk_new'
/usr/local/src/libvirt-1.0.5/src/storage/parthelper.c:122: undefined reference to `ped_disk_next_partition'
/usr/local/src/libvirt-1.0.5/src/storage/parthelper.c:174: undefined reference to `ped_disk_next_partition'
collect2: ld returned 1 exit status
make[3]: *** [libvirt_parthelper] Error 1
make[3]: Leaving directory `/usr/local/src/libvirt-1.0.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/libvirt-1.0.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libvirt-1.0.5'
make: *** [all] Error 2


Expected results:

Unknown

Additional info:

$ cat /etc/issue
Debian GNU/Linux 6.0 \n \l

$ sudo dpkg -l | grep parted
ii  libparted0-dev                      2.3-5                        The GNU Parted disk partitioning library development files
ii  libparted0debian1                   2.3-5                        The GNU Parted disk partitioning shared library
ii  libparted0debian1-dbg               2.3-5                        The GNU Parted disk partitioning library debug development files
ii  parted                              2.3-5                        The GNU Parted disk partition resizing program

Comment 1 Cole Robinson 2016-04-09 23:13:52 UTC
Sorry this never received a timely response. I suspect this is long since fixed as build issues usually are, but maybe we don't have a correct dep on the right parted version. Closing as DEFERRED, but if anyone can reproduce with modern libvirt please reopen and we can investigate