Talk:MokoMakefile

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Fails trying to fetch uboot)
Line 1: Line 1:
 
== Fails trying to fetch uboot ==  
 
== Fails trying to fetch uboot ==  
on ubuntu edgy (with all the required sofware installed), is there a workaround for this issue ?
+
on ubuntu edgy (with all the required sofware installed):
 +
 
 
<pre>
 
<pre>
 
( cd build ; . ../setup-env ; \
 
( cd build ; . ../setup-env ; \
Line 37: Line 38:
  
 
</pre>
 
</pre>
 +
 +
To fix this, upgrade git to 1.5.x. (1.4.x currently installed.)
 +
 
== Fails trying to download a TTF fonts. Workaround Below  ==
 
== Fails trying to download a TTF fonts. Workaround Below  ==
  

Revision as of 02:27, 24 April 2007

Fails trying to fetch uboot

on ubuntu edgy (with all the required sofware installed):

( cd build ; . ../setup-env ; \
          bitbake openmoko-devel-image )
NOTE: Using cache in '/content/build/tmp/cache/fic-gta01'
NOTE: Handling BitBake files: \ (4333/4333) [100 %]
NOTE: Parsing finished. 4149 cached, 0 parsed, 184 skipped, 0 masked.

NOTE: build 200704240008: started

OE Build Configuration:
BB_VERSION     = "1.6.7"
OE_REVISION    = "<unknown>"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "fic-gta01"
DISTRO         = "openmoko"
DISTRO_VERSION = ".dev-snapshot-20070423"
TARGET_FPU     = "soft"

NOTE: preferred version 2.4 of glibc not available
NOTE: preferred version 2.4 of glibc-intermediate not available
NOTE: preferred version 2.4 of glibc not available
NOTE: Retrieved remote revisions: ['0', '1754', '0']
NOTE: Retrieved remote revisions: ['14da5f7675bbb427c469e3f45006e027b6e21db9', '0', '1811']
NOTE: package uboot-gta01-1.2.0+svnnow: started
NOTE: package uboot-gta01-1.2.0+svnnow-r4_14da5f7675bbb427c469e3f45006e027b6e21db9_0_1811: task do_fetch: started
fatal: corrupted pack file .git/objects/pack/pack-a146bcbc18f4826d6bf2a7f63be5dd77bbb5b2f5.pack
Fetch failure: git://www.denx.de/git/u-boot.git/
NOTE: Task failed: Fetch failed: Git: export PATH=/content/build/tmp/staging/i686-linux/bin/arm-linux:/content/build/tmp/staging/i686-linux/bin:/content/build/tmp/cross/bin:/content/bitbake/bin:/home/philip/work/trac/install/0.10-stable/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games; git pull git://www.denx.de/git/u-boot.git/ failed
NOTE: package uboot-gta01-1.2.0+svnnow-r4_14da5f7675bbb427c469e3f45006e027b6e21db9_0_1811: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package uboot-gta01-1.2.0+svnnow: failed
ERROR: Build of openmoko-devel-image failed
make: *** [openmoko-devel-image] Fout 1

To fix this, upgrade git to 1.5.x. (1.4.x currently installed.)

Fails trying to download a TTF fonts. Workaround Below

Trying to build with the latest MokoMakefile fails with the following output:

...
NOTE: fetch http://downloads.openmoko.org/sources/dejavu-ttf-2.15.tar.bz2
--10:32:52--  http://downloads.openmoko.org/sources/dejavu-ttf-2.15.tar.bz2
           => `/home/nat/moko/sources/dejavu-ttf-2.15.tar.bz2'
Resolving downloads.openmoko.org... 88.198.93.219
Connecting to downloads.openmoko.org|88.198.93.219|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
10:32:52 ERROR 404: Not Found.

NOTE: Task failed: Fetch failed: http://heanet.dl.sf.net/dejavu/dejavu-ttf-2.15.tar.bz2
NOTE: package ttf-dejavu-2.15-r0: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package ttf-dejavu-2.15: failed
ERROR: Build of openmoko-devel-image failed
make: *** [openmoko-devel-image] Error 1

To work around this problem, download from here http://dejavu.sourceforge.net/wiki/index.php/Download and save into the sources/ subdirectory beneath where you are running make. Then create a file named dejavu-ttf-2.15.tar.bz2.md5 alongside the tar.bz2 file that contains the MD5 checksum on that download page. Then issue the make command again and the build will pick up where it left off.

do_compile fails with unreconized option '-Qy'

I use bash for my shell and this seems to be caused by something in my .bashrc For now, I have just commented out my .bashrc for my builds. When I figure out what is really going on, I will put my findings here.

Personal tools

Fails trying to fetch uboot

on ubuntu edgy (with all the required sofware installed):

( cd build ; . ../setup-env ; \
          bitbake openmoko-devel-image )
NOTE: Using cache in '/content/build/tmp/cache/fic-gta01'
NOTE: Handling BitBake files: \ (4333/4333) [100 %]
NOTE: Parsing finished. 4149 cached, 0 parsed, 184 skipped, 0 masked.

NOTE: build 200704240008: started

OE Build Configuration:
BB_VERSION     = "1.6.7"
OE_REVISION    = "<unknown>"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "fic-gta01"
DISTRO         = "openmoko"
DISTRO_VERSION = ".dev-snapshot-20070423"
TARGET_FPU     = "soft"

NOTE: preferred version 2.4 of glibc not available
NOTE: preferred version 2.4 of glibc-intermediate not available
NOTE: preferred version 2.4 of glibc not available
NOTE: Retrieved remote revisions: ['0', '1754', '0']
NOTE: Retrieved remote revisions: ['14da5f7675bbb427c469e3f45006e027b6e21db9', '0', '1811']
NOTE: package uboot-gta01-1.2.0+svnnow: started
NOTE: package uboot-gta01-1.2.0+svnnow-r4_14da5f7675bbb427c469e3f45006e027b6e21db9_0_1811: task do_fetch: started
fatal: corrupted pack file .git/objects/pack/pack-a146bcbc18f4826d6bf2a7f63be5dd77bbb5b2f5.pack
Fetch failure: git://www.denx.de/git/u-boot.git/
NOTE: Task failed: Fetch failed: Git: export PATH=/content/build/tmp/staging/i686-linux/bin/arm-linux:/content/build/tmp/staging/i686-linux/bin:/content/build/tmp/cross/bin:/content/bitbake/bin:/home/philip/work/trac/install/0.10-stable/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games; git pull git://www.denx.de/git/u-boot.git/ failed
NOTE: package uboot-gta01-1.2.0+svnnow-r4_14da5f7675bbb427c469e3f45006e027b6e21db9_0_1811: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package uboot-gta01-1.2.0+svnnow: failed
ERROR: Build of openmoko-devel-image failed
make: *** [openmoko-devel-image] Fout 1

To fix this, upgrade git to 1.5.x. (1.4.x currently installed.)

Fails trying to download a TTF fonts. Workaround Below

Trying to build with the latest MokoMakefile fails with the following output:

...
NOTE: fetch http://downloads.openmoko.org/sources/dejavu-ttf-2.15.tar.bz2
--10:32:52--  http://downloads.openmoko.org/sources/dejavu-ttf-2.15.tar.bz2
           => `/home/nat/moko/sources/dejavu-ttf-2.15.tar.bz2'
Resolving downloads.openmoko.org... 88.198.93.219
Connecting to downloads.openmoko.org|88.198.93.219|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
10:32:52 ERROR 404: Not Found.

NOTE: Task failed: Fetch failed: http://heanet.dl.sf.net/dejavu/dejavu-ttf-2.15.tar.bz2
NOTE: package ttf-dejavu-2.15-r0: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package ttf-dejavu-2.15: failed
ERROR: Build of openmoko-devel-image failed
make: *** [openmoko-devel-image] Error 1

To work around this problem, download from here http://dejavu.sourceforge.net/wiki/index.php/Download and save into the sources/ subdirectory beneath where you are running make. Then create a file named dejavu-ttf-2.15.tar.bz2.md5 alongside the tar.bz2 file that contains the MD5 checksum on that download page. Then issue the make command again and the build will pick up where it left off.

do_compile fails with unreconized option '-Qy'

I use bash for my shell and this seems to be caused by something in my .bashrc For now, I have just commented out my .bashrc for my builds. When I figure out what is really going on, I will put my findings here.