New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix target ScanCode directories to copy binaries to #3
Conversation
@pombredanne, I'm wondering a bit why the copy step to |
Ah! good catch.... this is a tad out of date and now these should be copied to their respective plugins in https://github.com/nexB/scancode-toolkit/tree/develop/plugins and no longer in the source code tree |
So this is not missing but all moved to the new plugins instead. The build scripts are out of date :P |
How can I find out? I mean, with my patch in this PR |
So in your case it would something more or less like https://github.com/nexB/scancode-toolkit/tree/develop/plugins/extractcode-libarchive-manylinux1_x86_64 but where "extractcode-libarchive-manylinux1_x86_64" is likely something else that is Alpine specific, e.g. whatever Alpine Python creates as a tags in a wheel name when you would run on Alpine: If you can tell here, we will know how to create a proper plugin copy where the prebuilt native code will live. |
FWIW, it may build, but this will not be functional at runtime :P |
Unfortunately the command fails 😢
|
Nevermind, installed Edit: The file is called |
Sigh... so there is no serious difference with a manylinux one... but at least this is a different name. So you want to copy a plugin from https://github.com/nexB/scancode-toolkit/tree/develop/plugins Then this plugin could be used as a wheel that would be used instead of the other wheels when ./configuring for Alpine |
Phew, not sure I'm following... mind if you would be simply doing the necessary changes to the build scripts and closing this PR? 😀 |
@sschuberth the pre-built for alpine would have for now to be put in these plugins (replacing the exe, so and data (magic db) in these https://github.com/nexB/scancode-toolkit/tree/1262-alpine/plugins/alpine |
The directory layout has changed when plugins were introduced. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
@pombredanne I've changed the PR to (hopefully) use the right plugin paths for "manylinux" distributions, i.e. make the scripts work again for the current state of ScanCode. Doing Alpine-specific changes would be a follow-up step. |
Thanks! |
It does not exist when ScanCode was freshly cloned.
Signed-off-by: Sebastian Schuberth sschuberth@gmail.com