Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile on OSX #1

Closed
koorchik opened this issue May 21, 2012 · 0 comments
Closed

Cannot compile on OSX #1

koorchik opened this issue May 21, 2012 · 0 comments

Comments

@koorchik
Copy link

cpanm (App::cpanminus) 1.5007 on perl 5.012003 built for darwin-thread-multi-2level
Work directory is /Users/koorchik/.cpanm/work/1337585965.38014
You have make /usr/bin/make
You have LWP 6.03
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Mojo::Base::XS on cpanmetadb ...
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.62)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.55)
--> Working on Mojo::Base::XS
Fetching http://search.cpan.org/CPAN/authors/id/Y/YK/YKO/Mojo-Base-XS-0.05.tar.gz
-> OK
Unpacking Mojo-Base-XS-0.05.tar.gz
Entering Mojo-Base-XS-0.05
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.57 ... Yes (6.62)
Configuring Mojo-Base-XS-0.05
Running Makefile.PL
*** Module::AutoInstall version 1.04
*** Checking for Perl dependencies...
*** Since we're running under cpanminus, I'll just let it take care
    of the dependency's installation later.
[Core Features]
- Test::More ...loaded. (0.98)
- XSLoader   ...loaded. (0.10)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for Mojo::Base::XS
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (0.98)
Checking if you have ExtUtils::MakeMaker 6.62 ... Yes (6.62)
Checking if you have Test::More 0 ... Yes (0.98)
Checking if you have XSLoader 0 ... Yes (0.10)
Building and testing Mojo-Base-XS-0.05

cp lib/Mojo/Base/XS.pm blib/lib/Mojo/Base/XS.pm
/usr/bin/perl "-Iinc" /System/Library/Perl/5.12/ExtUtils/xsubpp  -typemap /System/Library/Perl/5.12/ExtUtils/typemap  XS.xs > XS.xsc && mv XS.xsc XS.c
llvm-gcc-4.2 -c   -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os   -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\"  "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE"   XS.c
Running Mkbootstrap for Mojo::Base::XS ()
chmod 644 XS.bs
rm -f blib/arch/auto/Mojo/Base/XS/XS.bundle
llvm-gcc-4.2 -mmacosx-version-min=10.7  -arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector XS.o  -o blib/arch/auto/Mojo/Base/XS/XS.bundle     \
                \

chmod 755 blib/arch/auto/Mojo/Base/XS/XS.bundle
cp XS.bs blib/arch/auto/Mojo/Base/XS/XS.bs
chmod 644 blib/arch/auto/Mojo/Base/XS/XS.bs
Manifying blib/man3/Mojo::Base::XS.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00.load.t t/mojo-base-xs.t t/mojo-base.t t/perlcritic.t t/pod-coverage.t t/pod.t
# Testing Mojo::Base::XS 0.05
t/00.load.t ....... ok
panic: MUTEX_LOCK (22) [CXSAccessor.h:103] at /Users/koorchik/.cpanm/work/1337585965.38014/Mojo-Base-XS-0.05/blib/lib/Mojo/Base/XS.pm line 52.
Compilation failed in require at t/mojo-base-xs.t line 8.
BEGIN failed--compilation aborted at t/mojo-base-xs.t line 8.
# Looks like your test exited with 255 before it could output anything.
t/mojo-base-xs.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/9 subtests 
panic: MUTEX_LOCK (22) [CXSAccessor.h:103] at /Users/koorchik/.perl5/lib/perl5/Mojo/Base.pm line 41.
Compilation failed in require at /Users/koorchik/.perl5/lib/perl5/Mojo/Base.pm line 32.
BEGIN failed--compilation aborted at /Users/koorchik/.cpanm/work/1337585965.38014/Mojo-Base-XS-0.05/t/lib/BaseTest/Base2.pm line 2.
Compilation failed in require at (eval 9) line 2.
        ...propagated at /System/Library/Perl/5.12/base.pm line 94.
BEGIN failed--compilation aborted at t/mojo-base.t line 44.
t/mojo-base.t ..... 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/perlcritic.t .... skipped: Test::Perl::Critic required to criticise code
t/pod-coverage.t .. ok
t/pod.t ........... ok

Test Summary Report
-------------------
t/mojo-base-xs.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 9 tests but ran 0.
t/mojo-base.t   (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=6, Tests=3,  0 wallclock secs ( 0.04 usr  0.02 sys +  0.26 cusr  0.04 csys =  0.36 CPU)
Result: FAIL
Failed 2/6 test programs. 0/3 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing Mojo::Base::XS failed. See /Users/koorchik/.cpanm/build.log for details.

@yko yko closed this as completed in d90e18e May 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant