+1

Regards,
Rundong

On 2021/02/28 20:09:39, Mingshen Sun <ms...@apache.org> wrote: 
> Hi Matt,
> 
> For your case, I believe it is because of the memory limit
> (out-of-memory) of Docker for macOS. The Rust compiler needs more
> memory than others.
> 
> Best,
> Mingshen
> 
> 
> On Sun, Feb 28, 2021 at 11:57 AM Matt Sicker <boa...@gmail.com> wrote:
> >
> > I tried building on macOS as well, and it got fairly far and ended up
> > failing at this point:
> >
> > Scanning dependencies of target sgxlib-teaclave_authentication_service
> > [ 37%] Building sgxlib-teaclave_authentication_service, enclave info
> > to 
> > /teaclave/build/intermediate/teaclave_authentication_service_enclave_info.toml
> >    Compiling crc v2.0.0 
> > (https://github.com/mesalock-linux/crc-rs-sgx#86696be0)
> >    Compiling teaclave_proto v0.2.0
> > (/teaclave/build/cmake_tomls/sgx_trusted_lib/services/proto)
> >    Compiling integer-encoding v1.0.7
> >    Compiling snap v0.2.5
> >    Compiling jsonwebtoken v6.0.1
> > error: could not compile `crc`.
> >
> > Caused by:
> >   process didn't exit successfully:
> > `/teaclave/cmake/scripts/rustc_wrapper.sh --crate-name crc
> > --edition=2018 
> > /teaclave/build/cmake_tomls/sgx_trusted_lib/third_party/crates-sgx/vendor/crc/src/lib.rs
> > --error-format=json --json=diagnostic-rendered-ansi,artifacts
> > --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C
> > metadata=39ca99cb54d77a3c -C extra-filename=-39ca99cb54d77a3c
> > --out-dir /teaclave/build/target/trusted/debug/deps -L
> > dependency=/teaclave/build/target/trusted/debug/deps --cap-lints allow
> > --cfg test_mode` (signal: 9, SIGKILL: kill)
> > /usr/bin/ld: cannot find -lteaclave_authentication_service_enclave
> > collect2: error: ld returned 1 exit status
> > CMakeFiles/sgxlib-teaclave_authentication_service.dir/build.make:57:
> > recipe for target 'CMakeFiles/sgxlib-teaclave_authentication_service'
> > failed
> > make[2]: *** [CMakeFiles/sgxlib-teaclave_authentication_service] Error 1
> > CMakeFiles/Makefile2:301: recipe for target
> > 'CMakeFiles/sgxlib-teaclave_authentication_service.dir/all' failed
> > make[1]: *** [CMakeFiles/sgxlib-teaclave_authentication_service.dir/all] 
> > Error 2
> > Makefile:83: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > Full build log output here:
> > https://gist.github.com/jvz/b214f28b788f6459b8e511149781e52a
> >
> > Signatures, notice, license, disclaimer all good.
> >
> > On Sun, 28 Feb 2021 at 13:37, Mingshen Sun <ms...@apache.org> wrote:
> > >
> > > Thanks Furkan,
> > >
> > > I just tried to download and compile it in a clean Linux environment,
> > > and can successfully compile the code.
> > >
> > > Are you working on macOS? Because of the case-insensitive file system
> > > of macOS, Git cannot distinguish the KEYS file and keys directory.
> > > That may cause the keys directory is not checkout.
> > >
> > > I'll fix this in the next release.
> > >
> > > Best,
> > > Mingshen
> > >
> > > On Sat, Feb 27, 2021 at 12:30 AM Furkan KAMACI <furkankam...@gmail.com> 
> > > wrote:
> > > >
> > > > Hi,
> > > >
> > > > +1 from me (I have notes below).
> > > >
> > > > I checked:
> > > >
> > > > - Incubating in name
> > > > - DISCLAIMER-WIP exists
> > > > - LICENSE is fine
> > > > - NOTICE has *incorrect* *year* which should be fixed
> > > > - No unexpected binary files
> > > > - Checked PGP signatures
> > > > - Checked checksums
> > > >
> > > > I got that error while compiling the project:
> > > >
> > > > Digest:
> > > > sha256:cb80cb3da4ddb15713ecd7ea8b6f4eab144c402644ece8116e762a19886d7ada
> > > > Status: Downloaded newer image for
> > > > teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest
> > > > -- The C compiler identification is GNU 7.5.0
> > > > -- Check for working C compiler: /usr/bin/cc
> > > > -- Check for working C compiler: /usr/bin/cc -- works
> > > > -- Detecting C compiler ABI info
> > > > -- Detecting C compiler ABI info - done
> > > > -- Detecting C compile features
> > > > -- Detecting C compile features - done
> > > > -- Found Git: /usr/bin/git (found version "2.27.0")
> > > > -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version
> > > > "1.1.1")
> > > > SGX_SDK=/opt/sgxsdk
> > > > SGX_MODE=HW
> > > > RUSTUP_TOOLCHAIN=nightly-2020-04-07
> > > > DCAP=OFF
> > > > BUILD_TYPE=debug
> > > > TEACLAVE_SYMLINKS=/tmp/teaclave_symlinks.Dvayr2ejnVKi
> > > > -- ====== /teaclave/build/environment GENERATED ======
> > > > -- Configuring done
> > > > -- Generating done
> > > > -- Build files have been written to: /teaclave/build
> > > > Scanning dependencies of target prep
> > > > cp: cannot stat '/teaclave/keys/dcap_server_cert.pem': Not a directory
> > > > CMakeFiles/prep.dir/build.make:57: recipe for target 'CMakeFiles/prep'
> > > > failed
> > > > make[2]: *** [CMakeFiles/prep] Error 1
> > > > CMakeFiles/Makefile2:819: recipe for target 'CMakeFiles/prep.dir/all' 
> > > > failed
> > > > make[1]: *** [CMakeFiles/prep.dir/all] Error 2
> > > > Makefile:83: recipe for target 'all' failed
> > > > make: *** [all] Error 2
> > > >
> > > > Kind Regards,
> > > > Furkan KAMACI
> > > >
> > > > On Fri, Feb 26, 2021 at 10:42 PM Yu Ding <din...@apache.org> wrote:
> > > >
> > > > > +1 approve
> > > > >
> > > > > On 2021/02/26 18:26:28, Mingshen Sun <ms...@apache.org> wrote:
> > > > > > Dear community,
> > > > > >
> > > > > > This is a call for a vote to release Apache Teaclave (incubating)
> > > > > > version 0.2.0. This is the second Apache release since Teaclave
> > > > > > entered the incubator.
> > > > > >
> > > > > > The Apache Teaclave (incubating) community has voted and approved 
> > > > > > the
> > > > > > release, with four +1 votes from IPMC members (Pei Wang, Yulong 
> > > > > > Zhang,
> > > > > > Rundong Zhou, Tongxin Li).
> > > > > >
> > > > > > Vote/result thread:
> > > > > >   -
> > > > > https://lists.apache.org/thread.html/rd0ca1591578bcc60d73ce8722908d5001bd81dffe7a33e205bd28184%40%3Cdev.teaclave.apache.org%3E
> > > > > >
> > > > > > The release candidate to be voted over is available at:
> > > > > >   -
> > > > > https://dist.apache.org/repos/dist/dev/incubator/teaclave/0.2.0-rc.1/
> > > > > >
> > > > > > The release candidate is signed with a GPG key available at:
> > > > > >   - https://dist.apache.org/repos/dist/dev/incubator/teaclave/KEYS
> > > > > >
> > > > > > The Git commit for this release is:
> > > > > >   -
> > > > > https://gitbox.apache.org/repos/asf?p=incubator-teaclave.git;a=commit;h=0d1a001bb4741e3c652d121d2dfafa5d9361f84c
> > > > > >
> > > > > > The release note is available in:
> > > > > >   -
> > > > > https://github.com/apache/incubator-teaclave/releases/tag/v0.2.0-rc.1
> > > > > >
> > > > > > Build guide and get started instructions can be found at:
> > > > > >   -
> > > > > https://github.com/apache/incubator-teaclave/blob/v0.2.0-rc.1/docs/my-first-function.md
> > > > > >
> > > > > > The short version of building Teaclave from the source tarball:
> > > > > >
> > > > > > ```
> > > > > > $ wget
> > > > > https://dist.apache.org/repos/dist/dev/incubator/teaclave/0.2.0-rc.1/apache-teaclave-0.2.0-rc.1-incubating.tar.gz
> > > > > > $ tar zxvf apache-teaclave-0.2.0-rc.1-incubating.tar.gz && cd
> > > > > > apache-teaclave-0.2.0-rc.1-incubating
> > > > > > $ # Instructions to verify the source tar:
> > > > > > https://teaclave.apache.org/download/#verify-the-integrity-of-the-files
> > > > > >
> > > > > > $ docker run --rm -v $(pwd):/teaclave -w /teaclave \
> > > > > >   -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest \
> > > > > >    bash -c ". /root/.cargo/env && \
> > > > > >      . /opt/sgxsdk/environment && \
> > > > > >      mkdir -p build && cd build && \
> > > > > >      cmake -DTEST_MODE=ON DSGX_SIM_MODE=ON -DGIT_SUBMODULE=OFF .. 
> > > > > > && \
> > > > > >      make"
> > > > > > ```
> > > > > >
> > > > > > The vote will be open for at least 72 hours.
> > > > > >
> > > > > >   [ ] +1 approve
> > > > > >   [ ] +0 no opinion
> > > > > >   [ ] -1 disapprove with the reason
> > > > > >
> > > > > >
> > > > > > Best,
> > > > > >
> > > > > > Mingshen Sun
> > > > > > http://mssun.me
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> > > > > > For additional commands, e-mail: general-h...@incubator.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> > > > > For additional commands, e-mail: general-h...@incubator.apache.org
> > > > >
> > > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> > > For additional commands, e-mail: general-h...@incubator.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> > For additional commands, e-mail: general-h...@incubator.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> For additional commands, e-mail: general-h...@incubator.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org

Reply via email to