Camelia, the Perl 6 bug

IRC log for #parrot, 2009-12-29

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 bacek joined #parrot
00:16 cotto joined #parrot
00:27 ash_ joined #parrot
00:31 ash_ does parrot's versioning system do the major.minor.secuity_fixes way of doing things or does it just add one?
00:32 ash_ i guess i am asking because the next version is 2.0, is that breaking any backwards compatability?
00:33 mikehh http://trac.parrot.org/parro​t/wiki/ParrotVersionNumbers
00:35 mikehh although I think we decided at a parrotsketch meeting that we will do three month deprecation cycles for the forseeable future
00:38 mikehh What would happen is that if there was a critical problem with 2.0 say we might release 2.0.1 to fix this
00:40 dalek TT #1399 created by plobsing++: Array unshift/access broken
00:50 ash_ mikehh: okay, thats cool, just curious, i mean parrot evolves very quickly so it would make sense not really to follow the 3 number schema since it would mean you'd be changing things so rapidly
00:52 ash_ left #parrot
00:53 Coke to be clear, we allow for the third level of versioning, but it's never come up.
00:54 Coke (since 1.0; before that we were just making stuff up anyway.)
01:01 * Coke is getting a failure in PCT after juggling the make process.
01:24 Coke svn hang?
01:37 dalek parrot: r43294 | coke++ | branches/one_make (9 files):
01:37 dalek parrot: convert pct.in to an include'd makefile, including it in the main makefile.
01:37 purl I don't know how to convert pct.in to an include'd makefile, including it in the main makefile..
01:37 dalek parrot: break out the nqp-rx into an include-able makefile.
01:37 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43294/
01:39 * Coke stares at the complicated PGE build and wonders if there is a way to simplify it.
02:25 payload joined #parrot
02:25 dalek parrot: r43295 | coke++ | branches/one_make (6 files):
02:25 dalek parrot: Convert pge's recursive make into an included one.
02:25 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43295/
03:47 JimmyZ joined #parrot
04:38 mikehh joined #parrot
04:52 dalek parrot: r43296 | coke++ | branches/one_make (8 files):
04:52 dalek parrot: convert tge's recursive make into an include; add some deps in the library.
04:52 purl I don't know how to convert tge's recursive make to an include; add some deps in the library..
04:52 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43296/
05:20 Coke anyone about?
05:20 * purl goes postal or
05:25 * Coke fixes it
05:27 * Coke has nearly eliminated "compilers.dummy" in the one_make branch.
05:40 dalek parrot: r43297 | coke++ | branches/one_make (9 files):
05:40 dalek parrot: convert json's recursive make into a top level include
05:40 purl I don't know how to convert json's recursive make to a top level include.
05:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43297/
05:40 dalek parrot: r43298 | coke++ | branches/one_make/compilers/json:
05:40 dalek parrot: fix svn:ignore for this dir.
05:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43298/
06:13 dalek parrot: r43299 | coke++ | branches/one_make (5 files):
06:13 dalek parrot: pull imcc build rules out into an includable makefile and clean them up.
06:13 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43299/
06:13 dalek parrot: r43300 | coke++ | branches/one_make (7 files):
06:13 dalek parrot: Fix svn properties on new files
06:13 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43300/
06:14 Coke does order of definition of rules matter in make? if I refer to a variable I haven't set yet, it's just "" at that point, neh?
06:19 * Coke ponders splitting up the new Makefile.mak's into setup/rules
06:52 bacek joined #parrot
06:54 mikehh joined #parrot
07:58 szabgab joined #parrot
08:30 iblechbot joined #parrot
08:45 bacek joined #parrot
09:28 fperrad joined #parrot
09:41 JimmyZ joined #parrot
09:46 TiMBuS joined #parrot
09:56 bacek joined #parrot
10:00 bacek o hai
10:00 dalek parrot: r43301 | bacek++ | branches/boehm_gc/compilers/imcc/main.c:
10:00 dalek parrot: Fix one more free vs mem_sys_free in IMCC...
10:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43301/
10:00 dalek parrot: r43302 | bacek++ | branches/boehm_gc/compilers/imcc (2 files):
10:00 dalek parrot: And more realloc vs mem_sys_realloc fixes in IMCC.
10:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43302/
10:00 dalek parrot: r43303 | bacek++ | branches/boehm_gc/compilers/imcc/optimizer.c:
10:00 dalek parrot: Fix free vs mem_sys_free in IMCC optimizer.
10:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43303/
10:12 bacek Tene, around?
10:33 dalek parrot: r43304 | bacek++ | branches/boehm_gc/src/pmc/packfilefixupentry.pmc:
10:33 dalek parrot: Fix strdup vs mem_sys_strdup in PackfileFixupEntry PMC.
10:33 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43304/
10:33 dalek parrot: r43305 | bacek++ | branches/boehm_gc/src/pmc/os.pmc:
10:33 dalek parrot: Fix mem_sys_free vs free usage in OS.cwd. getcwd doesn't allocate memory using mem_sys_alloc, so don't try to use mem_sys_free to free it.
10:33 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43305/
10:33 dalek parrot: r43306 | bacek++ | branches/boehm_gc/compilers/imcc/pbc.c:
10:33 dalek parrot: One more free vs mem_sys_free usage in IMCC.
10:33 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43306/
10:33 dalek parrot: r43307 | bacek++ | branches/boehm_gc/src/dynpmc/rational.pmc:
10:33 dalek parrot: Fix free vs Parrot_str_free usage in Rational PMC. mpq_get_str doesn't allocate string using Parrot's mem_sys_allocate, so don't try to free is with mem_sys_free.
10:33 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43307/
10:46 nopaste "bacek" at 122.110.71.39 pasted "Ho-ho-ho. New Year gift. Test results on boehm_gc branch" (11 lines) at http://nopaste.snit.ch/19181
10:52 payload joined #parrot
11:05 bacek_ joined #parrot
11:07 dalek parrot: r43308 | bacek++ | branches/boehm_gc/src/gc/alloc_memory.c:
11:07 dalek parrot: Use GC_MALLOC_UNCOLLECTABLE in mem_sys_alloc. We are manage this memory manually anyway.
11:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43308/
11:07 dalek parrot: r43309 | bacek++ | branches/boehm_gc (2 files):
11:07 dalek parrot: Add G option to t/harness to support GC switch
11:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43309/
11:40 dalek parrot: r43310 | fperrad++ | trunk/tools/install/smoke_languages.pl:
11:40 dalek parrot: [install] add language Forth
11:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43310/
11:53 bluescreen joined #parrot
11:56 mikehh joined #parrot
11:58 ruoso joined #parrot
12:07 bacek joined #parrot
12:39 masak joined #parrot
13:00 kid51 joined #parrot
13:17 dalek parrot: r43311 | bacek++ | branches/boehm_gc/src (2 files):
13:17 dalek parrot: Initialize Boehm GC early. We have to restructure CLI args handling to do it properly
13:17 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43311/
13:32 payload joined #parrot
13:45 hejki i'm trying to implement the stat(2) S_ISLNK-macro in parrot. i've added it in config/gen/platform/generic/stat.h http://heikki.mehtanen.fi/parrot_patch/patch1.txt and in include/parrot/stat.h http://heikki.mehtanen.fi/parrot_patch/patch2.txt . i get no compile-time errors and everything seems ok. calling 'stat filename, 4' doesn't return the S_ISREG-style behaviour, but it doesn't work as S_ISLNK is intended either. what am i missing here?
13:50 cognominal joined #parrot
14:07 masak Coke: ping
14:09 masak I've now bisected.
14:09 masak Rakudo stops building after r43175, which is a merge of context_unify3_simple
14:10 masak the next commit, r43176, which is a fix of the merge commit, either uncovers or introduces the error I'm seeing when building Rakudo with the latest Parrot.
14:19 tewk_ masak, r43176 just fixes pirc which you shouldn't be using, so r43175 must be the real culprit
14:19 masak tewk_: thanks. yes.
14:19 masak not surprising that it's a Parrot merge which breaks Rakudo.
14:26 hejki :)
14:26 mikehh joined #parrot
14:27 bluescreen joined #parrot
14:28 hejki a quick question: how-to grab ARGV in PIR? :)
14:32 patspam joined #parrot
14:35 whiteknight joined #parrot
14:36 whiteknight good morning #parrot
14:37 masak mornin'
14:37 hejki hiya
14:42 dalek parrot: r43312 | tewk++ | branches/pmc_freeze_cleanup/src/pmc_freeze.c:
14:42 dalek parrot: Refactored goto into do while loop
14:42 dalek parrot: review: http://trac.parrot.org/parrot/changeset/43312/
14:43 masak hejki: see docs/running.pod, line 298.
14:45 hejki that just defines that extra arguments are passed in ARGC
14:45 hejki ARGV*
14:45 masak in what way doesn't that answer your question?
14:45 hejki .param string argv inside my :main subroutine captures the stuff i'm passing, but i guess it's an "array" or some sort?
14:46 hejki it doesn't have example code for taking in params :)
14:46 * hejki realizes that by the time passed he would've already typed in a PIR loop that does all four checks instead of making something that i'd use in conjunction with bash for
14:47 hejki debugging just parrot (and not recompiling rakudo everytime) seems lotsa easier way of debugging the S_ISLNK macro
14:47 hejki :P
14:47 hejki "surprise! \o/"
14:51 mikehh joined #parrot
15:11 hejki hmm.. http://www.parrotcode.org/docs/pmc/pmc/file.html this already has is_link-method O_o
15:12 hejki wonder if i could utilize that instead of trying desperately figuring out parrot and adding the S_ISLNK :P
15:13 masak there's only one way to find out.
15:13 hejki ye
15:13 hejki i'm already doing so :p
15:23 Coke hejki: .param pmc argv
15:24 hejki Coke: ye.. got it already by testing. thanks anyways :)
15:24 fperrad_ joined #parrot
15:33 dalek rakudo/master: db84bc0 | masak++ | src/builtins/any-str.pir:
15:33 dalek rakudo/master: [src/builtins/any-str.pir] implemented :l
15:33 dalek rakudo/master: Patch courtesy of Heikki Meht�nen (hejki++).
15:33 dalek rakudo/master: review: http://github.com/rakudo/rakudo/commit/d​b84bc06990c37b93fe987dcffab4ed9bf31de92
15:43 Coke trac sllllow.
15:44 Coke masak: what is your build error again?
15:44 Coke (and are you passing any args to Configure.pl? or make?)
15:45 masak passing no args to neither. I have rakudo in parrot/languages/perl6.
15:45 masak build error here: http://gist.github.com/264688
15:48 Coke ... why do you have rakudo /in/ parrot?
15:48 Coke (and not parrot /in/ rakudo) ?
15:49 Coke CallSignature doesn't exist anymore. =-)
15:49 Coke (that's my guess.(
15:49 Coke yup. so you /can't/ update until rakudo is updated. =-)
15:49 masak Coke: the rakudo-in-parrot setup precedes the parrot-in-rakudo one. I just never made the switch.
15:50 masak it allows me to catch this kind of errors early. :)
15:50 Coke I'm fairly certain pmichaud is already aware of this.
15:50 masak goodie.
15:50 Coke but I also suspect master wouldn't get fixed.
15:51 masak I'd help in upgrading Rakudo, but I'm afraid I don't know enough about CallSignature and what's replacing it.
15:51 Coke does ng work against a recent parrot?
15:51 masak I don't know.
15:51 masak it has its own PARROT_REVISION, but I don't know what... I'll check.
15:51 Coke Might be useful to try that; if it does, then no worries. if not, then it might be worth opening a perl6 ticket.
15:52 Coke I'm sorry I made you chase the bisect; I should have asked to see the error first. =-)
15:52 masak no problem.
15:52 Coke I had thought you and the other reporter were having similar errors.
15:52 Coke my bad. :|
15:52 masak ng is at r43076 as well.
15:52 hejki we were
15:52 hejki i'm just having the libfakeroot errors cause by archlinux build system
15:52 masak I haven't tried, but my guess is that it hasn't been adapted to the latest Parrot.
15:53 hejki (it builds stuff using fakeroot, and most likely that's why it's appended into my LD_PRELOAD before compilation takes place)
15:53 hejki but those errors are just ignored (so they're not the real cause, but masaks stuff is)
15:55 jan joined #parrot
15:56 Psyche^ joined #parrot
16:02 mikehh joined #parrot
16:07 mikehh_ joined #parrot
16:11 ash_ joined #parrot
16:16 poet joined #parrot
16:19 poet I can't get parrot to compile on OS X 10.6.2.  The error message is "i686-apple-darwin10-g++-4.2.1: c: No such file or directory".  Can anyone help?
16:19 ash_ how are you compiling parrot?
16:20 ash_ I have OS X 10.6.2 and its working alright for me, i'll see if I can help
16:20 poet ash_: great thanks, much appreciated.  I am just doing "perl Configure.pl" to generate the makefile and then make to compile
16:21 ash_ can you paste the output of the make op in like gist?
16:21 poet yea one second
16:21 poet this is with parrot 1.9.0 by the way, I can do a different version depending on what you have
16:22 ash_ i do svn trunk checkouts, currently revision 43076
16:22 poet ok ill try with that
16:22 ash_ which is a version of 1.9.0 so you know
16:22 poet ok
16:22 poet ok it's building now, ill post the output in a sec
16:22 ash_ k
16:23 poet ash_: here it is https://pastee.org/4rfzs
16:26 ash_ hmm, your using a newer version than
16:27 poet ah, just checked out the svn repo
16:27 ash_ i'll try that revision then, one sec
16:27 poet same error happens with 1.9.0 though, may be unrelated to version
16:28 Coke why do you have a \c on the end of that command?
16:28 ash_ have you built it before?
16:29 poet im not sure
16:29 poet I have not built it successfully before
16:30 ash_ k, try doing a make realclean
16:31 poet ok, make realclean fails with perl -MExtUtils::Command -e rm_rf html
16:31 poet make -C src/dynpmc clean
16:31 poet Makefile:29: *** missing separator.  Stop.
16:31 poet make: *** [dynpmc-clean] Error 2
16:31 ash_ hmmm thats not supposed to happen
16:32 poet i found the \c in the makefile, should I delete it?
16:32 ash_ which version of perl do you have?
16:32 Coke the makefile is generated. we want to figure out how it got in there.
16:32 poet ahh this might be it
16:32 poet it's not using the system perl, it's using a perl from a porting system which is 5.8.9
16:33 Coke in config/gen/makefiles/root.in, I think this is the rule:
16:33 Coke $(LIBPARROT_SHARED) : $(O_FILES)
16:33 Coke we theoretically support 5.8.9, but if you have a more recent perl, yes, use that when running Configure.pl
16:33 Coke (so, I'm guessing one of those variables is ending up with the wrong value.)
16:34 Coke (not those variables, but the ones in the actual linker line.)
16:34 ash_ i have macport's perl 5.8.9 installed and it builds fine with that, but i normally use 5.10.1, you can try using a different perl to configure and see what happens
16:35 poet yeah it's building now with a makefile generated with 5.10.0
16:35 poet ack, same error
16:35 poet still have the \c at the end
16:36 poet if I remove the \c, the build still fails and I get the same error I got when I tried to make realclean, missing separator on line 29
16:38 plobsing_ joined #parrot
16:39 Coke that is a generated file. can you post it?
16:39 Coke (the one with the missing separator)
16:39 poet yeah trying to figure out which one that is
16:40 Coke the \c, I think you'll have to look in the generated top level makefile to see where the \c is
16:40 poet yeah the \c is in the top level makefile
16:40 poet make -C src/dynpmc
16:40 poet Makefile:29: *** missing separator.  Stop.
16:40 poet make: *** [dynpmc.dummy] Error 2
16:40 poet does that mean the makefile in src/dynpmc?
16:40 Coke poet: yes.
16:41 poet https://pastee.org/zkmk4
16:41 Coke look, it's the \c again.
16:41 poet yeah lol
16:41 Coke so somewhere, you're getting a "\c\n" inserted into your linkargs.
16:42 poet quite straneg
16:42 poet straneg
16:42 Coke LINKARGS        := $(LDFLAGS) $(LD_LOAD_FLAGS) $(LIBPARROT) @icu_shared@ @libs@
16:43 Coke (that's from dynpmc.in)
16:43 Coke so, narrow down whether it's icu_shared or libs.
16:44 Coke (you can just put ## ICU: @icu_shared@  as a comment in root.in or dynpmc.in, rerun configure.pl, and see if that's it.
16:44 Coke (and if not, try @libs@)
16:44 Coke the @foo@ syntax is used by configure to substitute things at config time into the makefile.
16:45 Coke (and I'd do : ## ICU: @icu_shared@ ##
16:45 Coke (so you can see where it ends.)
16:45 poet ok I will do that now, trying to find root.in
16:46 Coke config/gen/makefiles/*.in
16:46 Coke root.in -> top level Makefile
16:46 poet gottacha
16:47 poet so add the string " ##ICU: @icu_shared@" anywhere?
16:49 poet ah gottcha
16:49 poet "## ICU:  -lpthread -lm   -L/opt/local/lib  -licuuc -licudata  -lpthread -lm  \c" in the generated make file
16:51 poet so how does the value of that variable get determined ?
16:54 ash_ poet: do you have icu installed?
17:00 mikehh joined #parrot
17:03 Zak joined #parrot
17:05 iblechbot joined #parrot
17:10 poet ash_: yeah I do
17:11 ash_ thats weird, i don't see where the \c is coming from
17:11 ash_ do you have ack?
17:11 Coke auto/icu.pm
17:11 poet i dont have ack
17:14 Coke I would run that step with verbose output.
17:14 Coke perl Configure.pl --verbose-step=auto:icu
17:15 Coke er, auto::cu
17:15 Coke er, auto::icu
17:16 Coke note that configure.pl also has a --without-icu option to disable ICU entirely.
17:17 ash_ poet: what version of icu do you have? this is strange that I don't get this bug, mine's 4.3.1
17:27 ruoso joined #parrot
17:52 davidfetter joined #parrot
18:01 theory joined #parrot
18:51 mikehh nobody seems interested in #ps at the moment
19:18 theory_ joined #parrot
19:50 Tene bacek_at_work: pong
19:54 Coke Tene!
19:54 payload joined #parrot
19:54 Tene Coke: yes?
19:54 Coke you got me. I got nothing.
19:54 Zak joined #parrot
19:54 Tene Oh. :(
19:55 Tene Not even a "pls maek partcl go!"?
19:55 Coke standing request.
19:55 Coke also, feedback on the one_make branch is spiffy.
19:55 Tene oh, there's a branch?
19:56 Coke yah. i was going to do it piecemeal, but ripping stuff out is more fun.
19:56 Tene I'm make-clueless enough that I wouldn't be able to give any more feedback than whether it builds or not for me.  Is that useful at this point, or no?
19:57 Coke especially useful if you're not using gmake.
19:57 Coke I suspect there are a few missing deps at the moment as I try to detangle the recursive make.
19:57 Tene gmake ≟ "GNU Make 3.81"
19:57 Coke anyone using nmake, that's probably the killer.
19:58 Tene I don't have nmake. :(
19:58 Coke 'sfine.
19:58 Coke so, no, don't bother. =-)
20:01 Tene Okay.
20:01 Tene AFK now.  I need to go show up WAY TOO LATE at work.
20:02 Coke mikehh: moving #ps over here.
20:03 Coke patches welcome if you can figure out where I broke it, or just a paste of the build failure is fine, too.
20:05 joeri joined #parrot
20:51 bacek joined #parrot
21:21 s1n joined #parrot
21:55 ash_ has anyone made any progress on the OpenGL issue in OS X? just curious
22:12 poet joined #parrot
22:13 bacek joined #parrot
22:49 bacek joined #parrot
22:54 payload joined #parrot
23:10 ash__ joined #parrot
23:34 payload joined #parrot
23:39 plobsing joined #parrot
23:49 TiMBuS joined #parrot
23:56 poet joined #parrot

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced