Failed to build VAR-SOM-AM33 Yocto image

Moderators: Oren.R, fradensky

mmelchor
Posts: 2
Joined: Tue Jan 27, 2015 12:21 pm

Failed to build VAR-SOM-AM33 Yocto image

Postby mmelchor » Thu May 28, 2015 4:59 pm

Hello,

I have been following the instructions at http://variwiki.com/index.php?title=VAR ... o_Daisy_GS.
Everything went fine until I got to point 3 Building the VAR-SOM-AM33 Yocto image.
Please find below WARNING and ERROR messages.
Can you please spot the problem?

Best regards,
PS I am running Ubuntu 14.04
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

sunny@argon:~/yocto_varsomam33/tisdk/build$ MACHINE=varsomam33 bitbake tisdk-rootfs-image
NOTE: Started PRServer with DBfile: /home/sunny/yocto_varsomam33/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 54166, PID: 12188
Loading cache: 100% |##########################################################################| ETA: 00:00:00
Loaded 288 entries from dependency cache.
WARNING: Unable to get checksum for linux-ti33x-psp SRC_URI entry defconfig: file could not be found: --:--:--
NOTE: Error during finalise of /home/sunny/yocto_varsomam33/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_3.14.bb
ERROR: ExpansionError during parsing /home/sunny/yocto_varsomam33/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_3.14.bb: Failure expanding variable S: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: repository 'http://git.ti.com/ti-linux-kernel/ti-linux-kernel.git/' not found


Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
sunny@argon:~/yocto_varsomam33/tisdk/build$

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Oren.R
Posts: 65
Joined: Tue Dec 16, 2014 7:47 pm

Re: Failed to build VAR-SOM-AM33 Yocto image

Postby Oren.R » Wed Jun 10, 2015 7:10 pm

Hello,
Hi
sometimes the BB fails, since packages on the web change their checksum.
i will now rebuild and check

Oren.R
Posts: 65
Joined: Tue Dec 16, 2014 7:47 pm

Re: Failed to build VAR-SOM-AM33 Yocto image

Postby Oren.R » Thu Jun 11, 2015 9:10 am

Hello
Since Gitorious GIT was shutdown, patches fo redirection were required.
see new YOCTO_Daisy_1.6_R3V9 release on FTP

mmelchor
Posts: 2
Joined: Tue Jan 27, 2015 12:21 pm

Re: Failed to build VAR-SOM-AM33 Yocto image

Postby mmelchor » Wed Jun 24, 2015 8:55 am

Hello again Oren.R,

Thank you for your help, but even after using this new YOCTO_Daisy_1.6_R3V9 file I get the same error (see at the bottom).
I have seen that the linux-ti-staging_3.14.bb recipe contains

Code: Select all

KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
KERNEL_GIT_PROTOCOL = "git"
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
            file://defconfig \


There is certainly something strange with this git repository at git.ti.com. I can clone it by hand with

Code: Select all

$ git clone git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git/


which apparently is what the recipe should do, but when I run

Code: Select all

$ MACHINE=varsomam33 bitbake tisdk-rootfs-image

the building process stops with an error message that says http://git.ti.com/ti-linux-kernel/ti-linux-kernel.git/ does not exist (Note the http:// instead of git://). I have checked that for http protocol the repository sits at http://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git/

Is there anything you can do with this recipe?

Again thank you very much for your help and best regards,

PS
Info about the host machine:
Linux version 3.13.0-55-generic (buildd@brownie) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015

and the error message:
+++++++++++++++++++++ START +++++++++++++++++++
mmelchor@argon:~/projects/sunny/yocto_varsomam33/tisdk/build$ MACHINE=varsomam33 bitbake tisdk-rootfs-image
NOTE: Started PRServer with DBfile: /home/mmelchor/projects/sunny/yocto_varsomam33/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 47280, PID: 4920
WARNING: Unable to get checksum for linux-ti33x-psp SRC_URI entry defconfig: file could not be found | ETA: 00:03:20
NOTE: Error during finalise of /home/mmelchor/projects/sunny/yocto_varsomam33/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_3.14.bb
ERROR: ExpansionError during parsing /home/mmelchor/projects/sunny/yocto_varsomam33/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_3.14.bb: Failure expanding variable S: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: repository 'http://git.ti.com/ti-linux-kernel/ti-linux-kernel.git/' not found

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
+++++++++++++++++++ END ++++++++++++++++++++++


Return to “Yocto”

Who is online

Users browsing this forum: No registered users and 1 guest