Seems like xmalloc() is no longer exported by the rpm libraries, leading to
situations like this with the perl bindings that uses it a couple of places:
t/01.rpm.t .............. 1/12
#   Failed test 'use RPM;'
#   at t/01.rpm.t line 7.
#     Tried to use 'RPM'.
#     Error:  Can't load
'/home/peroyvind/ABF/queue/rpm/BUILD/rpm-5.4.13/perl/blib/arch/auto/RPM/RPM.so'
for module RPM:
/home/peroyvind/ABF/queue/rpm/BUILD/rpm-5.4.13/perl/blib/arch/auto/RPM/RPM.so:
undefined symbol: xmalloc at
/usr/lib/perl5/5.16.3/x86_64-linux-thread-multi/DynaLoader.pm line 190.
#  at (eval 4) line 2.

Attached you'll find a patch changing it to use malloc() in stead. :)

--
Regards,
Per Øyvind

Attachment: rpm-5.4.13-perl-bindings-do-not-use-xmalloc.patch
Description: Binary data

Reply via email to