<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>186181</bug_id>
          
          <creation_ts>2007-07-22 07:27 0000</creation_ts>
          <short_desc>dev-java/jdom-1.0-r2 has wrong SRC_URI</short_desc>
          <delta_ts>2007-07-22 09:21:25 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Java</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.jdom.org/dist/source/jdom-b9.tar.gz</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@blueSpirit.la</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gentoo@blueSpirit.la</who>
            <bug_when>2007-07-22 07:27:28 0000</bug_when>
            <thetext>It&apos;s a really easy problem: Emerge tries to download JDom-b9 from http://www.jdom.org/dist/source/jdom-b9.tar.gz. The correct URL is instead http://www.jdom.org/dist/source/archive/jdom-b9.tar.gz.

Reason: The Jdom-team moves &quot;old&quot; version in the archive folder. So if you write an ebuild for the current version, the URL http://www.jdom.org/dist/source/jdom-XXX.tar.gz is correct - as long as there is no better version available. In my opinion this will occur to the working eBuild &quot;dev-java/jdom-1.0-r2&quot; in the near future too!

Reproducible: Always

Steps to Reproduce:
In my case

&quot;emerge xdoclet&quot;

but also 

&quot;emerge -pv &quot;=dev-java/jdom-1.0_beta9-r2&quot;&quot;

Actual Results:  
&gt;&gt;&gt; Emerging (1 of 6) dev-java/jdom-1.0_beta9-r2 to /
&gt;&gt;&gt; Downloading &apos;http://pandemonium.tiscali.de/pub/gentoo/distfiles/jdom-b9.tar.gz&apos;
--09:18:00--  http://pandemonium.tiscali.de/pub/gentoo/distfiles/jdom-b9.tar.gz
           =&gt; `/usr/portage/distfiles/jdom-b9.tar.gz&apos;
Resolving pandemonium.tiscali.de... 195.52.219.14
Connecting to pandemonium.tiscali.de|195.52.219.14|:80... failed: Connection refused.
&gt;&gt;&gt; Downloading &apos;http://www.jdom.org/dist/source/jdom-b9.tar.gz&apos;
--09:18:01--  http://www.jdom.org/dist/source/jdom-b9.tar.gz
           =&gt; `/usr/portage/distfiles/jdom-b9.tar.gz&apos;
Resolving www.jdom.org... 65.212.180.182
Connecting to www.jdom.org|65.212.180.182|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:18:01 ERROR 404: Not Found.

!!! Couldn&apos;t download &apos;jdom-b9.tar.gz&apos;. Aborting.

Expected Results:  
:-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-07-22 09:18:02 0000</bug_when>
            <thetext>Well you should be able to fetch this stuff from the mirrors just fine.

pena jdom # devebuild jdom-1.0_beta9-r2.ebuild clean unpack
depend:  /usr/portage/dev-java/jdom/jdom-1.0_beta9-r2.ebuild
&gt;&gt;&gt; Downloading &apos;http://trumpetti.atm.tut.fi/gentoo/distfiles/jdom-b9.tar.gz&apos;
--12:17:11--  http://trumpetti.atm.tut.fi/gentoo/distfiles/jdom-b9.tar.gz
           =&gt; `/var/distfiles/jdom-b9.tar.gz&apos;
Resolving trumpetti.atm.tut.fi... 130.230.54.100
Connecting to trumpetti.atm.tut.fi|130.230.54.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,417,274 (3.3M) [application/x-tar]

100%[============================================================================================================================================================&gt;] 3,417,274      9.24M/s

12:17:12 (9.24 MB/s) - `/var/distfiles/jdom-b9.tar.gz&apos; saved [3417274/3417274]

But of course it is preferred to keep the urls up2date.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-07-22 09:21:25 0000</bug_when>
            <thetext>It would be better for upstream to put the files into archive from day 1 so that we wouldn&apos;t have to update SRC_URI. It would be great if you would take the time to report this upstream. In the meanwhile I update SRC_URI for beta9 and beta10.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>