x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Antiarc> Hm, I just pulled master and now test excludes aren't excluding
x1337807x has joined #jruby
x1337807x has quit [Client Quit]
x1337807x has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
<Antiarc> If I export EXCLUDES=test/mri/excludes it works, but that wasn't necessary before. *shrug*
enebo has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cheald opened pull request #2175: Fix invalid signals passed to restorePlatformDefault. (master...signal_fix) http://git.io/hAOZGw
JRubyGithub has left #jruby [#jruby]
<enebo> Antiarc: thanks
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] enebo pushed 2 new commits to master: http://git.io/qeobgg
<JRubyGithub> jruby/master a83b08e Chris Heald: Fix invalid signals passed to restorePlatformDefault. Those need to be...
<JRubyGithub> jruby/master 7ff654b Thomas E Enebo: Merge pull request #2175 from cheald/signal_fix...
JRubyGithub has left #jruby [#jruby]
<chrisseaton> Googled whether values have 'overflowed' or 'overflown' and found someone wrote an entire academic paper on this subject in the 60s http://www.jstor.org/discover/10.2307/453244?uid=3738032&uid=2129&uid=2&uid=70&uid=4&sid=21104513244391
lidaaa has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
elia has joined #jruby
mister_solo has joined #jruby
dfr|work has joined #jruby
mister_solo has quit [Ping timeout: 245 seconds]
thsig_ has quit [Remote host closed the connection]
drbobbeaty has joined #jruby
enebo has quit [Quit: enebo]
drbobbeaty has quit [Client Quit]
Hobogrammer has quit [Read error: Connection reset by peer]
bbrowning_away has quit [Quit: Leaving]
elia has quit [Quit: Computer has gone to sleep.]
Hobogrammer has joined #jruby
subbu has joined #jruby
errstr_ has quit [Ping timeout: 255 seconds]
<chrisseaton> Anyone know a good reason why JRuby doesn't implement Binding#local_variable_set? I don't think it's any more problematic than assigning in eval, which it does support. Shall I just open an issue for it?
<chrisseaton> hmmm... neither does Rubinius
<chrisseaton> maybe I'm missing something...
<brixen> chrisseaton: it's a new API afaik
<brixen> so it's just missing
<chrisseaton> brixen: ah ok thanks - replacing with eval and assigning the local there works fine in Rubinius
<chrisseaton> brixen: do you want an issue opened for it?
<brixen> I have a list of 2.1 features
<brixen> there's probably no rubyspecs for this
marr has quit [Ping timeout: 265 seconds]
<brixen> that's what we use to implement features
<chrisseaton> I'll make a todo to implement some - haven't contributed anything back to RubySpec yet I don't think
<brixen> chrisseaton: cool, much appreciated
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7ff654b by Thomas E Enebo): The build failed. (http://travis-ci.org/jruby/jruby/builds/40724639)
travis-ci has left #jruby [#jruby]
tharindu has joined #jruby
havenwood has quit [Remote host closed the connection]
tharindu has quit [Ping timeout: 256 seconds]
phrinx has quit [Remote host closed the connection]
phrinx has joined #jruby
x1337807x has joined #jruby
phrinx has quit [Ping timeout: 258 seconds]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has quit [Quit: Leaving...]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
subbu has quit [Ping timeout: 240 seconds]
tcrawley-away is now known as tcrawley
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/DZ3y9Q
<JRubyGithub> jruby/master 0ac4383 Charles Oliver Nutter: Ugh. Fix naming mistake.
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:0ac4383 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/40732529)
travis-ci has left #jruby [#jruby]
tcrawley is now known as tcrawley-away
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/WbdR6A
<JRubyGithub> jruby/master 2a29c46 Charles Oliver Nutter: Reinstate pre-build, since -Ptest doesn't fire lib dependency.
JRubyGithub has left #jruby [#jruby]
<headius> jc00ke: I also just use IntelliJ for Java/JVM debugging
<headius> Antiarc: exporting shouldn't be necessary
<headius> chrisseaton: no reason, just not there yet
<chrisseaton> headius: looks like you could implement it using eval today if anyone needed to
<headius> sure, but if you have a Binding we've already deoptimized and everything's there
<headius> in JRuby proper anyway
<headius> fyi, test/mri/ruby/test_proc.rb has test_local_variable_get/set/defined
<chrisseaton> headius: you do a lot of presentations - do you have a good clicker for your Mac? I used to use the infrared one that they discontinued support for
<headius> I use the Logitech one
<headius> I haven't tried any others but it works fine
x1337807x has joined #jruby
<chrisseaton> I've seen people use their phones but it always goes wrong when the screen locks or something
<headius> chrisseaton: yeah I hate that...I need a tactile button because I'm not looking back down at my hands
<chrisseaton> headius: they should let you use the home button - now that would work well
tlarevo has quit [Read error: Connection reset by peer]
<jc00ke> headius: is there a writeup somewhere on setting up IntelliJ?
<headius> hmm, for debugging?
<headius> opening the project is pretty trivial...point it at the root pom.xml and push a few buttons
<jc00ke> headius: I don't know if I had the right settings, plus it damn near crashed my laptop when it tried to do index all the classes in the proj, or so I think (I don't actually know.)
<headius> hmmm well it does index, but it takes about 5 seconds for me
<headius> a wiki page on setting up different IDEs would be great
<headius> I can put in what I do quickly
<jc00ke> headius: that would be greatly appreciated!
<Antiarc> jc00ke: I just added a project by locating the pom.xml and it did the rest
<headius> no problem
<Antiarc> then you just add a Debug configuration
tlarevo has joined #jruby
<jc00ke> headius: hmm, OK, I'll give that a whirl again
<jc00ke> headius: can you wiki whatever configuration you use too?
ludyte has joined #jruby
tlarevo has quit [Read error: Connection reset by peer]
tlarevo has joined #jruby
<headius> that has me opening project and setting up a run/debug config
<headius> if you need anything else let me know
<headius> Antiarc: btw
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/3p2nww
<JRubyGithub> jruby/master c8d4441 Charles Oliver Nutter: Tag specs that don't pass in MRI 2.2 either.
JRubyGithub has left #jruby [#jruby]
<headius> there's a frozen error in spec/ruby/language/def_spec.rb and a couple signal failures
<headius> I never mentioned but rake spec:ruby:fast is the other suite we use for sanity checking
<headius> it's "fast" because it excludes subprocess-launching specs, so keep that in mind if you work on those
<Antiarc> Yeah, I fixed the signal errors
<Antiarc> I'll fixup the frozen errors
<headius> oh ok
<headius> those tags above fail the same way in 2.2, so we're just behind on rubyspec (or rubyspec needs updates here...so that would be good too)
<Antiarc> I've *almost* got numeric patched up, but man, Numeric#step is a hairball
<headius> heheh, yeah
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:2a29c46 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/40734034)
travis-ci has left #jruby [#jruby]
e_dub has joined #jruby
<projectodd-ci> Project jruby-master-test-jruby build #18: FAILURE in 33 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-jruby/18/
<headius> grr
phrinx has joined #jruby
subbu has joined #jruby
phrinx_ has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/IMRauA
<JRubyGithub> jruby/master 3c8e9b0 Charles Oliver Nutter: MRI also sometimes raises ECONNRESET for this test.
JRubyGithub has left #jruby [#jruby]
johnsonch_afk is now known as johnsonch
phrinx has quit [Ping timeout: 255 seconds]
<Antiarc> headius: Yeah, I know the EXCLUDES shouldn't be necessary, but I'm not getting them without it. Bizarre.
<jc00ke> headius: re: wiki - that's awesome, thanks!
<Antiarc> also re: rubyspec, if the specs are wrong, is it best to PR to the Jruby repo, or elsewhere?
<Antiarc> Also, those frozen specs confuse me - jruby is doing exactly what it is *supposed* to be doing in that context.
<Antiarc> It's like the lambda {}.should isn't catching the error.
<Antiarc> If that's rspec, shouldn't that be something like expect { ... }.to raise_error(...)?
<Antiarc> https://gist.github.com/cheald/450f39f57f9864050461 - that resolves one of the Frozen errors - I'd contend it's a bad test (since the def isn't executed until the metaclass is closed), but I'd like a second opinion :)
iamjarvo has joined #jruby
<Antiarc> The test passes under 2.2, interestingly.
fivebats has quit [Remote host closed the connection]
fivebats has joined #jruby
<headius> Antiarc: probably best to PR the rubyspec repo
<headius> we don't have a good process for pulling changes out of our copy (and have thought several times about having it fetch when bootstrapping dev env)
<Antiarc> Now I'm curious as to why the exception isn't thrown in jruby until the metaclass is closed.
<headius> hmm
<headius> that is odd
<Antiarc> 7ff0a1f47358e834d52ea1473b235ec83c8d19c6 did change the behavior
<Antiarc> before that it worked fine
<Antiarc> So now I gotta figure out why it is, and un-break it without breaking singleton extension :)
<headius> you're looking at the ones I tagged?
<Antiarc> yeah
<headius> the only one that MRI didn't fail (well, failed for a different reason) is the language one
<headius> the others looked like the same error
<headius> I didn't go deeper
<Antiarc> def_spec "A method definition inside a metaclass scope raises RuntimeError if frozen"
<Antiarc> I suspect it's the same error
<headius> oif...I need to call it a day
<headius> these 8AM to 11PM days are killing me...will be nice to have RubyConf behind us
<headius> ttfn...I will review PRs in the morning. Have fun!
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:c8d4441 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/40735133)
travis-ci has left #jruby [#jruby]
<headius> oh nice, test:jruby, test:mri both green finally...nearly there
<headius> really going now :-)
deobalds has joined #jruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnBat26 has joined #jruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #jruby
<projectodd-ci> Yippie, build fixed!
<projectodd-ci> Project jruby-master-test-jruby build #19: FIXED in 20 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-jruby/19/
<projectodd-ci> * headius: Tag specs that don't pass in MRI 2.2 either.
<projectodd-ci> * headius: MRI also sometimes raises ECONNRESET for this test.
x1337807x has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
subbu has quit [Ping timeout: 256 seconds]
fivebats has quit [Ping timeout: 245 seconds]
zorak8 has quit [Ping timeout: 244 seconds]
fivebats has joined #jruby
fivebats has quit [Client Quit]
yfeldblum has quit [Remote host closed the connection]
mistergibson has joined #jruby
subbu has joined #jruby
ludyte has quit [Quit: ludyte]
yfeldblum has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3c8e9b0 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/40735747)
travis-ci has left #jruby [#jruby]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
robbyoconnor has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbu has quit [Ping timeout: 265 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:3c8e9b0 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/40735747)
travis-ci has left #jruby [#jruby]
deobalds has quit [Quit: Computer has gone to sleep.]
subbu has joined #jruby
tlarevo has quit [Ping timeout: 264 seconds]
toshe_tmtm has quit [Ping timeout: 240 seconds]
subbu has quit [Ping timeout: 272 seconds]
nirvdrum has quit [Ping timeout: 258 seconds]
deobalds has joined #jruby
johnsonch is now known as johnsonch_afk
subbu has joined #jruby
nirvdrum has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ludyte has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 2 new commits to master: http://git.io/nK_EgQ
<JRubyGithub> jruby/master ee57895 Charles Oliver Nutter: Revert "Tag specs that don't pass in MRI 2.2 either."...
<JRubyGithub> jruby/master 02b8d64 Charles Oliver Nutter: Put these in the right place.
JRubyGithub has left #jruby [#jruby]
tlarevo has joined #jruby
anaeem1 has joined #jruby
subbu has quit [Ping timeout: 240 seconds]
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> jruby/jruby (master:02b8d64 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/40742428)
tlarevo has quit [Ping timeout: 240 seconds]
nirvdrum has quit [Ping timeout: 264 seconds]
tlarevo has joined #jruby
noop has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 3 new commits to master: http://git.io/KxrRTw
<JRubyGithub> jruby/master f1c23b8 Charles Oliver Nutter: ObjectSpace can't/shouldn't handle pre-frozen immediates.
<JRubyGithub> jruby/master 0deb5e3 Charles Oliver Nutter: Fix check LJR instr compilation in JIT.
<JRubyGithub> jruby/master a302093 Charles Oliver Nutter: Only assign these constants once.
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cheald opened pull request #2176: Numeric fixes (master...num_fixes) http://git.io/pQyQPQ
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cheald opened pull request #2177: Fix assignment of test options (master...fix_test_options) http://git.io/zrXGRQ
JRubyGithub has left #jruby [#jruby]
multibot_ has quit [Remote host closed the connection]
JohnBat26 has joined #jruby
multibot_ has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:a302093 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/40743569)
travis-ci has left #jruby [#jruby]
rsim has joined #jruby
phrinx_ has quit [Remote host closed the connection]
ludyte has quit [Quit: ludyte]
purplefox has joined #jruby
paulswilliamsesq has joined #jruby
yfeldblum has quit [Remote host closed the connection]
lidaaa has quit [Ping timeout: 244 seconds]
deobalds has quit [Quit: Computer has gone to sleep.]
josh-k has joined #jruby
josh-k_ has joined #jruby
josh-k has quit [Ping timeout: 258 seconds]
tlarevo has quit [Ping timeout: 240 seconds]
cprice has quit [Ping timeout: 256 seconds]
tlarevo has joined #jruby
zorak8 has joined #jruby
pchalupa has joined #jruby
cprice has joined #jruby
cprice has quit [Ping timeout: 250 seconds]
cprice has joined #jruby
tlarevo has quit [Remote host closed the connection]
Usuario has joined #jruby
tlarevo_ has joined #jruby
paulswil_ has joined #jruby
paulswilliamsesq has quit [Ping timeout: 250 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cheald opened pull request #2178: Fix frozen (master...fix_frozen) http://git.io/tNhcLA
JRubyGithub has left #jruby [#jruby]
etehtsea has joined #jruby
fridim_ has joined #jruby
elia has joined #jruby
zorak8 has quit [Ping timeout: 265 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
shellac has joined #jruby
drbobbeaty has joined #jruby
josh-k_ has quit [Read error: Connection reset by peer]
josh-k has joined #jruby
josh-k_ has joined #jruby
marr has joined #jruby
josh-k has quit [Ping timeout: 265 seconds]
mister_solo has joined #jruby
benlovell has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 245 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cheald opened pull request #2179: Module fixes (master...module_fixes) http://git.io/nfJgNw
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:7f991b2 by Benoit Daloze): The build has errored. (http://travis-ci.org/jruby/jruby/builds/40758263)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] thedarkone opened issue #2180: defined? vs concurrent autoload, JRuby blocks, MRI returns false http://git.io/ErPQew
benlovell has joined #jruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #jruby
anaeem1 has quit [Read error: Connection reset by peer]
anaeem1 has joined #jruby
josh-k_ has quit [Remote host closed the connection]
josh-k has joined #jruby
thsig has joined #jruby
josh-k has quit [Ping timeout: 256 seconds]
skade has quit [Quit: Computer has gone to sleep.]
drbobbeaty has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cheald opened pull request #2181: 9 excluded BigDecimal tests now pass (master...bignum_fixes) http://git.io/KSXjkg
JRubyGithub has left #jruby [#jruby]
benlovell has quit [Ping timeout: 244 seconds]
benlovell has joined #jruby
skade has joined #jruby
klap has joined #jruby
<klap> Wh does JRuby have a different LOAD_PATH? It also contains .å
<klap> Why does JRuby have a different LOAD_PATH? It also contains . (cwd)
benlovell has quit [Ping timeout: 255 seconds]
subbu has joined #jruby
nirvdrum has joined #jruby
vtunka has joined #jruby
anaeem1 has quit [Remote host closed the connection]
bbrowning has joined #jruby
subbu has quit [Ping timeout: 240 seconds]
rsim has quit [Read error: Connection reset by peer]
rsim has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 4 new commits to master: http://git.io/n8c_kg
<JRubyGithub> jruby/master 5caaf34 Chris Heald: bitCoerce now attempts to coerce given arguments for bitwise operations...
<JRubyGithub> jruby/master f2331da Chris Heald: Numeric#quo now delegates to Rational#quo, which performs conversions according...
<JRubyGithub> jruby/master 13f3988 Chris Heald: Update Numeric#step to be 2.2 compliant...
JRubyGithub has left #jruby [#jruby]
paulswil_ has quit [Max SendQ exceeded]
paulswilliamsesq has joined #jruby
benlovell has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 3 new commits to master: http://git.io/UCuEbg
<JRubyGithub> jruby/master 45266f2 Chris Heald: Revert "Move frozen checks to getSingletonClass() - this allows for MRI-compliant behavior"...
<JRubyGithub> jruby/master 9585c81 Chris Heald: Fix freeze enforcement and exceptions for immediate values. Passes test...
<JRubyGithub> jruby/master def7426 Charles Oliver Nutter: Merge pull request #2178 from cheald/fix_frozen...
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:08059c3 by Charles Oliver Nutter): The build failed. (http://travis-ci.org/jruby/jruby/builds/40770783)
travis-ci has left #jruby [#jruby]
<headius> wow, Antiarc was busy last night
<headius> klap: looks like you got your answer to that one
tcrawley-away is now known as tcrawley
Aethenelle has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed pull request #2179: Module fixes (master...module_fixes) http://git.io/nfJgNw
JRubyGithub has left #jruby [#jruby]
tlarevo_ has quit [Remote host closed the connection]
ludyte has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed pull request #2181: 9 excluded BigDecimal tests now pass (master...bignum_fixes) http://git.io/KSXjkg
JRubyGithub has left #jruby [#jruby]
Aethenelle has quit [Client Quit]
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/S2LtEg
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> jruby/master ebc07b6 Charles Oliver Nutter: Merge pull request #2111 from jruby/add-testcases-to-detect-root-classloader...
robbyoconnor has quit [Ping timeout: 244 seconds]
<headius> got a good feeling about this run
iamjarvo has joined #jruby
enebo has joined #jruby
noop has quit [Ping timeout: 258 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mkristian has joined #jruby
lance|afk is now known as lanceball
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:ebc07b6 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/40774594)
travis-ci has left #jruby [#jruby]
erikhatcher has joined #jruby
ludyte has quit [Quit: ludyte]
nirvdrum has quit [Ping timeout: 264 seconds]
elia has quit [Read error: Connection reset by peer]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/LX222Q
<JRubyGithub> jruby/master 5041f5c Charles Oliver Nutter: Revert "Merge pull request #2111 from jruby/add-testcases-to-detect-root-classloader"...
JRubyGithub has left #jruby [#jruby]
elia has joined #jruby
johnsonch_afk has quit [Ping timeout: 250 seconds]
subbu has joined #jruby
toshetm has joined #jruby
nirvdrum has joined #jruby
iamjarvo has joined #jruby
elux has joined #jruby
zorak8 has joined #jruby
elia has quit [Read error: Connection reset by peer]
elia has joined #jruby
ivan\ has quit [Ping timeout: 255 seconds]
ivan\ has joined #jruby
havenwood has joined #jruby
benlovell has quit [Ping timeout: 258 seconds]
subbu has quit [Ping timeout: 255 seconds]
tenderlove has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] k77ch7 opened pull request #2183: change name of files which pass rspec regression test (master...change_name_of_files_which_pass_rspec_regression_test) http://git.io/WkEaDw
JRubyGithub has left #jruby [#jruby]
tharindu has joined #jruby
ivan\ has quit [Ping timeout: 245 seconds]
Aethenelle has joined #jruby
subbu has joined #jruby
elux_ has joined #jruby
johnsonch_afk has joined #jruby
kaawee has joined #jruby
ivan\ has joined #jruby
elux_ has quit [Client Quit]
elux has quit [Ping timeout: 244 seconds]
ludyte has joined #jruby
ivan\ has quit [Ping timeout: 255 seconds]
ludyte has quit [Client Quit]
bbrowning is now known as bbrowning_away
elux has joined #jruby
ludyte has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5041f5c by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/40779633)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 2 new commits to master: http://git.io/_VSAWg
<JRubyGithub> jruby/master fdc5a0e kiichi: add _spec to file name
<JRubyGithub> jruby/master c8abbf0 Charles Oliver Nutter: Merge pull request #2183 from k77ch7/change_name_of_files_which_pass_rspec_regression_test...
JRubyGithub has left #jruby [#jruby]
ludyte has quit [Client Quit]
<Aethenelle> headius: grr... reworking the calll to INTERPRET_METHOD breaks other things worse...
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #765: setenv crashes with UTF-8 string http://git.io/Mfl8ow
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #829: ASCII-8bit encoding errors raises wrong class of exception http://git.io/QaTR4Q
JRubyGithub has left #jruby [#jruby]
<headius> enebo: I moved stuff marked as closed for 9k to 9k-pre1
josh-k_ has joined #jruby
zorak8 has quit [Ping timeout: 265 seconds]
<headius> reviewing some old bugs now
<enebo> headius: ok
calavera has joined #jruby
<enebo> Aethenelle: Is this just for UndefinedMethod?
e_dub has quit [Quit: ZZZzzz…]
diegoviola has joined #jruby
<Aethenelle> no, it was suposed to be a better solution than that route...
<enebo> Aethenelle: I am not against this change but I am unclear on which case this is an issue for
<enebo> Aethenelle: Interestingly, I wonder too what is left using getImplementation class with this change
<Aethenelle> enebo: it's a bad change I only linked it to show the problem and maybe get a better idea...
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1472: active_support inflector (4.1.0.beta1) raises ConverterNotFoundError in jruby http://git.io/8drHDA
JRubyGithub has left #jruby [#jruby]
<Aethenelle> getImplementationClass is used throughout core
<headius> enebo: I was thinking of condensing our 1.8, 1.9, 2.0, 2.1 labels on github into one "compatibility" label
<headius> I'm going to audit them now but what do you think of that?
<enebo> headius: well it is sort of nice to know it is for 1.8 if it is only for 1.8
<enebo> headius: probably 60% of our bugs are compatibility
<headius> I wish github had tags in addition to labels so they weren't part of a static list
<headius> enebo: good point
<enebo> headius: we could probably remove 2.0 and 2.1 and make a 2.2
<enebo> headius: then 1.8, 1.9, 2.2
<headius> ok, I'll review those first
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #938: Rational and imaginary literals https://github.com/jruby/jruby/issues/938
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1056: [2.1] Process::clock_gettime and clock_getres http://git.io/oAzjxw
JRubyGithub has left #jruby [#jruby]
<enebo> Aethenelle: yeah if we could get call parameter of clazz to work it would be great but I suspect that is the literal clazz it is called from and not the implementing class
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1057: [2.1] Exception-free nonblock forms http://git.io/7Ejn5w
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1058: [2.1] Rational number literal http://git.io/bI92FA
JRubyGithub has left #jruby [#jruby]
<Aethenelle> enebo: it's weirdly somewhere between the two...
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1059: [2.1] Frozen String syntax http://git.io/wSspjg
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1060: [2.1] Bignum#size http://git.io/pv7-kw
JRubyGithub has left #jruby [#jruby]
<enebo> Aethenelle: possible some internal callers use proper class of implementer but in pure-ruby we pass actual class it is called from
robbyoconnor has joined #jruby
<headius> heh, most of these 2.0 and 2.1 feature issues are resolved
elia has quit [Quit: (IRC Client: textualapp.com)]
<enebo> headius: great!
Hobogrammer_ has joined #jruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1063: [2.1] Required keyword arguments http://git.io/isugqw
JRubyGithub has left #jruby [#jruby]
Hobogrammer has quit [Ping timeout: 244 seconds]
<Aethenelle> gotta watch the kids now... bbl
Aethenelle has quit [Quit: Aethenelle]
<projectodd-ci> Project jruby-master-spec-ruby build #1: FAILURE in 2 hr 4 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/1/
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #1068: [2.1] Socket.getifaddrs for getting interfaces http://git.io/yO8JUA
JRubyGithub has left #jruby [#jruby]
kaawee has quit [Ping timeout: 250 seconds]
elia has joined #jruby
vtunka has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
elux has quit [Quit: Leaving...]
havenwood has joined #jruby
frobs has quit [Quit: Leaving]
elux has joined #jruby
<mkristian> enebo, headius any objections to switch to joda from version 2.3 to 2.5 - seems the time zone data got updated as well - ?
<headius> mkristian: definitely do it
elux has quit [Client Quit]
elux has joined #jruby
postmodern has joined #jruby
elux has quit [Client Quit]
elux has joined #jruby
robbyoconnor has quit [Quit: Konversation terminated!]
elux has quit [Read error: Connection reset by peer]
josh-k_ has quit [Remote host closed the connection]
josh-k has joined #jruby
Aethenelle has joined #jruby
e_dub has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 1 new commit to master: http://git.io/hva7rA
<JRubyGithub> jruby/master 6c81bc1 Charles Oliver Nutter: Put IOException message in wrapper, so we can deal with it.
JRubyGithub has left #jruby [#jruby]
anaeem1 has joined #jruby
<headius> mkristian: I screwed up that pr #2111 pretty good
josh-k has quit [Ping timeout: 255 seconds]
<headius> enebo: can you have a look at that so we can decide one way or another and not forget about it?
<enebo> headius: about which?
<mkristian> enebo, , #2023 the one with setting the classloader for the runtime
<mkristian> where you wanted to ask someone with more "classloader" knowhow ;)
<headius> we can chat about it now to get this settled
<enebo> For a master only change I am willing to try a change but the nuances of how this changes behavior is of interest to me
<enebo> For Purugni, I think I had to switch the classloader to be the Bukkit one from what we use by default and it sounds like that is common
<mkristian> JRubyScriptEngine uses the same default as I propose and this one just works out of the box for j2ee as well osgi container. ScriptingContainer does only work with it comes from Thread.currentTherad.contextClassLoader
<mkristian> for the command line jruby there is no change
<enebo> mkristian: yeah so I think Thread.currentThread.contextClassLoader did not work in my scneario but if I used ClassWhichReferencesMyScriptingConatiner.getClassLoader it worked
<enebo> which I think would be the same as ScriptingContainer.getClassLoader since it was loaded in same CL as My containing class
<mkristian> enebo, and I am sure it will work with ScriptingContainer.class.getClassLoader that is the classloader where the jruby-kernel is located
subbu has quit [Ping timeout: 244 seconds]
<enebo> mkristian: The summary to this change is most people need to add this second line because our default is less likely to work in most scenarios
<headius> so it basically just uses TC classloader if loaded from bootstrap, or the loader that loaded JRuby otherwise
benlovell has joined #jruby
<mkristian> headius, yes
<enebo> CLI won’t break and embedding might but it will make more people happy by default
<headius> I think it's ok
<enebo> yeah I guess I do too for 9000
<mkristian> enebo, I added test cases to for those non TC classloader cases
<headius> yeah, I don't want to do it in 1.7 either
<enebo> mkristian: and your tests will help nail this down and document it better on top of it
<headius> yeah, go for it
<mkristian> enebo, yes, they definitely fail without the patch ;) and even JRubyScriptEngine works better - also added tests for this
<enebo> mkristian: great
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #743: keyword args should not override optional args http://git.io/yCbBcQ
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius closed issue #751: Ruby 2.0: Module#prepend missing http://git.io/6JW5XQ
JRubyGithub has left #jruby [#jruby]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:c8abbf0 by Charles Oliver Nutter): The build has errored. (http://travis-ci.org/jruby/jruby/builds/40786395)
travis-ci has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mjc opened issue #2185: Bundle fails with Java::JavaLang::StackOverflowError with git-hosted gems http://git.io/bK1zDw
JRubyGithub has left #jruby [#jruby]
mkristian has quit [Ping timeout: 272 seconds]
Aethenelle has quit [Quit: Aethenelle]
paulswilliamsesq has quit [Ping timeout: 255 seconds]
thsig has quit [Remote host closed the connection]
erikhatcher has quit [Quit: erikhatcher]
arquebus has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
havenwood is now known as havy
havy is now known as havenwood
mkristian has joined #jruby
Aethenelle has joined #jruby
cprice is now known as cprice404
elia has joined #jruby
mister_solo has quit [Ping timeout: 272 seconds]
toshe_tm has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #jruby
Aethenelle has quit [Client Quit]
bbrowning_away is now known as bbrowning
toshetm has quit [Ping timeout: 255 seconds]
tlarevo has joined #jruby
travis-ci has joined #jruby
<travis-ci> dmarcotte/jruby (test-profiler:3d13774 by Daniel Marcotte): The build has errored. (http://travis-ci.org/dmarcotte/jruby/builds/40793164)
travis-ci has left #jruby [#jruby]
e_dub has quit [Quit: ZZZzzz…]
Aethenelle has joined #jruby
benlovell has quit [Ping timeout: 258 seconds]
elia has quit [Ping timeout: 240 seconds]
elia has joined #jruby
pietr0 has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
erikhatcher has joined #jruby
iamjarvo has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
lanceball is now known as lance|afk
ludyte has joined #jruby
<projectodd-ci> Project jruby-master-spec-ruby build #2: STILL FAILING in 1 hr 53 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/2/
<projectodd-ci> * headius: Revert "Merge pull request #2111 from jruby/add-testcases-to-detect-root-classloader"
<projectodd-ci> * k77ch7: add _spec to file name
arquebus has quit [Quit: Konversation terminated!]
paulswilliamsesq has joined #jruby
shellac has quit [Ping timeout: 240 seconds]
deobalds has joined #jruby
deobalds has quit [Client Quit]
phrinx has joined #jruby
erikhatcher has quit [Quit: erikhatcher]
tlarevo has quit [Remote host closed the connection]
robbyoconnor has joined #jruby
fidothe has joined #jruby
ludyte has quit [Quit: ludyte]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toshe_tm has quit [Ping timeout: 256 seconds]
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
zorak8 has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlovell has joined #jruby
<Antiarc> headius: The perks of being on late-night kiddo duty, I gotta do something to fill the time :)
benlovell has quit [Ping timeout: 272 seconds]
e_dub has joined #jruby
travis-ci has joined #jruby
<travis-ci> dmarcotte/jruby (test-profiler:3d13774 by Daniel Marcotte): The build has errored. (http://travis-ci.org/dmarcotte/jruby/builds/40793164)
travis-ci has left #jruby [#jruby]
Aethenelle has joined #jruby
<Aethenelle> huh... I had a change stashed earlier that fixes it... could have sworn it didn't fully work...
<headius> man, step debugging through jruby is such a help
<headius> Antiarc: ahh, yeah that makes sense :-)
mister_solo has joined #jruby
<cprice404> hi all, does anyone know any common reasons for this error message?: "LoadError: Syslog not supported on this platform"
phrinx has quit [Read error: Connection reset by peer]
<cprice404> i know we've seen it on BSD systems but we have a user reporting it on RHEL now
phrinx has joined #jruby
<cprice404> it sounds like something where the posix compatibility .so files aren't getting loaded properly or something, but I don't know what kinds of scenarios can cause that
<Aethenelle> iirc, syslog has a bunch of os dependent impls
<Aethenelle> syslog is pure FFI in JRuby
<cprice404> presumably the error message is coming from this line of code: https://github.com/headius/jruby/blob/master/lib/ruby/shared/syslog.rb#L16-L21
<cprice404> oh, so maybe there are some OS packages that are missing to support it?
<cprice404> also when he runs this: 'puts Etc.getpwuid(0).inspect', it returns nil
<cprice404> so it seems like there's something beyond just syslog that's not getting loaded properly.
<Antiarc> Might that be related to jnr-ffi taking the first libpath it finds without regards to 32/64-bit?
<headius> cprice404: may be that native support isn't loading on that platform...we have a fix for jnr-ffi
<Antiarc> Then failing to load the library and giving up with an error
<headius> Antiarc: yeah
<headius> try -Xnative.verbose=true
tharindu has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Remote host closed the connection]
<Aethenelle> yes that's a missing file...
<cprice404> k
<Aethenelle> they all say they're generated by rake
<Aethenelle> what platform are they using?
<cprice404> -Xnative.verbose=true can be passed straight to java?
<cprice404> we're running jruby from inside a jar, so, java -cp our.jar org.jruby.Main -Xnative.verbose=true ?
<cprice404> Aethenelle: RHEL7, x64, openjdk7
mister_solo has quit [Ping timeout: 255 seconds]
<Aethenelle> what's the value of FFI::Platform::CONF_DIR?
nwolfe has joined #jruby
<headius> cprice404: -Djruby.native.verbose=true passed to java
<cprice404> Aethenelle: will ask. Also will ask him to add that Xnative flag, is my syntax correct above?
<cprice404> headius: awesome, thanks.
<Aethenelle> gotta watch the kids... bbl
<Aethenelle> cprice404: looks good i think...
Aethenelle has quit [Quit: Aethenelle]
<cprice404> nwolfe: can you try that on your box: java -cp puppet-server-release.jar -Djruby.native.verbose=true org.jruby.Main -e 'puts FFI::Platform::CONF_DIR'
<nwolfe> Giving it a shot...
bbrowning_ has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
<cprice404> nwolfe: lemme come over there :)
bbrowning has quit [Ping timeout: 240 seconds]
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:6c81bc1 by Charles Oliver Nutter): The build passed. (http://travis-ci.org/jruby/jruby/builds/40793277)
travis-ci has left #jruby [#jruby]
<headius> and finally
<Antiarc> \o/
<headius> good work everybody :-)
<Antiarc> cprice404: nwolfe - you might check if you have glibc.x86-64 and glibc.i686 both installed on the machine.
<Antiarc> That broke my Fedora install for a similar reason
<cprice404> Antiarc: thanks for the tip! One thing that is interesting is that he says that if he installs jruby 1.7.15 on the same box and tries to load syslog through that, it works
<cprice404> it's just not working him from our embedded jar
<cprice404> even though that same jar is working fine on every other box we've tried it on :)
bbrowning_ is now known as bbrowning
<nwolfe> cprice404: I have the glibc.x86_64 installed but not glibc.i686
<asarih> headius: you might be interested in https://github.com/bundler/bundler/issues/3174
iamjarvo has joined #jruby
<cprice404> Here's the error message he is seeing:
<cprice404> Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows.
<cprice404> java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider
mkristian has quit [Ping timeout: 244 seconds]
toshe_tm has joined #jruby
<headius> asarih: I wonder if it has the same problem in Rubinius
<Antiarc> cprice404: I'm no expert on this stuff, but my guess would be that jnr-ffi or jffi is missing from your loadpath for some reason
<enebo> delicious race conditions
<asarih> headius: theoretically, I'd think.
x1337807x has joined #jruby
x1337807x has quit [Client Quit]
<cprice404> Antiarc: ok, thanks, will poke at a couple of ideas around those ffi .so files and see if we can find any more clues.
JohnBat26 has joined #jruby
mister_solo has joined #jruby
e_dub has quit [Quit: ZZZzzz…]
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
mkristian has joined #jruby
paulswilliamsesq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lance|afk is now known as lanceball
e_dub has joined #jruby
travis-ci has joined #jruby
<travis-ci> dmarcotte/jruby (test-profiler:3d13774 by Daniel Marcotte): The build passed. (http://travis-ci.org/dmarcotte/jruby/builds/40793164)
travis-ci has left #jruby [#jruby]
e_dub has quit [Client Quit]
<headius> third time's the charm, dmarcotte!
postmodern has quit [Ping timeout: 244 seconds]
<cprice404> so, we've verified that the ffi .so files are in the jar and he's still getting 'Failed to load native POSIX impl; falling back on Java impl.'
<cprice404> we tried exploding the jar and setting the classpath to point just to the exploded directory, rather than to the jar, and he still gets the error.
<Antiarc> The error you got looked like the jffi jar wasn't in your classpath or something
phrinx has quit [Read error: Connection reset by peer]
phrinx has joined #jruby
<Antiarc> The same setup works on a different machine, I presume?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cprice404> Antiarc: yeah; two different RHEL7 boxes, same jar file; works fine either exploded or directly from the jar on one of them, "Failed to load POSIX" on the other
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 1 new commit to jruby-1_7: http://git.io/EBsqSg
<JRubyGithub> jruby/jruby-1_7 cce325d Christian Meier: newer versions of jnr-posix and joda-time
JRubyGithub has left #jruby [#jruby]
<Antiarc> what does -e "require 'ffi'" get you?
<cprice404> I think that's where we get the "Failed to load", lemme check
e_dub has joined #jruby
<Antiarc> yeah, what I'm wanting to know is if it's failing in requiring FFI, or if it's failing in trying to use the FFI constant after ffi ostensibly loads
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian closed issue #2072: Old tzdata in JRuby http://git.io/8Y1B0w
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian closed issue #2173: on jboss wildfly when starting a rack application: stat unsupported or native support failed to load http://git.io/wgeQug
JRubyGithub has left #jruby [#jruby]
<cprice404> Antiarc: gotcha. checking.
<projectodd-ci> Project jruby-master-spec-ruby build #3: STILL FAILING in 2 hr 0 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/3/
<projectodd-ci> headius: Put IOException message in wrapper, so we can deal with it.
<headius> ok ok I'll fix you!
<cprice404> Antiarc: yeah it sounds like simply doing the 'require' will triggere the error for them
<Antiarc> How was your jruby jar you're executing from built?
<mkristian> headius, I am about to pull in the parent classloader patch and clean up all those branches associated with this - last chance to stop me
sferik has joined #jruby
<headius> mkristian: damn the torpedos!
<cprice404> Antiarc: it's a maven uberjar basically. our maven project file specifies a dep on the jruby-core and jruby-stdlib jars and then we build an uberjar from that.
<cprice404> Antiarc: has been working great on tons and tons of boxes we've tested it on; something different about this one box somehow :)
<cprice404> how does META_INF get into the load path?
pietr0_ has joined #jruby
kylo has joined #jruby
<cprice404> is there some variable like $LOAD_PATH that I can print the value of to see if somehow those META_INF dirs aren't getting added?
pietr0_ has quit [Remote host closed the connection]
pietr0 has quit [Ping timeout: 250 seconds]
pietr0 has joined #jruby
iamjarvo has joined #jruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #jruby
<Antiarc> $CLASSPATH from Ruby should give you the classpath Java will look through, if that helps
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian pushed 2 new commits to master: http://git.io/g7EZlw
<JRubyGithub> jruby/master f014b03 Christian Meier: detect the right root classloader for more cases
<JRubyGithub> jruby/master 8df95d6 Christian Meier: * added a test case where thread-context-classloader did not load jruby and ScriptingContainer just works...
JRubyGithub has left #jruby [#jruby]
<mkristian> cprice404, there are three entries whcih start META-INF/jruby.home on the $LOAD_PATH
<mkristian> that is for setup using jruby-complete or jruby-stdlib jars
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian closed pull request #2023: detect the right root classloader for more cases (master...detect-root-classloader) http://git.io/3UwHEA
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] mkristian deleted revert-2111-add-testcases-to-detect-root-classloader at 09a39a6: http://git.io/vfjFQw
JRubyGithub has left #jruby [#jruby]
<cprice404> Antiarc: mkristian: ok, then we'd expect the .so files to be available at some relative path to something that is on CLASSPATH/LOAD_PATH?
robbyoconnor has quit [Read error: Connection reset by peer]
<mkristian> cprice404, no such loading is done implicitly - there is no such entries in $CLASSPATH or $LOAD_PATH
<Antiarc> have you gotten an strace to see which files it's looking for (and failing to find)?
<cprice404> no, that sounds like a great idea; not super familiar with strace though
* cprice404 heads to the googles
<Antiarc> strace -f <your command here>
<cprice404> kk thx
<Antiarc> Then you can grep for "ffi\." or something
<cprice404> nwolfe: can you try that ^^ with your foo.rb commad
<Antiarc> strace -f bin/jruby -Xbacktrace.style=raw -e "require 'ffi-internal.so'" 2>&1 | grep "ffi\\."
<mkristian> cprice404, ffi-internal.so is on the $LOAD_PATH - I mistaken it with those jni/*so files
<Antiarc> grep "ffi.*so" is probably more instructive
<cprice404> awesome, thanks, will try it out
<Antiarc> The backtrace thing isn't needed, FWIW
<Antiarc> I just had that in my history
<Antiarc> but strace -f will dump all file location attempts (stat) and successes (open), so you can see where it's statting and failing
<Antiarc> And then compare that to a similar run on another machine
<Antiarc> I suspect you have a file which is shadowing the file that jruby actually wants
<cprice404> oh, that's an interesting theory
<Antiarc> grep -E "(open|stat).*ffi" -- there you go :)
<Antiarc> https://gist.github.com/cheald/e7f4c2c7a313b9a56de2 - that's what I get from that
fridim_ has quit [Ping timeout: 240 seconds]
<mkristian> Antiarc, just look through a bunch of jruby-complete files but can not find ffi-internal.so in any of them - did I understand something wrong here ?
<Antiarc> mkristian: I'm doing the same and coming up empty. Very curious :)
<cprice404> fwiw we are not using complete
<cprice404> we use 'core' and 'stdlib'
<mkristian> cprice404, same with jruby-stdlib so far
<cprice404> k
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] headius pushed 3 new commits to master: http://git.io/0Nnczw
<JRubyGithub> jruby/master 5021eb4 Charles Oliver Nutter: Actually apply some formatting to this error.
<JRubyGithub> jruby/master a467bc5 Charles Oliver Nutter: Restructure argv into a single command when doing chdir....
<JRubyGithub> jruby/master 5ce78c4 Charles Oliver Nutter: Update RubyGems to 2.4.3.
JRubyGithub has left #jruby [#jruby]
<cprice404> mkristian: Antiarc: exciting news
<cprice404> it turns out that the user had his /tmp partition mounted 'noexec'
<mkristian> :)
<cprice404> and it appears that something in the jruby code is copying the .so files to /tmp?
<cprice404> before trying to load them?
<headius> blast, should have suggested that
<cprice404> (guessing)
<headius> yes
<headius> I believe you can change that by setting a different tmp env
<cprice404> is there any way to override that
<cprice404> heh
<cprice404> yeah
<headius> to somewhere that can execute
<headius> yeah that makes sense
<headius> rhel
<cprice404> just "TMP" env var/
<cprice404> ?
<headius> see what env you have
<Antiarc> headius: might it be worth checking for executability in jruby? That seems like a pretty arcane issue
<mkristian> and I found the ffi-internal.so it is a buildin library
<headius> TMP or TMPDIR
<headius> Antiarc: in jffi when it unpacks
phrinx has quit [Read error: Connection reset by peer]
<mkristian> and writeability !
<headius> mkristian: I suspect that produces a better error right now :-)
phrinx has joined #jruby
<headius> but yeah, better errors all around
<cprice404> i can open a github issue on that if you like
<headius> yeah please do
<cprice404> k
<cprice404> thanks, as usual, for all the help :)
<headius> it has come up before and we never had a response other than to set a tmp that can execute
<headius> but we should do better
docc has joined #jruby
<enebo> haha I was going to suggest looking at /tmp
<enebo> I feel somewhat bad now :)
<headius> we should both feel bad
<enebo> I was going to ask if there was write permission though
<headius> we can drink the guilt away in SD next week
<enebo> Can Java even detect noexec?
<enebo> maybe in nio.2
<headius> 7+ should be able to
<headius> yeah
<Antiarc> Hah. You'd...need FFI to stat the directory
<headius> did you see my commit to add pure-Java FileStat#birthtime?
<enebo> we obviously cannot ask jnr-posix to do it :P
<enebo> headius: I did not see the impl
<headius> I'm pretty impressed that you can get almost all metadata from nio.2 now
<enebo> ah great
<headius> we should seriously consider making an nio.2 update for jnr-posix java backend
<enebo> we should probably print out why native is not enabled in verbose :)
<enebo> headius: but it needs to work on Android right?
<headius> cprice404: you have wide authority to suggest things that might have helped you discover this sooner
<headius> enebo: it would have to be a Java 7-aware subclass of what we have, or something
<headius> mostly overriding filesystem and process stuff
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] cprice404 opened issue #2186: Improve error handling re: FFI loading when system temp dir is mounted 'noexec' http://git.io/b_vFpg
JRubyGithub has left #jruby [#jruby]
<enebo> yeah me and nirvdrum were having a grand time talking about saying we are 7+ yet support android
<headius> I know :-(
<enebo> fwiw we can use Java 7 syntax :)
<headius> mobile platforms always hold everyone back
<enebo> we just need to make loadable modules for Java 6 fallback on android in things it does not support
<headius> we could probably make a MethodHandle compat library that just uses reflection too
<enebo> I am not convinced it will be totally horrible
<headius> I mean, we mostly have to use reflection on Android anyway because code gen is a pain
<enebo> I have not seen any numbers on post-Dalvik world
<headius> the new ARC runtime?
pchalupa has quit [Quit: Leaving]
<enebo> yeah
<enebo> art
<headius> yeah I tried to use it like 6 months ago and everything went to hell
<headius> art, that's it
<Antiarc> 5.0 is due to start rolling out today!
<headius> man, I need to get google edition rom back on my phone :-(
<headius> CM has just gotten flakier and flakier
<Antiarc> I've been running CM nightlies and they've been a little wonky :)
<headius> enebo: nice
<Antiarc> Looking forward to the 5.0 AOSP release
<headius> Antiarc: me too
<headius> I just want to go back to vanilla...I'm too old for this
<Antiarc> ha
<enebo> lollipop just in time for travel!
<enebo> perhaps my battery wlll last longer now
lidaaa has joined #jruby
<enebo> they say it will but talk is cheap
<headius> enebo: I will not forget to install my red hat 2FA on another device first :-)
<headius> now what was I doing before this fix
<headius> oh, bug triage
<Antiarc> TOTP is easy, if you can save the shared secrets when you set up the account. I keep 'em in my LastPass account so that I can shove it through a Ruby script as a backup
<Antiarc> Never have to worry about permanently losing 2FA :)
<headius> RH uses Google Authenticator
<headius> I don't know if there's a way to save off a token
<nirvdrum> enebo: It gets trickier :-/ I discovered that Android does support ThreadLocalRandom (a Java 7 API), but only in lollipop. So, if Google is slowly implementing Java 7 APIs at different SDK levels, the notion of what can be supported and when gets really muddled.
<Antiarc> Authy is also another option
<Antiarc> They store your auth secrets in teh cloudz, but they offer clientside encryption, do you don't have to trust their server security
<nirvdrum> headius: Don't use FreeOTP? Isn't that a RH product?
<Antiarc> Makes it easy to retrieve from another device
<headius> nirvdrum: beats me
<headius> I just install what they tell me to install
<headius> and then try to avoid having to use it
<Antiarc> https://gist.github.com/cheald/7cbbe18ce101fdc35ebc <-- that's google authenticator, Ruby-style :)
<mkristian> headius, enebo before you guys are off to something more important: this seems to have an OK now : https://github.com/jruby/jruby/pull/2031
<Antiarc> where secret is the shared secret (usually the QR code or whatever)
<headius> mkristian: yeah I think we're all on the same page
<headius> Antiarc: yeah QR code
<headius> I could just save that somewhere, of course :-)
<headius> unsure if it's a one-time or not
<headius> I've only ever used each code once
<nirvdrum> enebo: Another fun one for you: Java 7 will be EOL'd very quickly in the life of a public 9k release :-P
<Antiarc> TOTP just uses a shared secret and the current time (usually quantized to 30 sec) to get an hmac-sha1 digest, and then transforms that digest into an X-digit numeric code
<headius> oh whew...my Kernel#system fix also fixed the stack overflow I saw
<Antiarc> The idea being that both parties know the shared secret, and can verify ownership of that shared secret with codes that are only valid for 30 sec apiece
e_dub has quit [Read error: Connection reset by peer]
<headius> Antiarc: well that's easy enough
<headius> so I literally could just have a script that spits out TOTP at me
<Antiarc> Yeah, that gist up there is my backup authetnicator
<headius> I know nothing about how all this stuff works, if that's not obvious
<headius> cool
e_dub has joined #jruby
<Antiarc> I save the secrets when I set up a 2FA account, then can use that script to generate a code in a pinch
<headius> favorited, thanks
<headius> unless you want I should make my own copy :-)
<Antiarc> Hah, do what you will
<Antiarc> https://tools.ietf.org/html/rfc4226 is the RFC for it
<headius> forked so I'll have it forever
<Antiarc> (incidentally, this is why I get all rage-facey when services refuse to implement 2FA. It's brain-dead easy.)
<enebo> nirvdrum: well I am hoping Java 8 does become the standard or we get reasonable retroweaver style for closures
rsim has quit [Quit: Leaving.]
<nirvdrum> If you could adopt java.time, I guess that's another dependency that could be dropped.
<nirvdrum> Even get yourself a fancy Base64 implementation.
<Antiarc> headius: which phone are you running? Images just landed for the N5
zorak8 has quit [Ping timeout: 272 seconds]
<headius> HTC One M7
<nirvdrum> Supposedly we'll get lollipop within 90 days.
<nirvdrum> HTC has supported that phone pretty well thus far.
<headius> I took Sense off mine though, so I'm in limbo
nwolfe has left #jruby ["Leaving..."]
<Antiarc> I made the mistake of trying to build Android last week. As it turns out, you need something like 16BG+ RAM and ~100GB of disk :)
josh-k has joined #jruby
<headius> hahah yeah
<headius> it's pretty huge
<headius> well...things seem to be stabilizing
<headius> enebo: I moved 2.0 and 2.1 issues to a "ruby 2.0-2.2" label
kaawee has joined #jruby
<enebo> headius: ok
<headius> a bunch fell off in triaging but some remain
<headius> most don't appear to be major
JRubyGithub has joined #jruby
<JRubyGithub> [jruby] dmarcotte opened pull request #2187: Fix JsonProfilePrinter (jruby-1_7...test-profiler) http://git.io/OXikXw
JRubyGithub has left #jruby [#jruby]
<headius> I tagged a bunch of issues with "beginner" too
bbrowning has quit [Ping timeout: 265 seconds]
Aethenelle has joined #jruby
Aethenelle has quit [Client Quit]
<headius> taking off for a few hours...if someone wants to figure out why rubyspecs fail so bad here, I'll be very grateful: https://projectodd.ci.cloudbees.com/view/JRuby/job/jruby-master-spec-ruby/3/console
<headius> some I think we know about (DATA stuff at least)
<headius> I don't know if those expand_path etc failures are valid or environmental
<headius> bbl
errstr has joined #jruby
<Antiarc> the expand_path failures are due to ENV['HOME'] being nil, looks like
<Antiarc> could just set ENV['HOME'
<Antiarc> ENV['HOME'] ||= File.expand_path("..", __FILE__) in the test harness or something
diegoviola is now known as resented
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:c694f1d by Charles Oliver Nutter): The build passed. (http://travis-ci.org/jruby/jruby/builds/40793502)
travis-ci has left #jruby [#jruby]
thsig has joined #jruby
<Antiarc> The TTY errors seem to be because /dev/tty is missing, even though STDOUT.tty? => true
thsig_ has joined #jruby
<Antiarc> /dev/tty0 or whatnot might be present instead, but the specs says "# Yeah, this will probably break." :)
bbrowning has joined #jruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
thsig has quit [Ping timeout: 250 seconds]
thsig_ has quit [Remote host closed the connection]
thsig has joined #jruby
bbrowning has quit [Ping timeout: 272 seconds]
thsig_ has joined #jruby
<projectodd-ci> Project jruby-master-test-mri build #1: ABORTED in 8 hr 0 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-mri/1/
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enebo has quit [Quit: enebo]
thsig has quit [Ping timeout: 256 seconds]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thsig has joined #jruby
bbrowning has joined #jruby
thsig_ has quit [Ping timeout: 240 seconds]
resented is now known as dviola
iamjarvo has joined #jruby
mister_solo has quit [Ping timeout: 264 seconds]
rsim has joined #jruby
<Antiarc> Looks like rubyspec makes a bad assumption there, in that if stdout is a tty, the jruby process has a controlling tty
bbrowning has quit [Ping timeout: 244 seconds]
docc has quit [Ping timeout: 246 seconds]
bbrowning has joined #jruby
lanceball is now known as lance|afk
mister_solo has joined #jruby
robbyoconnor has joined #jruby
travis-ci has joined #jruby
<travis-ci> jruby/jruby (master:5ce78c4 by Charles Oliver Nutter): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/40817099)
travis-ci has left #jruby [#jruby]
tcrawley is now known as tcrawley-away
bbrowning_ has joined #jruby
bbrowning has quit [Read error: Connection reset by peer]
calavera has joined #jruby
bbrowning_ has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
bbrowning has joined #jruby
josh-k has quit [Remote host closed the connection]
josh-k has joined #jruby
zorak8 has joined #jruby
josh-k has quit [Ping timeout: 258 seconds]
bbrowning is now known as bbrowning_away
tlarevo has joined #jruby
sferik has quit [Quit: Textual IRC Client: www.textualapp.com]
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #jruby
tlarevo has quit [Read error: Connection reset by peer]
tlarevo has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
josh-k has joined #jruby
iamjarvo has joined #jruby
elia has joined #jruby
iamjarvo has quit [Ping timeout: 255 seconds]
<projectodd-ci> Project jruby-master-spec-ruby build #4: STILL FAILING in 1 hr 59 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ruby/4/
<projectodd-ci> * m.kristian: detect the right root classloader for more cases
<projectodd-ci> * m.kristian: * added a test case where thread-context-classloader did not load jruby and ScriptingContainer just works
<projectodd-ci> * headius: Actually apply some formatting to this error.
<projectodd-ci> * headius: Restructure argv into a single command when doing chdir.
<projectodd-ci> * headius: Update RubyGems to 2.4.3.
<projectodd-ci> Project jruby-master-test-mri build #2: FAILURE in 1 hr 10 min: https://projectodd.ci.cloudbees.com/job/jruby-master-test-mri/2/
<projectodd-ci> * headius: Revert "Merge pull request #2111 from jruby/add-testcases-to-detect-root-classloader"
<projectodd-ci> * k77ch7: add _spec to file name
<projectodd-ci> * headius: Put IOException message in wrapper, so we can deal with it.
<projectodd-ci> * m.kristian: detect the right root classloader for more cases
<projectodd-ci> * m.kristian: * added a test case where thread-context-classloader did not load jruby and ScriptingContainer just works
<projectodd-ci> * headius: Actually apply some formatting to this error.
<projectodd-ci> * headius: Restructure argv into a single command when doing chdir.
<projectodd-ci> * headius: Update RubyGems to 2.4.3.
skade has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
josh-k has quit [Remote host closed the connection]
e_dub has quit [Quit: ZZZzzz…]
rsim has quit [Quit: Leaving.]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thsig has quit [Remote host closed the connection]
elia has joined #jruby
mkristian has quit [Quit: bye]
elia has quit [Client Quit]
elia has joined #jruby
ludyte has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #jruby
dabradley has quit [Ping timeout: 244 seconds]