Open codyallenn opened 4 months ago
Looks like arm-none-eabi-gcc 10.3-2021.10 -> 13.2.0
needs to be updated @iceman1001
Cool,
First some workflow things. Keep one topic per issue.
Seems like python3 devs is missing. If you find the solution , make a PR.
As long as it works with current cross compiler we good. Feel free to make a PR with the updated version.
Apologies on the workflow.
Can you clarify - Seems like python3 devs is missing
your first message is showing a lot of python3 lib errors.
Copy - I tried fresh install on both Intel & Silicon Mac.
Previous version worked
Edit - also tried compiling locally,make clean && make all
fails
I´m getting this error too. The update of arm-none-eabi-gcc
, should only be change 10.3-2021.10
by 13.2.Rel1
?
or an issue with python 3.12.2
I also tried a new install on an M1 mac, Python 3.12.2, and got the same errors. There's no python3-dev needed (i thought?) with a homebrew install, all headers are included in a standard install and present at /opt/homebrew/Frameworks/Python.framework/Headers
.
Headed over to the repo proper and building from source, following the instructions, produced the same result.
update: noting that others in previous issues had more success with cmake, i then tried
cmake client/CMakeLists.txt
cmake --build .
and it blew up on client/src/fido/cbortools.c
this is related to python3 dev libs. Where we are compiling support for python3 inside the pm3 client.
Hence something changed with python3 libs and how to call it.
__Py_NoneStruct, referenced from:
__Py_NotImplementedStruct, referenced from
This seems like it could be relevant? https://docs.brew.sh/Homebrew-and-Python#pep-668-python312-and-virtualenvs
brew uninstall --ignore-dependencies python@3.12
brew reinstall python@3.11
Fixed the build issue for me (directly from the repo). Trying to install from brew attempts to update python back to the non-working 3.12
@jtippett thank you for helping! I followed downgrading to python@3.11
I also saved the proxmark3.rb
file locally changing line 20 to depends_on "python@3.11" => :build
and got brew to run successfully.
@iceman1001 https://github.com/RfidResearchGroup/homebrew-proxmark3/pull/40 to allow builds using brew per recent python@3.12
changes
Nice! In the long run the project would need to be adapted to work with python3.12 and larger. Seemingly there is a breaking change in it.