You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/02/29 13:40:29 UTC

[GitHub] [incubator-teaclave-sgx-sdk] brenzi opened a new issue #210: confuding no_std issue: duplicate lang item ...

brenzi opened a new issue #210: confuding no_std issue: duplicate lang item ...
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/210
 
 
   When building 
   https://github.com/encointer/encointer-worker/commit/7252e20264e63c7dce11470922d7c2965378842e
   
   with
   ```
   cd enclave
   make
   ```
   I get an error:
   ```
   error: duplicate lang item in crate `sgx_tstd` (which `palette_support` depends on): `f32_runtime`.
     |
     = note: first defined in crate `std` (which `pallet_encointer_ceremonies` depends on).
   
   error: duplicate lang item in crate `sgx_tstd` (which `palette_support` depends on): `f64_runtime`.
     |
     = note: first defined in crate `std` (which `pallet_encointer_ceremonies` depends on).
   
   error: duplicate lang item in crate `sgx_tstd` (which `palette_support` depends on): `panic_impl`.
     |
     = note: first defined in crate `std` (which `pallet_encointer_ceremonies` depends on).
   
   error: duplicate lang item in crate `sgx_tstd` (which `palette_support` depends on): `begin_panic`.
     |
     = note: first defined in crate `std` (which `pallet_encointer_ceremonies` depends on).
   
   error: duplicate lang item in crate `sgx_tstd` (which `palette_support` depends on): `oom`.
     |
     = note: first defined in crate `std` (which `pallet_encointer_ceremonies` depends on).
   
   error: aborting due to 5 previous errors
   ```
   
   The strange thing is that it is caused by the last commit, introducing the dependency on 
   https://github.com/encointer/pallet-encointer-ceremonies
   but that crate has no dependencies (and no new features) that were not present in the previous commit.
   
   Any help appreciated

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] brenzi commented on issue #210: confusing no_std issue: duplicate lang item ...

Posted by GitBox <gi...@apache.org>.
brenzi commented on issue #210: confusing no_std issue: duplicate lang item ...
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/210#issuecomment-592948349
 
 
   `cargo nono check` warns about exactly the same crates in both commits 
   ```
   webpki: FAILURE
   log: FAILURE
   serde_json: FAILURE
   sgx-externalities: FAILURE
   env_logger: FAILURE
   rustls: FAILURE
   num-bigint: FAILURE
   webpki-roots: FAILURE
   substratee-stf: FAILURE
   chrono: FAILURE
   base64: FAILURE
   yasna: FAILURE
   serde: FAILURE
   bit-vec: FAILURE
   rust-base58: FAILURE
   ```
   whereas none of them are dependencies of `pallet-encointer-ceremonies`.
   
   However, `serde` is a `dev-dependency`, but I've already checked if I'm running into [this](https://github.com/rust-lang/cargo/issues/5730) or one of the similar issues. I just removed all dev-dependencies in `pallet-encointer-ceremonies`. To no success
   ```
   serde: FAILURE
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] brenzi commented on issue #210: confusing no_std issue: duplicate lang item ...

Posted by GitBox <gi...@apache.org>.
brenzi commented on issue #210: confusing no_std issue: duplicate lang item ...
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/210#issuecomment-592950364
 
 
   as this is probably not a bug of this sdk, I've filed an issue with cargo:
   https://github.com/rust-lang/cargo/issues/7951

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave-sgx-sdk] brenzi edited a comment on issue #210: confusing no_std issue: duplicate lang item ...

Posted by GitBox <gi...@apache.org>.
brenzi edited a comment on issue #210: confusing no_std issue: duplicate lang item ...
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/210#issuecomment-592948349
 
 
   `cargo nono check` warns about exactly the same crates in both commits 
   ```
   webpki: FAILURE
   log: FAILURE
   serde_json: FAILURE
   sgx-externalities: FAILURE
   env_logger: FAILURE
   rustls: FAILURE
   num-bigint: FAILURE
   webpki-roots: FAILURE
   substratee-stf: FAILURE
   chrono: FAILURE
   base64: FAILURE
   yasna: FAILURE
   serde: FAILURE
   bit-vec: FAILURE
   rust-base58: FAILURE
   ```
   whereas none of them are dependencies of `pallet-encointer-ceremonies`.
   
   However, `serde` is a `dev-dependency`, but I've already checked if I'm running into [this](https://github.com/rust-lang/cargo/issues/5730) or one of the similar issues. I just removed all dev-dependencies in `pallet-encointer-ceremonies`. To no success
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org