havenwood changed the topic of #ruby to: Ruby 3.3.0, 3.2.3, 3.1.4 https://www.ruby-lang.org | Rules https://ruby-community.com | Logs https://libera.irclog.whitequark.org/ruby
rvalue has quit [Ping timeout: 260 seconds]
rvalue has joined #ruby
desnudopenguino has joined #ruby
anihil has joined #ruby
anihil has quit [Client Quit]
c10l has quit [Read error: Connection reset by peer]
c10l has joined #ruby
CrazyEddy has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
trillion_exabyte has joined #ruby
gthank has joined #ruby
pgib has joined #ruby
c10l has quit [Ping timeout: 255 seconds]
c10l has joined #ruby
gramps has joined #ruby
gramps has quit [Client Quit]
gramps has joined #ruby
gramps is now known as ftajhii
ftajhii has quit [Client Quit]
ftajhii has joined #ruby
fercell has quit [Ping timeout: 256 seconds]
fercell has joined #ruby
jenrzzz has joined #ruby
donofrio has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 256 seconds]
donofrio has joined #ruby
Linux_Kerio has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
brokkoli_origin has quit [Ping timeout: 256 seconds]
brokkoli_origina has joined #ruby
_ht has joined #ruby
fercell has quit [Ping timeout: 268 seconds]
fercell has joined #ruby
jenrzzz has joined #ruby
brokkoli_origina has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
grenierm has joined #ruby
_ht has quit [Remote host closed the connection]
grenierm has quit [Quit: Client closed]
grenierm has joined #ruby
<PaulePanter> Hi. Nokogiri’s build script sets the RPATH: https://github.com/sparklemotion/nokogiri/issues/3133
<PaulePanter> Does the proposed fix make sense? https://github.com/sparklemotion/nokogiri/pull/3137/files
<PaulePanter> Setting $LIBPATH = [] in `ext/nokogiri/extconf.rb`.
<PaulePanter> Is `extconf.rb` something standardized or does every project write it itself?
donofrio_ has joined #ruby
user71 has joined #ruby
donofrio has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 272 seconds]
weaksauce has joined #ruby
CRISPR has joined #ruby
weaksauc_ has quit [Ping timeout: 260 seconds]
CRISPR has quit [Quit: WeeChat 3.8]
brokkoli_origin has joined #ruby
tsvallender has joined #ruby
tsvallender has quit [Quit: WeeChat 3.8]
tsv has joined #ruby
tsv is now known as tsvallender
graywolf has joined #ruby
user71 has quit [Quit: Leaving]
johnjaye has quit [Read error: Connection reset by peer]
tromp has joined #ruby
TomyWork has joined #ruby
tromp has quit [Read error: Connection reset by peer]
graywolf has quit [Quit: WeeChat 4.0.4]
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #ruby
smp- has joined #ruby
smp has quit [Ping timeout: 256 seconds]
smp- is now known as smp
grenierm has quit [Ping timeout: 250 seconds]
donofrio__ has joined #ruby
donofrio_ has quit [Ping timeout: 252 seconds]
c10l has quit [Remote host closed the connection]
tromp has joined #ruby
lucartc has joined #ruby
lucartc has quit [Client Quit]
c10l has joined #ruby
graywolf has joined #ruby
c10l has quit [Remote host closed the connection]
graywolf has quit [Quit: WeeChat 4.0.4]
milouse has joined #ruby
ninoy has joined #ruby
<adam12> PaulePanter: extconf isn't standardized.
<adam12> PaulePanter: The proposed fix makes sense, but only at a cursory glance. flavorjones has more experience building static libraries for Ruby than probably everyone in here... so I'd be inclined to defer to them.
oneeyedalien has joined #ruby
ninoy has quit [Quit: Leaving]
ninoy has joined #ruby
ninoy has quit [Quit: Leaving]
ninoy has joined #ruby
tromp has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<PaulePanter> adam12: Understood. Thank you.
<adam12> PaulePanter: Interesting bug tho :)
tromp has joined #ruby
ninoy has quit [Quit: Leaving]
user71 has joined #ruby
ninoy has joined #ruby
user71 has quit [Remote host closed the connection]
user71 has joined #ruby
user71 has quit [Quit: Leaving]
user71 has joined #ruby
pgib has quit [Quit: 00 PC LOAD LETTER]
milouse has left #ruby [#ruby]
johnjaye has joined #ruby
pgib has joined #ruby
_ht has joined #ruby
rvalue has quit [Ping timeout: 268 seconds]
rvalue has joined #ruby
ninoy has quit [Quit: Leaving]
oneeyedalien has quit [Quit: Leaving]
tromp has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Guest6 has joined #ruby
tromp has joined #ruby
Guest6 has quit [Quit: Client closed]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
<ikke> I'm building gitlab from source. Ever since they started using gems with native rust libraries, the build randomly fails 'No such file or directory (os error 2)' errors (https://tpaste.us/yY60). To me, that smells like a race condition where it tries to write to a directory before it's created. Any idea what may cause this and how to solve it. (I've heard from at least one other person getting the
<ikke> same errors).
<ikke> There are multiple rust gems that both show failures
tromp has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<weaksauce> ikke perhaps a user permissions error
tromp has joined #ruby
<ikke> It works half of the time
tromp has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tromp has joined #ruby
<ikke> How can I make bundle install show what is happening while building gems with native extensions? Right now it only shows "Building native extensions. This could take a while..."
<ikke> I already tried adding `install: --verbose` to ~/.gemrc
<ikke> bundle install --verbose just makes bundler verbose
<weaksauce> which gem?
TomyWork has quit [Remote host closed the connection]
PaulePanter has left #ruby [#ruby]
hightower4 has joined #ruby
<ikke> gitlab-glfm-markdown
<ikke> and prometheus-client-mmap
hightower3 has quit [Ping timeout: 256 seconds]
hays has quit [Remote host closed the connection]
<weaksauce> i imagine you could add build flags to be more verbose
<weaksauce> that'd have to be a rust thing
<weaksauce> ikke ^
<weaksauce> not sure how you'd do that via bundler or a gemfile though
<ikke> Here is a build log
<ikke> The interesting thing is there it's verbose
<ikke> I see the cargo build output
<ikke> but when I try to reproduce it, I just see that statement
<weaksauce> curious
<ikke> Could be that it writes the output on failure
<ikke> anoyingly, I have not been able to reproduce the build failures
<ikke> Not outside of building gitlab
<ikke> weaksauce: I rebuilt that gitlab job, and the 2nd time it passed
<ikke> but it's kind of anoying having to retry it every time
<weaksauce> yeah i have no clue... could be a concurrency thing. maybe passing in a build flag to limit parallel building?
user71 has quit [Quit: Leaving]
<ikke> Yeah, tried that: 'bundle config set --global build.prometheus-client-mmap -j 16
<ikke> '
<ikke> but the log says that it's overridden
<ikke> 'bundle config set --global jobs "$(nproc)"
<ikke> '
<ikke> rb-sys generates a Makefile (I can see that file), and my guess a dependency in that Makefile is missing, but hard to verify without being able to reproduce
hays has joined #ruby
_ht has quit [Quit: _ht]
hays has quit [Client Quit]
hays has joined #ruby
<adam12> ikke: Where's the gitlab runner for this build located? Are you self hosted?
<ikke> yes
<adam12> ikke: What's the host? does it have local disk or is it using something like EBS?
<ikke> local ssd
<ikke> It also failed locally on my workstation
<ikke> But only when I do a full build
<adam12> I can't even get the source version without a bunch of hoops.
<adam12> Grr. `gem unpack` doesn't support `--platform`.
<adam12> Can you get it to fail on your machine with something like this? `gem install gitlab-glfm-markdown --platform ruby --verbose`
reset has joined #ruby
<ikke> adam12: so far, I have not
<adam12> It's definitely strange.
<ikke> But let me try that specific command
<ikke> One thing I noticed is that the gitlab Gemfile.lock limits rb_sys to 0.9.86
<ikke> was trying to see if that makes a differnet
cek has joined #ruby
<adam12> What version of Rust?
<adam12> Ultimately it could be 1 of a million things.
<ikke> yeah
<ikke> 1.71.1
<adam12> I've compiled source locally a handful of times now without issue. Apple M1
<ikke> Yeah, I've compiled from source several ways 10s of times without issue
<adam12> Definitely sounds like a race condition of some sort. I thought maybe disk latency if you were using a cloud VM or something.
<adam12> But if you can reproduce it locally, then hmmm.
<ikke> adam12: And someone else had similar issues building gitlab
<ikke> or rather, exactly the same
<ikke> So it sounds something specific to gitlab
<adam12> Maybe they've modded something.
<ikke> It fails during bundle install, so I suppose that must be limited to what's in the Gemfile
tromp has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mange has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
pgib has quit [Quit: 00 PC LOAD LETTER]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
cek has quit []
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby
pgib has joined #ruby
hightower3 has joined #ruby
hightower4 has quit [Ping timeout: 268 seconds]
cek has joined #ruby
<henk> I have a hash and would like to pass it’s k,v pairs as keyword arguments to a method. is that possible?
<henk> d’uh, nvm, may have just found the right docs