[ic] Interchange 5.12.0 rc1

Peter Ajamian peter at pajamian.dhs.org
Fri Apr 10 08:10:09 UTC 2020


Ok, Managed to build and install all the Kitchensink modules for CentOS 
8.  If anyone is interested I've packaged them here:
http://mirror.ghettoforge.org/distributions/gf/el/8/gf/x86_64/

If you want to use them go ahead, I did not recreate modules available 
in any of the CentOS or epel repos, so you must first install 
epel-release and gf-release from the above location, then you enable the 
PowerTools and epel-playground repos, then finally you can do this:
dnf install 'perl(Bundle::InterchangeKitchenSink)' and it will install 
all of the Bundle::Interchange and Bundle::InterchangeKitchenSink 
modules for you.

I also installed postgresql and perl(DBD::Pg).

Then downloaded and installed httpd and interchange 5.12.0 rc1.  I 
installed and attempted to run the test suite and got this in the global 
error.log:

0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:28 -0400] test /cgi-bin/test/index.html Safe: 
Undefined subroutine &main::test
_global_sub called at (tag 'perl') line 1.
 >
 >  test_global_sub('O' . 'K')
 >
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:28 -0400] test /cgi-bin/test/index.html Safe: 
Illegal division by zero at (tag
  'calc') line 1.
 >
 >  2 / 0
 >
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:28 -0400] test /cgi-bin/test/index.html Failed 
intrinsic check 'ic_scratch:scr
atch_acl' for include/test/scratch, denying.
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:28 -0400] test /cgi-bin/test/index.html Failed 
intrinsic check 'ic_scratch:!scratch_acl' for include/test/scratch_deny, 
denying.
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:28 -0400] test /cgi-bin/test/index.html Failed 
intrinsic check 'ic_scratch:!scratch_cmp:foo' for 
include/test/scratch_cmp_deny, denying.
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:28 -0400] test /cgi-bin/test/index.html Failed 
intrinsic check 'ic_scratch:scratch_cmp:foo' for 
include/test/scratch_cmp, denying.
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:28 -0400] test /cgi-bin/test/index.html Failed 
intrinsic check 'ic_session:!session_cmp:foo' for 
include/test/session_cmp_deny, denying.
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:28 -0400] test /cgi-bin/test/index.html Failed 
intrinsic check 'ic_session:session_cmp:foo' for 
include/test/session_cmp, denying.
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:29 -0400] test /cgi-bin/test/index.html Failed 
intrinsic check 'ic_userdb' for include/test/file_acl, denying.
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:29 -0400] test /cgi-bin/test/index.html Safe: 
Attempt to write nonsql::val1::71 in read-only table at 
/usr/local/interchange/lib/Vend/Table/Common.pm line 1664.
 >
 >
 >       my $db = $Db{nonsql};
 >       $db->config('DIE_ERROR', 1);
 >       $db->set_field(71, 'val1', 20)
 >               or push @errs, $db->errstr;
 >       return join "", @errs;
 >
 >
0000:0000:0000:0000:0000:0000:0000:0001 
cBiPZKIP:0000:0000:0000:0000:0000:0000:0000:0001 - 
[10/April/2020:03:52:29 -0400] test /cgi-bin/test/index.html Runtime 
error: Unescaped left brace in regex is illegal here in regex; marked by 
<-- HERE in m/[value foo]=foo_2
 > \$Session->{ <-- HERE values}{foo}=foo_1
 > \$Values->{foo}=foo_1
 >
 > [value bar]=bar_2
 > \$Session->{values}{bar}=bar_1
 > \$Values->{bar}=bar_1
 >
 > [value baz]=baz_2
 > \$Session->{values}{baz}=baz_1
 > \$Values->{baz}=baz_1
 >
 >
 >
 > foo=foo_2 bar=bar_2 baz=baz_2
 >
 > \$Session->{values}{foo}=foo_2
 > \$Session->{values}{bar}=bar_2
 > \$Session->{values}{baz}=baz_2
 >
 >
 > [value foo]=
 > \$Session->{values}{foo}=
 > \$Values->{foo}=
 >
 > [value bar]=
 > \$Session->{values}{bar}=
 > \$Values->{bar}=
 >
 > [value baz]=
 > \$Session->{values}{baz}=
 > \$Values->{baz}=
 > / at (tag 'value') line 25.


Now this is the first time I've actually attempted to use that test 
suite so I may be missing something.  This is also a summary of what I 
did as I was tweaking the whole way through.  Some of the modules 
required jumping through hoops to build, I ended up needing the latest 
git version of Net::SSLeay as anything older wouldn't build against perl 
5.26.3.

I figure after the work I've done so far, I may as well package the new 
IC release for CentOS 8 once it's ready.  If anyone wants to give me 
some pointers about the above so I can run the test suite I'll be grateful.

I haven't tried running strap yet, I'll probably do that next.


Peter


On 6/04/20 5:37 pm, Peter Ajamian wrote:
> On 2/04/20 11:58 am, Peter wrote:
>> On 2/04/20 11:05 am, Jon Jensen wrote:
>>> * CentOS 8 with stock Perl 5.26.3
>>
>> If no one gets to it before me I'll see if I can spin up a C8 VM in 
>> the next few days and run the tests.
> 
> Gotten onto this today, so far havign problems installing Math::Pari 
> which is required by Crypt::Random in Bundle::Interchage.  pari-gp is 
> not packaged for CentOS 8 by any source that I know of and the automatic 
> download of the peri tarball fails to build (seems to be a clash between 
> the version that is downloaded and the perl module itself).  At this 
> stage I'm going to try repackaging pari-gp from fedora rawhide and see 
> how it works out.
> 
> At the end of the day, I have to at least get Bundle::Interchange 
> installed before I can install and test Interchange.
> 
> 
> Peter


More information about the interchange-users mailing list