Skip Menu |

This queue is for tickets about the JSON-DWIW CPAN distribution.

Report information
The Basics
Id: 35040
Status: resolved
Priority: 0/
Queue: JSON-DWIW

People
Owner: Nobody in particular
Requestors: Gary.Ashton-Jones [...] LexisNexis.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: JSON-DWIW-0.23 install fails on Solaris 9
Date: Tue, 15 Apr 2008 11:28:43 +1000
To: <bug-JSON-DWIW [...] rt.cpan.org>
From: "Ashton-Jones, Gary ( LNG - AUS)" <Gary.Ashton-Jones [...] LexisNexis.com.au>
gcc -c -Ilibjsonevt -mcpu=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -fPIC "-I/opt/opensource/perl-5.10.0/lib/5.10.0/sun4-solaris-64/CORE" -DHAVE_JSONEVT -DNO_VERSION_IN_ERROR libjsonevt/jsonevt.c libjsonevt/jsonevt.c: In function 'jsonevt_parse_file': libjsonevt/jsonevt.c:1852: error: 'MAP_FILE' undeclared (first use in this function) libjsonevt/jsonevt.c:1852: error: (Each undeclared identifier is reported only once libjsonevt/jsonevt.c:1852: error: for each function it appears in.) make: *** [jsonevt.o] Error 1 Perl config: Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=solaris, osvers=2.9, archname=sun4-solaris-64 uname='sunos athena 5.9 generic_118558-34 sun4u sparc sunw,ultra-60 solaris ' config_args='-Dcc=gcc -Dprefix=/opt/opensource/perl-5.10.0 -Duse64bitall -des -Aldflags=-mcpu=v9 -m64 -Alddlflags=-mcpu=v9 -m64 -shared' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-mcpu=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-mcpu=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.2.3', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' -m64 -mcpu=v9 -m64 -L/usr/lib/sparcv9 -L/usr/local/lib ' libpth=/usr/lib/sparcv9 /usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E' cccdlflags='-fPIC', lddlflags=' -G -m64 -mcpu=v9 -m64 -shared -Wl,-E -G -L/usr/lib/sparcv9 -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Built under solaris Compiled at Apr 14 2008 13:19:07 @INC: /opt/opensource/perl-5.10.0/lib/5.10.0/sun4-solaris-64 /opt/opensource/perl-5.10.0/lib/5.10.0 /opt/opensource/perl-5.10.0/lib/site_perl/5.10.0/sun4-solaris-64 /opt/opensource/perl-5.10.0/lib/site_perl/5.10.0 . Gary Ashton-Jones Web Developer LexisNexis 02 9422 2322 "Lots of folks confuse bad management with destiny." -- Kim Hubbard "Dad is so unlucky when he drinks and drives" -- Lisa Simpson This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's permission. We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this e-mail. We cannot accept liability for any loss or damage caused by software viruses.
This should be fixed in version 0.24, which was just uploaded to CPAN. You can also download it from http://perl.regexguy.com/dist/JSON-DWIW-0.24.tar.gz.
Subject: RE: [rt.cpan.org #35040] JSON-DWIW-0.24 also install fails on Solaris 9
Date: Tue, 15 Apr 2008 15:06:35 +1000
To: <bug-JSON-DWIW [...] rt.cpan.org>
From: "Ashton-Jones, Gary ( LNG - AUS)" <Gary.Ashton-Jones [...] LexisNexis.com.au>
gcc -c -Ilibjsonevt -mcpu=v9 -m64 -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.24\" -DXS_VERSION=\"0.24\" -fPIC "-I/opt/opensource/perl-5.10.0/lib/5.10.0/sun4-solaris-64/CORE" -DHAVE_JSONEVT -DNO_VERSION_IN_ERROR libjsonevt/utf8.c In file included from libjsonevt/uni.h:26, from libjsonevt/utf8.h:26, from libjsonevt/utf8.c:23: libjsonevt/int_defs.h:17:20: error: stdint.h: No such file or directory In file included from libjsonevt/utf8.c:23: libjsonevt/utf8.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'utf8_bytes_to_unicode' libjsonevt/utf8.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'utf8_unicode_to_bytes' libjsonevt/utf8.c:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'utf8_bytes_to_unicode' libjsonevt/utf8.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'utf8_unicode_to_bytes' make: *** [utf8.o] Error 1 DOWENS/JSON-DWIW-0.24.tar.gz Show quoted text
-----Original Message----- From: Don Owens via RT [mailto:bug-JSON-DWIW@rt.cpan.org] Sent: Tuesday, 15 April 2008 2:57 PM To: Ashton-Jones, Gary ( LNG - AUS) Subject: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris 9 <URL: http://rt.cpan.org/Ticket/Display.html?id=35040 > This should be fixed in version 0.24, which was just uploaded to CPAN. You can also download it from http://perl.regexguy.com/dist/JSON-DWIW-0.24.tar.gz. This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's permission. We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this e-mail. We cannot accept liability for any loss or damage caused by software viruses.
I've hopefully fixed it in version 0.25. Can you try it and let me know? http://perl.regexguy.com/dist/JSON-DWIW-0.25.tar.gz Thanks! Don On Tue Apr 15 01:07:28 2008, Gary.Ashton-Jones@LexisNexis.com.au wrote: Show quoted text
> > gcc -c -Ilibjsonevt -mcpu=v9 -m64 -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O > -DVERSION=\"0.24\" -DXS_VERSION=\"0.24\" -fPIC > "-I/opt/opensource/perl-5.10.0/lib/5.10.0/sun4-solaris-64/CORE" > -DHAVE_JSONEVT -DNO_VERSION_IN_ERROR libjsonevt/utf8.c > In file included from libjsonevt/uni.h:26, > from libjsonevt/utf8.h:26, > from libjsonevt/utf8.c:23: > libjsonevt/int_defs.h:17:20: error: stdint.h: No such file or > directory > In file included from libjsonevt/utf8.c:23: > libjsonevt/utf8.h:32: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_bytes_to_unicode' > libjsonevt/utf8.h:33: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_unicode_to_bytes' > libjsonevt/utf8.c:29: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_bytes_to_unicode' > libjsonevt/utf8.c:113: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_unicode_to_bytes' > make: *** [utf8.o] Error 1 > DOWENS/JSON-DWIW-0.24.tar.gz > > -----Original Message----- > From: Don Owens via RT [mailto:bug-JSON-DWIW@rt.cpan.org] > Sent: Tuesday, 15 April 2008 2:57 PM > To: Ashton-Jones, Gary ( LNG - AUS) > Subject: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris > 9 > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=35040 > > > This should be fixed in version 0.24, which was just uploaded to CPAN. > You can also download it from > http://perl.regexguy.com/dist/JSON-DWIW-0.24.tar.gz. > > This e-mail is for the use of the intended recipient(s) only. If you > have > received this e-mail in error, please notify the sender immediately > and then > delete it. If you are not the intended recipient, you must not use, > disclose > or distribute this e-mail without the author's permission. We have > taken > precautions to minimise the risk of transmitting software viruses, but > we > advise you to carry out your own virus checks on any attachment to > this e-mail. > We cannot accept liability for any loss or damage caused by software > viruses.
Subject: RE: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris 9
Date: Thu, 17 Apr 2008 15:17:05 +1000
To: <bug-JSON-DWIW [...] rt.cpan.org>
From: "Ashton-Jones, Gary ( LNG - AUS)" <Gary.Ashton-Jones [...] LexisNexis.com.au>

Message body is not shown because it is too large.

Subject: RE: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris 9
Date: Thu, 17 Apr 2008 15:23:37 +1000
To: <bug-JSON-DWIW [...] rt.cpan.org>
From: "Ashton-Jones, Gary ( LNG - AUS)" <Gary.Ashton-Jones [...] LexisNexis.com.au>
Many of the tests work if I use 'prove' not 'make test'. The main problem seems to be a ref to 'asprintf'. Looks very close to working. Cheers Gary ================================================ # prove -b t/*.t t/00use....................ok t/01encode.................ok t/02decode.................ok t/03parse_constants........ok t/04extras.................ok t/05exceptions.............ok t/06big_numbers............ok t/07magic..................ok t/08pvxv...................ok t/09bool...................ok t/10unicode................ok t/11parse_file.............1/24 Argument "0e+" isn't numeric in subroutine entry at /home/ashtonjg/.cpan/build/JSON-DWIW-0.25-AbShar/blib/lib/JSON/DWIW.pm line 538. t/11parse_file.............ok t/12error..................ld.so.1: perl: fatal: relocation error: file /home/ashtonjg/.cpan/build/JSON-DWIW-0.25-AbShar/blib/arch/auto/JSON/DWI W/DWIW.so: symbol asprintf: referenced symbol not found t/12error.................. Failed 26/26 subtests t/13stats..................ok t/14nonoo..................ok t/15bom....................ok t/deser01..................ok t/deser02_constants........ok t/deser03_extras...........1/19 ld.so.1: perl: fatal: relocation error: file /home/ashtonjg/.cpan/build/JSON-DWIW-0.25-AbShar/blib/arch/auto/JSON/DWI W/DWIW.so: symbol asprintf: referenced symbol not found t/deser03_extras........... Failed 2/19 subtests t/deser04_exceptions.......ld.so.1: perl: fatal: relocation error: file /home/ashtonjg/.cpan/build/JSON-DWIW-0.25-AbShar/blib/arch/auto/JSON/DWI W/DWIW.so: symbol asprintf: referenced symbol not found t/deser04_exceptions....... Failed 1/1 subtests t/deser05_big_numbers......ok t/deser06_bool.............ok t/deser07_error............ld.so.1: perl: fatal: relocation error: file /home/ashtonjg/.cpan/build/JSON-DWIW-0.25-AbShar/blib/arch/auto/JSON/DWI W/DWIW.so: symbol asprintf: referenced symbol not found t/deser07_error............ Failed 19/19 subtests t/deser08_stats............ok t/deser09_edge.............ld.so.1: perl: fatal: relocation error: file /home/ashtonjg/.cpan/build/JSON-DWIW-0.25-AbShar/blib/arch/auto/JSON/DWI W/DWIW.so: symbol asprintf: referenced symbol not found t/deser09_edge............. Failed 10/10 subtests t/deser10_bom..............1/5 ld.so.1: perl: fatal: relocation error: file /home/ashtonjg/.cpan/build/JSON-DWIW-0.25-AbShar/blib/arch/auto/JSON/DWI W/DWIW.so: symbol asprintf: referenced symbol not found t/deser10_bom.............. Failed 4/5 subtests t/deser11_file.............ok t/deser12_unicode..........1/2 ld.so.1: perl: fatal: relocation error: file /home/ashtonjg/.cpan/build/JSON-DWIW-0.25-AbShar/blib/arch/auto/JSON/DWI W/DWIW.so: symbol asprintf: referenced symbol not found t/deser12_unicode.......... Failed 1/2 subtests t/deser13_escapes..........ok t/from_json01_escapes......ok t/tickets..................ok Test Summary Report ------------------- t/12error.t (Wstat: 9 Tests: 0 Failed: 0) Parse errors: Bad plan. You planned 26 tests but ran 0. t/deser03_extras.t (Wstat: 9 Tests: 17 Failed: 0) Parse errors: Bad plan. You planned 19 tests but ran 17. t/deser04_exceptions.t (Wstat: 9 Tests: 0 Failed: 0) Parse errors: Bad plan. You planned 1 tests but ran 0. t/deser07_error.t (Wstat: 9 Tests: 0 Failed: 0) Parse errors: Bad plan. You planned 19 tests but ran 0. t/deser09_edge.t (Wstat: 9 Tests: 0 Failed: 0) Parse errors: Bad plan. You planned 10 tests but ran 0. t/deser10_bom.t (Wstat: 9 Tests: 1 Failed: 0) Parse errors: Bad plan. You planned 5 tests but ran 1. t/deser12_unicode.t (Wstat: 9 Tests: 1 Failed: 0) Parse errors: Bad plan. You planned 2 tests but ran 1. Files=31, Tests=270, 29 wallclock secs ( 1.09 usr 0.53 sys + 24.81 cusr 3.07 csys = 29.50 CPU) Result: FAIL Show quoted text
-----Original Message----- From: Don Owens via RT [mailto:bug-JSON-DWIW@rt.cpan.org] Sent: Thursday, 17 April 2008 2:18 PM To: Ashton-Jones, Gary ( LNG - AUS) Subject: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris 9 <URL: http://rt.cpan.org/Ticket/Display.html?id=35040 > I've hopefully fixed it in version 0.25. Can you try it and let me know? http://perl.regexguy.com/dist/JSON-DWIW-0.25.tar.gz Thanks! Don On Tue Apr 15 01:07:28 2008, Gary.Ashton-Jones@LexisNexis.com.au wrote:
> > gcc -c -Ilibjsonevt -mcpu=v9 -m64 -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O > -DVERSION=\"0.24\" -DXS_VERSION=\"0.24\" -fPIC > "-I/opt/opensource/perl-5.10.0/lib/5.10.0/sun4-solaris-64/CORE" > -DHAVE_JSONEVT -DNO_VERSION_IN_ERROR libjsonevt/utf8.c In file > included from libjsonevt/uni.h:26, > from libjsonevt/utf8.h:26, > from libjsonevt/utf8.c:23: > libjsonevt/int_defs.h:17:20: error: stdint.h: No such file or > directory In file included from libjsonevt/utf8.c:23: > libjsonevt/utf8.h:32: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_bytes_to_unicode' > libjsonevt/utf8.h:33: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_unicode_to_bytes' > libjsonevt/utf8.c:29: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_bytes_to_unicode' > libjsonevt/utf8.c:113: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_unicode_to_bytes' > make: *** [utf8.o] Error 1 > DOWENS/JSON-DWIW-0.24.tar.gz > > -----Original Message----- > From: Don Owens via RT [mailto:bug-JSON-DWIW@rt.cpan.org] > Sent: Tuesday, 15 April 2008 2:57 PM > To: Ashton-Jones, Gary ( LNG - AUS) > Subject: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris > 9 > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=35040 > > > This should be fixed in version 0.24, which was just uploaded to CPAN. > You can also download it from > http://perl.regexguy.com/dist/JSON-DWIW-0.24.tar.gz. > > This e-mail is for the use of the intended recipient(s) only. If you > have received this e-mail in error, please notify the sender > immediately and then delete it. If you are not the intended > recipient, you must not use, disclose or distribute this e-mail > without the author's permission. We have taken precautions to > minimise the risk of transmitting software viruses, but we advise you > to carry out your own virus checks on any attachment to this e-mail. > We cannot accept liability for any loss or damage caused by software > viruses.
This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's permission. We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this e-mail. We cannot accept liability for any loss or damage caused by software viruses.
Subject: RE: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris 9
Date: Fri, 18 Apr 2008 08:10:04 +1000
To: <bug-JSON-DWIW [...] rt.cpan.org>
From: "Ashton-Jones, Gary ( LNG - AUS)" <Gary.Ashton-Jones [...] LexisNexis.com.au>
Further to my email about linking failures in the tests, I think that is a problem with my Config file, not your problem. I'm trying to coerce my Config into using the GNU loader rather than calling the Solaris one because I'm using gcc to compile and the location errors in the test are a sure indicator that the wrong loader is in operation. I'll let you know when I succeed. But many thanks for the compile fix. Rgds Gary Show quoted text
-----Original Message----- From: Don Owens via RT [mailto:bug-JSON-DWIW@rt.cpan.org] Sent: Thursday, 17 April 2008 2:18 PM To: Ashton-Jones, Gary ( LNG - AUS) Subject: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris 9 <URL: http://rt.cpan.org/Ticket/Display.html?id=35040 > I've hopefully fixed it in version 0.25. Can you try it and let me know? http://perl.regexguy.com/dist/JSON-DWIW-0.25.tar.gz Thanks! Don On Tue Apr 15 01:07:28 2008, Gary.Ashton-Jones@LexisNexis.com.au wrote:
> > gcc -c -Ilibjsonevt -mcpu=v9 -m64 -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O > -DVERSION=\"0.24\" -DXS_VERSION=\"0.24\" -fPIC > "-I/opt/opensource/perl-5.10.0/lib/5.10.0/sun4-solaris-64/CORE" > -DHAVE_JSONEVT -DNO_VERSION_IN_ERROR libjsonevt/utf8.c In file > included from libjsonevt/uni.h:26, > from libjsonevt/utf8.h:26, > from libjsonevt/utf8.c:23: > libjsonevt/int_defs.h:17:20: error: stdint.h: No such file or > directory In file included from libjsonevt/utf8.c:23: > libjsonevt/utf8.h:32: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_bytes_to_unicode' > libjsonevt/utf8.h:33: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_unicode_to_bytes' > libjsonevt/utf8.c:29: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_bytes_to_unicode' > libjsonevt/utf8.c:113: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'utf8_unicode_to_bytes' > make: *** [utf8.o] Error 1 > DOWENS/JSON-DWIW-0.24.tar.gz > > -----Original Message----- > From: Don Owens via RT [mailto:bug-JSON-DWIW@rt.cpan.org] > Sent: Tuesday, 15 April 2008 2:57 PM > To: Ashton-Jones, Gary ( LNG - AUS) > Subject: [rt.cpan.org #35040] JSON-DWIW-0.23 install fails on Solaris > 9 > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=35040 > > > This should be fixed in version 0.24, which was just uploaded to CPAN. > You can also download it from > http://perl.regexguy.com/dist/JSON-DWIW-0.24.tar.gz. > > This e-mail is for the use of the intended recipient(s) only. If you > have received this e-mail in error, please notify the sender > immediately and then delete it. If you are not the intended > recipient, you must not use, disclose or distribute this e-mail > without the author's permission. We have taken precautions to > minimise the risk of transmitting software viruses, but we advise you > to carry out your own virus checks on any attachment to this e-mail. > We cannot accept liability for any loss or damage caused by software > viruses.
This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's permission. We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this e-mail. We cannot accept liability for any loss or damage caused by software viruses.
I believe this bug is fixed in the current version. Please reopen if not.