The following files are missing in the stage
folder if I add the stage
keyword:
- include
- pyvenv.cfg
- ciso-requirements.txt
- requirements.txt
- extra-requirements.txt
- lib64 -> lib (the symlink)
- share
- test-requirements.txt
The question is, how can I avoid the lib64
symlink without changing the stage-part so that I get all the files I usually get?
–
Edit:
I think I got my answer over there: Error "while loading shared libraries" with BloodHound snap
A positive entry in stage
would remove everything else. So I added the lib64
symlink as a negative entry.
However, there’s now a problem with lsb_release
:
File "/usr/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Failed to build 'workspace'.
I already added lsb-release
and lsb-core
to the build packages. If I execute lsb_release -a
in the debug shell, it works.