New Base Image added for use in Dockerfile #253
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Step1: build Dockerfile_BaseImg
Step 2: Build Dockerfile
Currently Dockerfile is failing in last step with below error. I need to check the source code of gappa to understand furthur the root cause.
[ 2%] Building CXX object libs/genesis/lib/genesis/CMakeFiles/genesis_lib_static.dir/////genesis_unity_sources/lib/all.cpp.o
/gappa/build/genesis_unity_sources/lib/all.cpp: In function 'std::string genesis::utils::strerror_()':
/gappa/build/genesis_unity_sources/lib/all.cpp:36523:41: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
36523 | std::string tmp(p, std::strlen( p ));
| ^
| |
| int
In file included from /usr/include/fortify/wchar.h:30,
from /usr/include/c++/10.3.1/cwchar:44,
from /usr/include/c++/10.3.1/bits/postypes.h:40,
from /usr/include/c++/10.3.1/iosfwd:40,
from /usr/include/c++/10.3.1/memory:74,
from /gappa/libs/genesis/lib/genesis/placement/sample.hpp:34,
from /gappa/libs/genesis/lib/genesis/placement/function/helper.hpp:34,
from /gappa/build/genesis_unity_sources/lib/all.cpp:33:
/usr/include/string.h:52:16: note: initializing argument 1 of 'size_t strlen(const char*)'
52 | size_t strlen (const char *);
| ^~~~~~~~~~~~
make[3]: *** [libs/genesis/lib/genesis/CMakeFiles/genesis_lib_static.dir/build.make:76: libs/genesis/lib/genesis/CMakeFiles/genesis_lib_static.dir/////genesis_unity_sources/lib/all.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:141: libs/genesis/lib/genesis/CMakeFiles/genesis_lib_static.dir/all] Error 2
make[1]: *** [Makefile:91: all] Error 2
make: *** [Makefile:44: build] Error 2