GithubHelp home page GithubHelp logo

Comments (17)

knu avatar knu commented on August 10, 2024 2

I'll look into this later today.

from ruby-unf_ext.

mtasaka avatar mtasaka commented on August 10, 2024 1

For now Fedora (me) has applied the following patch:
http://pkgs.fedoraproject.org/cgit/rpms/rubygem-unf_ext.git/tree/unf_ext-0.0.7.2-char-signness.patch

from ruby-unf_ext.

mrohnstock avatar mrohnstock commented on August 10, 2024

Same here with Arch Linux ARM (armv7hl, too). gcc got updated to 6.1.1 and this error-messages occurred.

from ruby-unf_ext.

andreas-schwab avatar andreas-schwab commented on August 10, 2024

https://build.opensuse.org/package/live_build_log/OBS:Server:Unstable/rubygem-unf_ext/openSUSE_Factory_ARM/aarch64
https://build.opensuse.org/package/live_build_log/OBS:Server:Unstable/rubygem-unf_ext/openSUSE_Factory_PPC/ppc64le
https://build.opensuse.org/package/live_build_log/OBS:Server:Unstable/rubygem-unf_ext/openSUSE_Factory_zSystems/s390x

from ruby-unf_ext.

Darkhogg avatar Darkhogg commented on August 10, 2024

Seems like there are multiple fixes for this issue, but the bug is still there. Any news?

from ruby-unf_ext.

zatherz avatar zatherz commented on August 10, 2024

Bump. Same here on Raspberry Pi running Arch ARM.

from ruby-unf_ext.

zatherz avatar zatherz commented on August 10, 2024

Nevermind. Turns out the fix is just not in the official release on rubygems yet, so the version you install through gem install doesn't have the fix. You have to build it from git.

from ruby-unf_ext.

vielmetti avatar vielmetti commented on August 10, 2024

Same problem on ARMv8, I'll try the install from git.

from ruby-unf_ext.

vielmetti avatar vielmetti commented on August 10, 2024

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.

from ruby-unf_ext.

vielmetti avatar vielmetti commented on August 10, 2024

Thanks @knu @mtasaka . My target for this is a Packet 2A ARMv8 server running Docker, Alpine 3.5, and Ruby for Mastodon.

from ruby-unf_ext.

ss89 avatar ss89 commented on August 10, 2024

This also affects building gitlab ce on armhf.

from ruby-unf_ext.

vielmetti avatar vielmetti commented on August 10, 2024

@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.

from ruby-unf_ext.

ss89 avatar ss89 commented on August 10, 2024

@vielmetti i couldn't find any issue about it in their gitlab instance which they use for hosting the gitlab ce repo.

from ruby-unf_ext.

ss89 avatar ss89 commented on August 10, 2024

@knu I have a strange problem that might or might not be related to this one.
If you see this gist:
https://gist.github.com/ss89/14d1e90663dbac285b84cabaf60efeab
you will see that unf_ext was successfully built, but later when build crack it fails with the same error seen in the issue creators first post.
Should i create a new Issue for this?

from ruby-unf_ext.

marcust avatar marcust commented on August 10, 2024

@knu (/cc @vielmetti)
I was trying today to build that on arm64, but I got somehow the same build problems that used to be there before fee5abd was merged because d0947ba reintroduced the old typing, which is as far as I can see also in v0.0.7.3.

Or did I get something wrong?

from ruby-unf_ext.

nomoon avatar nomoon commented on August 10, 2024

@marcust It looks like the ARM-fixed const signed char STRINGS[] in table.hh reverted to const char STRINGS[] in the Unicode 9.0 update. If I'm reading it correctly, the other types are still the same between both versions.

from ruby-unf_ext.

nomoon avatar nomoon commented on August 10, 2024

I think #30 should be all that's necessary to fix it. @marcust are you able to test it via git?

from ruby-unf_ext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.