veekays / iphonedevonlinux

Automatically exported from code.google.com/p/iphonedevonlinux
0 stars 0 forks source link

toolchain.sh reports incorrect toolchain for SDK #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Ubuntu (Desktop) 9.04
2. Follow the wiki installation line-for-line (except for line 1 which
should be: mkdir -p ~/Projects/iphone/toolchain)

What is the expected output? What do you see instead?
Expected output:
 successful build of toolchain
Actual output:
:~/Projects/iphone/toolchain$ sudo ./toolchain.sh all
[sudo] password: 
Preparing the environment
Toolchain version: 3.1.2
Building in: ~/Projects/iphone/toolchain
Environment is ready
Getting the header files...
Trying to mount the iPhone SDK dmg...

dmg2img v1.6.1 is derived from dmg2iso by vu1tur (to@vu1tur.eu.org)

~/Projects/iphone/toolchain/files/iphone_sdk_3.0__leopard__9m2736__final.dmg -->
~/Projects/iphone/toolchain/tmp/iphone_sdk_3.0__leopard__9m2736__final.img

reading property list, 522739 bytes from address 2237401625 ...
partition 0: begin=195, size=430, decoded=284
partition 1: begin=914, size=430, decoded=284
partition 2: begin=1632, size=430, decoded=284
partition 3: begin=2367, size=430, decoded=284
partition 4: begin=3088, size=430, decoded=284
partition 5: begin=3799, size=516090, decoded=347564
partition 6: begin=520170, size=430, decoded=284

decompressing:
opening partition 0 ...         [2] 100.00%  ok
opening partition 1 ...         [2] 100.00%  ok
opening partition 2 ...         [2] 100.00%  ok
opening partition 3 ...         [2] 100.00%  ok
opening partition 4 ...         [2] 100.00%  ok
opening partition 5 ...      [8684] 100.00%  ok

Archive successfully decompressed as
~/Projects/iphone/toolchain/tmp/iphone_sdk_3.0__leopard__9m2736__final.img

You should be able to mount the image [as root] by:

modprobe hfsplus
mount -t hfsplus -o loop
~/Projects/iphone/toolchain/tmp/iphone_sdk_3.0__leopard__9m2736__final.img /mnt

In order to extract iphone_sdk_3.0__leopard__9m2736__final.dmg, I am going
to mount it.
This needs to be done as root.
SDK is version 3.0.1
We are trying to build toolchain 3.1.2 but this
SDK is 3.0.1. Please download the latest SDK here:
http://developer.apple.com/iphone/
Unmounting...

What version of the product are you using? 
I am using the files *listed in the wiki*, I can't remember exactly where I
acquired them but I'm fairly certain at least one (most likely both) of
them came from developer.apple.com

On what operating system?
Ubuntu 9.04 32bit processor 

Please provide any additional information below.
If the script has been updated for a newer toolchain, *you should update
the wiki* with newer files. Also a *direct link* to where these files are
hosted would be nice

Original issue reported on code.google.com by Huck.Be...@gmail.com on 4 Feb 2010 at 2:43