Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation errors on build #106

Open
seankwalker opened this issue Apr 16, 2019 · 4 comments
Open

compilation errors on build #106

seankwalker opened this issue Apr 16, 2019 · 4 comments

Comments

@seankwalker
Copy link

on Ubuntu 18.04 LTS, using Rust nightly,

error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
  --> framework/src/shared_state/directory.rs:13:1
   |
13 | / pub struct DirectoryHeader {
14 | |     entries: AtomicUsize,
15 | |     // Used to signal that snapshotting is in progress.
16 | |     current_version: AtomicUsize,
17 | |     committed_version: AtomicUsize,
18 | |     length: usize,
19 | | }
   | |_^
@chenIshi
Copy link

Same problem on Ubuntu 16.04, not able to compile e2d2

error[E0588]: packed type cannot transitively contain a [repr(align)] type
--> framework/src/shared_state/directory.rs:13:1
|
13 | / pub struct DirectoryHeader {
14 | | entries: AtomicUsize,
15 | | // Used to signal that snapshotting is in progress.
16 | | current_version: AtomicUsize,
17 | | committed_version: AtomicUsize,
18 | | length: usize,
19 | | }
| |_^

@YangZhou1997
Copy link

Have anyone solved this problem? It is possible to be solved by using some old packages?

@seankwalker
Copy link
Author

seankwalker commented Jun 2, 2019

@YangZhou1997 I ended up using a fork (specifically this one); if you'd rather not, it'd probably be not too awful to go through the commits of a fork which builds and see how they addressed the build errors

@YangZhou1997
Copy link

Thanks @seankwalker !

I followed your rep and run it successfully. In contrast, there seems something wrong in the latest comcast's version. Hope to fix them and do local deployment in few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants