<?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>15793</bug_id>
          
          <creation_ts>2025-03-11 13:20:08 +0000</creation_ts>
          <short_desc>meta-java (hardknott) recipes with archive.apache.org in SRC_URI  fails to fetch</short_desc>
          <delta_ts>2025-03-13 15:19:29 +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>3.3.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Enrique Herrera">Enrique.Herrera</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</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>101341</commentid>
    <comment_count>0</comment_count>
    <who name="Enrique Herrera">Enrique.Herrera</who>
    <bug_when>2025-03-11 13:20:08 +0000</bug_when>
    <thetext>I ran into fetch fails while building my &apos;hardknott&apos; project, for the first time this year.  It seems any java recipe that uses &apos;archive.apache.org&apos; to download source code, fails to fetch.  

I was able to find and append xml-commons-resolver link at: https://dlcdn.apache.org//xerces/xml-commons/binaries/xml-commons-resolver-1.2.tar.gz

After I was able to successfully build xml-commons-resolver, then avalon-framework-api failed to fetch.  I suspect all recipes that have links to  archive.apache.org would fail.  

I really do not have time to fix all the recipes that have this issues. 


----

ERROR: xml-commons-resolver1.1-native-1.2-r1 do_fetch: Fetcher failure for URL: &apos;http://archive.apache.org/dist/xml/commons/xml-commons-resolver-1.2.tar.gz&apos;. Unable to fetch URL from any source.

ERROR: avalon-framework-api-native-4.3-r1 do_fetch: Fetcher failure for URL: &apos;http://archive.apache.org/dist/excalibur/avalon-framework/source/avalon-framework-api-4.3-src.tar.gz;name=archive&apos;. Unable to fetch URL from any source.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101369</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-03-13 14:41:30 +0000</bug_when>
    <thetext>That&apos;s unfortunate but this isn&apos;t a bug for YoctoProject&apos;s bugzilla.

The content on the internet is unreliable so you should cache your content as is done for some YP vendors (WindRiver for example).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101374</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-03-13 15:19:29 +0000</bug_when>
    <thetext>Oh and hardknott is no longer supported:
   https://wiki.yoctoproject.org/wiki/Releases
It seems that the EOL was April 2022.

The project may need to document which projects are tracked in the YP Bugzilla
and/or provide a tool to check but this sort of report isn&apos;t so frequent that we can allocate scarce resources to doing that work.

The YP bugzilla tracks only certain projects hosted on:
https://git.yoctoproject.org/

The meta-java repo and the bugzilla menu system should have helped you to understand that.

This wiki may be helpful.
https://wiki.yoctoproject.org/wiki/Bugzilla_Configuration_and_Bug_Tracking

Finally, while we aren&apos;t supporting hardknott if you have source URLs that
you are not able to find and manually fetch yourself, I may have archived some of them as part of WR Linux and I&apos;d be willing to check for you for a few but not 10s or 100s of packages.

Good luck.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>