Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian 12 Arm64 Host - Required Package Installation? #2

Open
dtischler opened this issue Aug 20, 2024 · 3 comments
Open

Debian 12 Arm64 Host - Required Package Installation? #2

dtischler opened this issue Aug 20, 2024 · 3 comments

Comments

@dtischler
Copy link

dtischler commented Aug 20, 2024

Hi folks, can you please make a list of all required dependencies that need to be installed on a fresh Debian 12 Aarch64 build machine?

So far, after installing Debian 12 and doing a git clone of flexbuild, I've noticed I need bison, meson, liborc-0.4-dev, libcanberra-dev, gtk-doc-tools, python3-pyelftools, libssl-dev, gettext, libglib2.0-dev-bin, and I am now chasing down what is needed to overcome a stdio.h error in imx-vpu-hantro build. (I may need to open another Issue if I can't sort it out, but I'm guessing it's related to package installs that are needed).

Thanks!

@zsmi
Copy link

zsmi commented Aug 26, 2024

It should be this list that's in their docker image: https://github.com/NXP/flexbuild/blob/main/docker/debian/Dockerfile

u-boot-tools device-tree-compiler autoconf automake dh-autoreconf libssl-dev zip
openssl curl flex bison bc git gcc vim ethtool wget ftp make makedev tclsh ccache
binfmt-support qemu-system-common qemu-user-static debootstrap sudo ncurses-dev
gcc-arm-linux-gnueabihf crossbuild-essential-arm64 gcc-aarch64-linux-gnu file
build-essential gdb u-boot-tools device-tree-compiler python3 python3-dev python3-pip
libxml2-dev libsensors4-dev libssl-dev libedit-dev liblzma-dev tree binutils-dev
libnuma-dev libpcap-dev libtool mtd-utils libncurses5-dev libelf-dev net-tools
libcunit1-dev pkg-config autotools-dev crossbuild-essential-armhf openssh-server
openssh-client crossbuild-essential-armhf qemu-utils kmod g++-aarch64-linux-gnu
cpp-arm-linux-gnueabihf dosfstools ruby iputils-ping cpio rsync libtclap-dev
parted rpm2cpio lsb-release xutils-dev libwayland-bin cmake locales texinfo gawk
chrpath diffstat scons libgflags-dev libhdf5-serial-dev python3-numpy python3-wheel
python3-h5py

@EdSwarthout
Copy link

In addition to the ones listed in the Dockerfile, I needed:
zstd python3-cryptography python3-pyelftools

@dtischler
Copy link
Author

Thanks for the assists here! Even with all these installed, I unfortunately still fail to complete a build, now dying in the imx_gst_plugin section, specifically during gst_plugins_bad :

/usr/bin/ld: /home/david/flexbuild/components_lsdk2406/apps/multimedia/gst_plugins_bad/build_debian_arm64/../gst-libs/gst/wayland/gstwllinuxdmabuf.c:158: undefined reference to `gst_phy_mem_meta_api_get_type'
collect2: error: ld returned 1 exit status

But again, that might need a separate issue, unless this is somehow a result of a missing package.

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

No branches or pull requests

3 participants