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

Build inside docker container for arm64 is broken #236

Closed
acmlira opened this issue Dec 17, 2020 · 5 comments · Fixed by #247
Closed

Build inside docker container for arm64 is broken #236

acmlira opened this issue Dec 17, 2020 · 5 comments · Fixed by #247
Assignees
Labels
bug Something isn't working build Linux ARM Issue related to the platform Linux ARM
Milestone

Comments

@acmlira
Copy link
Contributor

acmlira commented Dec 17, 2020

The latest build inside docker container for arm64 with clang and c++ 17 returned:

#14 322.7 In file included from /sources/src/nm/ui/android/skia.cpp:37:
#14 322.7 In file included from /sources/modules/skia/include/core/SkPathEffect.h:12:
#14 322.7 /sources/modules/skia/include/core/SkPath.h:1593:20: error: chosen constructor is explicit in copy-initialization
#14 322.7             return {verb, fPoints + backset, fWeights};
#14 322.7                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#14 322.7 /usr/bin/../lib/gcc/aarch64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:479:19: note: constructor declared here
#14 322.7         constexpr tuple(_UElements&&... __elements)
#14 322.7                   ^
#14 322.7 1 error generated.
#14 322.7 ninja: build stopped: subcommand failed.
#14 ERROR: executor failed running [/bin/sh -c cmake /sources -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DPNG_ARM_NEON_OPT=0 -G Ninja && ninja]: exit code: 1
------
 > [build 10/10] RUN cmake /sources -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DPNG_ARM_NEON_OPT=0 -G Ninja && ninja:

this error needs to be investigated further. All scripts and build references were made to the files in the docker subfolder. The branch in which this is seen is the revert/5e1166b6d7c0510290ca4c96483296f57ced1ffe (bad named by me).

@acmlira acmlira added bug Something isn't working Linux ARM Issue related to the platform Linux ARM build labels Dec 17, 2020
@teras
Copy link
Collaborator

teras commented Dec 17, 2020

What is "tuple" ?

@acmlira
Copy link
Contributor Author

acmlira commented Dec 17, 2020

@acmlira acmlira self-assigned this Dec 17, 2020
@teras
Copy link
Collaborator

teras commented Dec 17, 2020

I can see the ellipsis inside a tuple.. this might be the source of the problem. It definitely is a compiler incompatibility with the OS....

@acmlira
Copy link
Contributor Author

acmlira commented Dec 18, 2020

"Fixed" it is not a real issue as you can see in the actions menu.

@acmlira acmlira closed this as completed Dec 18, 2020
@acmlira acmlira reopened this Dec 21, 2020
@acmlira
Copy link
Contributor Author

acmlira commented Dec 21, 2020

Sometimes the containers cannot be built, because the download of a dependency, for some reason, fails. My suggestion is to freeze (and version) the good containers on DockerHub.

@acmlira acmlira added this to the 7.0 milestone Dec 22, 2020
@acmlira acmlira linked a pull request Dec 22, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Linux ARM Issue related to the platform Linux ARM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants