You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly - they all use only Meson, but not MesonToolChain as gstreamer packaged does.
I get "native build":
The Meson build system
Version: 0.62.2
Source dir: /home/vincas/.conan/data/gst-plugins-base/1.22.1/mycompany/stable/build/e2ecc483e0540f3b71c454d07b341e37f277f13b/source_subfolder
Build dir: /home/vincas/.conan/data/gst-plugins-base/1.22.1/mycompany/stable/build/e2ecc483e0540f3b71c454d07b341e37f277f13b/build_subfolder
Build type: native build
But Conan says it should have been cross-build:
Cross-build from 'Linux:x86_64' to 'Linux:armv8'
This results in silly errors like trying to execute .exe on Linux:
source_subfolder/meson.build:1:0: ERROR: Could not invoke sanity test executable: [Errno 8] Exec format error: '/home/vincas/.conan/data/gst-plugins-base/1.22.1/mycompany/stable/build/e2ecc483e0540f3b71c454d07b341e37f277f13b/build_subfolder/meson-private/sanitycheckc.exe'.
P.S. I'm using local recipe forked just to use 1.21.1 source.
Description
gst-plugins-base
,gst-plugins-good
,gst-plugins-bad
,gst-plugins-ugly
- they all use onlyMeson
, but notMesonToolChain
asgstreamer
packaged does.I get "native build":
But Conan says it should have been cross-build:
This results in silly errors like trying to execute
.exe
on Linux:P.S. I'm using local recipe forked just to use
1.21.1
source.Package and Environment Details
Conan profile
Configuration (profile_host):
[settings]
arch=armv8
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=10
os=Linux
os_build=Linux
[options]
with_networkmanager=False
BluezQt:local_qt_dir=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux/qtprefix
NetworkManagerQt:local_qt_dir=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux/qtprefix
gst-plugins-good:local_qt_dir=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux/qtprefix
[build_requires]
[env]
AR=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar
CC=aarch64-poky-linux-gcc -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux
CFLAGS=-L. -L/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux/usr/lib/
CHOST=aarch64-poky-linux
CONAN_HOOKS=""
CONFIGURE_FLAGS=--target=aarch64-poky-linux --host=aarch64-poky-linux --build=x86_64-linux --with-libtool-sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux
CPP=aarch64-poky-linux-gcc -E -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux
CROSS_COMPILE=
CXX=aarch64-poky-linux-g++ -mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux
LD=aarch64-poky-linux-ld --sysroot=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux
LDFLAGS=-L. -L/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux/usr/lib/
NM=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-nm
OBJCOPY=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-objcopy
OBJDUMP=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-objdump
PATH=[/opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/bin,/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux/qtprefix/bin:/opt/fsl-imx-wayland/5.10-hardknott/sysroots/cortexa53-crypto-poky-linux/qtprefix/bin]
RANLIB=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ranlib
STRIP=/opt/fsl-imx-wayland/5.10-hardknott/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-strip
Steps to reproduce
try building using some ARM toolchain
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: