<?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>7935</bug_id>
          
          <creation_ts>2015-06-30 13:11:15 +0000</creation_ts>
          <short_desc>Bitbake relies on absolute path for TMPDIR</short_desc>
          <delta_ts>2015-07-02 14:48:19 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>52048</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2015-06-30 13:11:15 +0000</bug_when>
    <thetext>Preconditions/Environment
-------------------------
I had a project in /home/user/myproject
From there, as usual, I run &quot;. ./oe-init-build-env&quot;
then &quot;bitbake target&quot; went fine


Triggering Action/Cause
-----------------------
mv /home/user/myproject /home/user/_myproject
cd /home/user/_myproject
. ./oe-init-build-env
bitbake -c cleanall target

Expectation
-----------
The target should be cleaned.

Actual Result
-------------
ERROR: OE-core&apos;s config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:

Error, TMPDIR has changed location. You need to either move it back to 
/home/user/myproject/build/tmp-glibc or rebuild

--
The relative path of the temporary directory has not changed, it is still in the same location, referring to the root of the project.
bitbake should not force me to either rebuild or disable a safety check for something that is completely safe.



Reproducibility
---------------
2/2

But this seems to be systematic.


Reverting the moved project ot its initial location makes the error message disappear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52105</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-07-02 14:48:19 +0000</bug_when>
    <thetext>The system does not support moving TMPDIR around for a variety of long and boring reasons. If you do need to move TMPDIR, you&apos;d rebuild from an sstate directory instead in a new TMPDIR, then the relocation code is triggered correctly.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>