I have a system that works on two different boards with mender-client building and working fine on kirkstone (using the master-next branch) and I want to build the same system as a virtual machine using yocto’s qemux86-64
MACHINE
. I added meta-mender-qemu to my bblayers.conf but mender-client (both 3.2 and 3.1) fails to build with the following error:
| HASH[build github.com/stretchr/testify/mock]: "file mock.go WUGZT_Z_yriLen2YijOF\n"
| HASH[build github.com/stretchr/testify/mock]: "import errors 4f57lL-vKJ4Z9-2R5M7I\n"
| HASH[build github.com/stretchr/testify/mock]: "import fmt YzorbLjRUCNG133uPrTU\n"
| HASH[build github.com/stretchr/testify/mock]: "import github.com/davecgh/go-spew/spew HI9K8DXWLPPPENKbOp8S\n"
| HASH[build github.com/stretchr/testify/mock]: "import github.com/pmezard/go-difflib/difflib VmLIkC48cNLdc6iET1g9\n"
| HASH[build github.com/stretchr/testify/mock]: "import github.com/stretchr/objx awuhypbWu0DLdyYMOMxR\n"
| HASH[build github.com/stretchr/testify/mock]: "import github.com/stretchr/testify/assert ISlqKp1ZcBnNkBUDDcDC\n"
| HASH[build github.com/stretchr/testify/mock]: "import reflect mfmKfQS0YlypznHAFduc\n"
| HASH[build github.com/stretchr/testify/mock]: "import regexp uvydAMBiZTwy6_LEmsVS\n"
| HASH[build github.com/stretchr/testify/mock]: "import runtime eUFhqxqhiRU-koINqr0j\n"
| HASH[build github.com/stretchr/testify/mock]: "import strings 0sF-otWMFqbzDvsts4hZ\n"
| HASH[build github.com/stretchr/testify/mock]: "import sync y1GZ1Mehob0nKUzyl8LO\n"
| HASH[build github.com/stretchr/testify/mock]: "import time oATruoldt_HnDdelZZwG\n"
| HASH[build github.com/stretchr/testify/mock]: 1180197ce0cee01ee64c829915da12d35fa4bc2e77de174d678ef2d5a6b93f4b
| HASH /home/brgl-plain/veki/qemu/build/tmp-glibc/work/core2-64-oe-linux/mender-client/3.1.0-r0/build/src/github.com/mendersoftware/mender/vendor/github.com/mendersoftware/openssl/shim.h: d1955ef20bf200e787250b65fc5c21980ff9bca2898982f7070323d82c2422b2
| HASH[build github.com/mendersoftware/openssl]: "file shim.h 0ZVe8gvyAOeHJQtl_Fwh\n"
| HASH[build github.com/mendersoftware/openssl]: "import errors 4f57lL-vKJ4Z9-2R5M7I\n"
| HASH[build github.com/mendersoftware/openssl]: "import fmt YzorbLjRUCNG133uPrTU\n"
| HASH[build github.com/mendersoftware/openssl]: "import github.com/mendersoftware/openssl/utils xufcmIPRApBC-pKrCba7\n"
| HASH[build github.com/mendersoftware/openssl]: "import io G7qO6VlNpI2LdqSxBYvE\n"
| HASH[build github.com/mendersoftware/openssl]: "import io/ioutil UATyfyyH6K4hCyuURChV\n"
| HASH[build github.com/mendersoftware/openssl]: "import math/big sl-jniplUVBeB_x5BfMT\n"
| HASH[build github.com/mendersoftware/openssl]: "import net P2QPomJwV7gzZR6bmjg-\n"
| HASH[build github.com/mendersoftware/openssl]: "import net/http ndrrpejiklyLQ3lH7fG8\n"
| HASH[build github.com/mendersoftware/openssl]: "import os uHxGUQwu1AfFUqtDPUH2\n"
| HASH[build github.com/mendersoftware/openssl]: "import reflect mfmKfQS0YlypznHAFduc\n"
| HASH[build github.com/mendersoftware/openssl]: "import regexp uvydAMBiZTwy6_LEmsVS\n"
| HASH[build github.com/mendersoftware/openssl]: "import runtime eUFhqxqhiRU-koINqr0j\n"
| HASH[build github.com/mendersoftware/openssl]: "import strings 0sF-otWMFqbzDvsts4hZ\n"
| HASH[build github.com/mendersoftware/openssl]: "import sync y1GZ1Mehob0nKUzyl8LO\n"
| HASH[build github.com/mendersoftware/openssl]: "import time oATruoldt_HnDdelZZwG\n"
| HASH[build github.com/mendersoftware/openssl]: "import unsafe \n"
| HASH[build github.com/mendersoftware/openssl]: "import runtime/cgo ocVj9G_teBkxRYWCgczD\n"
| HASH[build github.com/mendersoftware/openssl]: "import syscall F0pqHA0s7s1h-LiMjvNC\n"
| HASH[build github.com/mendersoftware/openssl]: 1d75d51bb3a87efdc415290d40a4e462e503c444203b4d578719b214fe9619a4
| HASH subkey 1180197ce0cee01ee64c829915da12d35fa4bc2e77de174d678ef2d5a6b93f4b "stdout" = b231b386a483c31905f6851adc91c7590ff5bfd30c09876e93c1dbe013645e08
| github.com/mendersoftware/openssl
| # github.com/mendersoftware/openssl
| vendor/github.com/mendersoftware/openssl/fips.go:31:7: could not determine kind of name for C.FIPS_mode_set
| make: *** [Makefile:82: build] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
My build config is as follows:
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-22.04"
TARGET_SYS = "x86_64-oe-linux"
MACHINE = "qemux86-64"
DISTRO = "veki"
DISTRO_VERSION = "0.1.0-dev"
TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta = "HEAD:6ade2bfdd9297896b9f251dd62f55e461fef1a3e"
meta-oe
meta-python
meta-networking
meta-multimedia
meta-filesystems = "HEAD:fcc7d7eae82be4c180f2e8fa3db90a8ab3be07b7"
meta-tegra
contrib = "HEAD:cb25033a8ad171f8d54e88b3b86c1cb04d598653"
meta-veki = "HEAD:a3d963aa079f912e88666b53c05edfeac25911aa"
meta-mender-core
meta-mender-qemu = "master-next:29ccdc288d34effecd83f1be30d5cad1c849b14f"
meta-mender-tegra = "HEAD:3b253d7ed268a453b1559555c27a9283f7f86ff6"
meta-qt5 = "HEAD:5b71df60e523423b9df6793de9387f87a149ac42"
meta-tegra-community = "HEAD:0004c04160adddfda9983cc10850cf7a05200853"
meta-scikit-learn = "HEAD:e0d102be592bcbadf2ea1122f23b06a99aa486a5"
meta-aws = "HEAD:3ec7f9aa543ada3c97246963fbf8859cd072af1e"
meta-scipy = "HEAD:a43f029d7344fb759312865a95f0caefa0f82726"