Skip Menu |

This queue is for tickets about the SPVM CPAN distribution.

Report information
The Basics
Id: 128555
Status: resolved
Priority: 0/
Queue: SPVM

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

Bug Information
Severity: (no value)
Broken in:
  • 0.0415
  • 0.0418
  • 0.0419
  • 0.0420
  • 0.0421
Fixed in: 0.0424



Subject: Compilation error on FreeBSD systems
SPVM-0.0415 and 0.0416 does not compile anymore on FreeBSD: ... cc -I/usr/local/lib/perl5/5.28/mach/CORE -DPIC -fPIC -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/home/cpansand/.cpan/build/2019021906/SPVM-0.0416-2/blib/lib/SPVM/Builder/include -I/usr/home/cpansand/.cpan/build/2019021906/SPVM-0.0416-2/blib/lib -std=c99 -Ispvm_build/inlcude -O3 -o spvm_build/work/tmp/SPVM/CORE.o lib/SPVM/CORE.c lib/SPVM/CORE.c:37:18: error: member reference base type 'void' is not a structure or union int32_t ch = getc(fh); ^~~~~~~~ /usr/include/stdio.h:498:35: note: expanded from macro 'getc' #define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp)) ^~~~~~~~~~~ /usr/include/stdio.h:455:26: note: expanded from macro '__sgetc' #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++)) ~~~^ ~~ lib/SPVM/CORE.c:37:18: error: member reference base type 'void' is not a structure or union int32_t ch = getc(fh); ^~~~~~~~ ...
Subject: Re: [rt.cpan.org #128555] Compilation error on FreeBSD systems
Date: Thu, 21 Feb 2019 07:48:50 +0900
To: bug-SPVM [...] rt.cpan.org
From: Yuki Kimoto <kimoto.yuki [...] gmail.com>
recently, I add file i/o features to SPVM. I'm thinking about good file i/o in SPVM now. I will fix it. 2019年2月19日(火) 15:48 Slaven_Rezic via RT <bug-SPVM@rt.cpan.org>: Show quoted text
> Tue Feb 19 01:48:28 2019: Request 128555 was acted upon. > Transaction: Ticket created by SREZIC > Queue: SPVM > Subject: Compilation error on FreeBSD systems > Broken in: 0.0415 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=128555 > > > > SPVM-0.0415 and 0.0416 does not compile anymore on FreeBSD: > > ... > cc -I/usr/local/lib/perl5/5.28/mach/CORE -DPIC -fPIC -c -DHAS_FPSETMASK > -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong > -I/usr/local/include -D_FORTIFY_SOURCE=2 > -I/usr/home/cpansand/.cpan/build/2019021906/SPVM-0.0416-2/blib/lib/SPVM/Builder/include > -I/usr/home/cpansand/.cpan/build/2019021906/SPVM-0.0416-2/blib/lib -std=c99 > -Ispvm_build/inlcude -O3 -o spvm_build/work/tmp/SPVM/CORE.o lib/SPVM/CORE.c > lib/SPVM/CORE.c:37:18: error: member reference base type 'void' is not a > structure or union > int32_t ch = getc(fh); > ^~~~~~~~ > /usr/include/stdio.h:498:35: note: expanded from macro 'getc' > #define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp)) > ^~~~~~~~~~~ > /usr/include/stdio.h:455:26: note: expanded from macro '__sgetc' > #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++)) > ~~~^ ~~ > lib/SPVM/CORE.c:37:18: error: member reference base type 'void' is not a > structure or union > int32_t ch = getc(fh); > ^~~~~~~~ > ... >
RT-Send-CC: kimoto.yuki [...] gmail.com
It seems that the recent version is fine. On 2019-02-20 17:49:14, kimoto.yuki@gmail.com wrote: Show quoted text
> recently, I add file i/o features to SPVM. > > I'm thinking about good file i/o in SPVM now. > > I will fix it. > > > 2019年2月19日(火) 15:48 Slaven_Rezic via RT <bug-SPVM@rt.cpan.org>: >
> > Tue Feb 19 01:48:28 2019: Request 128555 was acted upon. > > Transaction: Ticket created by SREZIC > > Queue: SPVM > > Subject: Compilation error on FreeBSD systems > > Broken in: 0.0415 > > Severity: (no value) > > Owner: Nobody > > Requestors: SREZIC@cpan.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=128555 > > > > > > > SPVM-0.0415 and 0.0416 does not compile anymore on FreeBSD: > > > > ... > > cc -I/usr/local/lib/perl5/5.28/mach/CORE -DPIC -fPIC -c > > -DHAS_FPSETMASK > > -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector- > > strong > > -I/usr/local/include -D_FORTIFY_SOURCE=2 > > -I/usr/home/cpansand/.cpan/build/2019021906/SPVM-0.0416- > > 2/blib/lib/SPVM/Builder/include > > -I/usr/home/cpansand/.cpan/build/2019021906/SPVM-0.0416-2/blib/lib > > -std=c99 > > -Ispvm_build/inlcude -O3 -o spvm_build/work/tmp/SPVM/CORE.o > > lib/SPVM/CORE.c > > lib/SPVM/CORE.c:37:18: error: member reference base type 'void' is > > not a > > structure or union > > int32_t ch = getc(fh); > > ^~~~~~~~ > > /usr/include/stdio.h:498:35: note: expanded from macro 'getc' > > #define getc(fp) (!__isthreaded ? __sgetc(fp) : (getc)(fp)) > > ^~~~~~~~~~~ > > /usr/include/stdio.h:455:26: note: expanded from macro '__sgetc' > > #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++)) > > ~~~^ ~~ > > lib/SPVM/CORE.c:37:18: error: member reference base type 'void' is > > not a > > structure or union > > int32_t ch = getc(fh); > > ^~~~~~~~ > > ... > >