<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12501</bug_id>
          
          <creation_ts>2018-01-18 13:42:26 +0000</creation_ts>
          <short_desc>Consider moving perl to perl-cross</short_desc>
          <delta_ts>2019-01-11 17:18:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>2.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79123</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-01-18 13:42:26 +0000</bug_when>
    <thetext>We have to maintain a number of patches to cross compile Perl.  However there does exist a perl-cross overlay to cross compile Perl that is used by buildroot and others:

https://github.com/arsv/perl-cross

https://git.busybox.net/buildroot/tree/package/perl/perl.mk

Sharing this would mean we have to maintain less ourselves.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80686</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2018-06-01 18:22:03 +0000</bug_when>
    <thetext>I&apos;ve started working on this; initial results are rather promising:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/perl-sanity</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80715</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2018-06-05 14:58:52 +0000</bug_when>
    <thetext>So the current situation with the branch is that the new perl recipe builds without errors or warnings (in all three variants - native, target, nativesdk), and perl modules are split into packages in a reasonable sane way. The commit history is a mess, I know, and needs to be reworked.

There are however a few build failures:
Summary: 12 tasks failed:
  virtual:native:/home/ak/development/poky/meta/recipes-support/shared-mime-info/shared-mime-info_1.9.bb:do_compile
  /home/ak/development/poky/meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb:do_configure
  /home/ak/development/poky/meta/recipes-extended/perl/libxml-namespacesupport-perl_1.12.bb:do_configure
  /home/ak/development/poky/meta/recipes-extended/perl/libxml-sax-base-perl_1.09.bb:do_configure
  /home/ak/development/poky/meta/recipes-extended/perl/libxml-sax-perl_1.00.bb:do_configure
  /home/ak/development/poky/meta/recipes-devtools/perl/libtest-needs-perl_0.002005.bb:do_configure
  /home/ak/development/poky/meta/recipes-extended/perl/libconvert-asn1-perl_0.27.bb:do_configure
  /home/ak/development/poky/meta/recipes-devtools/perl/liberror-perl_0.17025.bb:do_configure
  /home/ak/development/poky/meta/recipes-extended/perl/libtimedate-perl_2.30.bb:do_configure
  /home/ak/development/poky/meta/recipes-devtools/perl/liburi-perl_1.74.bb:do_configure
  /home/ak/development/poky/meta/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb:do_prepare_recipe_sysroot
  /home/ak/development/poky/meta/recipes-devtools/git/git_2.16.1.bb:do_install


and whether perl works on target isn&apos;t tested either.

As I&apos;m about to switch jobs and countries I thought this is a good point to take a pause, hopefully this work can be completed later :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82752</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2019-01-11 17:18:37 +0000</bug_when>
    <thetext>This has been merged to oe-core master :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>