Yocto DART-6UL Toolchain Installation Errors [SOLVED]

Moderators: Oren.R, Eran.M, fradensky

rsheib
Posts: 4
Joined: Thu Jan 12, 2017 1:01 pm

Yocto DART-6UL Toolchain Installation Errors [SOLVED]

Postby rsheib » Sat May 06, 2017 11:05 am

I am following the toolchain installation instructions on the Variscite web site on this page:
"DART-6UL - Yocto Krogoth toolchain installation for out of Yocto builds"

I get to the 4th line of the following 4 steps:
$ cd ~/var-imx-yocto-krogoth
$ MACHINE=imx6ul-var-dart DISTRO=fsl-imx-x11 source var-setup-release.sh -b build_x11
$ bitbake meta-ide-support
$ bitbake meta-toolchain

And get several errors, thus preventing the installation from completing. Are the instructions "stale"? Can you offer a solution to get this working? Here is the list of errors:
ERROR: binutils-crosssdk-x86_64-2.26-r0 do_fetch: Unable to acquire lock '/opt/yocto_downloads//git2/sourceware.org.git.binutils-gdb.git.lock', directory is not writable
ERROR: binutils-crosssdk-x86_64-2.26-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /mnt/ssd2/home/rsheib/var-imx-yocto-krogoth/build_x11/tmp/work/x86_64-linux/binutils-crosssdk-x86_64/2.26-r0/temp/log.do_fetch.26331
ERROR: Task 935 (/mnt/ssd2/home/rsheib/var-imx-yocto-krogoth/sources/poky/meta/recipes-devtools/binutils/binutils-crosssdk_2.26.bb, do_fetch) failed with exit code '1'
ERROR: nativesdk-glibc-initial-2.23-r0 do_fetch: Unable to acquire lock '/opt/yocto_downloads//git2/sourceware.org.git.glibc.git.lock', directory is not writable
ERROR: nativesdk-glibc-initial-2.23-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /mnt/ssd2/home/rsheib/var-imx-yocto-krogoth/build_x11/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc-initial/2.23-r0/temp/log.do_fetch.26333
ERROR: Task 958 (virtual:nativesdk:/mnt/ssd2/home/rsheib/var-imx-yocto-krogoth/sources/poky/meta/recipes-core/glibc/glibc-initial_2.23.bb, do_fetch) failed with exit code '1'
ERROR: nativesdk-glibc-2.23-r0 do_fetch: Unable to acquire lock '/opt/yocto_downloads//git2/sourceware.org.git.glibc.git.lock', directory is not writable
ERROR: nativesdk-glibc-2.23-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /mnt/ssd2/home/rsheib/var-imx-yocto-krogoth/build_x11/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-glibc/2.23-r0/temp/log.do_fetch.26334
ERROR: nativesdk-opkg-utils-0.1.8+gitAUTOINC+53274f0875-r0 do_fetch: Unable to acquire lock '/opt/yocto_downloads//git2/git.yoctoproject.org.opkg-utils.lock', directory is not writable
ERROR: nativesdk-opkg-utils-0.1.8+gitAUTOINC+53274f0875-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /mnt/ssd2/home/rsheib/var-imx-yocto-krogoth/build_x11/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-opkg-utils/0.1.8+gitAUTOINC+53274f0875-r0/temp/log.do_fetch.26335
ERROR: Task 530 (virtual:nativesdk:/mnt/ssd2/home/rsheib/var-imx-yocto-krogoth/sources/poky/meta/recipes-core/glibc/glibc_2.23.bb, do_fetch) failed with exit code '1'
ERROR: Task 1055 (virtual:nativesdk:/mnt/ssd2/home/rsheib/var-imx-yocto-krogoth/sources

Thanks,

Rsh

Eran.M
Posts: 140
Joined: Tue Jan 26, 2016 10:49 am

Re: Yocto DART-6UL Toolchain Installation Errors

Postby Eran.M » Sun May 07, 2017 12:25 pm

Hi Rsh.
Looks like you set /opt/yocto_downloads to be your downloads directory, but you didn't give it write permissions for your user.
See here:
http://variwiki.com/index.php?title=DAR ... _directory

Regards,
Eran


Return to “Yocto”

Who is online

Users browsing this forum: No registered users and 0 guests