ROCKNIX / distribution

Other
337 stars 62 forks source link

[BUG] Why am I getting this error on the Python.h when I have these #498

Closed Dunard closed 2 weeks ago

Dunard commented 2 weeks ago

Screenshot_20240829_092914

spycat88 commented 2 weeks ago

What's the spec of your build system?

unxmaal commented 2 weeks ago

I confirm this issue as well.

I saw this on a very lightly modified dev branch where I incremented the version of fakeroot.

I removed the docker container 'moby/buildkit:buildx-stable' and removed all related docker images.

I re-ran make docker-image-build and make docker-RK3566 and the build failed in this same way again.

I purged the distribution git clone and cloned it again, and purged the containers and images. I'll note git diff only showed my change for the version of fakeroot, but better to be safe.

I'm running another build, but that will take some time.

spycat88 commented 2 weeks ago

I think it's a race condition and the package has been built before Python is ready, I will fix this shortly.

spycat88 commented 2 weeks ago

This should not be fixed if you pull in the latest updates.

Dunard commented 2 weeks ago

I forgot to send these.

distrobox create --name ubuntu-22.04 --init --image ubuntu:22.04 --additional-packages "systemd libpam-systemd"

sudo apt install gcc make git unzip wget \ xz-utils libsdl2-dev libsdl2-mixer-dev libfreeimage-dev libfreetype6-dev libcurl4-openssl-dev \ rapidjson-dev libasound2-dev libgl1-mesa-dev build-essential libboost-all-dev cmake fonts-droid-fallback \ libvlc-dev libvlccore-dev vlc-bin texinfo premake4 golang libssl-dev curl patchelf \ xmlstarlet patchutils gawk gperf xfonts-utils default-jre python-is-python3 xsltproc libjson-perl \ lzop libncurses5-dev device-tree-compiler u-boot-tools rsync p7zip libparse-yapp-perl \ zip binutils-aarch64-linux-gnu dos2unix p7zip-full libvpx-dev bsdmainutils bc meson p7zip-full \ qemu-user-binfmt zstd parted imagemagick

Ignore installing docker.io.

git clone https://github.com/ROCKNIX/distribution.git

cd distribution

git checkout dev

make RK3566

There anything that I don't need or need to change on the installing. Please let me know.

spycat88 commented 2 weeks ago

As explained, this issue has been fixed, please read comments before posting, thanks.