p5-macosx-file fails to build

Carson H. haloris-ports at yahoo.co.uk
Sun Sep 20 09:11:17 PDT 2009


Hello,

With MP 1.8.0 under 10.6.1, "port install p5-macosx-file" yields:

--->  Building p5-macosx-file
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5 
-macosx-file/work/MacOSX-File-0.71" && /usr/bin/make -j2 all "  
returned error 2
Command output: cp bin/pgetfinfo blib/script/pgetfinfo
/opt/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ 
pgetfinfo
cp bin/psetfinfo blib/script/psetfinfo
/opt/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ 
psetfinfo
cp File.pm blib/lib/MacOSX/File.pm
cp File/Constants.pm blib/lib/MacOSX/File/Constants.pm
AutoSplitting blib/lib/MacOSX/File/Constants.pm (blib/lib/auto/MacOSX/ 
File/Constants)
cp bin/pcpmac blib/script/pcpmac
/opt/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ 
pcpmac
cp bin/pmvmac blib/script/pmvmac
/opt/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ 
pmvmac
cp bin/psync blib/script/psync
/opt/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ 
psync
/opt/local/bin/perl /opt/local/lib/perl5/5.8.9/ExtUtils/xsubpp  - 
typemap /opt/local/lib/perl5/5.8.9/ExtUtils/typemap  Catalog.xs >  
Catalog.xsc && mv Catalog.xsc Catalog.c
cp Catalog.pm ../blib/lib/MacOSX/File/Catalog.pm
AutoSplitting ../blib/lib/MacOSX/File/Catalog.pm (../blib/lib/auto/ 
MacOSX/File/Catalog)
Running Mkbootstrap for MacOSX::File::Catalog ()
chmod 644 Catalog.bs
cp Catalog.bs ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bs
chmod 644 ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bs
/usr/bin/gcc-4.2 -c  -I../ -I/Developer/Headers/FlatCarbon -fno-common  
-DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict- 
aliasing -pipe -I/usr/local/include -I/opt/local/include -O3   - 
DVERSION=\"0.70\" -DXS_VERSION=\"0.70\"  "-I/opt/local/lib/perl5/5.8.9/ 
darwin-2level/CORE"   Catalog.c
Catalog.xs: In function 'xs_getcatalog':
Catalog.xs:70: error: subscripted value is neither array nor pointer
Catalog.xs: In function 'xs_setcatalog':
Catalog.xs:181: error: subscripted value is neither array nor pointer
Catalog.xs: In function 'XS_MacOSX__File__Catalog_xs_setcatalog':
Catalog.xs:263: warning: assignment makes pointer from integer without  
a cast
make[1]: *** [Catalog.o] Error 1
make: *** [subdirs] Error 2

Error: Status 1 encountered during processing.

Have you come across this ?

--



More information about the macports-users mailing list