CTranslate2
CTranslate2 copied to clipboard
libctranslate2-81fc0d88.so.4.2.1 in python package has executable stack flag
When installing ctranslate2
as part of a python app, it's dependency library ctranslate2.libs/libctranslate2-81fc0d88.so.4.2.1
has executable stack flag. This breaks the build process if we try to build the snap
package of the app.
Steps to reproduce:
python -m venv venv
source ./venv/bin/activate
pip install ctranslate2
find ./ -executable -type f -exec execstack "{}" \; 2>&1 | grep "X "
Information on the snap issue https://forum.snapcraft.io/t/snap-and-executable-stacks/1812
From what I read this may be a potential security problem in apps that use ctranslate2