**** BEGIN LOGGING AT Wed Aug 08 03:00:02 2018 Aug 08 16:12:47 hi, I'm using a recipe which inherits cpan_build.bbclass but it fails at configure time with: "Can't locate Module/Build.pm in @INC (you may need to install the Module::Build module)" Aug 08 16:13:03 I'm indeed unable to find the Build.pm file in any sysroot Aug 08 16:13:32 shouldn't the bbclass take care to install that one automatically? (using cpan.bbclass? I don't have much perl knowledge) Aug 08 16:27:29 khem, thanks for fixing the txws recioe Aug 08 16:36:31 as far as I understand from cpan_build.bbclass, Module::Build used to be installed by perl-native but at some point it was dropped. Aug 08 16:36:57 But it seems nobody provided a new recipe to install it from cpan in cpan_build.bbclass Aug 08 16:39:04 here's a sample recipe using cpan_build if some else with more perl knowledge wants to give it a try: https://paste.debian.net/1037170/ Aug 08 16:39:46 because it seems no recipe in poky uses cpan_build.bbclass, that probably explains why it's broken? Aug 08 16:45:55 ANy good docs on using OE to build and bot via an intramfs? Aug 08 16:49:31 in here it explains dropping Module::Build from perl core: http://www.dagolden.com/index.php/2140/paying-respect-to-modulebuild/ Aug 08 16:55:00 pespin_: it looks like the meta-perl layer in meta-openembedded has libmodule-build-perl, and the one cpan_build user in there add DEPENDS += "libmodule-build-perl-native" to have things work Aug 08 16:55:46 smurray, shouldn't that be in poky or oe-core then? otherwise the bbclass is broken Aug 08 17:01:52 pespin_: It does seem a bit odd, but if there are no users in oe-core, I suspect it's fallen through the cracks Aug 08 17:02:42 smurray, not sure if the one in meta-openembedded works though, since libmodule-build-perl inherits cpan_build.... Aug 08 17:07:23 I think that libmodule-build-perl.bb should be changed to use cpan instead of cpan_build. Then revert this commit in poky: https://git.yoctoproject.org/cgit.cgi/poky/commit/meta/classes/cpan_build.bbclass?id=304ebe1fa2b05f62a15882095317044fd29c4c8d Aug 08 17:08:41 I think I'll open a bug report with this convesation Aug 08 17:09:51 Crofton: I dont know what you meant, but I am always good to accept gratitude Aug 08 17:33:37 khem, http://cgit.openembedded.org/meta-openembedded/log/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb Aug 08 17:34:02 likely there were a bunch of failures of that sort Aug 08 17:36:11 bug created in https://bugzilla.yoctoproject.org/show_bug.cgi?id=12873 Aug 08 19:16:55 pespin_: I think that commit in poky is likely correct, since I believe upstream Perl moved Build.pl out of tree. Aug 08 19:19:06 pespin_: but the issue of whether cpan_build should work with just oe-core is a good question Aug 08 20:20:23 smurray, we will still need something like 304ebe1fa2b05f62a15882095317044fd29c4c8d once we add a new recipe to build Module::Build with cpan, so it gets included as a DEPENDS automatically in cpan_build.bbclass Aug 09 00:14:08 khem, do you see any issue update the Rocko glib 2.26 to its tip ? **** ENDING LOGGING AT Thu Aug 09 02:59:59 2018