[oe] Problems with BitBake Mercurial/hg fetcher

Paul Menzel paulepanter at users.sourceforge.net
Fri Mar 19 14:28:58 UTC 2010


Dear OE folks,


I have 

        SRCREV = "8f6237741f72"
        
        SRC_URI = "hg://hg.geexbox.org;module=${PN};rev=${SRCREV}"

in my recipe. But the `do_fetch` fails.

        $ bitbake libnfo
        NOTE: Handling BitBake files: \ (8098/8098) [100 %]
        NOTE: Parsing finished. 7465 cached, 319 parsed, 314 skipped, 0 masked.
        NOTE: Resolving any missing task queue dependencies
        NOTE: Preparing runqueue
        NOTE: Executing runqueue
        NOTE: Running task 153 of 552 (ID: 479, virtual:native:/oe/openembedded/recipes/libxml/libxml2_2.7.7.bb, do_qa_configure)
        NOTE: Running task 303 of 552 (ID: 1, /oe/openembedded/recipes/libnfo/libnfo_hg.bb, do_setscene)
        NOTE: Running task 410 of 552 (ID: 480, virtual:native:/oe/openembedded/recipes/libxml/libxml2_2.7.7.bb, do_compile)
        NOTE: Running task 411 of 552 (ID: 2, /oe/openembedded/recipes/libnfo/libnfo_hg.bb, do_fetch)
        NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/libnfo__hg.geexbox.org_8f6237741f72.tar.gz
        --2010-03-19 15:14:13--  http://www.angstrom-distribution.org/unstable/sources/libnfo__hg.geexbox.org_8f6237741f72.tar.gz
        Resolving www.angstrom-distribution.org... 188.40.83.200
        Connecting to www.angstrom-distribution.org|188.40.83.200|:80... connected.
        HTTP request sent, awaiting response... 404 Not Found
        2010-03-19 15:14:13 ERROR 404: Not Found.
        
        NOTE: fetch http://mirrors.openembedded.org//libnfo__hg.geexbox.org_8f6237741f72.tar.gz
        --2010-03-19 15:14:13--  http://mirrors.openembedded.org//libnfo__hg.geexbox.org_8f6237741f72.tar.gz
        Resolving mirrors.openembedded.org... 82.197.159.157
        Connecting to mirrors.openembedded.org|82.197.159.157|:80... connected.
        HTTP request sent, awaiting response... 404 Not Found
        2010-03-19 15:14:13 ERROR 404: Not Found.
        
        NOTE: fetch http://sources.openembedded.org//libnfo__hg.geexbox.org_8f6237741f72.tar.gz
        --2010-03-19 15:14:14--  http://sources.openembedded.org//libnfo__hg.geexbox.org_8f6237741f72.tar.gz
        Resolving sources.openembedded.org... 140.211.169.165
        Connecting to sources.openembedded.org|140.211.169.165|:80... connected.
        HTTP request sent, awaiting response... 404 Not Found
        2010-03-19 15:14:14 ERROR 404: Not Found.
        
        NOTE: Fetch hg://hg.geexbox.org;module=libnfo;rev=8f6237741f72
        requesting all changes
        adding changesets
        adding manifests
        adding file changes
        added 112 changesets with 176 changes to 39 files
        updating to branch default
        37 files updated, 0 files merged, 0 files removed, 0 files unresolved
        abort: There is no Mercurial repository here (.hg not found)!
        NOTE: Task failed: Fetch failed: Fetch command export HOME=/home/xy; export SSH_AUTH_SOCK=/tmp/keyring-rgxh0n/socket.ssh; export PATH=/oe/tangstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/tangstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/tangstrom-dev/staging/i686-linux/usr/sbin:/oe/tangstrom-dev/staging/i686-linux/usr/bin:/oe/tangstrom-dev/cross/armv7a//bin:/oe/tangstrom-dev/staging/i686-linux/sbin:/oe/tangstrom-dev/staging/i686-linux/bin:/oe/bitbake/bin:/usr/local/texlive/2008/bin/i386-linux:/usr/local/bin:/usr/bin:/bin:/usr/games; /usr/bin/env hg update -C -r 8f6237741f72 failed with signal 255, output:
        abort: There is no Mercurial repository here (.hg not found)!
        
        ERROR: TaskFailed event exception, aborting
        ERROR: Build of /oe/openembedded/recipes/libnfo/libnfo_hg.bb do_fetch failed
        ERROR: Task 2 (/oe/openembedded/recipes/libnfo/libnfo_hg.bb, do_fetch) failed

It works if I run `bitbake libnfo` again afterwards and it looks like
the `hg update` command is not needed then.

Does anyone else experience this?


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100319/8e4503f7/attachment-0002.sig>


More information about the Openembedded-devel mailing list