Xingtao / FFdynamic

Library with dynamic audio/video composition and runtime control
MIT License
372 stars 74 forks source link

Cannot run from docker #18

Closed vpanichkin closed 4 years ago

vpanichkin commented 4 years ago

Hello, first of all, thank you very much for such a fascinating project:

I got an issue while installing via docker at step 6

Total download size: 58 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/warning:fedora/packages/cpp-5.1.1-4.fc23.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 34ec9cba: NOKEY
Public key for cpp-5.1.1-4.fc23.x86_64.rpm is not installed
--------------------------------------------------------------------------------
Total                                              5.7 MB/s |  58 MB  00:10     
Retrieving key from https://getfedora.org/static/34EC9CBA.txt

GPG key retrieval failed: [Errno 14] HTTPS Error 404 - Not Found
The command '/bin/sh -c yum -y update gcc gcc-c++' returned a non-zero code: 1

Could someone suggest a solution for it?

UPD: There is temporal solution to add key --nogpgcheck to the RUN command in the script, but the script is needed to be rewritten

vpanichkin commented 4 years ago

It didn't help, still, the issue exists.

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./build-aux -I. -I./include -pthread -DGTEST_HAS_PTHREAD=1 -Wno-unused-variable -MT src/gtest-all.lo -MD -MP -MF src/.deps/gtest-all.Tpo -c src/gtest-all.cc  -fPIC -DPIC -o src/.libs/gtest-all.o
In file included from /usr/include/c++/5.1.1/type_traits:35:0,
                 from ./include/gtest/internal/gtest-port.h:253,
                 from ./include/gtest/internal/gtest-internal.h:40,
                 from ./include/gtest/gtest.h:60,
                 from src/gtest-all.cc:38:
/usr/include/c++/5.1.1/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^
In file included from ./include/gtest/internal/gtest-internal.h:40:0,
                 from ./include/gtest/gtest.h:60,
                 from src/gtest-all.cc:38:
./include/gtest/internal/gtest-port.h:830:12: error: 'std::get' has not been declared
 using std::get;
            ^

...

The command '/bin/sh -c yum install -y --nogpgcheck libatomic libatomic_ops-devel &&         DIR=$(mktemp -d) && cd ${DIR} &&         git clone https://github.com/protocolbuffers/protobuf.git && cd protobuf &&         git submodule update --init --recursive &&         ./autogen.sh &&         ./configure CXXFLAGS=-Wno-unused-variable && make && make check && make install &&         ldconfig' returned a non-zero code: 2
alanywlee commented 3 years ago

Dear vpanichkin,

I encountered the same error as you described Since this case is closed, what is the answer to make docker build work?

vpanichkin commented 3 years ago

Just run it outside of the cointainer