<?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>2975</bug_id>
          
          <creation_ts>2012-08-20 21:55:31 +0000</creation_ts>
          <short_desc>Cannot install Qt toolchain for crownbay platform on x86_64 host</short_desc>
          <delta_ts>2012-09-25 12:56:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aditya Gandhi">aditya</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>24246</commentid>
    <comment_count>0</comment_count>
    <who name="Aditya Gandhi">aditya</who>
    <bug_when>2012-08-20 21:55:31 +0000</bug_when>
    <thetext>I used git to get yocto/poky sources and meta-intel too, I built an umodifed qt-demo-image and the toolchain using bitbake meta-toolchain-qte.

I get the following error.

~/build/poky/build/tmp/deploy/sdk$ sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh 

[sudo] password for inforcecomputing: 
Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): 
You are about to install Poky SDK to &quot;/opt/poky/1.2+snapshot&quot;. Proceed[Y/n]?
Extracting SDK...done
Setting it up..../poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh: line 48: /opt/poky/1.2+snapshot/environment-setup-core2-poky-linux: Permission denied

SDK could not be set up. Relocate script failed. Abort!
inforcecomputing@inforcecomputing-PRIMERGY-TX100-S3:~/build/poky/build/tmp/deploy/sdk$ 

I changed permission for /opt/poky/1.2+snapshot/environment-setup-core2-poky-linux by chmod +x, while it is being unpacked in a new terminal.

This is what I get: 


inforcecomputing@inforcecomputing-PRIMERGY-TX100-S3:~/build/poky/build/tmp/deploy/sdk$ sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): 
You are about to install Poky SDK to &quot;/opt/poky/1.2+snapshot&quot;. Proceed[Y/n]?Y
Extracting SDK...done
Setting it up..../poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh: line 48: /opt/poky/1.2+snapshot/environment-setup-core2-poky-linux: Permission denied
SDK could not be set up. Relocate script failed. Abort!
inforcecomputing@inforcecomputing-PRIMERGY-TX100-S3:~/build/poky/build/tmp/deploy/sdk$ sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120820.sh Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): 
You are about to install Poky SDK to &quot;/opt/poky/1.2+snapshot&quot;. Proceed[Y/n]?
Extracting SDK...done
Setting it up...done
rm: cannot remove `/opt/poky/1.2+snapshot/sysroots/core2-poky-linux/usr/share/qtopia/relocate_sdk.py&apos;: No such file or directory
SDK has been successfully set up and is ready to be used.

But even after this, my environmental variables are not set on ubuntu 10.10 terminal, I have to copy paste the script in the shell to set variables. 
 
After which, I still cannot run qmake, it gives permission error when trying to run, all ownership and permissions look correct

root@inforcecomputing-PRIMERGY-TX100-S3:/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin# ls -lrt qma*
-rwxr-xr-x 1 root root 4553424 2012-08-17 16:55 qmake2
lrwxrwxrwx 1 root root       6 2012-08-20 14:48 qmake -&gt; qmake2
root@inforcecomputing-PRIMERGY-TX100-S3:/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin# qmake
bash: /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/qmake: Permission denied
root@inforcecomputing-PRIMERGY-TX100-S3:/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24265</commentid>
    <comment_count>1</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-08-21 08:13:02 +0000</bug_when>
    <thetext>this not met when using poky master newest(commit id:7c40daab587306da25c8d8f566392ee1f57bbef4)
---------------
sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh
[sudo] password for liangli: 
sudo: ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh: command not found
---------------
chmod +x poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh
---------------
sudo ./poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh 
Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): 
You are about to install Poky SDK to &quot;/opt/poky/1.2+snapshot&quot;. Proceed[Y/n]?y
Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.
---------------
qmake can run.

---------------
the &quot;poky-eglibc-x86_64-i586-toolchain-qte-1.2+snapshot-20120821.sh&quot; is from &quot;tmp/deploy/sdk&quot; suddir of the build dir in which run &quot;bitbake meta-toolchain-qte&quot;.
build host: ubuntu 11.10 x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24351</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-22 17:24:55 +0000</bug_when>
    <thetext>Aditya, can you please verify with the latest master?  Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24414</commentid>
    <comment_count>3</comment_count>
    <who name="Aditya Gandhi">aditya</who>
    <bug_when>2012-08-23 17:50:02 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Aditya, can you please verify with the latest master?  Thanks

Saul, I have been trying to build it but getting a few error&apos;s like:

| ERROR: Function failed: do_configure (see /home/inforcecomputing/build/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/qt4-tools-nativesdk-4.8.1-r11.1/temp/log.do_configure.21167 for further information)

will get back to you when the build is complete! 

Aditya</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24807</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-09-04 18:11:51 +0000</bug_when>
    <thetext>Aditya,

Any update?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24811</commentid>
    <comment_count>5</comment_count>
    <who name="Aditya Gandhi">aditya</who>
    <bug_when>2012-09-04 18:20:46 +0000</bug_when>
    <thetext>Hi Jessica,

After the last git pull I was able to install the tool chain! 

Thank You,

Aditya

(In reply to comment #4)
&gt; Aditya,
&gt; 
&gt; Any update?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24812</commentid>
    <comment_count>6</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-09-04 18:31:48 +0000</bug_when>
    <thetext>update per last comment from Aditya</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25685</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-09-25 12:56:00 +0000</bug_when>
    <thetext>Verified with e5c3513ca8abb21eb5e9b8c19d1b9199b14ae07c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>