Skip to content
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 DonPAPI #183

Closed
wants to merge 1 commit into from
Closed

Fix DonPAPI #183

wants to merge 1 commit into from

Conversation

spameier
Copy link
Contributor

@spameier spameier commented Jul 6, 2023

Description

DonPAPI is now a proper Python package using pyproject.toml. Therefore the installation through requirements.txt fails

Point of attention

Not sure if the commands are still the same

cd /opt/tools/DonPAPI
python3 -m venv ./venv/
./venv/bin/python3 -m pip install -r ./requirements.txt
python3 -m pipx install git+https://github.com/login-securite/DonPAPI
add-aliases donpapi
Copy link
Member

@QU35T-code QU35T-code Jul 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@QU35T-code
Copy link
Member

Hey @spameier,

Thanks for this update

@QU35T-code
Copy link
Member

On ARM, there is a problem during the build :

Fatal error from pip prevented installation. Full pip output in file:
    /root/.local/pipx/logs/cmd_2023-07-06_10.32.59_pip_errors.log

pip failed to build package:
    M2Crypto

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    error: command 'swig' failed: No such file or directory

Error installing donpapi from spec 'git+https://github.com/login-securite/DonPAPI'.

sources/install/package_ad.sh Outdated Show resolved Hide resolved
@QU35T-code
Copy link
Member

On ARM, there is a problem during the build :

Fatal error from pip prevented installation. Full pip output in file:
    /root/.local/pipx/logs/cmd_2023-07-06_10.32.59_pip_errors.log

pip failed to build package:
    M2Crypto

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    error: command 'swig' failed: No such file or directory

Error installing donpapi from spec 'git+https://github.com/login-securite/DonPAPI'.

After testing, we need to install swig with apt :

fapt swig

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  swig4.0
Suggested packages:
  swig-doc swig-examples swig4.0-examples swig4.0-doc
The following NEW packages will be installed:
  swig swig4.0
  installed package donpapi 1.0.1, installed using Python 3.9.2
  These apps are now globally available
    - DonPAPI
done! ✨ 🌟 ✨

@QU35T-code QU35T-code added enhancement New feature or request waiting for additional changes Further changes are requested labels Jul 6, 2023
@spameier spameier force-pushed the fix-donpapi branch 2 times, most recently from d1c5088 to bf796d2 Compare July 6, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting for additional changes Further changes are requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants