-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
0.0.7.2 fails to build on arm with gcc6 (i.e. C++14) #15
Comments
Same here with Arch Linux ARM (armv7hl, too). gcc got updated to 6.1.1 and this error-messages occurred. |
…xes the compilation error as discussed in issue knu#15
Seems like there are multiple fixes for this issue, but the bug is still there. Any news? |
Bump. Same here on Raspberry Pi running Arch ARM. |
Nevermind. Turns out the fix is just not in the official release on rubygems yet, so the version you install through |
Same problem on ARMv8, I'll try the install from git. |
What will it take to get this change pushed into the official rubygems? This comes up in the context of mastodon/mastodon#802 (port of Mastodon to ARM) with a Docker build. |
I'll look into this later today. |
For now Fedora (me) has applied the following patch: |
This also affects building gitlab ce on armhf. |
@ss89 - is there an upstream issue for the gitlab build problem? There was a report from the Mastodon project that this can be worked around by pulling the gem from git as a temporary measure pending a new release. I don't have the precise invocation necessary but it should be a simple and compatible one-liner. |
@vielmetti i couldn't find any issue about it in their gitlab instance which they use for hosting the gitlab ce repo. |
@knu I have a strange problem that might or might not be related to this one. |
@knu (/cc @vielmetti) Or did I get something wrong? |
@marcust It looks like the ARM-fixed |
The root cause of the problem was the installation of unf_ext packet. The Gemfile.lock in https://github.com/boucherv-orange/clearwater-live-test asked for version 0.0.6 and this version was not found for arm. When it tried to build the package, the conversion from int to char error was thrown (issue reported here knu/ruby-unf_ext#15). As now version 0.0.7.4 is selected, then the vnf docker images are built without any other errors. Gemfile.lock was updated in the original repo, this fix enables vnf and restapi containers build for ARM. JIRA: FUNCTEST-899 Change-Id: Id2c5fe82cb3705f58a8175fcf0a17f443e9b7d9d Signed-off-by: Delia Popescu <delia.popescu@enea.com>
* Update docs/submodules/functest from branch 'master' - Merge "Build vnf and restapi containers for ARM" - Build vnf and restapi containers for ARM The root cause of the problem was the installation of unf_ext packet. The Gemfile.lock in https://github.com/boucherv-orange/clearwater-live-test asked for version 0.0.6 and this version was not found for arm. When it tried to build the package, the conversion from int to char error was thrown (issue reported here knu/ruby-unf_ext#15). As now version 0.0.7.4 is selected, then the vnf docker images are built without any other errors. Gemfile.lock was updated in the original repo, this fix enables vnf and restapi containers build for ARM. JIRA: FUNCTEST-899 Change-Id: Id2c5fe82cb3705f58a8175fcf0a17f443e9b7d9d Signed-off-by: Delia Popescu <delia.popescu@enea.com>
The root cause of the problem was the installation of unf_ext packet. The Gemfile.lock in https://github.com/boucherv-orange/clearwater-live-test asked for version 0.0.6 and this version was not found for arm. When it tried to build the package, the conversion from int to char error was thrown (issue reported here knu/ruby-unf_ext#15). As now version 0.0.7.4 is selected, then the vnf docker images are built without any other errors. Gemfile.lock was updated in the original repo, this fix enables vnf and restapi containers build for ARM. JIRA: FUNCTEST-899 Change-Id: Id2c5fe82cb3705f58a8175fcf0a17f443e9b7d9d Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit 63ec3c3)
* Update docs/submodules/functest from branch 'stable/euphrates' - Build vnf and restapi containers for ARM The root cause of the problem was the installation of unf_ext packet. The Gemfile.lock in https://github.com/boucherv-orange/clearwater-live-test asked for version 0.0.6 and this version was not found for arm. When it tried to build the package, the conversion from int to char error was thrown (issue reported here knu/ruby-unf_ext#15). As now version 0.0.7.4 is selected, then the vnf docker images are built without any other errors. Gemfile.lock was updated in the original repo, this fix enables vnf and restapi containers build for ARM. JIRA: FUNCTEST-899 Change-Id: Id2c5fe82cb3705f58a8175fcf0a17f443e9b7d9d Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit 63ec3c39ef720d265fe5a6c9d3a7c5665c2624d2)
0.0.7.2 fails to build on armv7hl with gcc 6 development version on Fedora 24 as https://kojipkgs.fedoraproject.org//work/tasks/6081/12886081/build.log
Note that gcc6 faults to -std=gnu++14, and "char" on arm is "unsigned" by default. So converting -113 (for example) to char on arm is narrowing conversion and C++11 prohibits this on initializer.
The text was updated successfully, but these errors were encountered: