Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: cpan [...] danonline.net
Cc:
AdminCc: cnandor [...] cpan.org

Bug Information
Severity: Critical
Broken in:
  • 0.71
  • 0.77
Fixed in: (no value)



Subject: Creator and Type Tests Fail on Intel SR MacBook Pro
The tests don't fail for the reason you might think. In fact, I'm reporting this as a bug only because it prevents the installation of Mac::Carbon. (Which, believe it or not, is indirectly a dependency of Bundle::CPAN). As far as I can tell, the tests fail because the build of Mac OS X that comes with this MacBook Pro Santa Rosa 2.2 GHz does not have a creator code or file type for the file the tests are checking. Mac::Carbon 0.71 (which seems to come installed), the GetFileInfo tool in the Developer Tools, and AppleScript all seem to agree: /System/Library/CoreServices/Finder is missing a creator code and file type. On every other Mac I checked, the same file has the expected creator code and file type. What is that file, anyway? It's zero bytes and is not the same as Finder.app in the same folder. If I can be of any help, let me know. If it appears I've completely misdiagnosed the problem, please also let me know. :) If you would like, I'll install from the media that came with the computer to another partition to verify that this is the case on a clean system. Thank you. Mac::Carbon is beyond wonderful. -Daniel Axelrod Details: Rosa:~/.cpan/build/Mac-Carbon-0.77-Vgdv1U me$ prove -b MacPerl/t/MacPerl.t MacPerl/t/MacPerl....ok 1/13 # Failed test 'creator of '/System/Library/CoreServices/Finder'' # at MacPerl/t/MacPerl.t line 67. # got: '' # expected: 'MACS' MacPerl/t/MacPerl....NOK 5/13 # Failed test 'type of '/System/Library/CoreServices/Finder'' # at MacPerl/t/MacPerl.t line 68. # got: '' # expected: 'FNDR' MacPerl/t/MacPerl....NOK 6/13# Looks like you failed 2 tests of 13. MacPerl/t/MacPerl....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 5-6 Rosa:~/ me$ /Developer/Tools/GetFileInfo /System/Library/CoreServices/Finder file: "/System/Library/CoreServices/Finder" type: "" creator: "" attributes: aVbstclinmedz created: 12/07/2006 11:42:37 modified: 12/07/2006 11:42:37 Rosa:~/ me$ osascript -e 'Tell application "Finder" to info for alias "Finder" of folder "CoreServices" of folder "Library" of folder "System" of the startup disk' name:Finder, creation date:Friday, December 22, 2006 1:10:58 AM, modification date:Friday, December 22, 2006 1:10:58 AM, icon position:0, 0, size:7.46792E+6, folder:false, alias:false, package folder:false, visible:true, extension hidden:false, name extension:missing value, displayed name:Finder, kind:Unix Executable File, file type:, file creator:, type identifier:missing value, locked:false, busy status:false, short version:, long version: Rosa:~/ me$ perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level uname='darwin b48.apple.com 8.0 darwin kernel version 8.3.0: mon oct 3 20:04:04 pdt 2005; root:xnu-792.6.22.obj~2release_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5363) (+4864187)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, 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', ldflags ='-L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: 23953 - fix for File::Path::rmtree CAN-2004-0452 security issue 33990 - fix for setuid perl security issues SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under darwin Compiled at Dec 7 2006 09:01:25 %ENV: PERL5_CPANPLUS_IS_RUNNING="1" PERL5_CPAN_IS_RUNNING="1" @INC: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 . rosa:~/ qwertyd$ uname -a Darwin rosa 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386 #Mac OS X Intel 10.4.10
Gah, forgot to add that the filesystem is HFS+ Journaled, case INsensitive.