[oe] [PATCH 2/2] omap4430-panda: fix u-boot

Philip Balister philip at balister.org
Fri Dec 31 19:44:47 UTC 2010


On 12/31/2010 02:06 PM, Frans Meulenbroeks wrote:
> 2010/12/31 Koen Kooi<k.kooi at student.utwente.nl>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 31-12-10 16:47, Frans Meulenbroeks wrote:
>>> The u-boot recipe for pandaboard is nonbuildable for a few
>>> months. Apparently this recipe is orphaned.
>>> I've made things buildable again by moving to the latest
>>> mainline u-boot (as suggested by Steve Sakoman a few monts
>>> ago). It builds fine, but is not tested on the actual
>>> hardware (as I do not have access to a board).
>>> Still I feel that a buildable recipe is better than using a
>>> recipe that does not even build.
>>
>> NAK, since it builds just fine and the result of the new recipe doesn't
>> work as good:
>
> It does not build! See the log below.
> The recipe says:
>
> SRCREV = "ccd0c67858c6e2807c695e2c8f545284cb871866"
>
> PV = "2010.9+${PR}+git${SRCREV}"
>
> SRC_URI = "git://www.sakoman.com/git/u-boot.git;branch=omap4-exp;protocol=git \
>
> This SRCREV does not exist!
>
> The only reason it works for you is because you use a mirror that has
> a snapshot of the recipe.
> If you are concerned about this recipe the least you can do is to make
> sure that people can build it even if they do not have your mirror
> present.
> (by either moving the recipe to a SRCREV that exists or by changing
> the SRC_URI to a location that *does* fetch).
> In its current form I consider this recipe as broken!

Frans, given these two choices:

1) Recipe that builds and has tested output (but depends on distro 
source mirrors).

2) Recipe that builds (even without source mirrors), BUT the output is 
not tested.

We should use choice #1, since the OUTPUT is tested. If someone who can 
test the output wants to bump the SRCREV, that is fine. Bumping SRCREVs 
just to get recipes to build and not testing the output only leads to 
frustrated users who think the output works.

I'd point out that no one on the panda list (or this list) has mentioned 
they noticed the recipe doesn't build, so I am not sure you are 
addressing an actual problem.

Philip




