apple / password-manager-resources

A place for creators and users of password managers to collaborate on resources to make password management better.
MIT License
4.23k stars 456 forks source link

I've been building in Docker using the following: #582

Closed Kenny9817 closed 2 years ago

Kenny9817 commented 2 years ago

I've been building in Docker using the following:

➜  folly git:(main) docker run -v $(pwd):/build:delegated -it ubuntu:20.04 /bin/bash
root@9c81627c5b0d:/build# apt install python3 ca-certificates
root@9c81627c5b0d:/build# ./build/fbcode_builder/getdeps.py install-system-deps --recursive
root@9c81627c5b0d:/build# apt-get install \
    g++ \
    cmake \
    libboost-all-dev \
    libevent-dev \
    libdouble-conversion-dev \
    libgoogle-glog-dev \
    libgflags-dev \
    libiberty-dev \
    liblz4-dev \
    liblzma-dev \
    libsnappy-dev \
    make \
    zlib1g-dev \
    binutils-dev \
    libjemalloc-dev \
    libssl-dev \
    pkg-config \
    libsodium-dev
root@9c81627c5b0d:/build# python3 ./build/fbcode_builder/getdeps.py --allow-system-packages build

It results in the following error. It's too big to paste here so I'm posting a gist.

Commenting out LtHashTest.cpp from CMakeLists.txt allows the build to complete.

Originally posted by @mkpankov in https://github.com/facebook/folly/issues/1716