Skip Menu |

This queue is for tickets about the Mac-Carbon CPAN distribution.

Report information
The Basics
Id: 35815
Status: resolved
Priority: 0/
Queue: Mac-Carbon

People
Owner: Nobody in particular
Requestors: domo [...] computer.org
Cc:
AdminCc:

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



Subject: Mac::Files won't build for 64-bit 5.10.0 on Mac OS X 10.5.2 PPC
I think that the wasp in the sandwich below is "-arch ppc64". I have not looked deeply into what's going wrong in header-land. This error prevents me from installing CPAN::Reporter to tell you of the problem more automatically... cpan[30]> force make Mac::Files Running make for module 'Mac::Files' Running make for C/CN/CNANDOR/Mac-Carbon-0.77.tar.gz CPAN.pm: Going to build C/CN/CNANDOR/Mac-Carbon-0.77.tar.gz Writing Makefile for Mac::AppleEvents Writing Makefile for Mac::Components Writing Makefile for Mac::Files Writing Makefile for Mac::Gestalt Writing Makefile for Mac::InternetConfig Writing Makefile for MacPerl Writing Makefile for Mac::Memory Writing Makefile for Mac::MoreFiles Writing Makefile for Mac::Notification Writing Makefile for Mac::OSA Writing Makefile for Mac::Processes Writing Makefile for Mac::Resources Writing Makefile for Mac::Sound Writing Makefile for Mac::Speech Writing Makefile for Mac::Types Writing Makefile for Mac::Carbon Skip ../blib/lib/Mac/AppleEvents.pm (unchanged) Skip ../blib/lib/Mac/AppleEvents.pod (unchanged) cc -c -I/Developer/Headers/FlatCarbon/ -fno-common -DPERL_DARWIN -no-cpp- precomp -arch ppc64 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include - I/opt/local/include -fpascal-strings -g -O3 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-I/usr/local/lib/perl5/5.10.0/darwin-thread-multi-2level/CORE" AppleEvents.c In file included from AppleEvents.xs:64: ../Carbon.h: In function ‘GUSIFSpUp’: ../Carbon.h:201: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:202: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:203: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:204: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h:208: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:208: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h: In function ‘GUSIFSpDown’: ../Carbon.h:221: error: ‘CInfoPBRec’ undeclared (first use in this function) ../Carbon.h:221: error: (Each undeclared identifier is reported only once ../Carbon.h:221: error: for each function it appears in.) ../Carbon.h:221: error: ‘pb’ undeclared (first use in this function) ../Carbon.h:224: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:225: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:226: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h:232: warning: pointer targets in passing argument 1 of ‘MacPerl_CopyC2P’ differ in signedness ../Carbon.h:239: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:240: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h: In function ‘GUSIFSp2FullPath’: ../Carbon.h:268: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:268: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:269: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:269: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:270: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h:283: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h:283: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h:284: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h:290: warning: pointer targets in assignment differ in signedness ../Carbon.h:292: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness ../Carbon.h: In function ‘GUSIPath2FSp’: ../Carbon.h:310: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:311: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:314: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:314: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:316: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:317: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:324: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:324: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:372: warning: pointer targets in passing argument 2 of ‘GUSIFSpDown’ differ in signedness ../Carbon.h: In function ‘GUSIFSp2Encoding’: ../Carbon.h:388: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h:388: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h:389: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:389: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h:389: error: ‘struct FSSpec’ has no member named ‘name’ ../Carbon.h: In function ‘GUSISpecial2FSp’: ../Carbon.h:397: error: ‘struct FSSpec’ has no member named ‘vRefNum’ ../Carbon.h:397: error: ‘struct FSSpec’ has no member named ‘parID’ ../Carbon.h: In function ‘GUSIFS2FullPath’: ../Carbon.h:409: warning: pointer targets in return differ in signedness AppleEvents.xs: In function ‘XS_Mac__AppleEvents_AECreateAppleEvent’: AppleEvents.xs:647: warning: passing argument 7 of ‘gPAECreate’ makes pointer from integer without a cast AppleEvents.xs: In function ‘XS_Mac__AppleEvents_AEResumeTheCurrentEvent’: AppleEvents.xs:739: warning: passing argument 4 of ‘AEResumeTheCurrentEvent’ makes pointer from integer without a cast AppleEvents.xs: In function ‘XS_Mac__AppleEvents_AEBuildAppleEvent’: AppleEvents.xs:1009: warning: passing argument 7 of ‘gPAECreate’ makes pointer from integer without a cast AppleEvents.xs: In function ‘XS_AEStream_CreateEvent’: AppleEvents.xs:1338: warning: passing argument 7 of ‘gPAECreate’ makes pointer from integer without a cast make[1]: *** [AppleEvents.o] Error 1 make: *** [subdirs] Error 2 CNANDOR/Mac-Carbon-0.77.tar.gz /usr/bin/make -- NOT OK Failed during this command: CNANDOR/Mac-Carbon-0.77.tar.gz : make NO Perl build info: Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=darwin, osvers=9.1.0, archname=darwin-thread-multi-2level uname='darwin tullamore.local 9.1.0 darwin kernel version 9.1.0: wed oct 31 17:48:21 pdt 2007; root:xnu-1228.0.2~1release_ppc power macintosh ' config_args='-de -Aoptimize=-O3 -Duse64bitall -Doptimize=-g -Dusethreads - Dusedevel' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc64 - DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include', optimize='-g -O3', cppflags='-no-cpp-precomp -arch ppc64 -fno-common -DPERL_DARWIN -no-cpp- precomp -arch ppc64 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include - I/opt/local/include' ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc -arch ppc64', ldflags =' -arch ppc64 - L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /opt/local/lib /usr/lib libs=-lgdbm -ldbm -ldb -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib - L/opt/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under darwin Compiled at Dec 21 2007 20:56:27 %ENV: PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" @INC: /sw/lib/perl5 /sw/lib/perl5/darwin /usr/local/lib/perl5/5.10.0/darwin-thread-multi-2level /usr/local/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl .