[Libvir] RPM build issue

Hi! I am trying to build libvirt-0.4.1 on Centos 5.1/i386 from SRPM. I am getting following error: RPM build errors: File not found: /var/tmp/libvirt-0.4.1-root/usr/libexec/ libvirt_parthelper Any suggestions? Sincerely, Vadim

It was due to missing build dependency in SRPM: e2fsprogs-devel. Vadim
I am trying to build libvirt-0.4.1 on Centos 5.1/i386 from SRPM. I am getting following error:
RPM build errors: File not found: /var/tmp/libvirt-0.4.1-root/usr/libexec/ libvirt_parthelper

On Tue, Mar 04, 2008 at 05:59:53PM -0800, Vadim Zaliva wrote:
It was due to missing build dependency in SRPM: e2fsprogs-devel.
Hmm, are you sure about that ? AFAIK, we don't have any (direct) dependancy on e2fsprogs-devel. Our primary dependancy for this particular binary is the parted-devel RPM. If merely having parted-devel is not sufficient, can you post the config.log file after a failed build attempt without e2fsprogs-devel present. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

On Mar 4, 2008, at 19:03, Daniel P. Berrange wrote:
Hmm, are you sure about that ? AFAIK, we don't have any (direct) dependancy on e2fsprogs-devel. Our primary dependancy for this particular binary is the parted-devel RPM. If merely having parted-devel is not sufficient, can you post the config.log file after a failed build attempt without e2fsprogs-devel present.
It is needed for 'uuid' static library, which is checked as part of 'parted' test. [root@localhost ~]# rpm -qil e2fsprogs-devel| grep libuu /usr/lib/libuuid.a /usr/lib/libuuid.so Here is relevant configure.in fragment: if test "$PARTED_FOUND" = "no"; then # RHEL-5 vintage parted is missing pkg-config files save_LIBS="$LIBS" save_CFLAGS="$CFLAGS" PARTED_FOUND=yes AC_CHECK_HEADER(parted/parted.h,,[PARTED_FOUND=no]) AC_CHECK_LIB(uuid, uuid_generate,,[PARTED_FOUND=no]) AC_CHECK_LIB(parted, ped_device_read,,[PARTED_FOUND=no]) LIBPARTED_LIBS="-luuid -lparted" LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" fi Vadim

On Tue, Mar 04, 2008 at 07:07:26PM -0800, Vadim Zaliva wrote:
On Mar 4, 2008, at 19:03, Daniel P. Berrange wrote:
Hmm, are you sure about that ? AFAIK, we don't have any (direct) dependancy on e2fsprogs-devel. Our primary dependancy for this particular binary is the parted-devel RPM. If merely having parted-devel is not sufficient, can you post the config.log file after a failed build attempt without e2fsprogs-devel present.
It is needed for 'uuid' static library, which is checked as part of 'parted' test.
Ahhh, I see, parted-devel is missing a dep on e2fsprogrs-devel so we'll have to add one ourselves :-( Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
participants (2)
-
Daniel P. Berrange
-
Vadim Zaliva