Closed foosel closed 2 years ago
Looks good, ready to merge.
Build fails on something reguarding regex.h missing:
running build_ext
building 'regex._regex' extension
creating build/temp.linux-armv7l-3.9
creating build/temp.linux-armv7l-3.9/regex_3
arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/oprint/include -I/usr/include/python3.9 -c regex_3/_regex.c -o build/temp.linux-armv7l-3.9/regex_3/_regex.o
regex_3/_regex.c:53:10: fatal error: _regex.h: No such file or directory
Did you actually read what I wrote in the PR and why I marked it as draft and not actually yet ready to merge while this issue gets sorted out outside of our control? 😅
My eyes passed over the text, but clearly I didn't read it.
I did read the code, which made sense since we still need to remove writing pi and also remove that apt-get line (its now the same as ubuntu).
I think I should not merge anything else until tomorrow, and will keep posted regarding regex.h
I'll have to keep an eye on the regex situation anyhow and will give you a ping once it's clear if/how it gets resolved.
This removes the version pin on cmake and removes wiringpi, which is no longer maintained and now not even available in the repository anymore.
Note that this currently will in all likelihood not build because there's an unrelated issue with a Python dependency
regex
currently ongoing that the OctoPrint build is depending on (see mrabarnett/mrab-regex#443). I'm hopeful that that will be fixed soon though (the dependency was updated today and the release lacks some mandatory files). Marking this as draft for now until I can confirm.I was temporarily able to work around the aforementioned issue by injecting
into the chroot script, and can confirm that the build runs through then after the changes in this PR.