>
> Frans.
>
> frans at linux-suse:~/oe/openembedded>  bitbake u-boot-sakoman
> Loading cache: 100%
> |##############################################################################|
> ETA:  00:00:00
> Loaded 7231 entries from dependency cache.
> Parsing recipes: 100%
> |############################################################################|
> Time: 00:00:29
> Parsing of 7278 .bb files complete (6537 cached, 741 parsed). 7982
> targets, 310 skipped, 0 masked, 0 errors.
>
> Build Configuration:
> BB_VERSION        = "1.11.0"
> METADATA_BRANCH   = "org.openembedded.dev"
> METADATA_REVISION = "ee3dfcd"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "omap4430-panda"
> DISTRO            = "minimal"
> DISTRO_VERSION    = "dev-snapshot-20101231"
> TARGET_FPU        = "soft"
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing runqueue
> NOTE: Running task 1229 of 1247 (ID: 9,
> /home/frans/oe/openembedded/recipes/u-boot/u-boot-sakoman_git.bb,
> do_fetch)
> NOTE: package u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
> task do_fetch: Started
>> From git://www.sakoman.com/git/u-boot
>    * branch            omap4-exp  ->  FETCH_HEAD
> NOTE: Creating tarball of git repository
>   fatal: failed to unpack tree object ccd0c67858c6e2807c695e2c8f545284cb871866
> NOTE: package u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
> task Fetch failed: Unable to fetch URL
> git://www.sakoman.com/git/u-boot.git;branch=omap4-exp;protocol=git
> from any source.: Failed
> ERROR: Function 'Fetch failed: Unable to fetch URL
> git://www.sakoman.com/git/u-boot.git;branch=omap4-exp;protocol=git
> from any source.' failed
> ERROR: Task 9 (/home/frans/oe/openembedded/recipes/u-boot/u-boot-sakoman_git.bb,
> do_fetch) failed with exit code '1'
> ERROR: '/home/frans/oe/openembedded/recipes/u-boot/u-boot-sakoman_git.bb' failed
> frans at linux-suse:~/oe/openembedded>
>
>
>> koen at dominion:/OE/org.openembedded.dev/recipes/u-boot$
>> MACHINE=omap4430-panda bitbake -b u-boot-sakoman_git.bb
>>
>> Build Configuration:
>> BB_VERSION        = "1.11.0"
>> METADATA_BRANCH   = "org.openembedded.dev"
>> METADATA_REVISION = "67c4a78"
>> TARGET_ARCH       = "arm"
>> TARGET_OS         = "linux-gnueabi"
>> MACHINE           = "omap4430-panda"
>> DISTRO            = "angstrom"
>> DISTRO_VERSION    = "2010.7-test-20101231"
>> TARGET_FPU        = "hard"
>>
>> NOTE: Preparing runqueue
>> NOTE: Executing runqueue
>> NOTE: Running task 1 of 20 (ID: 11,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_setscene)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_setscene: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_setscene: Succeeded
>> - --2010-12-31 19:31:20--
>> http://www.angstrom-distribution.org/unstable/sources/git_www.sakoman.com.git.u-boot.git_ccd0c67858c6e2807c695e2c8f545284cb871866.tar.gz
>>   Resolving www.angstrom-distribution.org... 188.40.83.200
>> NOTE: Running task 2 of 20 (ID: 9,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_fetch)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_fetch: Started
>> NOTE: fetch
>> http://www.angstrom-distribution.org/unstable/sources/git_www.sakoman.com.git.u-boot.git_ccd0c67858c6e2807c695e2c8f545284cb871866.tar.gz
>>
>> <snip>
>>
>>   2010-12-31 19:39:01 (24.4 KB/s) -
>> `/OE/downloads/git_www.sakoman.com.git.u-boot.git_ccd0c67858c6e2807c695e2c8f545284cb871866.tar.gz'
>> saved [11415903/11415903]
>>
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_fetch: Succeeded
>> NOTE: Running task 4 of 20 (ID: 16,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_distribute_sources)
>> NOTE: Running task 3 of 20 (ID: 0,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_unpack)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_distribute_sources: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_distribute_sources: Succeeded
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_unpack: Started
>> NOTE: Unpacking
>> /OE/downloads/git_www.sakoman.com.git.u-boot.git_ccd0c67858c6e2807c695e2c8f545284cb871866.tar.gz
>> to
>> /OE/angstrom-dev/work/omap4430-panda-angstrom-linux-gnueabi/u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0/
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_unpack: Succeeded
>> NOTE: Running task 5 of 20 (ID: 1,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_patch)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_patch: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_patch: Succeeded
>> NOTE: Running task 6 of 20 (ID: 12,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_configure)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_configure: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_configure: Succeeded
>> NOTE: Running task 7 of 20 (ID: 13,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_qa_configure)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_qa_configure: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_qa_configure: Succeeded
>> NOTE: Running task 8 of 20 (ID: 14,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_compile)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_compile: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_compile: Succeeded
>> NOTE: Running task 9 of 20 (ID: 2,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_install)
>> NOTE: Running task 10 of 20 (ID: 4,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_deploy)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_install: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_install: Succeeded
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_deploy: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_deploy: Succeeded
>> NOTE: Running task 11 of 20 (ID: 15,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_package)
>> NOTE: Running task 12 of 20 (ID: 3,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_populate_sysroot)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_populate_sysroot: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_populate_sysroot: Succeeded
>> NOTE: Running task 13 of 20 (ID: 5,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_qa_staging)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_qa_staging: Started
>> NOTE: package u-boot-sakoman skipped
>> NOTE: package u-boot-sakoman-fw-utils skipped
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package: Succeeded
>> NOTE: Running task 14 of 20 (ID: 19,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_package_write_ipk)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package_write_ipk: Started
>> Packaged contents of u-boot-sakoman-dbg into
>> /OE/angstrom-dev/deploy/glibc/ipk/omap4430-panda/u-boot-sakoman-dbg_2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0.6_omap4430-panda.ipk
>> Packaged contents of u-boot-sakoman into
>> /OE/angstrom-dev/deploy/glibc/ipk/omap4430-panda/u-boot-sakoman_2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0.6_omap4430-panda.ipk
>> NOTE: Not creating empty archive for
>> u-boot-sakoman-doc-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0.6
>> Packaged contents of u-boot-sakoman-dev into
>> /OE/angstrom-dev/deploy/glibc/ipk/omap4430-panda/u-boot-sakoman-dev_2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0.6_omap4430-panda.ipk
>> NOTE: Not creating empty archive for
>> u-boot-sakoman-static-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0.6
>> NOTE: Not creating empty archive for
>> u-boot-sakoman-locale-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0.6
>> NOTE: Not creating empty archive for
>> u-boot-sakoman-fw-utils-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0.6
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package_write_ipk: Succeeded
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_qa_staging: Succeeded
>> NOTE: Running task 15 of 20 (ID: 6,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_package_write)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package_write: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package_write: Succeeded
>> NOTE: Running task 16 of 20 (ID: 7,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_package_stage)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package_stage: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package_stage: Succeeded
>> NOTE: Running task 17 of 20 (ID: 8,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_package_stage_all)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package_stage_all: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_package_stage_all: Succeeded
>> NOTE: Running task 18 of 20 (ID: 10,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_build)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_build: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_build: Succeeded
>> NOTE: Running task 19 of 20 (ID: 17,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb, do_rm_work)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_rm_work: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_rm_work: Succeeded
>> NOTE: Running task 20 of 20 (ID: 18,
>> /OE/org.openembedded.dev/recipes/u-boot/u-boot-sakoman_git.bb,
>> do_rm_work_all)
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_rm_work_all: Started
>> NOTE: package
>> u-boot-sakoman-2010.9+r0+gitccd0c67858c6e2807c695e2c8f545284cb871866-r0:
>> task do_rm_work_all: Succeeded
>> NOTE: Tasks Summary: Attempted 20 tasks of which 0 didn't need to be
>> rerun and 0 failed.
>> koen at dominion:/OE/org.openembedded.dev/recipes/u-boot$
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.5 (Darwin)
>>
>> iD8DBQFNHiPtMkyGM64RGpERApY1AJ9LZNHfpTr7TQGatDxuFCV/fNPOiACfU2n0
>> tAJXkFpiWeFxZMI0nnj4jqQ=
>> =vQ8j
>> -----END PGP SIGNATURE-----
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list