[oe] BitBake: Always fails the first time with Mercuarial/hg repository in `SRC_URI`.
Paul Menzel
paulepanter at users.sourceforge.net
Tue Mar 30 10:36:20 UTC 2010
Dear OE folks,
Am Dienstag, den 30.03.2010, 07:43 +0200 schrieb Paul Menzel:
> $ bitbake --version
> BitBake Build Tool Core version 1.8.19, bitbake version 1.8.19
>
> For example if I do
>
> $ bitbake -b /oe/recipes/libvalhalla/libvalhalla_hg.bb
>
> `do_fetch` is then failing for me when `hg update`(?) is run.
>
> Running the command again works then.
>
> Can you reproduce this and do you know a fix for it?
zecke asked for detailed log files on IRC. Here you go.
$ bitbake -DDD -vvv -f -b /oe/openembedded/recipes/libvalhalla/libvalhalla_hg.bb
[…]
NOTE: Running task 2 of 19 (ID: 5, /oe/openembedded/recipes/libvalhalla/libvalhalla_hg.bb, do_fetch)
DEBUG: Parsing /oe/openembedded/recipes/libvalhalla/libvalhalla_hg.bb (full)
DEBUG: BB /oe/openembedded/recipes/libvalhalla/libvalhalla_hg.bb: handle(data)
DEBUG: BB /oe/openembedded/recipes/libvalhalla/libvalhalla.inc: handle(data, include)
DEBUG: BB :0: inheriting classes/autotools.bbclass
DEBUG: BB /oe/openembedded/classes/autotools.bbclass: handle(data, include)
DEBUG: BB :0: inheriting classes/siteinfo.bbclass
DEBUG: BB /oe/openembedded/classes/siteinfo.bbclass: handle(data, include)
DEBUG: BB :0: inheriting classes/pkgconfig.bbclass
DEBUG: BB /oe/openembedded/classes/pkgconfig.bbclass: handle(data, include)
DEBUG: update_data()
DEBUG: update_data()
DEBUG: Executing task do_fetch
DEBUG: update_data()
DEBUG: mkdirhier(/oe/downloads)
DEBUG: mkdirhier(/oe/downloads)
DEBUG: update_data()
DEBUG: update_data()
NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/libvalhalla__hg.geexbox.org_a12610802732.tar.gz
DEBUG: executing /usr/bin/env 'PATH=/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/sbin:/oe/angstrom-dev/staging/i686-linux/usr/bin:/oe/angstrom-dev/cross/armv7a//bin:/oe/angstrom-dev/staging/i686-linux/sbin:/oe/angstrom-dev/staging/i686-linux/bin:/oe/bitbake/bin:/usr/local/texlive/2008/bin/i386-linux:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/username/neo/bin:/home/username/neo/' wget -t 5 --passive-ftp --no-check-certificate -P /oe/downloads 'http://www.angstrom-distribution.org/unstable/sources/libvalhalla__hg.geexbox.org_a12610802732.tar.gz'
--2010-03-30 12:18:14-- http://www.angstrom-distribution.org/unstable/sources/libvalhalla__hg.geexbox.org_a12610802732.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-30 12:18:15 ERROR 404: Not Found.
NOTE: fetch http://mirrors.openembedded.org//libvalhalla__hg.geexbox.org_a12610802732.tar.gz
DEBUG: executing /usr/bin/env 'PATH=/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/sbin:/oe/angstrom-dev/staging/i686-linux/usr/bin:/oe/angstrom-dev/cross/armv7a//bin:/oe/angstrom-dev/staging/i686-linux/sbin:/oe/angstrom-dev/staging/i686-linux/bin:/oe/bitbake/bin:/usr/local/texlive/2008/bin/i386-linux:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/username/neo/bin:/home/username/neo/' wget -t 5 --passive-ftp --no-check-certificate -P /oe/downloads 'http://mirrors.openembedded.org//libvalhalla__hg.geexbox.org_a12610802732.tar.gz'
--2010-03-30 12:18:15-- http://mirrors.openembedded.org//libvalhalla__hg.geexbox.org_a12610802732.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-30 12:18:15 ERROR 404: Not Found.
NOTE: fetch http://sources.openembedded.org//libvalhalla__hg.geexbox.org_a12610802732.tar.gz
DEBUG: executing /usr/bin/env 'PATH=/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/sbin:/oe/angstrom-dev/staging/i686-linux/usr/bin:/oe/angstrom-dev/cross/armv7a//bin:/oe/angstrom-dev/staging/i686-linux/sbin:/oe/angstrom-dev/staging/i686-linux/bin:/oe/bitbake/bin:/usr/local/texlive/2008/bin/i386-linux:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/username/neo/bin:/home/username/neo/' wget -t 5 --passive-ftp --no-check-certificate -P /oe/downloads 'http://sources.openembedded.org//libvalhalla__hg.geexbox.org_a12610802732.tar.gz'
--2010-03-30 12:18:15-- http://sources.openembedded.org//libvalhalla__hg.geexbox.org_a12610802732.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-30 12:18:16 ERROR 404: Not Found.
DEBUG: Tarball stash fetch failure: http://www.angstrom-distribution.org/unstable/sources/libvalhalla__hg.geexbox.org_a12610802732.tar.gz
DEBUG: Fetch: checking for module directory '/oe/downloads/hg/hg.geexbox.org/libvalhalla'
NOTE: Fetch hg://hg.geexbox.org;module=libvalhalla;rev=a12610802732
DEBUG: mkdirhier(/oe/downloads/hg/hg.geexbox.org)
DEBUG: Running /usr/bin/env hg clone -r a12610802732 http://hg.geexbox.org/libvalhalla libvalhalla
DEBUG: Running export HOME=/home/username; export SSH_AUTH_SOCK=/tmp/keyring-6Ph6Yc/socket.ssh; export PATH=/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/sbin:/oe/angstrom-dev/staging/i686-linux/usr/bin:/oe/angstrom-dev/cross/armv7a//bin:/oe/angstrom-dev/staging/i686-linux/sbin:/oe/angstrom-dev/staging/i686-linux/bin:/oe/bitbake/bin:/usr/local/texlive/2008/bin/i386-linux:/usr/local/bin:/usr/bin:/bin:/usr/games:/home/username/neo/bin:/home/username/neo/; /usr/bin/env hg clone -r a12610802732 http://hg.geexbox.org/libvalhalla libvalhalla
requesting all changes
adding changesets
adding manifests
adding file changes
added 907 changesets with 2071 changes to 169 files
updating to branch default
165 files updated, 0 files merged, 0 files removed, 0 files unresolved
DEBUG: Running /usr/bin/env hg update -C -r a12610802732
DEBUG: Running export HOME=/home/username; export SSH_AUTH_SOCK=/tmp/keyring-6Ph6Yc/socket.ssh; export PATH=/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/sbin:/oe/angstrom-dev/staging/i686-linux/usr/bin:/oe/angstrom-dev/cross/armv7a//bin:/oe/angstrom-dev/staging/i686-linux/sbin:/oe/angstrom-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 a12610802732
abort: There is no Mercurial repository here (.hg not found)!
NOTE: Task failed: Fetch failed: Fetch command export HOME=/home/username; export SSH_AUTH_SOCK=/tmp/keyring-6Ph6Yc/socket.ssh; export PATH=/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/oe/angstrom-dev/staging/i686-linux/usr/sbin:/oe/angstrom-dev/staging/i686-linux/usr/bin:/oe/angstrom-dev/cross/armv7a//bin:/oe/angstrom-dev/staging/i686-linux/sbin:/oe/angstrom-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 a12610802732 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/libvalhalla/libvalhalla_hg.bb do_fetch failed
ERROR: Task 5 (/oe/openembedded/recipes/libvalhalla/libvalhalla_hg.bb, do_fetch) failed
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/oe/openembedded/recipes/libvalhalla/libvalhalla_hg.bb' failed
Running those commands by myself (including entering the checkout
directory) on the commandline works for me.
So I guess BitBake is in the wrong directory. Richard, could you please
take a look. It might be related to commit
36e892cedf337b771b51852d4875962abaa199d7 in BitBake regarding
`/lib/bb/fetch/hg.py`.
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/20100330/60655f2d/attachment-0002.sig>
More information about the Openembedded-devel
mailing list