Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

failing to build for AArch64 architecture #13

Open
mczerski opened this issue Oct 2, 2020 · 0 comments
Open

failing to build for AArch64 architecture #13

mczerski opened this issue Oct 2, 2020 · 0 comments

Comments

@mczerski
Copy link

mczerski commented Oct 2, 2020

Hi

I'm trying to build recipes-influx/influxdb/influxdb_1.8.0.bb for colibri-imx8x board which is based on iMX 8X SOM. It is failing due to incompatible influxdb binary architecutre. I needed to change the recipe in this way:

diff --git a/recipes-influx/influxdb/influxdb_1.8.0.bb b/recipes-influx/influxdb/influxdb_1.8.0.bb
index 57dbf92..1f8f525 100644
--- a/recipes-influx/influxdb/influxdb_1.8.0.bb
+++ b/recipes-influx/influxdb/influxdb_1.8.0.bb
@@ -2,9 +2,9 @@ require influxdb.inc
 
 PR = "r1"
 
-SRC_URI = "https://dl.influxdata.com/influxdb/releases/influxdb-1.8.0_linux_armhf.tar.gz"
-SRC_URI[sha256sum] = "fdac157f02e8231e1925d8e9bc325c88b7ba55ebab2340c549ef10640dbd0cba"
+SRC_URI = "https://dl.influxdata.com/influxdb/releases/influxdb-1.8.0_linux_arm64.tar.gz"
+SRC_URI[sha256sum] = "e76c36c10e46c2fd17820156b290dd776a465da0298496af5d490e555504b079"
 
 LICENSE = "CLOSED"
 
-S = "${WORKDIR}/influxdb-1.8.0-1"
\ No newline at end of file
+S = "${WORKDIR}/influxdb-1.8.0-1"

This way the build is successful. I cannot test it on the board because I do not have it yet but I will test it in the future. I'm not very good with bitbake recipes so I don't know how to make the recipe handle both architectures. Could You propose a way for this layer to handle both architectures ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant