Skip Menu |

This queue is for tickets about the Device-Cdio CPAN distribution.

Report information
The Basics
Id: 28132
Status: resolved
Priority: 0/
Queue: Device-Cdio

People
Owner: Rocky Bernstein (no email address)
Requestors: martin.ferrari [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: v0.3.0



Subject: Problem when building
Date: Thu, 12 Jul 2007 11:49:25 +0100
To: bug-Device-Cdio [...] rt.cpan.org
From: "Martín Ferrari" <martin.ferrari [...] gmail.com>
Hi, when building Device-Cdio, I've got the following error: cc -I/usr/lib/perl/5.8/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-strict-aliasing -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -o perlcdio_wrap.o perlcdio_wrap.c cc: : No existe el fichero o el directorio Tracing it I discover that some string splitting is generating a empty array element that's passed to exec, so cc interprets it as a parameter and it fails. My versions are: This is perl, v5.8.8 built for i486-linux-gnu-thread-multi libextutils-pkgconfig-perl 1.07-1 libmodule-build-perl 0.26-1 The following patch seems to solve the problem: --- Build.PL 2006-09-02 17:40:09.000000000 +0100 +++ ../Build.PL 2007-07-12 11:46:04.000000000 +0100 @@ -318,7 +318,10 @@ } elsif ('darwin' eq $Config{osname}) { $ldflags .= " -bundle -flat_namespace"; } - +$ccflags =~ s/^\s+//; +$ccflags =~ s/\s+$//; +$ldflags =~ s/^\s+//; +$ldflags =~ s/\s+$//; my $class = Module::Build->subclass( code => $code ); my $builder = $class->new( -- Martín Ferrari
Please try with v.0.3.0 which was just released. On Thu Jul 12 06:50:04 2007, martin.ferrari@gmail.com wrote: Show quoted text
> Hi, when building Device-Cdio, I've got the following error: > > cc -I/usr/lib/perl/5.8/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -Wno-strict-aliasing -Wno-unused-function -Wno-unused-value > -Wno-unused-function -Wno-unused-variable -o perlcdio_wrap.o > perlcdio_wrap.c > cc: : No existe el fichero o el directorio > > Tracing it I discover that some string splitting is generating a empty > array element that's passed to exec, so cc interprets it as a > parameter and it fails. > > My versions are: > This is perl, v5.8.8 built for i486-linux-gnu-thread-multi > > libextutils-pkgconfig-perl 1.07-1 > libmodule-build-perl 0.26-1 > > The following patch seems to solve the problem: > > --- Build.PL 2006-09-02 17:40:09.000000000 +0100 > +++ ../Build.PL 2007-07-12 11:46:04.000000000 +0100 > @@ -318,7 +318,10 @@ > } elsif ('darwin' eq $Config{osname}) { > $ldflags .= " -bundle -flat_namespace"; > } > - > +$ccflags =~ s/^\s+//; > +$ccflags =~ s/\s+$//; > +$ldflags =~ s/^\s+//; > +$ldflags =~ s/\s+$//; > my $class = Module::Build->subclass( code => $code ); > > my $builder = $class->new( > > >
I'll assume this was fixed in version 0.3.0. We (the exclusive "we" - which means Jerry Geiger) worked a bit on this kind of issue. So please try with that. If there's still a problem please reopen the ticket or submit a new one. THanks.