Perl 6 - the future is here, just unevenly distributed

IRC log for #perl11, 2015-07-04

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

All times shown according to UTC.

Time Nick Message
01:58 willthechill joined #perl11
02:12 ToApolytoXaos I have set up an arch linux based distro and testing it myself
02:12 ToApolytoXaos antergos to be more precise
02:13 ToApolytoXaos it's using Perl 5.22 and produces lots of warnings
02:13 ToApolytoXaos now the problem it seems with regex syntax
02:13 ToApolytoXaos Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE
02:14 ToApolytoXaos even though they are just warnings, I'm currently rerunning the whole procedure to see what's breaking what
02:39 travis-ci RPerl build passed. Will Braswell says 'Generator, C++ Ops C++ Types, Misc, Part 8'
02:39 travis-ci https://travis-ci.org/wbraswell/rperl/builds/69508146 https://github.com/wbraswell/rperl/compare/eea5db723a9b...bca9876afb26
05:11 travis-ci RPerl build passed. Will Braswell says 'Generator, C++ Ops C++ Types, Remove Symlinks'
05:11 travis-ci https://travis-ci.org/wbraswell/rperl/builds/69514148 https://github.com/wbraswell/rperl/compare/bca9876afb26...c2491f380ea8
05:11 willthechill fab
06:46 rurban joined #perl11
08:18 basiliscos joined #perl11
13:28 ToApolytoXaos joined #perl11
18:15 rurban joined #perl11
18:28 ToApolytoXaos where's willthechill when you need him? :(
18:58 willthechill joined #perl11
19:00 willthechill joined #perl11
19:00 willthechill I'm here
19:01 ToApolytoXaos I'm here too
19:01 willthechill great!
19:02 ToApolytoXaos willthechill: I wanted to ask you about the steps, specifically step 0
19:02 ToApolytoXaos there's a contradiction in it in my opinion
19:02 ToApolytoXaos the first note says "NOTE: STEPS 0 AND 1 ARE ONLY FOR SINGLE-USER INSTALL, NOT SYSTEM-WIDE INSTALL"
19:03 ToApolytoXaos but just before the optional installation of astyle, you can see "$ cpan ExtUtils::MakeMaker  # cpan system-wide, not cpanm single-user"
19:03 ToApolytoXaos also this line "$ perl -MExtUtils::MakeMaker\ 999  # v7.04 or greater required by Inline::C", how it should supposed to work?
19:04 willthechill checking now
19:04 ToApolytoXaos awesome
19:06 willthechill okay yes you have found a documentation conflict with step 0 being system-wide or not
19:06 ToApolytoXaos perfect!
19:06 willthechill perl -MExtUtils::MakeMaker\ 999
19:06 ToApolytoXaos yes?
19:06 willthechill paste that into your command line and hit enter
19:06 ToApolytoXaos right away
19:06 willthechill it will tell you what version of EU::MM you have installed
19:06 willthechill the comment tells you that you need v7.04 or greater
19:07 willthechill which we recently discovered as a non-backwards-compatibility bug in the newest version of I::C
19:07 willthechill does that answer your question?
19:08 ToApolytoXaos "ExtUtils::MakeMaker version 999 required--this is only version 7.0401. BEGIN failed---compilation aborted."
19:09 willthechill great, so you have EU::MM v7.0401
19:09 willthechill so you're good
19:09 willthechill at least, you're good for EU::MM
19:09 ToApolytoXaos ah alright; I thought it was problematic
19:10 willthechill Perl is quirky when it comes to checking versions of modules currently installed
19:10 willthechill there are at least 2 methods
19:10 willthechill https://github.com/wbraswell/lampuniversity.org/blob/master/bin/pm_version.pl
19:10 willthechill I have automated both methods in that script
19:10 ToApolytoXaos very nice
19:10 ToApolytoXaos now, let's go to main issue
19:10 ToApolytoXaos antergos like archlinux comes with the latest packages available
19:11 ToApolytoXaos and in case of Perl, they have 5.22 at their avail
19:11 ToApolytoXaos which breaks Inline::CPP and RPerl quite badly
19:11 ToApolytoXaos I have tried to follow the perlbrew step, but again I face issues
19:13 ToApolytoXaos I have also noticed that perlbrew installs local::lib. is this the default behavior? I'm asking, because I haven't used perlbrew before.
19:15 ToApolytoXaos another thing is that package perl-5.20.1 does not exist anymore; it's perl-5.20.2 that is available.
19:15 ToApolytoXaos from perlbrew
19:19 ToApolytoXaos another issue can be found in Strawberry Perl that sees flags in various tests, for example as \D \d instead of /D /d.
19:19 ToApolytoXaos I'm testing it both on Windows XP and on Antergos.
19:25 willthechill I have fixed the curly-brace issue in RPerl which affects perl v5.22
19:25 willthechill the latest github code should fix it in RPerl
19:25 ToApolytoXaos so, what should I do?
19:25 ToApolytoXaos which steps should I follow?
19:25 ToApolytoXaos I'm all ears :)
19:26 willthechill also, rurban already filed a bug report on EYAPP for the same curly-brace issue    https://rt.cpan.org/Public/Bug/Display.html?id=105643
19:26 willthechill simply uninstall RPerl and start over once again, using the github code instead of the CPAN code
19:27 willthechill it is better to put energy toward making sure RPerl works w/ Perl v5.22 instead of going backward to v5.20 with perlbrew etc
19:27 ToApolytoXaos aye aye captain o/
19:29 ToApolytoXaos what about the backslash flags in Strawberry Perl?
19:29 willthechill "one aye is sufficient, ensign"    http://forums.macresource.com/read.php?1,932545    :-)
19:30 willthechill I have no idea about Windows or Strawberry
19:30 willthechill bulk88: we need somebody very special for that job...
19:31 ToApolytoXaos willthechill: I thought all these years that "aye aye captain" was valid thanks to Hollywood movies lol
19:32 willthechill "aye aye" is fine but very formal, and it all depends on nuance and circumstance
19:32 willthechill in Scouts and Starfleet, we generally use one "aye" to agree with and accept directions from our superiors
19:32 willthechill that is, in normal everyday circumstances, like the current discussion between you and I
19:33 willthechill in a highly formal dress uniform ceremony, we might switch to "aye aye"
19:34 willthechill or if the situation is special and you are SUPER excited to follow your superior, then you might shout "AYE AYE SIR!"  or the like, but it will be seen as kindof silly and over-enthusiastic by others perhaps :-)
19:34 ToApolytoXaos OK, then I should say from now on "Sir, yes sir!"
19:34 ToApolytoXaos I've served as national guard and I know lol
19:34 willthechill haha two sirs in one reply is the same example of over-formality as two ayes
19:35 ToApolytoXaos lol
19:35 willthechill I say "yes sir" and "aye sir" all the time
19:35 ToApolytoXaos whatever makes you happy :)
19:35 willthechill indeed!
19:35 willthechill anyway, back on target
19:36 willthechill yes you were correct about the need to update perlbrew INSTALL notes from v5.20.1 to v5.20.2
19:36 willthechill I had updated the manual Perl install notes right above it then rurban reminded me a few weeks ago
19:37 ToApolytoXaos very nice
19:38 ToApolytoXaos we also need to clarify the step 0; my friend got confused and abandoned the testing procedure
19:38 ToApolytoXaos he got really curious with RPerl and wants to try it
19:39 ToApolytoXaos also, the INSTALL should become more generic. it's more convenient for Debian users
19:39 ToApolytoXaos as soon as I finish with archlinux testing, I will test it on Fedora
19:42 willthechill INSTALL notes updated
19:42 willthechill https://github.com/wbraswell/rperl/blob/master/INSTALL
19:42 ToApolytoXaos brilliant
19:42 ToApolytoXaos can you also replace the git part?
19:43 ToApolytoXaos replace git clone git@github.com:wbraswell/rperl.git with git clone https://github.com/wbraswell/rperl.git
19:43 ToApolytoXaos else, we get permission denied
19:46 willthechill done, it will be in my next github push
19:47 ToApolytoXaos perfect!
19:47 ToApolytoXaos :D
19:47 ToApolytoXaos I'm so happy that I have found a collaborative person for once in my life!
19:48 willthechill hahaha yes well I do try
19:50 ToApolytoXaos very much appreciated mate, from the bottom of my heart.
19:51 ToApolytoXaos by the way, it's really weird why Inline::CPP would not work on perlbrew, but works now with local::lib
19:51 willthechill hmmm I have not used perlbrew much at all
19:51 willthechill because Ubuntu has good system perl
19:52 ToApolytoXaos it's really weird, because perlbrew installs local::lib as one of its recursive dependencies
19:52 willthechill right
19:52 ToApolytoXaos maybe somewhere along the procedure attempts to reinstall it?
19:52 willthechill well you can't use perlbrew with your own copy of local::lib already installed
19:52 willthechill https://github.com/wbraswell/rperl/blob/master/INSTALL#L27
19:52 ToApolytoXaos i know
19:53 ToApolytoXaos that's why you remove everything with rm -rf ~/perl5 ;)
19:53 willthechill right
19:53 willthechill well then I really don't know
19:53 willthechill if it is an actual problem we will have to find somebody to help us
19:53 ToApolytoXaos I followed the steps and got this behavior...really strange.
19:53 ToApolytoXaos for sure
19:54 willthechill right now I need to focus on getting RPerl v1.0 ready for release later today
19:54 willthechill :)
19:55 ToApolytoXaos yes, I have noticed the removal of beta 3 from INSTALL ;)
19:56 willthechill quite!
19:59 ToApolytoXaos or quiet, hush :D ?
19:59 willthechill haha BOTH!
19:59 ToApolytoXaos hahaha :D
20:00 willthechill definitely hush hush right now, even though this is a publicly-logged channel
20:00 willthechill everyone will find out with the official announcement later today
20:00 ToApolytoXaos just wait until I finish with my test and then we will see
20:00 ToApolytoXaos I'm an official tester, therefore it should not apply on me ;)
20:00 ToApolytoXaos so, I have nothing to share with public :)
20:01 ToApolytoXaos that's your obligation
20:02 willthechill well you can share everything you like here in this publicly-logged channel
20:03 ToApolytoXaos I'm so anxious right now
20:04 ToApolytoXaos I'm waiting for the tests to finish
20:04 ToApolytoXaos installdeps went perfectly fine; 62 dependencies
20:05 ToApolytoXaos darn it |-( 50, 51, and 52 failed to pass the test
20:05 ToApolytoXaos from ScopeTypeNameValue
20:06 willthechill interesting
20:06 willthechill never seen those fail before!
20:06 willthechill you are using perl v5.22?
20:06 ToApolytoXaos yes
20:06 willthechill hmm
20:07 willthechill well if you can figure out how to fix those failures then we can support v5.22 now
20:07 willthechill otherwise it may have to wait!
20:07 willthechill like, wait until next week or so
20:07 ToApolytoXaos It does not say much
20:07 willthechill you must manually run the tests and debug it
20:07 willthechill if you don't know how, then don't worry about it
20:07 ToApolytoXaos like, "Failed test 'Program interprets and executes without errors:"
20:08 ToApolytoXaos yeah, most probably I will attempt to read the code
20:08 ToApolytoXaos but if I find it hard to understand how it works, then I will wait :)
20:09 willthechill okay sounds good
20:10 ToApolytoXaos why it does not say exactly what went wrong?
20:11 willthechill high-level tests suppress most output for brevity
20:14 ToApolytoXaos my goodness; the test files are OK in my opinion. I don't know why they are not working
20:14 willthechill keep digging
20:14 willthechill :)
20:14 ToApolytoXaos it's only 3 lines!
20:14 ToApolytoXaos it should have returned a string message
20:15 willthechill like I said, you have to run the tests manually and see what is the output
20:15 ToApolytoXaos manually like "RPerl <location/of/test/> ?
20:15 travis-ci RPerl build passed. Will Braswell says 'Generator, C++ Ops C++ Types, Misc, Part 9'
20:15 travis-ci https://travis-ci.org/wbraswell/rperl/builds/69565756 https://github.com/wbraswell/rperl/compare/c2491f380ea8...b83ab3868fe1
20:16 ToApolytoXaos also, I haven't installed RPerl first, because the steps are "make; make test; make install"
20:19 willthechill I don't know which tests are actually failing
20:20 willthechill you told me numbers 50, 51, 52
20:20 willthechill but you didn't say which test file
20:20 willthechill t/0x_fooo.t
20:20 ToApolytoXaos t/06_interpret_execute.t
20:21 ToApolytoXaos LOL I was looking elsewhere
20:22 willthechill t/06 doesn't even call `rperl`
20:22 willthechill it doesn't try to compile anything
20:22 willthechill it just tries to run
20:22 willthechill just plain old run using `perl`
20:22 ToApolytoXaos ok
20:22 willthechill so go ahead and run them plainly using `perl`
20:22 willthechill and see what the error is
20:25 ToApolytoXaos i tried "perl ~/GIT_REPOS/rperl/t/06_interpret_execute.t" and would not work due to "Can't locate RPerl.pm in @INC..."
20:25 ToApolytoXaos obviously I'm trying something in the wrong way
20:26 willthechill cd ~/GIT_REPOS/rperl
20:26 willthechill perl t/06*
20:26 ToApolytoXaos thanks
20:27 ToApolytoXaos the same :/
20:29 willthechill set | grep PERL5LIB
20:30 ToApolytoXaos it's /home/stefanos/perl5/lib/perl5
20:31 willthechill export PERL5LIB=lib:$PERL5LIB
20:31 willthechill then try again
20:32 ToApolytoXaos now it works; thanks
20:32 willthechill great
20:35 ToApolytoXaos subtest lib/RPerl/Test/ScopeTypeNameValue/program_50_good.pl, *51, and *52_good.pl fail
20:37 willthechill just run them
20:38 willthechill lib/RPerl/Test/ScopeTypeNameValue/program_50_good.pl
20:38 willthechill see what is the output
20:39 ToApolytoXaos ok
20:41 ToApolytoXaos program_50_good.pl --> Not a HASH reference at lib/rperlnamespaces.pm line 51
20:42 willthechill okay that's actually USEFUL info!
20:43 willthechill (not sure if I have time to debug it right this second though)
20:43 ToApolytoXaos isn't a backslash supposed to play the role of a reference?
20:43 ToApolytoXaos I haven't covered them yet lol
20:44 willthechill yes but that might not be related to this error
20:45 willthechill not sure, too busy right now!  :/
20:45 ToApolytoXaos no worries mat
20:45 ToApolytoXaos mate
21:07 sivoais joined #perl11
21:15 ToApolytoXaos all three errors produce the same output which means somewhere the 'string' mechanism has a reference problem which I lack the knowledge to fix myself.
21:16 ToApolytoXaos ...darn it :(
21:16 willthechill are those the only 3 problems, all other tests in all other *.t test programs run correctly?
21:19 ToApolytoXaos yes
21:20 willthechill okay I'll try to fix them tonight
21:20 willthechill oh dang maybe not, because I do not have v5.22 installed yet
21:20 willthechill :/
21:20 willthechill I'll work on it soon!
21:27 ToApolytoXaos if it's easier for you, you could just tell me out of multi-year experience where to look exactly
21:27 ToApolytoXaos *of your
21:39 willthechill sorry but that's usually not the way debugging works, I will just have to fix it myself as soon as I can
21:50 ToApolytoXaos okay no problem mate.
21:50 ToApolytoXaos I wish I could help more :/
21:50 willthechill don't worry about it
21:50 willthechill :)
22:05 willthechill ToApolytoXaos: try deleting those 3 .pl files and then re-run the tests and see if everything passes
22:05 willthechill if that works, I will temporarily disable those 3 .pl files
22:05 ToApolytoXaos ok
22:06 willthechill program_50_good.pl, program_51_good.pl, program_52_good.pl
22:06 ToApolytoXaos yeah, I know
22:06 ToApolytoXaos I'm doing it right no
22:06 ToApolytoXaos w
22:20 ToApolytoXaos ^_^ all tests passed!
22:20 willthechill okay great, I will disable on my end and push to github in just a moment, please stand by
22:25 ToApolytoXaos the slow and fast steps were the same as on my Debian
22:26 ToApolytoXaos I'm so happy right now ^_^
22:26 willthechill sweet, standby for new github momentarily
22:26 willthechill go ahead and uninstall again now
22:28 willthechill okay latest github is up now
22:28 willthechill https://github.com/wbraswell/rperl/commit/20778a406fe8ddb3465deef9965c41ac954d3369
22:28 willthechill "Generator, C++ Ops C++ Types, Misc, Part 10"
22:28 ToApolytoXaos brilliant :D
22:28 ToApolytoXaos I'm redoing the procedure right away
22:28 ToApolytoXaos brb
22:28 willthechill I've got to go take care of some important business for a few hours
22:28 willthechill I'll be back in about 2 - 3 hours
22:28 willthechill then I will finish working on v1.0 and release it tonight
22:29 willthechill I hope this quick & temporary fix helps perl v5.22!
22:29 willthechill anyway gotta go, be back later, good luck!  :)
22:31 ToApolytoXaos cheers mate
23:03 travis-ci RPerl build failed. Will Braswell says 'Generator, C++ Ops C++ Types, Misc, Part 10'
23:03 travis-ci https://travis-ci.org/wbraswell/rperl/builds/69576429 https://github.com/wbraswell/rperl/compare/b83ab3868fe1...20778a406fe8
23:10 rurban joined #perl11

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