All of lore.kernel.org
 help / color / mirror / Atom feed
* build error on raspberrypi3
@ 2017-10-26  3:59 vishal ashapur
  2017-10-26  7:05 ` Antonello Tartamo
  2017-10-26  9:05 ` Paul Barker
  0 siblings, 2 replies; 3+ messages in thread
From: vishal ashapur @ 2017-10-26  3:59 UTC (permalink / raw)
  To: yocto

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build error on raspberrypi3
  2017-10-26  3:59 build error on raspberrypi3 vishal ashapur
@ 2017-10-26  7:05 ` Antonello Tartamo
  2017-10-26  9:05 ` Paul Barker
  1 sibling, 0 replies; 3+ messages in thread
From: Antonello Tartamo @ 2017-10-26  7:05 UTC (permalink / raw)
  To: vishal ashapur; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2213 bytes --]

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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 3453 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build error on raspberrypi3
  2017-10-26  3:59 build error on raspberrypi3 vishal ashapur
  2017-10-26  7:05 ` Antonello Tartamo
@ 2017-10-26  9:05 ` Paul Barker
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Barker @ 2017-10-26  9:05 UTC (permalink / raw)
  To: vishal ashapur; +Cc: yocto

On Thu, Oct 26, 2017 at 4:59 AM, vishal ashapur <vishalashapur@gmail.com> wrote:
> 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'

This looks wrong. We went straight from 4.9.27 to 4.9.30 in
meta-raspberrypi so not sure where your recipe is coming from. The
latest kernel version on the pyro branch is 4.9.50.

>
> 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 \

These paths might be wrong, from your commands above the
meta-openembedded and meta-raspberrypi directories would be placed
under the poky directory.

-- 
Paul Barker
Togán Labs Ltd


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-26  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-26  3:59 build error on raspberrypi3 vishal ashapur
2017-10-26  7:05 ` Antonello Tartamo
2017-10-26  9:05 ` Paul Barker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.