Skip Menu |

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

Report information
The Basics
Id: 107161
Status: resolved
Priority: 0/
Queue: Mac-SystemDirectory

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

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



Subject: Can't install on OS X 10.10.5: ld: library not found for -lgcc_s.10.4
OS X 10.10.5 perl 5.22.0 cpanm Mac::SystemDirectory $ cpanm Mac::SystemDirectory --> Working on Mac::SystemDirectory Fetching http://www.cpan.org/authors/id/C/CH/CHANSEN/Mac-SystemDirectory-0.06.tar.gz ... OK Configuring Mac-SystemDirectory-0.06 ... OK Building and testing Mac-SystemDirectory-0.06 ... FAIL ! Installing Mac::SystemDirectory failed. See /Users/jhannah/.cpanm/build.log for details. $ cat /Users/jhannah/.cpanm/build.log cpanm (App::cpanminus) 1.5017 on perl 5.022000 built for darwin-2level Work directory is /Users/jhannah/.cpanm/work/1442578529.57766 You have make /usr/bin/make You have LWP 6.13 You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3 You have /usr/bin/unzip Searching Mac::SystemDirectory on cpanmetadb ... --> Working on Mac::SystemDirectory Fetching http://www.cpan.org/authors/id/C/CH/CHANSEN/Mac-SystemDirectory-0.06.tar.gz -> OK Unpacking Mac-SystemDirectory-0.06.tar.gz Entering Mac-SystemDirectory-0.06 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (7.04_01) Configuring Mac-SystemDirectory-0.06 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Mac::SystemDirectory Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0.86 ... Yes (1.001014) Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (7.04_01) Building and testing Mac-SystemDirectory-0.06 cp lib/Mac/SystemDirectory.pm blib/lib/Mac/SystemDirectory.pm Running Mkbootstrap for Mac::SystemDirectory () chmod 644 "SystemDirectory.bs" "/Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/bin/perl" "-Iinc" "/Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/ExtUtils/xsubpp" -typemap "/Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/ExtUtils/typemap" SystemDirectory.xs > SystemDirectory.xsc && mv SystemDirectory.xsc SystemDirectory.c cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -O3 -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" "-I/Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/darwin-2level/CORE" -ObjC -DHAS_BOOL SystemDirectory.c SystemDirectory.xs:8:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif Move ^ // SystemDirectory.xs:12:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif I_POLL ^ // SystemDirectory.xs:92:12: warning: enumeration values 'NSAutosavedInformationDirectory', 'NSApplicationScriptsDirectory', and 'NSTrashDirectory' not handled in switch [-Wswitch] switch(directory) { ^ 3 warnings generated. rm -f blib/arch/auto/Mac/SystemDirectory/SystemDirectory.bundle env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong -lobjc -framework CoreFoundation -framework Foundation SystemDirectory.o -o blib/arch/auto/Mac/SystemDirectory/SystemDirectory.bundle \ \ ld: library not found for -lgcc_s.10.4 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [blib/arch/auto/Mac/SystemDirectory/SystemDirectory.bundle] Error 1 -> FAIL Installing Mac::SystemDirectory failed. See /Users/jhannah/.cpanm/build.log for details.
$ uname -a Darwin jhannah-iMac 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
There appear to be no test reports for perl 5.22.0 OS X kernel 14.5.0 http://www.cpantesters.org/distro/M/Mac-SystemDirectory.html I was going to submit my results to testers via App::cpanminus::reporter, but guess what? I can't install that either, because that too wants Mac::SystemDirectory. :)
Huh. Working fine for a couple other people: https://github.com/garu/Data-Printer/issues/72#issuecomment-141461533 So maybe this is just me somehow? Adding perl -V in case it's important: $ perl -V Summary of my perl5 (revision 5 version 22 subversion 0) configuration: Platform: osname=darwin, osvers=14.4.0, archname=darwin-2level uname='darwin jhannah-imac 14.4.0 darwin kernel version 14.4.0: thu may 28 11:35:04 pdt 2015; root:xnu-2782.30.5~1release_x86_64 x86_64 ' config_args='-de -Dprefix=/Users/jhannah/perl5/perlbrew/perls/perl-5.22.0 -Aeval:scriptdir=/Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/bin' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include', optimize='-O3', cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3 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', ldflags =' -fstack-protector-strong -L/usr/local/lib' libpth=/usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib libs=-lpthread -ldbm -ldl -lm -lutil -lc perllibs=-lpthread -ldl -lm -lutil -lc libc=, 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 -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF Built under darwin Compiled at Jul 31 2015 16:16:32 %ENV: PERLBREW_BASHRC_VERSION="0.64" PERLBREW_HOME="/Users/jhannah/.perlbrew" PERLBREW_MANPATH="/Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/man" PERLBREW_PATH="/Users/jhannah/perl5/perlbrew/bin:/Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/bin" PERLBREW_PERL="perl-5.22.0" PERLBREW_ROOT="/Users/jhannah/perl5/perlbrew" PERLBREW_VERSION="0.64" @INC: /Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/darwin-2level /Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0 /Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/darwin-2level /Users/jhannah/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0 .
Huh. XCode update and compile works fine. <3 computers. :)