Git Product home page Git Product logo

Comments (3)

marczalik avatar marczalik commented on August 21, 2024

Non-comprehensive fixes and issues that I've run into while using OFRAK on an M1 Mac:

  • Need to add apt-get cmake to ofrak_core's Dockerstub.
  • Running Docker containers as ARMv8 led to issues with Toolchain. LLVM unsupported and using GNU led to insufficient space issues during patch making. Forcing LLVM to run ARMv8 led to it attempting to use an x86-64 library.
  • In order to run Docker as AMD64, need to:
    • Add FROM --platform=linux/amd64 in build_image.py where the Dockerfile parts are specified.
    • Set ARG TARGETARCH="amd64" in ofrak_patch_maker's Dockerstub.
  • Pip segfaults when attempting to build Docker images with any Python > 3.7.

from ofrak.

whyitfor avatar whyitfor commented on August 21, 2024

On M1 I ran into issue installing orjson, which wanted rust to build from source a dependency. Upgrading pip python3 -m pip install --upgrade pip to 23.0 resolved this issue.

Running pip install ofrak also ran into issues with xattr==0.9.7 (because of cffi) -- updating to xattr=0.10.1 resolves that issue (this comes with #217).

With pip install ofrak, installing lief also ran into issues (cmake was not installed), since there is not a 3.8 wheel available.

from ofrak.

whyitfor avatar whyitfor commented on August 21, 2024

I also needed to brew install libmagic.

from ofrak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.