-
Hi, I am trying to package samply using crane. My current Progress is located in a fork of that repo. Sadly I am getting build errors pointing to the custom build commands of libc and memchr:
I looked for examples/documentation for this but could not find anything relevant. I'd appreciate any feedback regarding my attempts to package it and hints as to how this issue might be solved. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hi @DrRuhe! What platform are you trying to build the project on? I see that the flake sets If you are looking to set up an actual cross-compiled target this example may be useful |
Beta Was this translation helpful? Give feedback.
Hi @DrRuhe!
What platform are you trying to build the project on? I see that the flake sets
cargoExtraArgs = "--target x86_64-unknown-linux-gnu"
yet it also aims to support darwin and linux builds. Judging from the attempt at buildinglibc
in the logs, it feels like a failed cross compile (i.e. cargo produces an executable for a platform different than the host trying to execute it).If you are looking to set up an actual cross-compiled target this example may be useful