installing bson gem on fedora 42 fails #351
Unanswered
Nilpointer
asked this question in
Q&A
Replies: 3 comments 4 replies
-
Hi @Nilpointer , I was trying to reproduce the issue, and the installation worked for me. Here is the Dockerfile I used:
Can you please try to reproduce it is a docker container, and provide us with a dockerfile? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
-
I managed to reproduce it. Unfortunately, it it seems to be an issue in the Ruby itself - https://bugs.ruby-lang.org/issues/21290 Looks like not much can be done on our side. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot build the bson gem on fedora 42. I get the error "unknown type bool" from the c compiler.
Last help was to patch ruby/3.3.8/include/ruby-3.3.0/ruby/internal/special_consts.h and there add the line
#include <stdbool.h>
Is there a better fix? Do I miss some dependencies?
Tested with ruby 3.3.8 and 3.4.3
Best Regards,
Andreas
Beta Was this translation helpful? Give feedback.
All reactions