Closed zjingwang closed 11 months ago
also it failded when compiling anon_func.so
ERROR: /root/.cache/bazel/_bazel_root/6387ad62885344b69d0acaf95e26b345/external/postgres/BUILD.bazel:35:15: CcConfigureMakeRule external/postgres/postgres/include failed: (Exit 1): bash failed: error executing command /bin/bash -c bazel-out/k8-opt/bin/external/postgres/postgres_foreign_cc/wrapper_build_script.sh
Just taking a quick look. Debian recently had a new release, so could you try and change testing
to stable
in line 18?
EDIT: Same for the other add-apt-repository
commands
Sadly, i followed your sollution, but it still not worked. Before your answer, I googled a lot of solutions but got none successful. It was caused by the apt-get update
command. Someone says update docker to newer version may solve the problem, but it still not worked for me.
Instead of using postgres image, i used ubuntu:20.04 to build postgres and the extension from scrach, and i worked. see https://github.com/google/differential-privacy/issues/244
i was building the Dockerfile in
cc/postgres
and it failed with the error belowi thought it may because of the low version of postgres and updated to the lates one, but i it still not worked.