← All tasks
cppOpenNMT/CTranslate2 #1698Not a task: not reproduced

libctranslate2-81fc0d88.so.4.2.1 in python package has executable stack flag

envgap__OpenNMT__CTranslate2-1698

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
6a3dc63db5608567bf554ca5dbbfdac1f7a2321f
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

OpenNMT/CTranslate2 #1698 · read the original issue
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`
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]