Skip Menu |

This queue is for tickets about the GCJ-Cni CPAN distribution.

Report information
The Basics
Id: 16950
Status: open
Priority: 0/
Queue: GCJ-Cni

People
Owner: Nobody in particular
Requestors: cpan [...] anarres.org
Cc:
AdminCc:

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



Subject: Compile failure for GCJ::Cni
/usr/bin/perl "-I/usr/lib/perl/5.8" "-I/usr/share/perl/5.8" "/usr/share/perl/5.8/ExtUtils/xsubpp" -noprototypes -typemap "/usr/share/perl/5.8/ExtUtils/typemap" "lib/GCJ/Cni.xs"cc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -include gcj/cni.h -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o lib/GCJ/Cni.o lib/GCJ/Cni.c Cni.xs: In function `void _wrap_JvCreateJavaVM(PerlInterpreter*, CV*)': Cni.xs:1060: error: `JvVMInitArgs' undeclared (first use this function) Cni.xs:1060: error: (Each undeclared identifier is reported only once for each function it appears in.) Cni.xs:1060: error: `arg1' undeclared (first use this function) Cni.xs:1060: error: parse error before `)' token error building .o file from 'lib/GCJ/Cni.c' at /usr/local/share/perl/5.8.4/Module/Build/Base.pm line 2533. make: *** [all] Error 2 /usr/bin/make -- NOT OK
Operating system is debian sarge. gcj version is 3.3 $ perl -V Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Platform: osname=linux, osvers=2.4.27-ti1211, archname=i386-linux-thread-multi uname='linux kosh 2.4.27-ti1211 #1 sun sep 19 18:17:45 est 2004 i686 gnulinux ' $ gcj --version gcj (GCC) 3.3.5 (Debian 1:3.3.5-13) Copyright (C) 2003 Free Software Foundation, Inc. $ dpkg-query -W | grep gcj gcj 4:3.3.5-3 gcj-3.3 1:3.3.5-13 libgcj-common 1:3.3.5-13 libgcj4 1:3.3.5-13 libgcj4-awt 1:3.3.5-13 libgcj4-common 1:3.3.5-13 libgcj4-dev 1:3.3.5-13
Date: Fri, 6 Jan 2006 23:11:19 -0500
From: David Rusek <rusekd [...] umich.edu>
To: bug-GCJ-Cni [...] rt.cpan.org
Subject: Re: [cpan #16950] Compile failure for GCJ::Cni
RT-Send-Cc:
I should have some time to work on this. I coded to 4.x (my mistake). There should be an intuitive fix. -dave On 1/6/06, via RT <bug-GCJ-Cni@rt.cpan.org> wrote: Show quoted text
> > > This message about GCJ-Cni was sent to you by SHEVEK <SHEVEK@cpan.org> via > rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=16950 > > > Operating system is debian sarge. > gcj version is 3.3 > > $ perl -V > Summary of my perl5 (revision 5 version 8 subversion 4) configuration: > Platform: > osname=linux, osvers=2.4.27-ti1211, archname=i386-linux-thread-multi > uname='linux kosh 2.4.27-ti1211 #1 sun sep 19 18:17:45 est 2004 i686 > gnulinux ' > > $ gcj --version > gcj (GCC) 3.3.5 (Debian 1:3.3.5-13) > Copyright (C) 2003 Free Software Foundation, Inc. > > $ dpkg-query -W | grep gcj > gcj 4:3.3.5-3 > gcj-3.3 1:3.3.5-13 > libgcj-common 1:3.3.5-13 > libgcj4 1:3.3.5-13 > libgcj4-awt 1:3.3.5-13 > libgcj4-common 1:3.3.5-13 > libgcj4-dev 1:3.3.5-13 > >
-- David Rusek rusekd@umich.edu
[rusekd@umich.edu - Fri Jan 6 23:12:02 2006]: Show quoted text
> I should have some time to work on this. I coded to 4.x (my mistake). > There should be an intuitive fix.
Yeah, I appreciate that debian isn't always the latest and greatest, but ... Well, even my Gentoo is 3.3.5 and Gentoo tracks things pretty closely. :-) Let me know if I can be of any assistance for testing. I have many different systems and architectures, when I can be bothered to fire them up. S.
From: khris.richardson [...] fastmobile.com
David, I am having a similar issue building this on cygwin... This will be a very valuable resource if I can get it to build. Any suggestions? Thanks. /usr/bin/perl -I_build/lib Build.PL Creating custom builder _build/lib/My/Builder.pm in _build/lib/My Checking whether your kit is complete... Looks good Creating new 'Build' script for 'GCJ-Cni' version '0.03' CPAN: YAML loaded ok /usr/bin/perl Build --makefile_env_macros 1 lib/GCJ/Cni.pm -> blib/lib/GCJ/Cni.pm lib/GCJ/Cni.xs -> lib/GCJ/Cni.c Didn't find a 'MODULE ... PACKAGE ... PREFIX' line /usr/bin/make -- OK Running make test /usr/bin/perl Build --makefile_env_macros 1 test gcc -I/usr/lib/perl5/5.8/cygwin/CORE -x c++ -include gcj/cni.h -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -O3 -o lib/GCJ/Cni.o lib/GCJ/Cni.c lib/GCJ/Cni.xs: In function `int SWIG_Perl_ConvertPtr(SV*, void**, swig_type_info*, int)': lib/GCJ/Cni.xs:754: warning: cast to pointer from integer of different size lib/GCJ/Cni.xs: In function `void _wrap_JvCreateJavaVM(PerlInterpreter*, CV*)': lib/GCJ/Cni.xs:1060: error: `JvVMInitArgs' undeclared (first use this function) lib/GCJ/Cni.xs:1060: error: (Each undeclared identifier is reported only once for each function it appears in.) lib/GCJ/Cni.xs:1060: error: `arg1' undeclared (first use this function) lib/GCJ/Cni.xs:1060: error: expected primary-expression before ')' token lib/GCJ/Cni.xs:1060: error: expected `;' before numeric constant error building .o file from 'lib/GCJ/Cni.c' at /usr/lib/perl5/site_perl/5.8/Module/Build/Base.pm line 2533. make: *** [test] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force $ perl -v This is perl, v5.8.7 built for cygwin-thread-multi-64int (with 1 registered patch, see perl -V for more detail) Copyright 1987-2005, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $ gcj --version gcj (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Subject: Re: [rt.cpan.org #16950] Compile failure for GCJ::Cni
Date: Thu, 9 Feb 2006 16:12:21 -0500
To: bug-GCJ-Cni [...] rt.cpan.org
From: David Rusek <rusekd [...] umich.edu>
What version of GCC are you using? You're probably not using 4.0? This has been a problem. I'm sure there's a fix, let me check. -dave On 2/9/06, Guest via RT <bug-GCJ-Cni@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=16950 > > > David, > > I am having a similar issue building this on cygwin... This will be a > very valuable resource if I can get it to build. Any > suggestions? Thanks. > > /usr/bin/perl -I_build/lib Build.PL > Creating custom builder _build/lib/My/Builder.pm in _build/lib/My > Checking whether your kit is complete... > Looks good > Creating new 'Build' script for 'GCJ-Cni' version '0.03' > CPAN: YAML loaded ok > /usr/bin/perl Build --makefile_env_macros 1 > lib/GCJ/Cni.pm -> blib/lib/GCJ/Cni.pm > lib/GCJ/Cni.xs -> lib/GCJ/Cni.c > Didn't find a 'MODULE ... PACKAGE ... PREFIX' line > /usr/bin/make -- OK > Running make test > /usr/bin/perl Build --makefile_env_macros 1 test > gcc -I/usr/lib/perl5/5.8/cygwin/CORE -x c++ -include gcj/cni.h -c > -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include > -O3 -o lib/GCJ/Cni.o lib/GCJ/Cni.c > lib/GCJ/Cni.xs: In function `int SWIG_Perl_ConvertPtr(SV*, void**, > swig_type_info*, int)': > lib/GCJ/Cni.xs:754: warning: cast to pointer from integer of different > size > lib/GCJ/Cni.xs: In function `void _wrap_JvCreateJavaVM(PerlInterpreter*, > CV*)': > lib/GCJ/Cni.xs:1060: error: `JvVMInitArgs' undeclared (first use this > function) > lib/GCJ/Cni.xs:1060: error: (Each undeclared identifier is reported only > once for each function it appears in.) > lib/GCJ/Cni.xs:1060: error: `arg1' undeclared (first use this function) > lib/GCJ/Cni.xs:1060: error: expected primary-expression before ')' token > lib/GCJ/Cni.xs:1060: error: expected `;' before numeric constant > error building .o file from 'lib/GCJ/Cni.c' at > /usr/lib/perl5/site_perl/5.8/Module/Build/Base.pm line 2533. > make: *** [test] Error 2 > /usr/bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force > > $ perl -v > This is perl, v5.8.7 built for cygwin-thread-multi-64int > (with 1 registered patch, see perl -V for more detail) > > Copyright 1987-2005, Larry Wall > > Perl may be copied only under the terms of either the Artistic License > or the > GNU General Public License, which may be found in the Perl 5 source kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using `man perl' or `perldoc perl'. If you have access to the > Internet, point your browser at http://www.perl.org/, the Perl Home Page. > > $ gcj --version > gcj (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) > Copyright (C) 2004 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. >
-- David Rusek rusekd@umich.edu
Subject: Re: [rt.cpan.org #16950] Compile failure for GCJ::Cni
Date: Thu, 9 Feb 2006 16:12:46 -0500
To: bug-GCJ-Cni [...] rt.cpan.org
From: David Rusek <rusekd [...] umich.edu>
Ok, I didn't read the entire email, you are 3.3.4... yeah, I'll look at this. -dave On 2/9/06, David Rusek <rusekd@umich.edu> wrote: Show quoted text
> > What version of GCC are you using? You're probably not using 4.0? This > has been a problem. I'm sure there's a fix, let me check. > > -dave > > On 2/9/06, Guest via RT <bug-GCJ-Cni@rt.cpan.org> wrote:
> > > > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=16950 > > > > > David, > > > > I am having a similar issue building this on cygwin... This will be a > > very valuable resource if I can get it to build. Any > > suggestions? Thanks. > > > > /usr/bin/perl -I_build/lib Build.PL > > Creating custom builder _build/lib/My/Builder.pm in _build/lib/My > > Checking whether your kit is complete... > > Looks good > > Creating new 'Build' script for 'GCJ-Cni' version '0.03' > > CPAN: YAML loaded ok > > /usr/bin/perl Build --makefile_env_macros 1 > > lib/GCJ/Cni.pm -> blib/lib/GCJ/Cni.pm > > lib/GCJ/Cni.xs -> lib/GCJ/Cni.c > > Didn't find a 'MODULE ... PACKAGE ... PREFIX' line > > /usr/bin/make -- OK > > Running make test > > /usr/bin/perl Build --makefile_env_macros 1 test > > gcc -I/usr/lib/perl5/5.8/cygwin/CORE -x c++ -include gcj/cni.h -c > > -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include > > -O3 -o lib/GCJ/Cni.o lib/GCJ/Cni.c > > lib/GCJ/Cni.xs: In function `int SWIG_Perl_ConvertPtr(SV*, void**, > > swig_type_info*, int)': > > lib/GCJ/Cni.xs:754: warning: cast to pointer from integer of different > > size > > lib/GCJ/Cni.xs: In function `void _wrap_JvCreateJavaVM(PerlInterpreter*, > > CV*)': > > lib/GCJ/Cni.xs:1060: error: `JvVMInitArgs' undeclared (first use this > > function) > > lib/GCJ/Cni.xs:1060: error: (Each undeclared identifier is reported only > > > > once for each function it appears in.) > > lib/GCJ/Cni.xs:1060: error: `arg1' undeclared (first use this function) > > lib/GCJ/Cni.xs:1060: error: expected primary-expression before ')' token > > lib/GCJ/Cni.xs:1060: error: expected `;' before numeric constant > > error building .o file from 'lib/GCJ/Cni.c' at > > /usr/lib/perl5/site_perl/5.8/Module/Build/Base.pm line 2533. > > make: *** [test] Error 2 > > /usr/bin/make test -- NOT OK > > Running make install > > make test had returned bad status, won't install without force > > > > $ perl -v > > This is perl, v5.8.7 built for cygwin-thread-multi-64int > > (with 1 registered patch, see perl -V for more detail) > > > > Copyright 1987-2005, Larry Wall > > > > Perl may be copied only under the terms of either the Artistic License > > or the > > GNU General Public License, which may be found in the Perl 5 source kit. > > > > Complete documentation for Perl, including FAQ lists, should be found on > > this system using `man perl' or `perldoc perl'. If you have access to > > the > > Internet, point your browser at http://www.perl.org/, the Perl Home > > Page. > > > > $ gcj --version > > gcj (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) > > Copyright (C) 2004 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There is > > NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > > PURPOSE. > >
> > > > -- > David Rusek > rusekd@umich.edu >
-- David Rusek rusekd@umich.edu
From: dasnyderx [...] yahoo.com
On Thu Feb 09 16:14:40 2006, rusekd@umich.edu wrote: Show quoted text
> Ok, I didn't read the entire email, you are 3.3.4... yeah, I'll look at > this. > > -dave > > On 2/9/06, David Rusek <rusekd@umich.edu> wrote:
> >
...snip... Show quoted text
> > -- > David Rusek > rusekd@umich.edun
David, Any progress on this bug? I'm encoutering the same problem on my slack-current box with gcc-3.4.6. $ gcc --version gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ perl --version This is perl, v5.8.8 built for i486-linux Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. David Snyder