Home/Support/Support Forum/unable to fetch libdrm while building core-image-base for ccimx6ulstarter
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

unable to fetch libdrm while building core-image-base for ccimx6ulstarter

0 votes
I'm not 100% sure if I'm in the right forum for this question, if not, please direct me to the correct place.

I'm attempting to build a core-image-base for a ccimx6ulstarter board with the dey container but I keep getting the following error after calling `bitbake core-image-base`:
```
Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-dey-linux-gnueabi"
MACHINE = "ccimx6ulstarter"
DISTRO = "dey"
DISTRO_VERSION = "3.0-r4"
TUNE_FEATURES = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "HEAD:d88d62c20d7d8da85f02edb170dae0280624ad7e"
meta-oe
meta-python
meta-networking
meta-webserver = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-qt5 = "HEAD:91e6e3b1f5aebd17f895caac3dee32a14630da99"
meta-swupdate = "HEAD:8ad6a75e1778cdda671b3d6aea2a9692613020ec"
meta-freescale = "HEAD:14f1a630a47375432f93c556927b879b51d84c4e"
meta-fsl-demos = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-digi-arm
meta-digi-dey = "HEAD:4c9546357d4570b788271b2c82188115be35b8f2"

Initialising tasks: 100% |####################################################################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 1022 Found 51 Missed 971 Current 590 (4% match, 39% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: libdrm-2.4.102.imx-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/imx/libdrm-imx.git;protocol=https;nobranch=1;branch=libdrm-imx-2.4.102, attempting MIRRORS if available
ERROR: libdrm-2.4.102.imx-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export PATH="/home/dey/workspace/ccimx6ulstarter/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/dey/workspace/ccimx6ulstarter/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/libdrm/2.4.102.imx-r0/recipe-sysroot-native/usr/bin/python3-native:/usr/local/dey-3.0/sources/poky/scripts:/home/dey/workspace/ccimx6ulstarter/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/libdrm/2.4.102.imx-r0/recipe-sysroot-native/usr/bin/arm-dey-linux-gnueabi:/home/dey/workspace/ccimx6ulstarter/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/libdrm/2.4.102.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/dey/workspace/ccimx6ulstarter/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/libdrm/2.4.102.imx-r0/recipe-sysroot-native/usr/sbin:/home/dey/workspace/ccimx6ulstarter/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/libdrm/2.4.102.imx-r0/recipe-sysroot-native/usr/bin:/home/dey/workspace/ccimx6ulstarter/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/libdrm/2.4.102.imx-r0/recipe-sysroot-native/sbin:/home/dey/workspace/ccimx6ulstarter/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/libdrm/2.4.102.imx-r0/recipe-sysroot-native/bin:/usr/local/dey-3.0/sources/poky/bitbake/bin:/home/dey/workspace/ccimx6ulstarter/tmp/hosttools"; export HOME="/home/dey"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://source.codeaurora.org/external/imx/libdrm-imx.git /home/dey/workspace/downloads/git2/source.codeaurora.org.external.imx.libdrm-imx.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/dey/workspace/downloads/git2/source.codeaurora.org.external.imx.libdrm-imx.git'...
fatal: unable to access 'https://source.codeaurora.org/external/imx/libdrm-imx.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

ERROR: libdrm-2.4.102.imx-r0 do_fetch: Fetcher failure for URL: 'git://source.codeaurora.org/external/imx/libdrm-imx.git;protocol=https;nobranch=1;branch=libdrm-imx-2.4.102'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/dey/workspace/ccimx6ulstarter/tmp/work/cortexa7t2hf-neon-mx6ul-dey-linux-gnueabi/libdrm/2.4.102.imx-r0/temp/log.do_fetch.274192
ERROR: Task (/usr/local/dey-3.0/sources/meta-digi/meta-digi-dey/recipes-graphics/drm/libdrm_2.4.102.imx.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1233 tasks of which 1209 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/usr/local/dey-3.0/sources/meta-digi/meta-digi-dey/recipes-graphics/drm/libdrm_2.4.102.imx.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
```
asked Jun 13 in Linux by electron New to the Community (8 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
imx.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

is your issue
sudo apt update ; sudo apt-get install apt-transport-https ca-certificates -y ; sudo update-ca-certificates
export GIT_SSL_NO_VERIFY=1
https://stackoverflow.com/questions/21181231/server-certificate-verification-failed-cafile-etc-ssl-certs-ca-certificates-c
answered Jun 15 by LeonidM Veteran of the Digi Community (4,457 points)
selected Jun 25 by electron
...