Closed zefir-o closed 2 years ago
Seems that the package has been renamed for Debian Bullseye, did not see that.
Try
apt-get install libdvdread8 libdvdnav4 libbluray2
by editing the appropriate RUN line in your Dockerfiile.
I*ll add an updated file. Thanks for the hint.
Still doesn't work: hecking for chardet >= 1.0.4... no configure: error: Package requirements (chardet >= 1.0.4) were not met:
No package 'chardet' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables chardet_CFLAGS and chardet_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. The command '/bin/sh -c ./configure' returned a non-zero code: 1
Seems that even more things have changed... Hold on, I'll figure that out.
@igor-epam: You've basically made the same changes as I :) To credit your work I*ll merge the pull request, thanks for your help!
The problem was that after adding new dependencies to libchardet, I forgot to update the Dockerfile appropriately. Thanks again for pointing this out.
Thank you, cool. Please enable actions, so next time someone breaks docker image creation PR fails.
The fix is not full. There is runtime error of container: sudo docker logs ffmpegfs /usr/local/bin/ffmpegfs: error while loading shared libraries: libchardet.so.1: cannot open shared object file: No such file or directory
error while loading shared libraries: libchardet.so.1: cannot open shared object file: No such file or directory
I think you specifically must add libchardet1, line 7 of Dockerfile should be:
RUN apt-get install -yq fuse libfuse2 libsqlite3-0 libavcodec58 libavformat58 libswresample3 libavutil56 libswscale5 libavfilter7 libcue2 libchardet1
I have successfully built the container and ran ffmpegfs in it. You can change your merge request accordingly.
Now its perfect, Ill merge the request.
Alas I get this error:
/dst/ : already mounted
I am afraid I had this before, see issue #79. Seems that ffmpegfs does not detect that it is running under Docker.
This one is fixed, the other problem see #79.
It looks like there is the reason of detection failure: https://stackoverflow.com/questions/69002675/on-debian-11-bullseye-proc-self-cgroup-inside-a-docker-container-does-not-sho
It looks like there is the reason of detection failure: Exactly, thanks for pointing me at it.
Thank you, cool. Please enable actions, so next time someone breaks docker image creation PR fails.
I'm not really a Docker crack, what would I have to do to "enable actions"?
Thank you, cool. Please enable actions, so next time someone breaks docker image creation PR fails.
I'm not really a Docker crack, what would I have to do to "enable actions"?
Everything works, docker build check is running. No action is needed.
Reading state information... E: Unable to locate package libdvdread4 The command '/bin/sh -c apt-get install -yq libdvdread4 libdvdnav4 libbluray2' returned a non-zero code: 100