[yocto] trying to initialize a new devtool recipe using mercurial SCM
Greg Wilson-Lindberg
GWilson at sakuraus.com
Tue Oct 3 10:57:14 PDT 2017
Is there anyone that has any experience with trying to create a recipe with devtool with the source in a mercurial repository?
I did some more searching and it looks like the 'module' is the repository that you are trying to pull, so I modified the command to:
devtool add canfestival sources/canfestival -d hg://bitbucket.org/Mongo;module=canfestival-3-asc;protocol=https
This did not correct the error:
ERROR: Command 'recipetool --color=always create -o /tmp/devtool28_yu0qq "hg://bitbucket.org/Mongo" -x /usr/share/sources/canfestival -N canfestival' failed:
NOTE: Fetching hg://bitbucket.org/Mongo...
ERROR: URL: 'hg://bitbucket.org/Mongo' is missing the required parameter 'module'
The module & protocol are not being passed to recipetool by devtool, can anyone tell me what I'm doing wrong.
Regards,
Greg
Hi list,
I'm a new user of Yocto and I'm trying use devtool to set up a recipe that has a source URI that points to a mercurial repository.
Here is the output of running devtool:
devtool add canfestival sources/canfestival -d hg://bitbucket.org/Mongo/canfestival-3-asc;protocol=https
DEBUG: Using basepath /home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3
DEBUG: Using standard bitbake path /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/bitbake
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts/lib/devtool...
DEBUG: Loading plugin deploy
DEBUG: Loading plugin upgrade
DEBUG: Loading plugin package
DEBUG: Loading plugin build_sdk
DEBUG: Loading plugin sdk
DEBUG: Loading plugin search
DEBUG: Loading plugin utilcmds
DEBUG: Loading plugin build
DEBUG: Loading plugin runqemu
DEBUG: Loading plugin build_image
DEBUG: Loading plugin standard
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/workspace/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/meta-poky/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/meta/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-raspberrypi/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-openembedded/meta-oe/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-openembedded/meta-python/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-openembedded/meta-networking/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-openembedded/meta-initramfs/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-openembedded/meta-multimedia/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-boot2qt/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-boot2qt/meta-raspberrypi-extras/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-mingw/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-qt5/lib/devtool...
DEBUG: Loading plugins from /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-sakura/lib/devtool...
DEBUG: Reading workspace in /home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/workspace
DEBUG: Executing command "recipetool --color=always create -o /tmp/devtool_vu_ossg "hg://bitbucket.org/Mongo/canfestival-3-asc" -x /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/canfestival -N canfestival"
ERROR: Command 'recipetool --color=always create -o /tmp/devtool_vu_ossg "hg://bitbucket.org/Mongo/canfestival-3-asc" -x /home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/canfestival -N canfestival' failed:
NOTE: Fetching hg://bitbucket.org/Mongo/canfestival-3-asc...
ERROR: URL: 'hg://bitbucket.org/Mongo/canfestival-3-asc' is missing the required parameter 'module'
I found one reference that implied that adding ';module=' might help but it made no difference.
I can do a "hg clone https://bitbucket.org/Mongo/canfestival-3-asc'.
Any help would be greatly appreciated.
Greg Wilson-Lindberg
Sakura Finetek
310-783-5075
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171003/89b28a58/attachment.html>
More information about the yocto
mailing list