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

Investigate alpine build failures #31

Closed
robertgzr opened this issue Sep 26, 2022 · 2 comments
Closed

Investigate alpine build failures #31

robertgzr opened this issue Sep 26, 2022 · 2 comments
Assignees

Comments

@robertgzr
Copy link
Member

@robertgzr robertgzr self-assigned this Sep 26, 2022
@robertgzr
Copy link
Member Author

looks like emscripten-core/emsdk#897

/emsdk # ldd /emsdk/upstream/bin/clang
	/lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
	librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
	libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
	libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
	libz.so.1 => /lib/libz.so.1 (0x7fa3a8fb7000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7fa3a8f9e000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fa3aef0d000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /emsdk/upstream/bin/clang)
Error relocating /emsdk/upstream/bin/clang: mallinfo: symbol not found
Error relocating /emsdk/upstream/bin/clang: backtrace: symbol not found
Error relocating /emsdk/upstream/bin/clang: backtrace_symbols_fd: symbol not found
Error relocating /emsdk/upstream/bin/clang: strtoll_l: symbol not found
Error relocating /emsdk/upstream/bin/clang: strtoull_l: symbol not found

we can try building it from source I guess, there used to be a package for alpine, but it was dropped from the testing repo due to lack of maintenance: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/23041

which might be an indicator of how smooth the from source approach would be...

otherwise the approach linked in the emsdk issue (installing glibc in alpine) would probably work, but I don't see the point

@dsanders11
Copy link
Contributor

Agreed that it's probably not worth the effort to get building on Alpine, we can consider that an unsupported platform for building. Will look into refactoring the tests so we can still test on Alpine without building there.

robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Sep 29, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Oct 12, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Oct 12, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
robertgzr added a commit that referenced this issue Oct 12, 2022
Ref: #31

Signed-off-by: Robert Günzler <r@gnzler.io>
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

2 participants