Skip Menu |

This queue is for tickets about the Devel-DTrace CPAN distribution.

Report information
The Basics
Id: 32151
Status: resolved
Priority: 0/
Queue: Devel-DTrace

People
Owner: andy [...] hexten.net
Requestors: jeremiah [...] cpan.org
Cc:
AdminCc:

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



Subject: Install on Leopard with Perl 5.8.8 fails
Hello! I still get errors when trying to install DTrace on OS X, but the bug looks to be coming from upstream or at least lives in a C file: cpan[2]> force install Devel::DTrace Running install for module 'Devel::DTrace' Running make for A/AN/ANDYA/Devel-DTrace-0.03.tar.gz Has already been unwrapped into directory /var/root/.cpan/build/Devel- DTrace-0.03-x16GbU CPAN.pm: Going to build A/AN/ANDYA/Devel-DTrace-0.03.tar.gz cc -c -Wall -O3 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/ System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE" runops.c runops.c: In function '_curcv': runops.c:10: error: 'dVAR' undeclared (first use in this function) runops.c:10: error: (Each undeclared identifier is reported only once runops.c:10: error: for each function it appears in.) make: *** [runops.o] Error 1 ANDYA/Devel-DTrace-0.03.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: ANDYA/Devel-DTrace-0.03.tar.gz : make NO To me it looks like runops.c is the problem so maybe this should bug report should be sent to Sun or Apple. Hrm. :/
On Tue Jan 08 03:52:54 2008, jeremiah wrote: Show quoted text
> Hello! > > I still get errors when trying to install DTrace on OS X, but the bug > looks to be coming from upstream or at least lives in a C file: > > cpan[2]> force install Devel::DTrace > Running install for module 'Devel::DTrace' > Running make for A/AN/ANDYA/Devel-DTrace-0.03.tar.gz > Has already been unwrapped into directory /var/root/.cpan/build/Devel- > DTrace-0.03-x16GbU > > CPAN.pm: Going to build A/AN/ANDYA/Devel-DTrace-0.03.tar.gz
Yeah, I'm afraid I was testing against Perl 5.10 at that point :) 0.05 is on CPAN now and it should build cleanly for you. Let me know if it doesn't. Thanks for the report.
Subject: Devel::DTrace 0.05 Install on Leopard with Perl 5.8.8 fails
I am using version 0.05 of Devel::DTrace now and getting a different error on my machine with a 'force install' while in cpan: CPAN.pm: Going to build A/AN/ANDYA/Devel-DTrace-0.06.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Devel::DTrace cp lib/Devel/DTrace.pm blib/lib/Devel/DTrace.pm /usr/sbin/dtrace -h -s plxsdtrace.d -o plxsdtrace.h cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp- precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/ include -O3 -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" "-I/System/ Library/Perl/5.8.8/darwin-thread-multi-2level/CORE" runops.c /usr/bin/perl /System/Library/Perl/5.8.8/ExtUtils/xsubpp -typemap / System/Library/Perl/5.8.8/ExtUtils/typemap DTrace.xs > DTrace.xsc && mv DTrace.xsc DTrace.c cc -c -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp- precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/local/ include -O3 -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" "-I/System/ Library/Perl/5.8.8/darwin-thread-multi-2level/CORE" DTrace.c Running Mkbootstrap for Devel::DTrace () chmod 644 DTrace.bs rm -f blib/arch/auto/Devel/DTrace/DTrace.bundle cc -mmacosx-version-min=10.5 -arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib runops.o DTrace.o -o blib/arch/auto/ Devel/DTrace/DTrace.bundle /usr/bin/ld: for architecture ppc /usr/bin/ld: can't locate file for: -lgcc_s.10.5 collect2: ld returned 1 exit status /usr/bin/ld: for architecture i386 /usr/bin/ld: can't locate file for: -lgcc_s.10.5 collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//cckrZiL4.out (No such file or directory) make: *** [blib/arch/auto/Devel/DTrace/DTrace.bundle] Error 1 ANDYA/Devel-DTrace-0.06.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: ANDYA/Devel-DTrace-0.06.tar.gz : make NO root@Slice:/Users/jeremiah gcc -v Using built-in specs. Target: i686-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure -- disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- enable-languages=c,objc,c++,obj-c++ --program-transform-name=/ ^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona -- with-tune=generic --program-prefix= --host=i686-apple-darwin8 -- target=i686-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5367) I inlcuded some output from gcc as well just in case that might be useful. Not really sure about the error message from ld though, looks like it wants a file that it cannot find.
From: andy [...] hexten.net
On Wed Jan 09 06:01:42 2008, jeremiah wrote: Show quoted text
> /usr/bin/ld: for architecture ppc > /usr/bin/ld: can't locate file for: -lgcc_s.10.5 > collect2: ld returned 1 exit status > /usr/bin/ld: for architecture i386 > /usr/bin/ld: can't locate file for: -lgcc_s.10.5 > collect2: ld returned 1 exit status > lipo: can't open input file: /var/tmp//cckrZiL4.out (No such file or > directory) > make: *** [blib/arch/auto/Devel/DTrace/DTrace.bundle] Error 1
Hmm. Now /that's/ odd. No idea what that's about and can't reproduce it here. I think I'll need to wait for some more test reports to find out whether that's a typical problem or not. I guess you're using the gcc that comes with the XCode tools?
From: jeremiah [...] cpan.org
On Sat Jan 12 06:12:14 2008, ANDYA wrote: Show quoted text
> On Wed Jan 09 06:01:42 2008, jeremiah wrote:
> > /usr/bin/ld: for architecture ppc > > /usr/bin/ld: can't locate file for: -lgcc_s.10.5 > > collect2: ld returned 1 exit status > > /usr/bin/ld: for architecture i386 > > /usr/bin/ld: can't locate file for: -lgcc_s.10.5 > > collect2: ld returned 1 exit status > > lipo: can't open input file: /var/tmp//cckrZiL4.out (No such file or > > directory) > > make: *** [blib/arch/auto/Devel/DTrace/DTrace.bundle] Error 1
> > Hmm. Now /that's/ odd. No idea what that's about and can't reproduce > it here. I think I'll need > to wait for some more test reports to find out whether that's a > typical problem or not.
Fair enough. :) Show quoted text
> I guess you're using the gcc that comes with the XCode tools?
I assume so yes, I will have to dig into that. I did not download a new gcc or install XCode with Leopard, my gcc is older, from Tiger. That may be the problem.
Subject: Install on Leopard with Perl 5.8.8 fails (Using older XCode)
Show quoted text
> I guess you're using the gcc that comes with the XCode tools?
I am using XCode 2.4.1, and Leopard comes with XCode 3.0. I am going to update to XCode 3 to see if I can eliminate this problem.
I haven't been able to reproduce this specific problem but I've made a number of changes and it now tests cleanly for me on Perls 5.8.8 and 5.10.0 on OpenSolaris and Leopard. I'm closing this ticket because it's unlikely to be valid in the light of the changes I've made.