00:11
|jemc| has joined #rubinius
00:18
josh-k has quit [Remote host closed the connection]
00:18
_whitelogger__ has quit [Excess Flood]
00:19
_whitelogger__ has joined #rubinius
00:26
_whitelogger__ has joined #rubinius
00:27
_whitelogger__ has joined #rubinius
00:34
_whitelogger__ has quit [Excess Flood]
00:35
_whitelogger__ has joined #rubinius
00:36
enebo has quit [Quit: enebo]
00:40
_whitelogger__ has joined #rubinius
00:46
_whitelogger__ has joined #rubinius
00:56
_whitelogger__ has quit [Ping timeout: 260 seconds]
00:57
amsi has quit [Quit: Leaving]
00:57
_whitelogger__ has joined #rubinius
01:02
_whitelogger__ has joined #rubinius
01:11
_whitelogger__ has quit [Ping timeout: 260 seconds]
01:12
_whitelogger__ has joined #rubinius
01:16
dimday has joined #rubinius
01:20
_whitelogger__ has quit [Excess Flood]
01:21
_whitelogger__ has joined #rubinius
01:30
havenwood has quit [Remote host closed the connection]
01:39
_whitelogger___ has joined #rubinius
01:40
elia has quit [Quit: Computer has gone to sleep.]
01:41
josh-k has quit [Read error: Connection reset by peer]
01:45
_whitelogger___ has joined #rubinius
01:48
_whitelogger___ has quit [Excess Flood]
01:49
_whitelogger___ has joined #rubinius
01:54
_whitelogger___ has quit [Excess Flood]
01:56
_whitelogger___ has joined #rubinius
02:00
_whitelogger___ has joined #rubinius
02:20
_whitelogger___ has quit [Excess Flood]
02:21
_whitelogger___ has joined #rubinius
02:35
_whitelogger___ has joined #rubinius
02:36
josh-k has joined #rubinius
02:40
_whitelogger___ has joined #rubinius
02:45
<
brixen >
not loading rubygems takes a spec run from ~230s to 174s
02:46
<
brixen >
loading rubygems more than doubles process startup time
02:48
_whitelogger___ has quit [Excess Flood]
02:49
_whitelogger___ has joined #rubinius
02:52
GitHub182 has joined #rubinius
02:52
<
GitHub182 >
rubinius/master 90dd6e1 Brian Shirai: Added spec for ENOENT from Kernel#`.
02:52
<
GitHub182 >
rubinius/master d6c0dd2 Brian Shirai: Explicitly set FSAPI dir mode.
02:52
<
GitHub182 >
rubinius/master 479b979 Brian Shirai: Fixed behavior around fork, exec, fork/exec.
02:52
GitHub182 has left #rubinius [#rubinius]
02:54
_whitelogger___ has quit [Excess Flood]
02:56
_whitelogger___ has joined #rubinius
02:58
meh` has quit [Ping timeout: 255 seconds]
03:02
<
brixen >
still something with this damn daemon spec
03:03
GitHub27 has joined #rubinius
03:03
GitHub27 has left #rubinius [#rubinius]
03:03
<
GitHub27 >
rubinius/master c8dde0e Brian Shirai: Removed debugging.
03:07
_whitelogger___ has joined #rubinius
03:10
<
brixen >
wtf travis os x
03:13
_whitelogger___ has quit [Excess Flood]
03:13
_whitelogger___ has joined #rubinius
03:15
travis-ci has joined #rubinius
03:15
<
travis-ci >
rubinius/rubinius/master (0a96710 - Brian Shirai): The build has errored.
03:15
travis-ci has left #rubinius [#rubinius]
03:21
_whitelogger___ has quit [Excess Flood]
03:22
_whitelogger___ has joined #rubinius
03:25
_whitelogger___ has quit [Excess Flood]
03:25
_whitelogger___ has joined #rubinius
03:27
<
brixen >
yorickpeterse: now linux builds pass and os x builds fail :p
03:28
travis-ci has joined #rubinius
03:28
travis-ci has left #rubinius [#rubinius]
03:28
<
travis-ci >
rubinius/rubinius/master (c8dde0e - Brian Shirai): The build failed.
03:32
_whitelogger___ has quit [Excess Flood]
03:33
_whitelogger___ has joined #rubinius
03:43
_whitelogger___ has quit [Excess Flood]
03:44
_whitelogger___ has joined #rubinius
03:52
_whitelogger___ has quit [Excess Flood]
03:53
_whitelogger___ has joined #rubinius
04:00
_whitelogger___ has quit [Excess Flood]
04:01
_whitelogger___ has joined #rubinius
04:15
_whitelogger___ has quit [Excess Flood]
04:16
_whitelogger___ has joined #rubinius
04:23
tenderlo_ has quit [Remote host closed the connection]
04:23
_whitelogger___ has joined #rubinius
04:24
_whitelogger___ has joined #rubinius
04:27
tenderlove has quit [Ping timeout: 260 seconds]
04:31
_whitelogger___ has joined #rubinius
04:33
_whitelogger___ has quit [Excess Flood]
04:34
_whitelogger___ has joined #rubinius
04:39
_whitelogger___ has quit [Excess Flood]
04:45
_whitelogger___ has joined #rubinius
04:50
_whitelogger___ has quit [Excess Flood]
04:51
_whitelogger___ has joined #rubinius
05:02
_whitelogger___ has joined #rubinius
05:07
_whitelogger___ has quit [Excess Flood]
05:08
_whitelogger___ has joined #rubinius
05:14
_whitelogger___ has joined #rubinius
05:19
_whitelogger___ has quit [Excess Flood]
05:20
_whitelogger___ has joined #rubinius
05:22
_whitelogger___ has quit [Excess Flood]
05:32
_whitelogger___ has joined #rubinius
05:38
_whitelogger___ has quit [Excess Flood]
05:39
_whitelogger___ has joined #rubinius
05:44
_whitelogger___ has quit [Excess Flood]
05:45
_whitelogger___ has joined #rubinius
05:45
havenwood has joined #rubinius
05:49
diegoviola has quit [Read error: Connection reset by peer]
05:56
_whitelogger___ has joined #rubinius
06:21
_whitelogger___ has joined #rubinius
06:27
_whitelogger___ has joined #rubinius
06:32
_whitelogger___ has joined #rubinius
06:39
_whitelogger___ has quit [Excess Flood]
06:40
_whitelogger___ has joined #rubinius
06:40
|jemc| has quit [Ping timeout: 258 seconds]
06:46
_whitelogger___ has quit [Excess Flood]
06:47
_whitelogger___ has joined #rubinius
06:52
_whitelogger___ has quit [Excess Flood]
06:53
_whitelogger___ has joined #rubinius
07:00
_whitelogger___ has quit [Excess Flood]
07:01
_whitelogger___ has joined #rubinius
07:06
_whitelogger___ has quit [Excess Flood]
07:07
_whitelogger___ has joined #rubinius
07:13
_whitelogger___ has quit [Excess Flood]
07:14
_whitelogger___ has joined #rubinius
07:20
_whitelogger___ has quit [Excess Flood]
07:21
_whitelogger___ has joined #rubinius
07:29
benlovell has joined #rubinius
07:29
_whitelogger___ has quit [Excess Flood]
07:30
_whitelogger___ has joined #rubinius
07:41
_whitelogger___ has quit [Excess Flood]
07:42
_whitelogger___ has joined #rubinius
07:45
_whitelogger___ has quit [Excess Flood]
07:46
_whitelogger___ has joined #rubinius
07:54
flavio has joined #rubinius
07:55
_whitelogger___ has quit [Excess Flood]
07:55
_whitelogger___ has joined #rubinius
07:59
havenwood has quit [Remote host closed the connection]
07:59
havenwood has joined #rubinius
08:04
havenwood has quit [Ping timeout: 264 seconds]
08:16
elia has joined #rubinius
08:16
_whitelogger___ has joined #rubinius
08:26
_whitelogger___ has quit [Excess Flood]
08:27
_whitelogger___ has joined #rubinius
08:28
<
yorickpeterse >
morning
08:28
<
yorickpeterse >
brixen: \0/
08:33
dimday has quit [Ping timeout: 272 seconds]
08:39
_whitelogger___ has quit [Excess Flood]
08:44
_whitelogger___ has joined #rubinius
08:49
_whitelogger___ has joined #rubinius
08:57
tenderlove has joined #rubinius
08:59
havenwood has joined #rubinius
09:02
tenderlove has quit [Ping timeout: 260 seconds]
09:03
noop has joined #rubinius
09:04
josh-k has joined #rubinius
09:08
_whitelogger___ has quit [Excess Flood]
09:10
_whitelogger___ has joined #rubinius
09:29
_whitelogger___ has quit [Excess Flood]
09:30
_whitelogger___ has joined #rubinius
09:34
_whitelogger___ has quit [Excess Flood]
09:35
_whitelogger___ has joined #rubinius
09:40
_whitelogger___ has joined #rubinius
09:47
_whitelogger___ has quit [Excess Flood]
09:47
_whitelogger___ has joined #rubinius
09:53
_whitelogger___ has joined #rubinius
09:56
_whitelogger___ has quit [Excess Flood]
09:58
_whitelogger___ has joined #rubinius
09:58
_whitelogger___ has quit [Excess Flood]
09:59
_whitelogger___ has joined #rubinius
10:04
_whitelogger___ has joined #rubinius
10:07
havenwood has quit [Ping timeout: 264 seconds]
10:18
_whitelogger___ has joined #rubinius
10:23
leocassarani has left #rubinius [#rubinius]
10:24
_whitelogger___ has quit [Excess Flood]
10:26
_whitelogger___ has joined #rubinius
10:28
_whitelogger___ has joined #rubinius
10:29
_whitelogger___ has joined #rubinius
10:33
_whitelogger___ has quit [Excess Flood]
10:34
_whitelogger___ has joined #rubinius
10:44
_whitelogger___ has joined #rubinius
10:50
_whitelogger___ has joined #rubinius
11:11
_whitelogger___ has quit [Excess Flood]
11:11
_whitelogger___ has joined #rubinius
11:14
_whitelogger___ has quit [Excess Flood]
11:15
_whitelogger___ has joined #rubinius
11:22
_whitelogger___ has joined #rubinius
11:27
_whitelogger___ has quit [Excess Flood]
11:28
_whitelogger___ has joined #rubinius
11:35
_whitelogger___ has quit [Excess Flood]
11:36
_whitelogger___ has joined #rubinius
11:41
_whitelogger___ has quit [Excess Flood]
11:42
_whitelogger___ has joined #rubinius
11:47
_whitelogger___ has quit [Excess Flood]
11:48
_whitelogger___ has joined #rubinius
11:51
_whitelogger___ has quit [Excess Flood]
11:52
_whitelogger___ has joined #rubinius
11:56
havenwood has quit [Ping timeout: 264 seconds]
12:02
benlovell has quit [Ping timeout: 244 seconds]
12:03
meh` has joined #rubinius
12:08
_whitelogger___ has joined #rubinius
12:15
max96at|off is now known as max96at
12:29
_whitelogger___ has quit [Excess Flood]
12:30
_whitelogger___ has joined #rubinius
12:32
_whitelogger___ has quit [Excess Flood]
12:33
_whitelogger___ has joined #rubinius
12:41
_whitelogger___ has quit [Excess Flood]
12:41
_whitelogger___ has joined #rubinius
12:44
_whitelogger___ has quit [Excess Flood]
12:44
_whitelogger___ has joined #rubinius
12:54
geekbri has joined #rubinius
12:54
sbryant has quit [Ping timeout: 260 seconds]
12:57
sbryant has joined #rubinius
12:58
_whitelogger___ has quit [Excess Flood]
12:59
_whitelogger___ has joined #rubinius
12:59
postmodern has quit [Quit: Leaving]
13:08
benlovell has joined #rubinius
13:09
_whitelogger___ has quit [Excess Flood]
13:11
_whitelogger___ has joined #rubinius
13:12
_whitelogger___ has joined #rubinius
13:25
_whitelogger___ has quit [Excess Flood]
13:26
_whitelogger___ has joined #rubinius
13:30
_whitelogger___ has quit [Ping timeout: 260 seconds]
13:31
_whitelogger___ has joined #rubinius
13:37
havenwood has joined #rubinius
13:43
havenwood has quit [Ping timeout: 264 seconds]
13:44
_whitelogger___ has quit [Excess Flood]
13:45
_whitelogger___ has joined #rubinius
13:47
meh` has quit [Ping timeout: 260 seconds]
13:48
_whitelogger___ has quit [Excess Flood]
13:49
_whitelogger___ has joined #rubinius
13:57
benlovell has quit [Ping timeout: 260 seconds]
13:59
_whitelogger___ has joined #rubinius
14:05
havenwood has joined #rubinius
14:10
enebo has joined #rubinius
14:16
_whitelogger___ has quit [Excess Flood]
14:19
_whitelogger___ has joined #rubinius
14:20
_whitelogger___ has joined #rubinius
14:28
_whitelogger___ has joined #rubinius
14:28
tenderlove has joined #rubinius
14:48
_whitelogger____ has joined #rubinius
14:55
_whitelogger____ has joined #rubinius
15:01
heftig has quit [Quit: heftig]
15:01
heftig has joined #rubinius
15:13
_whitelogger____ has joined #rubinius
15:13
<
yorickpeterse >
You mean like static objects? :>
15:20
_whitelogger____ has joined #rubinius
15:27
_whitelogger____ has joined #rubinius
15:27
_whitelogger____ has quit [Excess Flood]
15:28
_whitelogger____ has joined #rubinius
15:30
elia has quit [Quit: Computer has gone to sleep.]
15:31
benlovell has quit [Ping timeout: 260 seconds]
15:39
_whitelogger has joined #rubinius
15:41
<
brixen >
yorickpeterse: what's a static object?
15:42
<
yorickpeterse >
it was a lame joke about static types
15:43
<
yorickpeterse >
arguebly I should've formulated it in a different way
15:43
<
yorickpeterse >
* arguably
15:43
<
yorickpeterse >
or whichever one it was
15:43
<
brixen >
you can build master ok now though right?
15:44
<
brixen >
on whatever version of windows^Hpain-in-my-arch you're using?
15:45
<
yorickpeterse >
haven't tried it yet
15:45
<
yorickpeterse >
I'll wake up good ol' Jenkins to see what he has to say
15:47
<
yorickpeterse >
and build it on my laptop once I get home
15:49
_whitelogger has joined #rubinius
15:54
elia has quit [Ping timeout: 240 seconds]
15:58
<
brixen >
this type error thing is weird
15:58
<
yorickpeterse >
Hm, jenkins crashed
15:59
<
yorickpeterse >
Seems to fail during the linking phase, dump coming
16:00
<
yorickpeterse >
That is on Amazon CentOS 2014.09
16:03
<
brixen >
where is -ledit coming from?
16:03
<
yorickpeterse >
nfi, lemme check
16:03
<
brixen >
readline lib installed?
16:03
<
brixen >
reminds me, should test removing C readline
16:04
<
yorickpeterse >
Yup, readline is installed
16:04
<
yorickpeterse >
inc devel headers
16:09
flavio has quit [Quit: WeeChat 0.4.1]
16:13
amsi has joined #rubinius
16:17
<
brixen >
hm, type error stuff looks ok actually
16:24
<
bennyklotz >
I'm abel to build rbx master on ubuntu 14.04
16:24
<
bennyklotz >
or at least was 3 hours ago
16:24
<
bennyklotz >
I could try again
16:24
<
bennyklotz >
just saying^^
16:29
<
bennyklotz >
git pull origin master had no changes
16:29
<
bennyklotz >
./configure --prefix=/home/benny/.rubies/rbx-head --cc clang --cxx clang++
16:30
<
bennyklotz >
rake build
16:30
<
bennyklotz >
but now hanging after rubysl-zlib installation
16:30
<
cremes >
builds okay on OSX 10.9.x but fails one spec: Kernel.exit! exits immediately when called from a thread FAILED
16:30
<
bennyklotz >
seems weird, was able to properly build & install rbx 3 hours ago^^
16:31
<
brixen >
bennyklotz: did you rake clean?
16:31
<
bennyklotz >
nope will try
16:40
<
yxhuvud >
could be a race condition of some kind
16:43
<
bennyklotz >
yep thought that too, trying to build from a fresh git clone now
16:45
<
bennyklotz >
hanging again
16:47
<
bennyklotz >
after rubysl-zlib
16:47
<
bennyklotz >
I'm off for now bb
16:47
cremes has quit [Ping timeout: 255 seconds]
16:55
cremes has joined #rubinius
17:04
havenwood has quit [Remote host closed the connection]
17:06
havenwood has joined #rubinius
17:22
meh` has quit [Ping timeout: 246 seconds]
17:30
noop has joined #rubinius
17:42
cremes has quit [Read error: Connection reset by peer]
17:42
enebo has quit [Read error: Connection reset by peer]
17:43
Gibheer has quit [Read error: Connection reset by peer]
17:43
cremes has joined #rubinius
17:43
enebo has joined #rubinius
17:43
Gibheer has joined #rubinius
17:44
jeremyevans has quit [Ping timeout: 260 seconds]
17:50
diegoviola has joined #rubinius
17:56
meh` has joined #rubinius
18:09
elia has joined #rubinius
18:16
<
brixen >
bennyklotz: attach to the process with gdb and gist me output of 'thread apply all bt 10'
18:20
brixen has quit [Ping timeout: 250 seconds]
18:21
elia has quit [Ping timeout: 258 seconds]
18:22
heftig has quit [Ping timeout: 260 seconds]
18:22
heftig has joined #rubinius
18:25
brixen has joined #rubinius
18:29
_ko1 has joined #rubinius
18:35
<
yorickpeterse >
brixen: master compiles fine locally
18:36
<
yorickpeterse >
brixen: what did you do to fix it?
18:40
<
brixen >
yorickpeterse: uh, commits? :p
18:42
<
brixen >
ugh, singleton classes are getting out of hand
18:42
JohnBat26 has joined #rubinius
18:42
<
brixen >
singleton classes of singleton classes
18:42
<
brixen >
dogs playing with cats playing with dogs
18:42
<
brixen >
no one has any morals anymore
18:43
<
yorickpeterse >
brixen: well, just the gist of it I suppose
18:44
<
yorickpeterse >
Ah, I see you moved a bunch of after fork hooks around
18:46
<
yorickpeterse >
hm, also is the console supposed to always dump it's data in /tmp/rbx-/ ?
18:46
<
yorickpeterse >
or is that supposed to include the PID?
18:46
<
brixen >
basically rewrote all those functions
18:46
<
brixen >
it should include the user-pid
18:47
<
yorickpeterse >
Rubinius::Console::Server::ResponsePath # => "/tmp/rbx-/console-response"
18:47
<
yorickpeterse >
same goes for the request path
18:47
<
brixen >
yeah, that shouldn't be happening
18:47
<
brixen >
how did you get that process?
18:48
<
yorickpeterse >
Started a Pry session
18:48
<
yorickpeterse >
lemme check what happens in a raw Ruby process
18:49
<
yorickpeterse >
Same story when using ruby -e 'p Rubinius::Console::Server::ResponsePath'
18:50
<
brixen >
let's check linux
18:50
<
yorickpeterse >
hmm
18:51
<
brixen >
not on linux
18:53
<
brixen >
what version of pry?
18:53
heftig has quit [Ping timeout: 260 seconds]
18:54
<
yorickpeterse >
pry 0.10.0
18:54
<
brixen >
0.10.1 here
18:54
<
yorickpeterse >
huh wtf
18:54
<
yorickpeterse >
I'll do a clean compile, see if that helps
18:56
<
brixen >
yeah, not getting that on os x with pry either
18:56
<
yorickpeterse >
pry 0.10.1 doesn
18:56
heftig has joined #rubinius
18:56
<
brixen >
I've seen it before
18:56
<
yorickpeterse >
* doesn't have the pid either
18:56
<
yorickpeterse >
From the manpage: "These functions are always successful."
18:56
<
yorickpeterse >
well apparently not always :P
18:56
<
brixen >
yeah, that's what I'm wondering
18:57
<
yorickpeterse >
lets see...
18:57
slaught has joined #rubinius
18:58
<
yorickpeterse >
ok so it does return a pid
18:58
tenderlove has quit [Quit: Leaving...]
18:59
<
yorickpeterse >
but when the value is appended to the path it's gone....
18:59
<
yorickpeterse >
smells like a casting issue
19:00
tenderlove has joined #rubinius
19:02
<
yorickpeterse >
Hm, explicitly casting the PID to a string does nothing
19:03
<
yorickpeterse >
oh actually the same for getlogin(), that doesn't end up in the path either
19:04
<
brixen >
what the what
19:04
<
yorickpeterse >
I can't even append 666 to it
19:05
<
brixen >
sometimes it works, obviously
19:05
<
|jemc| >
bin/ruby -e 'p Rubinius::Console::Server::ResponsePath'
19:05
<
brixen >
|jemc|: cool
19:05
<
|jemc| >
for what it's worth, just did a build and it seems to work on my machine
19:05
<
yorickpeterse >
If I append 666 to it
_before_ the "rbx-" prefix, my 666 shows up
19:05
<
yorickpeterse >
ok so this gets better
19:05
<
|jemc| >
"/tmp/rbx-jemc-17085/console-response"
19:05
<
yorickpeterse >
so you get "/tmp/666rbx-"
19:05
<
yorickpeterse >
but it seems I can't append anything after rbx-
19:06
<
brixen >
yorickpeterse: hold on, I'll give you a patch to try
19:07
geekbri has quit []
19:08
<
yorickpeterse >
euh wtf, using `path << "rbx-sdasdasdsdsd"` it does at least include that gibberish in the path
19:09
<
yorickpeterse >
hm, getlogin() does at least seem to actually return NULL
19:09
<
yorickpeterse >
aaaaaaaah
19:11
<
brixen >
shit ass C
19:11
<
yorickpeterse >
nfi
19:11
<
yorickpeterse >
checking the manual
19:11
<
yorickpeterse >
yup
19:11
<
brixen >
hy is getlogin() returning NULL?
19:11
<
brixen >
how can the login name not be set?
19:11
<
yorickpeterse >
that probably terminates the string
19:11
<
brixen >
of course it would
19:11
<
brixen >
"If the name has not been set, it returns NULL."
19:11
<
yorickpeterse >
getlogin() returns NULL, which then terminates it because yay \0 terminated strings
19:11
<
brixen >
well, not really my concern,
19:12
<
brixen >
I'll change it to avoid a NULL from getlogin()
19:12
<
yorickpeterse >
well, my username
_is_ set :P
19:12
<
brixen >
perhaps by substituting a randomly chosen salt-water flower
19:12
<
yorickpeterse >
also nice for the manual to talk about "errno", but that not being set anywhere that I can see
19:13
<
brixen >
how would you see errno set?
19:13
<
yorickpeterse >
No, the manual mentions this:
19:13
havenwood has quit [Remote host closed the connection]
19:13
<
yorickpeterse >
"n() returns a pointer to the username when successful, and NULL on failure, with errno set to indicate the cause of the error. "
19:15
<
yorickpeterse >
err that should get getlogin() ...
19:15
<
yorickpeterse >
It however doesn't take any buffer args, and only returns the name or NULL
19:15
<
brixen >
yorickpeterse: patch getlogin() with '(getlogin() || "ghostchild")' and tell me what you get
19:15
<
yorickpeterse >
I guess we can alternatively use the USER env variable
19:15
<
yorickpeterse >
...what the hell C
19:15
<
yorickpeterse >
unless this is some kind of magic variable
19:15
havenwood has joined #rubinius
19:15
<
brixen >
depending on USER being set is worse that getlogin()
19:15
<
yorickpeterse >
lemme check that patch
19:15
<
yorickpeterse >
haha only the first 8 characters, what the fuck
19:15
<
brixen >
you have no idea what people do to process envs
19:15
<
yorickpeterse >
"Unfortunately, it is often rather easy to fool getlogin(). Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling terminal of our program need not be the user who started it. Avoid getlogin() for security-related purposes."
19:16
<
|jemc| >
at least the pid will be unique even in the case of the first 8 chars of two differnt user names being the same
19:16
<
yorickpeterse >
"/tmp/rbx-1-24082/console-response"
19:16
<
yorickpeterse >
brixen: ok, hold on to your hat:
19:16
<
brixen >
yorickpeterse: wtf
19:16
<
yorickpeterse >
hahahaha
19:17
<
Gibheer >
yorickpeterse: I think 8 chars is the default on solaris systems, because of backwards compatibility
19:17
<
brixen >
yorickpeterse: I'm surprised it wasn't 'yorick~1' :)
19:19
<
yorickpeterse >
so yeah, a bool
19:19
<
brixen >
set the var with a conditional
19:19
<
yorickpeterse >
error: cannot initialize a variable of type 'const char *' with an rvalue of type 'bool'
19:19
pwh has joined #rubinius
19:19
<
yorickpeterse >
I suspect it evaluates it as a bool
19:19
<
brixen >
yorickpeterse: try extracting it to a var
19:19
<
yorickpeterse >
ok, then I get "/tmp/rbx-ghostchild-24281/console-response"
19:19
<
yorickpeterse >
because unix
19:20
<
brixen >
so weird that it's not set but whatever
19:20
<
|jemc| >
brixen: we can just wait and see what else isn't set in a minimal environment like docker :P
19:20
<
brixen >
yorickpeterse: want to patch it?
19:21
<
yorickpeterse >
Yeah, and I think I know why it fails
19:21
<
yorickpeterse >
I don't have /var/log/utmp on my system
19:21
<
yorickpeterse >
only /var/log/wtmp
19:21
<
yorickpeterse >
gimme a sec and I'll patch it
19:22
<
brixen >
I have no /var/log/utmp
19:22
<
|jemc| >
yorickpeterse: I just looked and that's also true for me
19:22
<
yorickpeterse >
hmmmm
19:24
<
yorickpeterse >
always nice for manpages to actually tell you if you need to free the data or not
19:27
<
yorickpeterse >
brixen: OS X has pwd.h right?
19:27
<
brixen >
you shouldn't need to free anything for getlogin() or getpid()
19:27
<
yorickpeterse >
No, apparently using free() with getpwuid() crashes things
19:27
<
yorickpeterse >
so there you have it :P
19:27
<
yorickpeterse >
fkn manpages
19:29
<
yorickpeterse >
brixen: is this something we actually want to add a spec for?
19:30
<
yorickpeterse >
hm, no console specs yet that I can see
19:31
<
brixen >
it's not like you can set up a scenario where getlogin() returns NULL
19:32
<
brixen >
and if you get the value from another source, there's no guarantee it's the same
19:32
<
yorickpeterse >
true
19:32
<
yorickpeterse >
plus it's a bit odd to add a test just for a file path
19:34
GitHub81 has joined #rubinius
19:34
GitHub81 has left #rubinius [#rubinius]
19:34
<
GitHub81 >
rubinius/master 808e0f3 Yorick Peterse: Don't rely on getlogin() for getting usernames....
19:35
noop has quit [Ping timeout: 260 seconds]
19:42
<
yorickpeterse >
brixen: any specific reason why we're setting the fsapi path to 755?
19:42
<
yorickpeterse >
and not, say, 750?
19:43
postmodern has joined #rubinius
19:44
jeremyevans has joined #rubinius
19:50
<
brixen >
750 wouldn't be bad
19:55
<
yorickpeterse >
In fact, do we even need it to be executable?
19:55
<
yorickpeterse >
unless we want non owners to control the console I'd say 640 would even be enough
20:08
slaught has quit [Quit: slaught]
20:09
slaught has joined #rubinius
20:26
pwh has joined #rubinius
21:00
josh-k has joined #rubinius
21:14
slaught has quit [Quit: slaught]
21:20
slaught has joined #rubinius
21:33
pwh has joined #rubinius
21:39
<
johnmuhl >
anyone run into "NoMethodError: undefined method `arity=' on an instance of Rubinius::CompiledCode." trying to build rubinius master?
21:40
<
johnmuhl >
operating system is OS X 10.9.5
21:41
<
johnmuhl >
build ruby is rbx-2.2.10
21:41
slaught has quit [Quit: slaught]
21:42
<
|jemc| >
johnmuhl: sounds like you've got an old version of the rubinius-compiler gem somehow
21:43
<
|jemc| >
the version in the 2.2.10 runtime does not have that method
21:49
<
johnmuhl >
|jemc|: hmm gem update didn’t update rubinius-compiler. can 2.2.10 be used to build master?
21:55
max96at is now known as max96at|off
21:57
<
|jemc| >
johnmuhl: I don't know enough about the mechanics of rbx building rbx - it could be that there is a bug in getting the right runtime toolset
21:57
<
|jemc| >
the rubinius-compiler that rbx-master currently runs on is 2.2.1
21:58
<
|jemc| >
if that helps
22:00
<
johnmuhl >
looks like using mri-2.1.3 as the build ruby works. guess it’s just something with using rubinius to build itself.
22:01
<
|jemc| >
johnmuhl: I think it is supposed to be possible to have rbx building rbx but you may have just met a bug in the process
22:01
<
johnmuhl >
kinda stinks having to install rubinius specific gems in mri though
22:02
<
|jemc| >
wrong window
22:02
<
johnmuhl >
|jemc|: should I open an issue for it?
22:02
<
johnmuhl >
I don’t see anything open that looks similar
22:05
<
|jemc| >
johnmuhl: your disgression - it may or may not continue to be an issue for current rbx building future rbx
22:05
<
|jemc| >
like I said, I don't know enough about how the Rubinius::ToolSets are supposed to be kept separate in that process
22:09
tenderlove has quit [Quit: Leaving...]
22:21
pwh has joined #rubinius
22:23
larstobi has quit [Ping timeout: 258 seconds]
22:25
havenwood has quit [Ping timeout: 264 seconds]
22:29
larstobi has joined #rubinius
22:46
<
brixen >
johnmuhl: you need to build master with MRI for now
22:47
<
brixen >
we can't change 2.2.10, it's already released
22:47
<
brixen >
so an issue doesn't do anything
22:47
<
brixen >
and they aren't rubinius-specific gems per se
22:47
<
brixen >
they are gems that run in rbx or MRI for building rbx
22:47
<
brixen >
welcome to the world of bootstrapping compilers
22:53
<
johnmuhl >
brixen: yeah no biggie just thought I was able to build rubinius with rubinius before but my memory isn’t that great so…
22:55
<
brixen >
the ToolSet stuff was a PITA
22:55
<
brixen >
Ruby needs proper module support
22:55
<
brixen >
no, you have been able to
22:55
<
brixen >
not the existing Module module, but a real module
22:58
pwh has joined #rubinius
23:20
heftig has quit [Ping timeout: 260 seconds]
23:21
heftig has joined #rubinius
23:22
_whitelogger has quit [Ping timeout: 260 seconds]
23:22
_whitelogger has joined #rubinius
23:24
_whitelogger has joined #rubinius
23:26
_whitelogger has joined #rubinius
23:27
meh`_ has joined #rubinius
23:27
meh` has quit [Ping timeout: 244 seconds]
23:27
josh-k has quit [Read error: Connection reset by peer]
23:28
josh-k has joined #rubinius
23:29
_whitelogger has quit [Excess Flood]
23:34
_whitelogger has joined #rubinius
23:37
_whitelogger has quit [Excess Flood]
23:38
_whitelogger has joined #rubinius
23:42
_whitelogger has quit [Excess Flood]
23:43
_whitelogger has joined #rubinius
23:46
_whitelogger has quit [Excess Flood]
23:46
_whitelogger has joined #rubinius
23:49
_whitelogger has quit [Excess Flood]
23:52
|jemc| has quit [Ping timeout: 260 seconds]
23:53
_whitelogger has joined #rubinius
23:55
_whitelogger has quit [Excess Flood]
23:55
_whitelogger has joined #rubinius