Re: oj.h not found

2022-12-25 Thread Vinay
On 25/12/22 13:30, Vinay wrote: Quoting terceiro's reply here "I think using a ruby version-specific path is the right directory to use. You won't be able to build something against nokogiri and use it with a given Ruby version before nokogiri itself is available for that version" sed 's/nokogi

Re: oj.h not found

2022-12-25 Thread Vinay
On 25/12/22 00:57, Mohd Bilal wrote: Hello Vinay, On 12/24/22 00:09, Vinay wrote: adding the header file in /usr/include solved the #include "oj.h" problem. execute_before_dh_auto_install:      for r in $$(ruby -rruby_debian_dev -e 'puts RubyDebianDev::SUPPORTED_RUBY_VERSIONS.values'); do

Re: oj.h not found

2022-12-24 Thread Mohd Bilal
Hello Vinay, On 12/24/22 00:09, Vinay wrote: adding the header file in /usr/include solved the #include "oj.h" problem. execute_before_dh_auto_install:     for r in $$(ruby -rruby_debian_dev -e 'puts RubyDebianDev::SUPPORTED_RUBY_VERSIONS.values'); do \     dh_install ext/oj/oj.h

Re: oj.h not found

2022-12-23 Thread Vinay
On 23/12/22 17:07, Cédric Boutillier wrote: Hi! There was something like this required sometime ago from the nokogiri package to build ruby-nokogumbo. You can have a look at commit a3939406c9a1b7ef2d07942ea01d693057f50f47 in nokogiri git repo, dating from 2021-10-22. I hope it helps at least a

Re: oj.h not found

2022-12-23 Thread Cédric Boutillier
Le 23 décembre 2022 13:36:25 GMT+01:00, Nilesh Patra a écrit : > >Th commit you point to tries installing a header file into ruby vendor >dir /usr/include/ruby-$(ruby_version)/vendor_ruby/ >However in current scenario, oj.h file is not even available in the >archive, which is vendored by "oj"

Re: oj.h not found

2022-12-23 Thread Nilesh Patra
> There was something like this required sometime ago from the nokogiri > package to build ruby-nokogumbo. You can have a look at commit > a3939406c9a1b7ef2d07942ea01d693057f50f47 > in nokogiri git repo, dating from 2021-10-22. > I hope it helps at least a bit. > > I don't know if the solution is o

Re: oj.h not found

2022-12-23 Thread Nilesh Patra
> I'm building oj-introspect(0.7.1) required for gitlab, but the build fails > due to missing header oj.h from ruby-oj. > It seems to be a upstream issue > https://github.com/meinac/oj-introspect/issues/4 It seems to be the user's local problem and not an upstream issue. You likely need to pack

Re: oj.h not found

2022-12-23 Thread Cédric Boutillier
Hi! There was something like this required sometime ago from the nokogiri package to build ruby-nokogumbo. You can have a look at commit a3939406c9a1b7ef2d07942ea01d693057f50f47 in nokogiri git repo, dating from 2021-10-22. I hope it helps at least a bit. I don't know if the solution is optimal.

oj.h not found

2022-12-22 Thread Vinay
Hello All, I'm building oj-introspect(0.7.1) required for gitlab, but the build fails due to missing header oj.h from ruby-oj. Here is the log https://paste.debian.net/1264953/ It seems to be a upstream issue https://github.com/meinac/oj-introspect/issues/4 any fix for this ? Thanks Vinay