Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Package-Stash-XS CPAN distribution.

Report information
The Basics
Id: 69506
Status: rejected
Priority: 0/
Queue: Package-Stash-XS

People
Owner: Nobody in particular
Requestors: liuxiang921 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.21
  • 0.22
Fixed in: (no value)



Subject: making error occured on Mac OS X 10.6.8
The following error occured during installing: propmt > sudo make Skip blib/lib/Package/Stash/XS.pm (unchanged) gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common - DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"0.22\" - DXS_VERSION=\"0.22\" "-I/System/Library/Perl/5.10.0/darwin-thread-multi- 2level/CORE" XS.c XS.xs: In function ‘XS_Package__Stash__XS_add_symbol’: XS.xs:479: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘I32’ XS.xs:479: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘I32’ /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed Installed assemblers are: /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64 /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 XS.xs: In function ‘XS_Package__Stash__XS_add_symbol’: XS.xs:479: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘I32’ XS.xs:479: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘I32’ lipo: can't open input file: /var/tmp//ccItBMgK.out (No such file or directory) make: *** [XS.o] Error 2
From: liuxiang921 [...] gmail.com
module name: Package-Stash-XS-0.22/0.21 OS: Darwin localhost 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 Perl ver: perl 5.10.0 在2011-七月-15 11:58:07 星期五时,lululau写到: Show quoted text
> The following error occured during installing: > > propmt > sudo make > Skip blib/lib/Package/Stash/XS.pm (unchanged) > gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe > -fno-common - > DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os > -DVERSION=\"0.22\" - > DXS_VERSION=\"0.22\" "-I/System/Library/Perl/5.10.0/darwin-thread- > multi- > 2level/CORE" XS.c > XS.xs: In function ‘XS_Package__Stash__XS_add_symbol’: > XS.xs:479: warning: format ‘%d’ expects type ‘int’, but > argument 3 has type ‘I32’ > XS.xs:479: warning: format ‘%d’ expects type ‘int’, but > argument 4 has type ‘I32’ > /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler > (/usr/bin/../libexec/gcc/darwin/ppc/as or > /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not > installed > Installed assemblers are: > /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture > x86_64 > /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 > XS.xs: In function ‘XS_Package__Stash__XS_add_symbol’: > XS.xs:479: warning: format ‘%d’ expects type ‘int’, but > argument 3 has type ‘I32’ > XS.xs:479: warning: format ‘%d’ expects type ‘int’, but > argument 4 has type ‘I32’ > lipo: can't open input file: /var/tmp//ccItBMgK.out (No such > file or directory) > make: *** [XS.o] Error 2
remove '-arch ppc' in Makefile then run make again could be a workaround 在 2011-七月-15 12:07:07 星期五 時,lululau 寫到: Show quoted text
> module name: > Package-Stash-XS-0.22/0.21 > > OS: > Darwin localhost 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 > PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 > > Perl ver: > perl 5.10.0 > > > 在2011-七月-15 11:58:07 星期五時,lululau寫到:
> > The following error occured during installing: > > > > propmt > sudo make > > Skip blib/lib/Package/Stash/XS.pm (unchanged) > > gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe > > -fno-common - > > DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os > > -DVERSION=\"0.22\" - > > DXS_VERSION=\"0.22\" "-I/System/Library/Perl/5.10.0/darwin-thread- > > multi- > > 2level/CORE" XS.c > > XS.xs: In function 『XS_Package__Stash__XS_add_symbol': > > XS.xs:479: warning: format 『%d' expects type 『int', but > > argument 3 has type 『I32』 > > XS.xs:479: warning: format 『%d' expects type 『int', but > > argument 4 has type 『I32』 > > /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler > > (/usr/bin/../libexec/gcc/darwin/ppc/as or > > /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not > > installed > > Installed assemblers are: > > /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture > > x86_64 > > /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 > > XS.xs: In function 『XS_Package__Stash__XS_add_symbol': > > XS.xs:479: warning: format 『%d' expects type 『int', but > > argument 3 has type 『I32』 > > XS.xs:479: warning: format 『%d' expects type 『int', but > > argument 4 has type 『I32』 > > lipo: can't open input file: /var/tmp//ccItBMgK.out (No such > > file or directory) > > make: *** [XS.o] Error 2
> >
From: liuxiang921 [...] gmail.com
It does work! Thanks~ 在2011-七月-18 09:20:42 星期一时,ALEC写到: Show quoted text
> remove '-arch ppc' in Makefile > then run make again could be a workaround > > 在 2011-七月-15 12:07:07 星期五 時,lululau 寫到:
> > module name: > > Package-Stash-XS-0.22/0.21 > > > > OS: > > Darwin localhost 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7
> 16:33:36
> > PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 > > > > Perl ver: > > perl 5.10.0 > > > > > > 在2011-七月-15 11:58:07 星期五時,lululau寫到:
> > > The following error occured during installing: > > > > > > propmt > sudo make > > > Skip blib/lib/Package/Stash/XS.pm (unchanged) > > > gcc-4.2 -c -arch x86_64 -arch i386 -arch ppc -g -pipe > > > -fno-common - > > > DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -Os > > > -DVERSION=\"0.22\" - > > > DXS_VERSION=\"0.22\" "-I/System/Library/Perl/5.10.0/darwin-
> thread-
> > > multi- > > > 2level/CORE" XS.c > > > XS.xs: In function 『XS_Package__Stash__XS_add_symbol': > > > XS.xs:479: warning: format 『%d' expects type 『int', but > > > argument 3 has type 『I32』 > > > XS.xs:479: warning: format 『%d' expects type 『int', but > > > argument 4 has type 『I32』 > > > /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as:
> assembler
> > > (/usr/bin/../libexec/gcc/darwin/ppc/as or > > > /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc
> not
> > > installed > > > Installed assemblers are: > > > /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture > > > x86_64 > > > /usr/bin/../libexec/gcc/darwin/i386/as for architecture
> i386
> > > XS.xs: In function 『XS_Package__Stash__XS_add_symbol': > > > XS.xs:479: warning: format 『%d' expects type 『int', but > > > argument 3 has type 『I32』 > > > XS.xs:479: warning: format 『%d' expects type 『int', but > > > argument 4 has type 『I32』 > > > lipo: can't open input file: /var/tmp//ccItBMgK.out (No
> such
> > > file or directory) > > > make: *** [XS.o] Error 2
> > > >
> >
This appears to be a misconfigured system, rather than any issue with Package::Stash::XS (I haven't seen any other failures on OSX in any case). Feel free to reopen this if there are any specific changes that I should be making here.