All of lore.kernel.org
 help / color / mirror / Atom feed
* Perl CPAN module install path bug in cpan_build.bbclass?
@ 2013-11-29  8:45 Koen Kooi
  2013-11-29 13:47 ` Koen Kooi
  0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2013-11-29  8:45 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer, Nitin A Kamble
  Cc: Tim Orling, Elias Bakken

Hi,

I've been working on perl modules and I noticed some of them don't work properly and nearly all of the non-working ones are Build.PL based and use cpan_build.bbclass. 

A working module looks like this:
	[koen@rrmbp v2013.06]$ dpkg-deb -c deploy/eglibc/ipk/armv7ahf-vfp-neon/perl-module-test-differences_0.61-r0.1_armv7ahf-vfp-neon.ipk
	-r--r--r-- root/root     19567 2013-11-28 15:20 ./usr/lib/perl/vendor_perl/5.14.3/Test/Differences.pm

A non-working one looks like this:
	[koen@rrmbp v2013.06]$ dpkg-deb -c deploy/eglibc/ipk/armv7ahf-vfp-neon/perl-module-build-withxspp_0.14-r0.0_armv7ahf-vfp-neon.ipk
	-rw-r--r-- root/root       361 2013-11-28 16:50 ./usr/lib/perl/auto/Module/Build/WithXSpp/.packlist
	-r--r--r-- root/root     22557 2013-11-28 16:50 ./usr/share/perl/Module/Build/WithXSpp.pm

Looking through the git logs it looks like Nitin tried to fix it, but stopped halfway and only did cpan.bbclass properly:

	https://github.com/openembedded/oe-core/commit/83796edd29561f02b6f7b036351711f8def77a4f

Since I don't know anything about perl, should cpan_build.bbclass be changes to install into /usr/lib/perl/vendor_perl/5.14.3 as well or are Build.PL based modules 'special' and need a lot more work? This is what I had in mind:

-        --install_path lib="${datadir}/perl" \
+        --install_path lib="${libdir}/perl/vendor_perl/${@get_perl_version(d)}" \

regards,

Koen

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-29 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29  8:45 Perl CPAN module install path bug in cpan_build.bbclass? Koen Kooi
2013-11-29 13:47 ` Koen Kooi
2013-11-29 14:40   ` Richard Purdie
2013-11-29 14:54     ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.