<?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>2546</bug_id>
          
          <creation_ts>2012-06-06 01:29:44 +0000</creation_ts>
          <short_desc>[bitbake] gtk+ is decoded into gtk%2B</short_desc>
          <delta_ts>2012-06-13 15:44:33 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>2558</dup_id>
          
          <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="Shane Wang">shane.wang</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>rpjday</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21870</commentid>
    <comment_count>0</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2012-06-06 01:29:44 +0000</bug_when>
    <thetext>In bitbake fetch code doesn&apos;t handle some special characters like +, (gtk+ is decoded into gtk%2B) and gets the directory doesn&apos;t exist on the local drive, which is wrong.

So, that causes source mirror url doesn&apos;t work. Here is what Robert told in the mail list.

&gt;   for a yocto talk to my local LUG later this week, i want to build
&gt; a simple core-image-sato image for qemux86 and, for quite some time,
&gt; i&apos;ve kept a local download directory for tarballs, and taken
&gt; advantage of it with this in all of my local.conf files:
&gt;
&gt; SOURCE_MIRROR_URL ?= &quot;file:///home/rpjday/dl/&quot;
&gt; INHERIT += &quot;own-mirrors&quot;
&gt; BB_GENERATE_MIRROR_TARBALLS = &quot;1&quot;
&gt; # BB_NO_NETWORK = &quot;1&quot;
&gt;
&gt;   obviously, as i notice newer tarballs getting downloaded, i&apos;ll
&gt; just copy them into ~/dl so it doesn&apos;t happen again.  works fine,
&gt; except today with gtk+-2.24.8.tar.bz2 which, even after i made a
&gt; copy of it in ~/dl, the build still *insists* on downloading it from
&gt; download.gnome.org.
&gt;
&gt;   i don&apos;t see any obvious problem -- the checksum of the tarball
&gt; appears correct, it&apos;s a regular file, the tarball downloaded is
&gt; *exactly* the same as the one i&apos;ve saved in ~/dl and yet, of all the
&gt; tarballs i have stashed away there, that one is the *only* one that
&gt; is downloaded each time.

  ok, i&apos;m baffled and getting thoroughly annoyed here.  i started from
absolute scratch, configured to build for qemux86, then did

  $ bitbake -c fetchall core-image-sato

while pointing at my massive directory of tarballs which includes
gtk+-2.24.8.tar.bz2.  every required tarball is accessed (via symlink)
from my ~/dl directory, *except* for that incredibly irritating
gtk+-2.24.8.tar.bz2 tarball, which is downloaded by the &quot;fetchall&quot;
command *every* *single* *time*.

  i&apos;ve verified that tarball is there.  i&apos;ve verified its md5 and
sha256 checksums.  i&apos;m out of ideas.

  what am i doing wrong?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22140</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-06-13 15:44:33 +0000</bug_when>
    <thetext>This looks like the same issue as 2558

*** This bug has been marked as a duplicate of bug 2558 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>