byteit101[m] has joined #jruby
nirvdrum has joined #jruby
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> jruby/jruby (ruby-2.6:388860a by Charles Oliver Nutter): The build is still failing. https://travis-ci.org/jruby/jruby/builds/652261481 [156 min 6 sec]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (ruby-2.6:3871a8c by Charles Oliver Nutter): The build is still failing. https://travis-ci.org/jruby/jruby/builds/652267697 [153 min 42 sec]
travis-ci has left #jruby [#jruby]
<headius[m]> moving right along
<headius[m]> 2.6 branch is up to date on default gems... yay more libraries we don't have to version
travis-ci has joined #jruby
<travis-ci> jruby/jruby (ruby-2.6:d17184e by Charles Oliver Nutter): The build is still failing. https://travis-ci.org/jruby/jruby/builds/652279251 [164 min 58 sec]
travis-ci has left #jruby [#jruby]
nirvdrum has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #jruby
nirvdrum has joined #jruby
nirvdrum has quit [Ping timeout: 265 seconds]
nirvdrum has joined #jruby
nirvdrum has quit [Ping timeout: 265 seconds]
ur5us has quit [Ping timeout: 248 seconds]
ur5us has joined #jruby
rusk has joined #jruby
fidothe has quit [Ping timeout: 248 seconds]
fidothe has joined #jruby
sagax has joined #jruby
ur5us has quit [Ping timeout: 260 seconds]
shellac has joined #jruby
daniel_jruby_que has quit [*.net *.split]
harald[m]3 has quit [*.net *.split]
MarcinMielyskiGi has quit [*.net *.split]
cshupp[m] has quit [*.net *.split]
rwilliams[m] has quit [*.net *.split]
chrisseaton[m] has quit [*.net *.split]
harald[m]3 has joined #jruby
MarcinMielyskiGi has joined #jruby
daniel_jruby_que has joined #jruby
cshupp[m] has joined #jruby
rwilliams[m] has joined #jruby
chrisseaton[m] has joined #jruby
rdubya[m] has quit [Ping timeout: 252 seconds]
rdubya[m] has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
lucasb has joined #jruby
nirvdrum has joined #jruby
nirvdrum has quit [Ping timeout: 258 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
nirvdrum has joined #jruby
<headius[m]> hmm sounds like those rubygems regressions for stuff in jars may be affecting some folks
<headius[m]> enebo: might need a 9.2.11 after all if this RubyGems problem can't be worked around
<headius[m]> but it could be a very small release
<headius[m]> kares: there's still a staging repo for jruby-openssl 0.10.4 gem in sonatype, should I go ahead and release it?
<headius[m]> well I released updated joni and jnr-unixsocket so everything's current
<headius[m]> thinking I might pull a 9.2 branch and make the change there
<headius[m]> enebo: just in case, I pushed a jruby-9.2 branch
<headius[m]> updated joni/jnr-unixsocket that fix old dependencies pushed to that branch and merged back to master
<kares[m]> yeah fine by me
<headius[m]> on its way
<headius[m]> The RubyGems issue that seems to be affecting asciidoctor-j and warbler is here: https://github.com/jruby/jruby/issues/6060
<headius[m]> something in Dir.glob works ok with the classloader/jar URI as a single string but does not work when it is passed as a separate base path
shellac has quit [Ping timeout: 240 seconds]
<enebo[m]> headius: yeah hopefully it is a small change
<headius[m]> if we fix that case in glob it may be done
<enebo[m]> the fixed deps is not a big thing either
<headius[m]> yeah if we're going to have people dependent on these deps not conflicting we need a CI job to keep us honest
<headius[m]> there's too many connections
<headius[m]> I'm going to spend a little bit on that RG issue but then I need to get back to AOT
<enebo[m]> I made the milestone and assigned
<headius[m]> you milestone the deps issue too?
<enebo[m]> I just cloned the repo but I have some planned stuff this afternoon
<enebo[m]> yeah it is marked for 9.2.11.0
<headius[m]> ok
<headius[m]> I might have found the problem already
<headius[m]> if this fix is easy I'm going to feel bad
<headius[m]> well I have a fix
<headius[m]> I dunno if it is good or easy but it works
<headius[m]> a stitch in time saves .11 apparently... guess I should have dug into this after all
<headius[m]> travis looking ok so far on that PR but I'd like review by enebo and kares at least
<headius[m]> maybe we give it one week for any other 9.2.10 things to come in
<enebo[m]> headius: that is a good idea...giving a few more days
<enebo[m]> cool
<headius[m]> some day I'll learn the lesson: no matter what feature you remove or break, there's someone out there using it
<enebo[m]> yeah I need to learn it as well
<headius[m]> and the corollary: don't add features
<enebo[m]> I know that one
<enebo[m]> the disconnect of Java file APIs with Ruby string encoding always makes examining changes like this troublesome
<headius[m]> well we have so damn many methods for resolving paths it's not clear what to use
<headius[m]> my PR adds a string-only RubyFile.expandPath that handles all the same cases as File.expand_path
<headius[m]> but we still have a half dozen other paths
<headius[m]> I used this because the working version of the glob call used File.expand_path to combine the base and glob, so it made sense to use it from within Dir.glob
<enebo[m]> One comment not related to the actual fix is we should make an expandPath which does not require passing in a boxed Encoding and one which just returns the RubyString
<headius[m]> there was one that returned RubyString before but it was no longer used after I made this new one
<headius[m]> expandPathInternal is the other RubyString version
<headius[m]> that just backends on this new public expandPath now
<enebo[m]> passing in the box to only use it once for making a RubyString looks strange to me
<headius[m]> I basically split it in two but the enc carrier was necessary because it chooses either the base string's enc or the system enc
<enebo[m]> I guess even having a method which hides that detail would make it look a tiny bit nicer
<headius[m]> if you have RubyString in hand, calling the expandPathInternal is equivalent to calling expandPath with j.l.String
<headius[m]> hmm yeah
<headius[m]> I know a way
<headius[m]> null enc[] path
<headius[m]> the Dir.glob use doesn't care about the enc (maybe it should but it doesn't)
<enebo[m]> as I said I am not really sure how to resolve these anyways
<headius[m]> yeah
<enebo[m]> Mostly we never seem to notice of care because utf-8 is king now
<headius[m]> yeah that has probably "fixed" a bunch of remaining enc problems by making them moot
<enebo[m]> but in any case any Ruby Encoding must have a matching charset for whatever encoding the file name is on the OS
<enebo[m]> but if I am on UTF-8 filesystem and I have S-JIS encoded string it could probably transcode to UTF-8
<enebo[m]> should it?
<enebo[m]> This is where I get confused
<enebo[m]> It is not like we even know what the FS is either
<headius[m]> well I think the intent is that when you finally get a file path out, it's encoded like other filesystem strings would be rather than whatever input encoding you happened to use
<headius[m]> I think we are just using file.encoding as meaning system FS encoding
<enebo[m]> yeah I agree that seems to be what we hope for
<enebo[m]> file.encoding I guess is as good as it gets in Java
<enebo[m]> unless there is some newer API which tells us
<enebo[m]> Even then people incorrectly writing to a fs with wrong encoding may still write out ok but just be weirdness
<headius[m]> it would be a wacky system that defaulted to a local of UTF-8 but had filesystem encoded as something else
<enebo[m]> I was merely using UTF-8 as an example of popular value
<headius[m]> locale
<enebo[m]> maybe to restate we should transcode to encoding/charset of file.encoding on all file apis? Or just assume they are passing in the proper strings to begin with
<headius[m]> PR is green
<headius[m]> oh I see what you're saying
<headius[m]> why potentially use incoming encoding ever if we intend to provide a filesystem path
<headius[m]> I guess I don't know 🤔 I was just trying to make that refactor zero-sum
<enebo[m]> yeah my question is mostly wondering about the broader how should that work and not specifically if this fixes or doesn' fix RG globbingh
<headius[m]> I could try pushing that change... no enc carrier and anyone calling it uses fsenc
<headius[m]> or rather the one RubyString caller unconditionally uses fsenc
<enebo[m]> I mean to me it is more of a general question...I only thought about because I did not see the need for the out param more than passing it in the first place...although I did come around that corner
<headius[m]> it seems like it mostly replaces enc with fsenc when there's some shell character to expand
<headius[m]> but I can't give a good reason why it shouldn't always use fsenc
<enebo[m]> so in MRI can I write weird shit as a filename which is not technically an error in file.encoding of UTF-8 but will just be a lot of ???? in ls
<enebo[m]> If so then we have some form of answer although it will raise the next question
<headius[m]> yeah it switches to fsenc if expanding ~, if expanding based on a base path, or if it's the NUL path on Windows
<enebo[m]> hahah funny
<headius[m]> otherwise it uses the enc of the thing you're expanding
<enebo[m]> I mean ~/S-JIS and S-JIS will write out differenrly
<enebo[m]> That feels inconsistent at a minimum
<enebo[m]> but maybe that is how MRI also behaves
<enebo[m]> headius: I feel like I am distracting you from what you would rather be working on
<headius[m]> well I want to put this to bed
<enebo[m]> This seems like it might be better but I do not know if this is proper semantics or not
<headius[m]> neither do I
<headius[m]> this logic only loosely resembles MRI because of the other forms of path we support
<enebo[m]> yeah I think we should do minimal work here and maybe work on what is appropriate for 9.3
<headius[m]> how about I merge this as is and we can throw the simplification into another branch to test
<headius[m]> if it's green maybe it's ok
<enebo[m]> sure I say merge it
<headius[m]> gimme a thumbs up review on PR
<enebo[m]> approved
<headius[m]> ok merge was against master but I think I got 9.2 merged properly too and merge base is current
<headius[m]> I'll push a PR for the additional change based on master
Nathan2296 has joined #jruby
<Nathan2296> Hey, I'm trying to build concurrentr-ruby but I'm running into issues. Following the documentation leads to the following error: https://pastebin.com/Fa4VYsnV
<Nathan2296> As it suggests, I set the JRUBY_HOME variable to both the jar file and the bin directory to no avail
<Nathan2296> I also tried running the jruby command it suggests, which leads to a whole other set of errors: https://pastebin.com/PWJCWaTN
<headius[m]> JRUBY_HOME should be the dir below bin/
<headius[m]> the main JRuby dist dir
<headius[m]> it also appears that it's not running with JRuby initially
<Nathan2296> Great that actually led to a new error! Progress
<Nathan2296> So running the direct jruby command still leads to the errors mentioned in the second paste
<headius[m]> I'm not sure how your JRuby is set up... rake should be in the box
<headius[m]> ok I'm going to get some lunch and go back to AOT work for a while
<Nathan2296> Thanks for the help!
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:4639e64 by Charles Oliver Nutter): The build was broken. https://travis-ci.org/jruby/jruby/builds/652630697 [171 min 17 sec]
travis-ci has left #jruby [#jruby]
<headius[m]> I would suspect you might have a GEM_PATH env that's pointing at the wrong place, so JRuby can't find the rake bits
<headius[m]> so there's something about your jruby env that prevents rake from working
<Nathan2296> That would be correct
<Nathan2296> GEM_PATH is not set to anything turns out
<headius[m]> if JRUBY_HOME is set to a proper JRuby dist then rake should be there and working
<Nathan2296> Sorry very new to JRuby, not quite sure of the difference between the apt JRuby and the rvm version? Which should I be using (and why)
<Nathan2296> I have the apt version installed currently
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> jruby/jruby (jruby-9.2:3dec79b by Charles Oliver Nutter): The build is still failing. https://travis-ci.org/jruby/jruby/builds/652633500 [74 min 19 sec]
Nathan2296 has quit [Remote host closed the connection]
<headius[m]> woah what
<headius[m]> maven?
<headius[m]> yep
<headius[m]> stupid caches
Nathan2211 has joined #jruby
<headius[m]> wiped out caches so it doesn't keep failing
<Nathan2211> Sorry if I missed something there, lost connection for a sec
<headius[m]> nope you're good
<Nathan2211> Was the message about cache to me?
<headius[m]> ahh apt JRuby... well I'm guessing they might not install rake by default but otherwise I don't know about it
<headius[m]> no it was about a failed build
<Nathan2211> Ah gotcha
<Nathan2211> Installing JRuby with rvm fails
<headius[m]> fails how
<headius[m]> make sure you're on head rvm because they don't release often
<Nathan2211> I'm on 1.29.9
<Nathan2211> [INFO] JRuby Core ......................................... FAILURE [ 0.697 s]
<headius[m]> seems like it tried to build JRuby?
<Nathan2211> Can I pass the -e flag to maven through rvm somehow to to see the full error
<headius[m]> rvm install jruby should just fetch a prebuilt
<Nathan2211> '/usr/share/rvm/bin/rvm install jruby'
<Nathan2211> Produces that
<headius[m]> strange
<Nathan2211> Ah, noticed: 'No binary rubies available for: ubuntu/18.04/x86_64/jruby-9.2.6.0.'
<enebo[m]> rvm is generally a function in your env and not a script call
<headius[m]> ok yeah
<headius[m]> do `rvm get head` and then `rvm install jruby`
<headius[m]> 9.2.6.0 is almost a year old
<enebo[m]> head is still 9.2.9.0 but still...
<headius[m]> yeah
<Nathan2211> Ah goddamnit. Apparently the docker container I'm in has ipv6 disabled so I can't add the gpg key
<headius[m]> I have to run but will be back
<headius[m]> once you are able to do rake -v with JRuby I think you'll have a working build
<Nathan2211> Okay a century later, I have rvm updated: rvm 1.29.9-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
<Nathan2211> Still can't install JRuby though, No binary rubies available for: ubuntu/18.04/x86_64/jruby-9.2.9.0.
subbu is now known as subbu|lunch
travis-ci has joined #jruby
<travis-ci> jruby/jruby (jruby-9.2:427cec8 by Charles Oliver Nutter): The build has errored. https://travis-ci.org/jruby/jruby/builds/652640815 [141 min 31 sec]
travis-ci has left #jruby [#jruby]
<headius[m]> Nathan2211: that's very odd...I just reinstalled with my local rvm and it worked ok
<headius[m]> can you use gist.github.com and show me the output?
ur5us has joined #jruby
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> jruby/jruby (jruby-9.2:427cec8 by Charles Oliver Nutter): The build was fixed. https://travis-ci.org/jruby/jruby/builds/652640815 [199 min 7 sec]
Nathan2211 has quit [Remote host closed the connection]
subbu|lunch is now known as subbu
<headius[m]> Yes
lucasb has quit [Quit: Connection closed for inactivity]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (graalvm_native_compile:04b95ae by Charles Oliver Nutter): The build is still failing. https://travis-ci.org/jruby/jruby/builds/652733544 [192 min 22 sec]
travis-ci has left #jruby [#jruby]
nirvdrum has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 240 seconds]