00:00
sgeorge has quit [Remote host closed the connection]
01:22
jmalves has joined #jruby
01:27
jmalves has quit [Ping timeout: 252 seconds]
02:42
sgeorge has joined #jruby
03:26
mistergibson has quit [Remote host closed the connection]
04:17
sgeorge has quit [Remote host closed the connection]
04:18
sgeorge has joined #jruby
04:18
sgeorge has quit [Remote host closed the connection]
05:29
<
kares >
enebo: lopex :)))
05:30
<
kares >
headius: yeah haven;t poked around if its an existing issue - well at least it wasn;t on JRuby's tracker
05:31
<
kares >
seems like they don't rush to fix it so users have to remove gem 'bootsnap' under JRuby ;(
05:43
_whitelogger has joined #jruby
07:59
jmalves_ has joined #jruby
08:16
jmalves_ has quit [Remote host closed the connection]
08:17
jmalves has joined #jruby
08:53
drbobbeaty has joined #jruby
09:15
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:58
Puffball_ has joined #jruby
11:18
shellac has joined #jruby
12:05
Liothen has quit [Quit: The Dogmatic Law of Shadowsong]
12:06
Liothen has joined #jruby
12:37
Puffball_ has quit [Remote host closed the connection]
12:37
Puffball has joined #jruby
12:55
rdubya has quit [Ping timeout: 264 seconds]
13:20
rdubya has joined #jruby
13:55
sgeorge has joined #jruby
14:52
<
headius >
kares: I think if we come up with a patch for them they'd release it
15:25
Eiam has joined #jruby
16:03
xardion has quit [Remote host closed the connection]
16:08
xardion has joined #jruby
16:26
shellac has quit [Ping timeout: 276 seconds]
16:35
sgeorge has quit [Remote host closed the connection]
16:36
<
lopex >
headius: I asked for org.jruby namespace on sonatype
16:37
<
lopex >
no sure if that's what I was supposed to do
16:37
<
lopex >
headius: but for now I need jcodings and joni release
16:37
<
headius >
lopex: you filed issue?
16:38
<
headius >
I think I need to approve you, link me
16:38
<
headius >
or at least give me +1
16:38
<
lopex >
well, the type is "New Project "
16:38
<
headius >
ah yeah there's another way but this will probably work ok
16:38
<
headius >
linkity link
16:39
<
lopex >
headius: where am I supposed to provide keys ?
16:41
<
headius >
keys? like password for your account on sonatype?
16:41
<
headius >
that goes in ~/.m2/settings.xml
16:41
<
lopex >
enebo mentioned about pgp key
16:42
<
headius >
oh for signing the releases
16:42
<
headius >
it should just use gpg command
16:43
<
headius >
I have a different set up because I use a yubikey...enebo can probably describe his setup better
16:43
<
headius >
it still just uses gpg for me too though
16:43
<
lopex >
ok, I'll poke him
16:43
<
headius >
lopex: they're quick, you're in
16:47
<
headius >
yeah now it's just fiddling with config and auth
16:50
sgeorge has joined #jruby
17:07
<
enebo >
lopex: I just gave a public key
17:08
<
enebo >
well actually in ~/.m2/settings.xml I have two entries with id and a password
17:08
<
enebo >
but we definitely need to sign releases as well
17:27
<
headius >
I'm looking at this and the related code (RESTORE_EXCEPTION_VAR) and I don't think the code actually does anything anymore
17:28
<
headius >
if you look at what the JIT calls, IRRuntimeHelpers.restoreExceptionVar, it accepts IRubyObject for the exception and the only logic there runs if that exception is instanceof IRReturnJump or IRBreakJump
17:29
<
headius >
those types don't implement IRubyObject, and nothing extends them
17:29
<
headius >
so the method does nothing
17:29
<
headius >
there's similar logic in the interpreter
17:29
<
enebo >
headius: so can we just nuke that code and be ok?
17:29
<
headius >
test:jruby passed
17:29
<
headius >
I'm running specs
17:32
<
headius >
it's looking pretty good
17:57
<
headius >
enebo: I pushed branch remove_restore_exception if you want to look at the commit
18:01
<
enebo >
headius: yeah looks good I think
18:01
<
headius >
I'll let CI chew on it for a bit and then merge if it's ok
18:02
<
enebo >
I mean my only confusion is we must set $! properly natively now
18:03
<
enebo >
I believe this was only added because there were pockets where it got lost
18:03
<
enebo >
so if those cases are gone then this is great
18:03
<
headius >
it seems like that's the case
18:04
<
headius >
I know we had this sort of logic sprinkled all over so this may have just been obsoleted without realizing it
18:20
<
headius >
I have a possible resolution
18:21
<
headius >
I could just replace the stops with some interrupts and chalk it up to non-native IO on Windows
18:21
<
headius >
getting that done will fix this, and Thread#stop either errors or does nothing in recent JDKs
18:22
<
enebo >
"This would obviously eliminate the output, but it might mean some threads that never wake up from a blocking IO call get stuck and accumulate."
18:22
<
enebo >
but what you are saying is newer jdks are not even supporting a broken stop
18:22
<
enebo >
so if something does acculmulate it will be happening in a newer jdk anyways
18:25
<
headius >
hmm maybe not this particular stop call
18:25
<
headius >
at this point I'd like to get some report in the wild of accumulating threads and figure out a better way to do it
18:25
<
enebo >
headius: I am ok with strategic "maybe" break
18:26
<
headius >
or realize that Windows use is widespread enough that we should finish native IO on Windows
18:26
<
headius >
maybe break
18:26
<
enebo >
headius: since we don't actually know having defensive code which seems to cause a known issue but may not solve an unknown one makes it maybe worth it
18:26
<
headius >
I'm not sure which way you're advocating
18:27
<
enebo >
I say we remove stops and see if anything gets reported
18:27
<
enebo >
we don't know right?
18:27
<
headius >
this is a very old hack
18:27
<
enebo >
I think this is a strategic decision to see since we have no visibility into it atm
18:27
<
headius >
newer JDK may be more reliably about waking on interrupt
18:40
<
lopex >
enebo: do you release with javadoc ?
18:40
<
lopex >
I get module-info.java:6: error: module not found: org.jruby.jcodings
18:40
<
lopex >
on release:prepare
18:40
<
lopex >
and it's javadoc plugin
18:41
<
lopex >
headius: is anything being picked up based on jdk version ?
18:41
<
enebo >
lopex: I have not seen that error but I think now that we are 9+ on releases javadocs error instead of warns
18:42
<
lopex >
shall I turn it off ?
18:42
<
enebo >
lopex: or I have noticed now that javadocs must properly parse to not explode javadocs
18:42
<
enebo >
lopex: I would fix the javadoc errors or we will all have to disable them forever
18:42
<
lopex >
enebo: yes, di some tweaking in jcodings for that
18:42
<
lopex >
enebo: but it's a modules issue
18:42
<
enebo >
lopex: but I also think sonatype maybe won't close without javadoc jar
18:42
<
lopex >
Exit code: 1 - /opt/joni/src/module-info.java:6: error: module not found: org.jruby.jcodings
18:43
<
enebo >
lopex: wait so javadocs is scanning that file and exploding...hahaha
18:43
<
enebo >
lopex: this must be a solved problem or no one has javadocs with modules
18:46
<
lopex >
hmm, it modules, not javadoc
18:47
<
lopex >
enebo: what goes after prepare ?
18:47
<
enebo >
release:perform
18:48
<
enebo >
lopex: but did prepare finish?
18:48
<
enebo >
lopex: then definitely don't perform :)
18:48
<
headius >
I'm not sure why it shows the exception change...github is weird sometimes with multiple branches
18:49
<
headius >
fixed that
18:49
<
enebo >
headius: yeah weird but seems reasonable for the non-exception stuff
18:50
<
headius >
I'll make sure CI doesn't go wacky
19:10
subbu is now known as subbu|lunch
19:12
<
lopex >
ok, now I cant perform
19:13
<
lopex >
Return code is: 401, ReasonPhrase: Unauthorized.
19:18
<
headius >
enebo: I'm releasing jnr-constants 0.9.10
19:18
<
headius >
this includes the fixes for generation and updated bits for linux, windows, macos, freebsd, and solaris
19:18
<
enebo >
headius: nice I was going to ask
19:18
<
headius >
we'll have to get help regenerating the rest but they should be ok as it
19:19
<
headius >
they just won't be as up to date and might be missing some added constants
19:19
<
enebo >
ah that was what I was going to ask...so whatever we fix is better than before
19:19
<
enebo >
with exception of fake which may change something on un-regenerated platforms?
19:20
<
lopex >
enebo: halp ?
19:20
<
headius >
well, mostly there's no reordering of enums with my changes
19:21
<
headius >
so existing enums should be fine
19:21
<
headius >
enum values
19:21
<
lopex >
enebo: I have setup <id>ossrh</id> with credentials
19:21
<
lopex >
in settings.xml
19:21
<
lopex >
is that enough ?
19:21
<
enebo >
headius: I guess if no fake values are different then it cannot hurt un-regenerated platforms since they will see the new thing
19:22
<
headius >
yeah should be ok
19:22
<
enebo >
I doubt we have ruby looking for constants via const_defined? or something and even if we did that would not affect the Java side of things
19:22
<
headius >
we want to spin something before RC anyway, so hopefully if the unusual platforms have issues, people will see it soon
19:22
<
enebo >
<id>sonatype-nexus-staging</id> and <id>sonatype-nexus-snapshots</id>
19:22
<
enebo >
lopex: I have those two entries
19:23
<
lopex >
in servers ?
19:23
<
enebo >
headius: you have that cvar pr and I looked at the failtures
19:23
<
enebo >
lopex: yeah
19:23
<
headius >
enebo: yeah what do you think
19:23
<
enebo >
headius: the two failures is somehow your fix allows '@@' to be set or at least not throw an error
19:24
<
headius >
link me that PR
19:24
<
lopex >
enebo: it works!
19:25
<
enebo >
lopex: congrats
19:25
<
lopex >
enebo: their example has ossrh
19:26
<
headius >
note we are using an older version with a parent pom that's deprecated
19:26
<
lopex >
so same credentials for both ?
19:26
<
headius >
I wanted to fix that but doing that and java 9 at the same time was too much hassle
19:26
<
enebo >
headius: I am trying to discern which method must be raising arg error on @@
19:26
<
enebo >
lopex: yeah
19:26
<
enebo >
assert_raise(NameError) { c.class_variable_set(:'@@', 1) }
19:27
<
enebo >
this is seemingly not raising NameError
19:27
<
lopex >
headius: so you say you did not have 'requires org.jruby.jcodings' when preparing joni ?
19:27
<
enebo >
headius: tbh I don't see how this code could cause that though
19:28
<
lopex >
headius: on default profile
19:28
<
enebo >
you call storeClassVariable in old and new
19:28
<
lopex >
enebo: I even went through not enough entropy for gpg2
19:28
<
lopex >
enebo: so many things
19:29
<
enebo >
lopex: yeah sounds like my fun this weekend getting my raspi moved over to a new network so I could install pi-hole which did not work
19:29
<
enebo >
lopex: I think I had to change like 20 things by the end
19:30
<
lopex >
enebo: my rpi began to show undervoltage lately after some updates
19:30
<
lopex >
enebo: even itself reboot segfaulted
19:30
<
lopex >
er, reboot itself
19:31
<
enebo >
Mine has been on with wrong network settings for like a year
19:31
<
enebo >
happily not communicating with the world
19:31
<
lopex >
enebo: and mine sometimes comes with 3 cpus online
19:31
<
enebo >
lopex: time for a new one?
19:31
<
lopex >
yeah, it's 2B+
19:31
<
enebo >
I think mine is just first one
19:32
<
headius >
lopex: I hadn't finished the jdk 9 stuff for joni yet
19:32
<
lopex >
enebo: mine works mostly for vpn and ssh remote forwards and the like
19:32
<
lopex >
headius: somethings smelly
19:33
<
lopex >
you did skip something ?
19:33
<
headius >
what do you mean, joni does say requires org.jruby.jcodings
19:33
<
headius >
on master
19:33
<
lopex >
I dont know what the earlieer phases are
19:36
<
lopex >
headius: it complains about jcodings and asm
19:36
<
lopex >
so the only modules it depends on
19:37
<
headius >
what JDK are you using?
19:38
<
headius >
and mvn clean package fails?
19:38
<
lopex >
headius: so it must be picking up something by default ?
19:38
<
lopex >
headius: I would bother you if that would fail
19:38
<
headius >
show me output
19:40
<
lopex >
anything obvious ?
19:40
subbu|lunch is now known as subbu
19:40
<
lopex >
headius: it fails too when disabling javadoc errors
19:40
<
headius >
maven-javadoc-plugin:2.7
19:41
<
headius >
that's not from master...need to update to something recent
19:41
<
headius >
it's 3.0.1 on master
19:41
<
lopex >
it's a clean copy
19:42
<
lopex >
removing m2 repo
19:42
<
lopex >
or some other dependeee ?
19:43
<
headius >
yeah I'm confused too
19:43
<
headius >
it's 3.0.1 in pom.xml for you right?
19:43
<
lopex >
I'll look at dep tree in a moment
19:43
<
lopex >
yeah, clean copy
19:45
<
lopex >
shall I pin some sonatype plugins or something ?
19:45
<
headius >
I think it's something goofy with jdk version number
19:45
<
headius >
it's not activating the jdk9 profile for you
19:45
<
headius >
or for me on 10.0.1
19:46
<
headius >
so it's using sonatype ossrh defaults for javadoc
19:47
<
headius >
lopex: fixed
19:48
<
lopex >
headius: but you did build it with 10 too right ?
19:48
<
headius >
yes it should work with 9+ now
19:48
<
lopex >
headius: but you seem to have built it with 9 only
19:49
<
headius >
ah I think I was messing with this trying to get stuff to activate and lost the range along the wy
19:49
<
headius >
back when I was trying to do multi-release jar
19:49
<
lopex >
the gpg.passphrase in settings.xml also doesnt seem to work for me
19:49
<
headius >
shouldn't affect the release artifacts
19:49
<
lopex >
I found the export GPG_TTY=$(tty)
19:50
<
headius >
I think I set up gpg-agent as well but the yubikey basically does that now
19:50
<
headius >
I made the same version range fix to jcodings
19:53
<
lopex >
but I admit the whole setup with server naming is confusing
19:53
<
lopex >
headius: you also auth on sonatype via ssh or gpg keys ?
19:54
<
lopex >
headius: joni released
19:55
<
lopex >
yes, "doh" was to show my annoyance
19:55
<
lopex >
so now it's somwhere in their stagin structure
19:55
<
headius >
enebo: we punted a lot of 9.2 stuff to 9.2.1 that probably should be 9.3 or something
19:55
<
headius >
lopex: hah
19:56
<
headius >
yeah takes too long to propagate
19:56
<
enebo >
headius: we definitely need to kill this 90 issue backlog against point releases back to what is realistic
19:56
<
enebo >
just making 9.3 and putting 90 issues there will just cause this again
19:57
<
enebo >
we do I think have some 9000 milestone right?
19:57
<
headius >
I've been closing about 1/3 of what I've looked at because they're old or have no repro or activity
19:57
<
headius >
yeah I wasn't sure if that's where we want stuff or what
19:58
<
enebo >
naw I think we want untargetted but we probably need to get a better system for identifying stuff we can target
20:19
<
headius >
enebo: there's some breakage from jnr-constants update
20:19
<
headius >
I'm looking at it
20:27
<
headius >
seems to be errno issues
21:11
<
ChrisBr >
I think there is only sth minior missing ...
21:12
<
ChrisBr >
the previous issue like CGI not loading are all resolved
21:14
<
enebo >
ChrisBr: did you try Rails 5.1.6 (I think was reported version where it broke at first) and make a new app with bootsnap?
21:14
<
enebo >
ChrisBr: I think in 5.2.x they disable bootsnap on jruby by default
21:15
<
ChrisBr >
rails 5.2.1 but I enabled bootsnap manually
21:15
<
enebo >
ChrisBr: ah ok
21:20
<
enebo >
ChrisBr: It is a good stake in the ground. I wonder if they will want to consider how to generify this technique since MRI also must have some wackiness like our internal libs in it
21:24
Eiam has joined #jruby
21:32
<
ChrisBr >
but unlike the jruby internal libs, it seems it is not necessary to require them explicit
21:33
<
enebo >
ChrisBr: but they must have some code somewhere to say what they are?
21:33
<
ChrisBr >
they just assume everything what is not a path I gues
21:33
<
ChrisBr >
but not 100% sure ...
21:34
<
enebo >
oh yeah that is an interesting semantic
21:34
<
enebo >
I wonder if that will always be true
21:34
<
ChrisBr >
it seems like it is good enough so far ...
21:34
<
enebo >
for that matter how are cexts handled if someone does not put the .so in toplevel
21:35
<
enebo >
his comment is interesting since jruby should not need to do that MRI builtin check either
21:36
<
enebo >
I guess though generifying all this would be pretty big change
21:37
<
ChrisBr >
hmm, difference is that it seems mri does return false when loading one of these internal libraries
21:37
<
ChrisBr >
in jruby we need to require them explicit
21:37
<
ChrisBr >
here is another interesting comment
21:39
<
enebo >
I find it odd that require of anything is not true first time and false thereafter but it is what it is I guess
21:39
<
headius >
ChrisBr: awesome
21:41
<
enebo >
JRUBY_INTERNAL_LIBRARIES&.key? and just make it nil if not jruby
21:41
<
enebo >
just thinking about smallest delta of your PR
21:44
<
ChrisBr >
ah rafael already commented ...
21:52
<
headius >
enebo: I may have a theory about the jnr-constants failures
21:52
<
headius >
might not have been as binary-compat as I'd hoped and jnr-posix etc are breaking
21:56
<
headius >
enebo: can you try that branch?
21:56
<
headius >
update-jnr-constants=for-1509
21:56
<
headius >
I messed up the name
21:56
<
headius >
but that's the branch...the same tests failiing on travis are passing here so it seems like maybe the linux constants got mucked up?
21:58
<
enebo >
headius: is that pushed to jruby?
22:00
<
headius >
might be on my repo
22:00
<
headius >
yeah sorry it's on my repo
22:00
<
headius >
git@github.com:headius/jruby.git
22:09
<
headius >
let me know what you see running e.g. test:jruby
22:09
<
headius >
or spec/ruby/core/io/read_spec.rb should have like 6 failures
22:09
<
headius >
they're all errno related
22:13
<
enebo >
</Stale\ NFS\ file\ handle/> expected to be =~
22:13
<
enebo >
<"Stale file handle">.
22:13
<
enebo >
2 errors in test:jruby
22:13
<
enebo >
the other was not raising an errorno like EBADF
22:29
Puffball has quit [Remote host closed the connection]
22:31
Puffball has joined #jruby
23:26
sgeorge has quit [Remote host closed the connection]
23:26
sgeorge has joined #jruby
23:31
sgeorge has quit [Ping timeout: 252 seconds]