[yocto] build error on raspberrypi3

Antonello Tartamo antonellotartamo at gmail.com
Thu Oct 26 00:05:41 PDT 2017


Are you under proxy ?

If yes set http_proxy/https_proxy variables.

However, with github the protocol variable must be https.


2017-10-26 5:59 GMT+02:00 vishal ashapur <vishalashapur at gmail.com>:

> hi im buliding linux on rpi3 using yocto pyro branch. after doing
> "bitbake linux-raspberrypi -c menuconfig"  it is downloading all
> sources but at the end it is showing the following error.
>
> ERROR: linux-raspberrypi-1_4.9.30+gitAUTOINC+e54215a9bc-r28 do_fetch:
> Fetcher failure for URL:
> 'git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.9.y'.
> Unable to fetch URL from any source.
> ERROR: linux-raspberrypi-1_4.9.30+gitAUTOINC+e54215a9bc-r28 do_fetch:
> Function failed: base_do_fetch
> ERROR: Logfile of failure stored in:
> /u/rpi2/rpi/build/tmp/work/raspberrypi2-poky-linux-
> gnueabi/linux-raspberrypi/1_4.9.30+gitAUTOINC+e54215a9bc-
> r28/temp/log.do_fetch.30856
> ERROR: Task (/u/rpi2/sources/poky-morty/meta-raspberrypi/recipes-
> kernel/linux/linux-raspberrypi_4.9.bb:do_fetch)
> failed with exit code '1'
>
> so can anybody help with this error.
> my detailed procedure for build is below
> git clone -b pyro git://git.yoctoproject.org/poky
> cd poky
> git clone -b pyro git://git.openembedded.org/meta-openembedded
> git clone -b pyro git://git.yoctoproject.org/meta-raspberrypi
>
> source sources/poky/oe-init-build-env rpi-build
>
> changes in local.conf
> MACHINE = "raspberrypi3"
> PREFERRED_VERSION_linux-raspberrypi = "4.9.%"
> DISTRO_FEATURES_remove = "x11 wayland"
> DISTRO_FEATURES_append = " systemd"
> VIRTUAL-RUNTIME_init_manager = "systemd"
> IMAGE_INSTALL += "packagegroup-core-buildessential"
>
> changes in bblayers.conf
> BBLAYERS ?= " \
>   ${BSPDIR}/sources/poky/meta \
>   ${BSPDIR}/sources/poky/meta-poky \
>   ${BSPDIR}/sources/poky/meta-yocto-bsp \
>   ${BSPDIR}/sources/meta-openembedded/meta-oe \
>   ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
>   ${BSPDIR}/sources/meta-raspberrypi \
>
> bitbake linux-raspberrypi -c menuconfig
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171026/1e704c30/attachment.html>


More information about the yocto mailing list