[meta-freescale] [External] Re: morty build fails firmware_imx fetcher

Otavio Salvador otavio.salvador at ossystems.com.br
Mon Mar 27 15:02:47 PDT 2017


On Mon, Mar 27, 2017 at 4:50 PM, Eckhardt, Andrew           UTAS
<Andrew.Eckhardt at utas.utc.com> wrote:
> It gets more interesting.  I have done as you suggested:
>
> SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
>            git://git.freescale.com/imx/imx-firmware.git;branch=${SRCBRANCH};destsuffix=${S}/git;protocol=http"
>
> but am now getting "Unable to fetch URL...".
>
> WARNING: firmware-imx-1_5.4-r0 do_fetch: Failed to fetch URL git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/aeckhardt/warp7_morty/build/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/firmware-imx-5.4/git;protocol=http, attempting MIRRORS if available
> ERROR: firmware-imx-1_5.4-r0 do_fetch: Fetcher failure: Fetch command ...<some stuff deleted here>...
> git -c core.fsyncobjectfiles=0 clone --bare --mirror http://git.freescale.com/imx/imx-firmware.git /home/aeckhardt/warp7_morty/downloads//git2/git.freescale.com.imx.imx-firmware.git --progress failed with exit code 128, output:
> Cloning into bare repository '/home/aeckhardt/warp7_morty/downloads//git2/git.freescale.com.imx.imx-firmware.git'...
> fatal: repository 'http://git.freescale.com/imx/imx-firmware.git/' not found
>
> ERROR: firmware-imx-1_5.4-r0 do_fetch: Fetcher failure for URL: 'git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/aeckhardt/warp7_morty/build/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/firmware-imx-5.4/git;protocol=http'. Unable to fetch URL from any source.
> ERROR: firmware-imx-1_5.4-r0 do_fetch: Function failed: base_do_fetch
> ERROR: Logfile of failure stored in: /home/aeckhardt/warp7_morty/build/tmp/work/all-poky-linux/firmware-imx/1_5.4-r0/temp/log.do_fetch.5390
> ERROR: Task (/home/aeckhardt/warp7_morty/sources/meta-freescale/recipes-bsp/firmware-imx/firmware-imx_5.4.bb:do_fetch) failed with exit code '1'
>
> BTW I have git version 1.9.1 installed here.

I am not sure Freescale's old server supports http anymore.

Yes, it does not:

% git ls-remote http://git.freescale.com/imx/imx-firmware.git/
                                    fatal: repository
'http://git.freescale.com/imx/imx-firmware.git/' not found


So you need to ask your IT personal to fix the git protocol to work.
You can locally test it using:

% git ls-remote git://git.freescale.com/imx/imx-firmware.git/

951c1363abe95dd75ab3e9447f640d7807240236 HEAD
951c1363abe95dd75ab3e9447f640d7807240236 refs/heads/master
850792327419fee42e24c9fc6bee48d58005281e refs/heads/pico-brillo-20160510
850792327419fee42e24c9fc6bee48d58005281e refs/heads/pico-brillo-20160525
dc0f0c3d70c4e6a6825d5059bf4ddc589a9d586b refs/heads/pico-brillo-20160623
cb224b4dbde8a7f912d5fdd9183c9a11e90284ef refs/heads/pico-brillo-20160721
43627cc213d5192293637933de3aecf1f51b1c22 refs/heads/pico-brillo-20160727
4349a7b346d19e199080c6a710d05c15e8c09679 refs/heads/pico-brillo-20160825
29ced5d4f46273d9753c9e0e3d9296f3103f4bf4 refs/heads/pico-brillo-20160921

So, git protocol is a need.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list