<?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>14343</bug_id>
          
          <creation_ts>2021-04-13 17:26:54 +0000</creation_ts>
          <short_desc>ca-certificates_20210119.bb: fails to build (file:// urls using globbing are no longer supported)</short_desc>
          <delta_ts>2021-04-15 14:37:01 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christian Strahl">c.a.strahl</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89924</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Strahl">c.a.strahl</who>
    <bug_when>2021-04-13 17:26:54 +0000</bug_when>
    <thetext>when trying to build a bsp with yocto gatesgarth or hardknott, the canning of the recipes fails with the following error message:


Loading cache: 100% |                                                                                                                                           | ETA:  --:--:--
Loaded 0 entries from dependency cache.
ERROR: ExpansionError during parsing /home/username/projects/projectname/poky/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb               | ETA:  0:00:09
Traceback (most recent call last):
  File &quot;Var &lt;do_fetch[file-checksums]&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/home/username/projects/projectname/poky/bitbake/lib/bb/fetch2/__init__.py&quot;, line 1182, in get_checksum_file_list(d=&lt;bb.data_smart.DataSmart object at 0x7f0565456d30&gt;):
         &quot;&quot;&quot;
    &gt;    fetch = Fetch([], d, cache = False, localonly = True)

  File &quot;/home/username/projects/projectname/poky/bitbake/lib/bb/fetch2/__init__.py&quot;, line 1633, in Fetch.__init__(urls=[&apos;git://salsa.debian.org/debian/ca-certificates.git;protocol=https&apos;, &apos;file://0002-update-ca-certificates-use-SYSROOT.patch&apos;, &apos;file://0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch&apos;, &apos;file://update-ca-certificates-support-Toybox.patch&apos;, &apos;file://default-sysroot.patch&apos;, &apos;file://sbindir.patch&apos;, &apos;file://0003-update-ca-certificates-use-relative-symlinks-from-ET.patch&apos;, &apos;file://*.crt&apos;], d=&lt;bb.data_smart.DataSmart object at 0x7f0565456d30&gt;, cache=False, localonly=True, connection_cache=None):
                     try:
    &gt;                    self.ud[url] = FetchData(url, d, localonly)
                     except NonLocalMethod:
  File &quot;/home/username/projects/projectname/poky/bitbake/lib/bb/fetch2/__init__.py&quot;, line 1277, in FetchData.__init__(url=&apos;file://*.crt&apos;, d=&lt;bb.data_smart.DataSmart object at 0x7f0565456d30&gt;, localonly=True):
             if hasattr(self.method, &quot;urldata_init&quot;):
    &gt;            self.method.urldata_init(self, d)

  File &quot;/home/username/projects/projectname/poky/bitbake/lib/bb/fetch2/local.py&quot;, line 37, in Local.urldata_init(ud=&lt;bb.fetch2.FetchData object at 0x7f0565dac070&gt;, d=&lt;bb.data_smart.DataSmart object at 0x7f0565456d30&gt;):
             if &quot;*&quot; in ud.decodedurl:
    &gt;            raise bb.fetch2.ParameterError(&quot;file:// urls using globbing are no longer supported. Please place the files in a directory and reference that instead.&quot;, ud.url)
             return
bb.data_smart.ExpansionError: Failure expanding variable do_fetch[file-checksums], expression was ${@bb.fetch.get_checksum_file_list(d)}  ${@get_lic_checksum_file_list(d)} which triggered exception ParameterError: URL: &apos;file://*.crt&apos; has invalid parameters. file:// urls using globbing are no longer supported. Please place the files in a directory and reference that instead.


Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89950</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-04-15 14:36:09 +0000</bug_when>
    <thetext>This works everywhere.... You might need to checkout the right version of bitbake to match oe-core. There&apos;s a table somewhere to show what the version requirements are but I can&apos;t find it right now. Ping me if you need help. Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89951</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-04-15 14:37:01 +0000</bug_when>
    <thetext>The table is https://wiki.yoctoproject.org/wiki/Releases

You are using a newer oe-core with an old Bitbake: don&apos;t do that.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>