GithubHelp home page GithubHelp logo

Comments (19)

sgerrand avatar sgerrand commented on June 12, 2024 1

👋 @Ehekatl ☝️

from alpine-pkg-glibc.

ignisf avatar ignisf commented on June 12, 2024 1

Hello all!

mini_racer depends on the libv8 gem which distributes a statically linked (against glibc) V8. At this point rubygems has no support for distributing binary gems that are linked against a specific standard library :(. I would really like to see this implemented there so I can release libv8 linked against musl.

Please take a look at these sections in libv8's README. I hope they're helpful for you:

https://github.com/cowboyd/libv8#use-with-different-standard-c-libraries

https://github.com/cowboyd/libv8#source-and-binary-releases

from alpine-pkg-glibc.

sgerrand avatar sgerrand commented on June 12, 2024

The problem appears to be in the includes declared in mini_racer's ext/mini_racer_extension/mini_racer_extension.cc file which was fixed in rubyjs/mini_racer@c9f141b.

from alpine-pkg-glibc.

sgerrand avatar sgerrand commented on June 12, 2024

Ah, ignore my previous comment. That relates to an issue I had installing the mini_racer gem to reproduce the issue.

from alpine-pkg-glibc.

sgerrand avatar sgerrand commented on June 12, 2024

I can only find one reference to fprintf in the mini_racer gem's ext/mini_racer_extension/mini_racer_extension.cc file. Have you tried recompiling the gem?

from alpine-pkg-glibc.

fusillicode avatar fusillicode commented on June 12, 2024

Same problem here and it's kind of sad :(
Because of this I can not build a react-on-rails app :(

from alpine-pkg-glibc.

3den avatar 3den commented on June 12, 2024

same problem

from alpine-pkg-glibc.

ggwzrd avatar ggwzrd commented on June 12, 2024

I also have the same problem, is this issue solved?

from alpine-pkg-glibc.

mosheka avatar mosheka commented on June 12, 2024

Same here :-(

from alpine-pkg-glibc.

mosheka avatar mosheka commented on June 12, 2024

Same here :-(
In the meantime another soluton by be using multistage builds, and do the assets precompile on ubuntu and copy the results to alpine

from alpine-pkg-glibc.

benoist avatar benoist commented on June 12, 2024

I'm also running in to this problem

from alpine-pkg-glibc.

Antiarchitect avatar Antiarchitect commented on June 12, 2024

Same for me.

from alpine-pkg-glibc.

andreimc avatar andreimc commented on June 12, 2024

Any work arounds for this ?

from alpine-pkg-glibc.

sgerrand avatar sgerrand commented on June 12, 2024

from alpine-pkg-glibc.

andreimc avatar andreimc commented on June 12, 2024

Is there a way to compile libv8 from source with the symbols?

from alpine-pkg-glibc.

ignisf avatar ignisf commented on June 12, 2024

@andreimic, how exactly do you want to do that? Make Rubygems compile the gem from source or create a binary .gem file you can distribute?

from alpine-pkg-glibc.

ignisf avatar ignisf commented on June 12, 2024

You can do both.

from alpine-pkg-glibc.

vraravam avatar vraravam commented on June 12, 2024

I have the same problem. But, btw, would asset-precompilation on ubuntu, and copying to the main image (that uses alpine) work?

from alpine-pkg-glibc.

sgerrand avatar sgerrand commented on June 12, 2024

from alpine-pkg-glibc.

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.