<?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>10798</bug_id>
          
          <creation_ts>2016-12-13 01:42:58 +0000</creation_ts>
          <short_desc>eSDK: sdk-update fails with error if no updates are available</short_desc>
          <delta_ts>2025-07-03 15:32:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>2.4.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>brian.avery</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
    
    <cc>vineeth.chowdary</cc>
    
    <cc>wmills</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69072</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-12-13 01:42:58 +0000</bug_when>
    <thetext>I built an core-image-base eSDK targeting qemux86. eSDK has SDK_UPDATE_URL set and oe-publish-sdk has been run

$ bitbake core-image-base -c populate_sdk_ext
$ oe-publish-sdk tmp/deploy/sdk/poky-glibc-x86_64-core-image-base-i586-toolchain-ext-2.2.sh /path/to/esdk/update

Observed behavior
=================
$ wget poky-glibc-x86_64-core-image-base-i586-toolchain-ext-2.2.sh http://....
$ ./poky-glibc-x86_64-core-image-base-i586-toolchain-ext-2.2.sh -d /path/to/esdk
$ /path/to/esdk/environment-setup-i586-poky-linux
SDK environment now set up; additionally you may now run devtool to perform development tasks.
Run devtool --help for further details.
$ devtool sdk-update
Cloning into &apos;layers&apos;...
Checking connectivity... done.
NOTE: Preparing build system... (This may take some time.)
ERROR: Preparation failed:
Nothing to do.  Use &apos;bitbake world&apos; to build everything, or run &apos;bitbake --help&apos; for usage information.

Expected behavior
=================
Install eSDK and set up environment as above
$ devtool sdk-update
Your eSDK is up-to-date (or some similar message)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69073</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-12-13 02:53:15 +0000</bug_when>
    <thetext>Minor missing detail - this is with SDK_EXT_TYPE = &quot;minimal&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71606</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-03-22 20:30:36 +0000</bug_when>
    <thetext>grabbing so I can build knowledge :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75468</commentid>
    <comment_count>3</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-07-30 13:33:55 +0000</bug_when>
    <thetext>Moving to M3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76301</commentid>
    <comment_count>4</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-08-29 22:59:05 +0000</bug_when>
    <thetext>moving to m4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78630</commentid>
    <comment_count>5</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-12-08 22:16:57 +0000</bug_when>
    <thetext>Moving to Paul</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81279</commentid>
    <comment_count>6</comment_count>
    <who name="Vineeth Chowdary">vineeth.chowdary</who>
    <bug_when>2018-08-09 14:29:41 +0000</bug_when>
    <thetext>I am able to see this error in rocko release with full e-SDK

Steps:
=====

$ wget http://mirrors.kernel.org/yocto/yocto/yocto-2.4/poky-rocko-18.0.0.tar.bz2
$ tar xvf poky-rocko-18.0.0.tar.bz2
$ cd poky-rocko-18.0.0
$ source oe-init-build-env
$ bitbake core-image-minimal -c do_populate_sdk_ext

(publish eSDK over http )
$ oe-publish-sdk tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.4.sh ~/sdk/update/
$ cd ~/sdk
$ python -m SimpleHTTPServer 8090

(Install eSDK from installer)
$ tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.4.sh -p -y -d ~/sdk/sdk-1
$ . ~/sdk/sdk-1/environment-setup-i586-poky-linux

(Update SDK with broken link)
$ devtool sdk-update http://mylocal


(Build and publish new eSDK )
Follow above steps till publish with change ( ex - example.bb )

(Update SDK with proper link )
$ cd ~/sdk/sdk-1
$ . environment-setup-i586-poky-linux
$ devtool sdk-update http://myip:8090/update

Observed Behaviour:
==================

ERROR: Preparation failed:
Nothing to do.  Use &apos;bitbake world&apos; to build everything, or run &apos;bitbake --help&apos; for usage information.

Expected Behaviour:
==================
sdk update should be success</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81290</commentid>
    <comment_count>7</comment_count>
    <who name="Vineeth Chowdary">vineeth.chowdary</who>
    <bug_when>2018-08-09 15:48:16 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; I am able to see this error in rocko release with full e-SDK
&gt; 
&gt; Steps:
&gt; =====
&gt; 
&gt; $ wget
&gt; http://mirrors.kernel.org/yocto/yocto/yocto-2.4/poky-rocko-18.0.0.tar.bz2
&gt; $ tar xvf poky-rocko-18.0.0.tar.bz2
&gt; $ cd poky-rocko-18.0.0
&gt; $ source oe-init-build-env
&gt; $ bitbake core-image-minimal -c do_populate_sdk_ext
&gt; 
&gt; (publish eSDK over http )
&gt; $ oe-publish-sdk
&gt; tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.4.
&gt; sh ~/sdk/update/
&gt; $ cd ~/sdk
&gt; $ python -m SimpleHTTPServer 8090
&gt; 
&gt; (Install eSDK from installer)
&gt; $
&gt; tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.4.
&gt; sh -p -y -d ~/sdk/sdk-1
&gt; $ . ~/sdk/sdk-1/environment-setup-i586-poky-linux
&gt; 
&gt; (Update SDK with broken link)
&gt; $ devtool sdk-update http://mylocal
&gt; 
&gt; 
&gt; (Build and publish new eSDK )
&gt; Follow above steps till publish with change ( ex - example.bb )
&gt; 
&gt; (Update SDK with proper link )
&gt; $ cd ~/sdk/sdk-1
&gt; $ . environment-setup-i586-poky-linux
&gt; $ devtool sdk-update http://myip:8090/update
&gt; 
&gt; Observed Behaviour:
&gt; ==================
&gt; 
&gt; ERROR: Preparation failed:
&gt; Nothing to do.  Use &apos;bitbake world&apos; to build everything, or run &apos;bitbake
&gt; --help&apos; for usage information.
&gt; 
&gt; Expected Behaviour:
&gt; ==================
&gt; sdk update should be success

please ignore it.

we have to use --skip-prepare, as I installed e-SDK in  publish mode</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95854</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-06-29 16:38:24 +0000</bug_when>
    <thetext>Still worth doing when we have the people available. -- YP bug review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102396</commentid>
    <comment_count>9</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-07-03 15:32:51 +0000</bug_when>
    <thetext>Still worth doing when we have the people available. -- YP bug review.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>