Skip Menu |

This queue is for tickets about the Sys-Virt CPAN distribution.

Report information
The Basics
Id: 65783
Status: resolved
Priority: 0/
Queue: Sys-Virt

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

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



Subject: Virt.xs:4081: error: VIR_DOMAIN_MEMORY_PARAM_UNLIMITED undeclared (first use in this function)
Date: Wed, 16 Feb 2011 15:39:12 +0100
To: bug-Sys-Virt [...] rt.cpan.org
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Hi Trying to build Sys-Virt with current libvirt 0.8.7 in Debian unstable it fails with: /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap Virt.xs Show quoted text
> Virt.xsc && mv Virt.xsc Virt.c
cc -c -Wall -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARG EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.2.5\" -DXS_VERSION=\"0.2.5\" -fPIC "-I/usr/lib/perl/5.10/CORE" Virt.c Virt.xs: In function 'boot_Sys__Virt': Virt.xs:4081: error: 'VIR_DOMAIN_MEMORY_PARAM_UNLIMITED' undeclared (first use in this function) Virt.xs:4081: error: (Each undeclared identifier is reported only once Virt.xs:4081: error: for each function it appears in.) make[1]: *** [Virt.o] Error 1 The list of for the module relevant packages installed for the build are: Setting up libdevel-symdump-perl (2.08-4) ... Setting up liburi-perl (1.58-1) ... Setting up libhtml-tagset-perl (3.20-2) ... Setting up libhtml-parser-perl (3.68-1) ... Setting up libhtml-tree-perl (4.1-1) ... Setting up libio-stringy-perl (2.110-4) ... Setting up libpod-coverage-perl (0.21-1) ... Setting up libtest-pod-coverage-perl (1.08-3) ... Setting up libtest-pod-perl (1.44-1) ... Setting up libvirt0 (0.8.7-2) ... Setting up libxen-dev (4.0.1-2) ... Setting up libvirt-dev (0.8.7-2) ... Setting up libwww-perl (5.837-1) ... Setting up libxml-parser-perl (2.36-1.1+b1) ... Setting up libxml-xpath-perl (1.13-7) ... Any idea on build failure? Bests Salvatore
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

On Wed Feb 16 09:39:23 2011, CARNIL wrote: Show quoted text
> Hi > > Trying to build Sys-Virt with current libvirt 0.8.7 in Debian unstable > it fails with: > > /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap > /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap Virt.xs
> > Virt.xsc && mv Virt.xsc Virt.c
> cc -c -Wall -D_REENTRANT -D_GNU_SOURCE -DDEBIAN > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -D_LARG > EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.2.5\" > -DXS_VERSION=\"0.2.5\" -fPIC "-I/usr/lib/perl/5.10/CORE" > Virt.c > Virt.xs: In function 'boot_Sys__Virt': > Virt.xs:4081: error: 'VIR_DOMAIN_MEMORY_PARAM_UNLIMITED' undeclared > (first use in this function) > Virt.xs:4081: error: (Each undeclared identifier is reported only once > Virt.xs:4081: error: for each function it appears in.) > make[1]: *** [Virt.o] Error 1
I accidentally included code that references this constant from libvirt GIT, rather than 0.8.7. I'm uploading a Sys-Virt 0.2.6 which removes this constant again.
Subject: Re: [rt.cpan.org #65783] Virt.xs:4081: error: VIR_DOMAIN_MEMORY_PARAM_UNLIMITED undeclared (first use in this function)
Date: Thu, 17 Feb 2011 08:06:10 +0100
To: "Daniel P. Berrange via RT" <bug-Sys-Virt [...] rt.cpan.org>
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Hi! On Wed, Feb 16, 2011 at 04:00:26PM -0500, Daniel P. Berrange via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=65783 > > > On Wed Feb 16 09:39:23 2011, CARNIL wrote:
> > Hi > > > > Trying to build Sys-Virt with current libvirt 0.8.7 in Debian unstable > > it fails with: > > > > /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap > > /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap Virt.xs
> > > Virt.xsc && mv Virt.xsc Virt.c
> > cc -c -Wall -D_REENTRANT -D_GNU_SOURCE -DDEBIAN > > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > > -D_LARG > > EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.2.5\" > > -DXS_VERSION=\"0.2.5\" -fPIC "-I/usr/lib/perl/5.10/CORE" > > Virt.c > > Virt.xs: In function 'boot_Sys__Virt': > > Virt.xs:4081: error: 'VIR_DOMAIN_MEMORY_PARAM_UNLIMITED' undeclared > > (first use in this function) > > Virt.xs:4081: error: (Each undeclared identifier is reported only once > > Virt.xs:4081: error: for each function it appears in.) > > make[1]: *** [Virt.o] Error 1
> > I accidentally included code that references this constant from libvirt > GIT, rather than 0.8.7. I'm uploading a Sys-Virt 0.2.6 which removes > this constant again.
Thanks, build works now with 0.8.7. Bests Salvatore
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.