Opened 14 years ago

Closed 13 years ago

#21568 closed defect (fixed)

p5-macosx-file fails to build (carbon)

Reported by: bayonne Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: LP64 Cc:
Port: p5-macosx-file

Description (last modified by mf2k (Frank Schima))

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.

Change History (5)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to ricci@…

comment:2 Changed 14 years ago by tobypeterson

Keywords: LP64 added; snowleopard removed
Priority: Not setNormal

comment:3 Changed 14 years ago by tobypeterson

Summary: p5-macosx-file fails to build on snowleopardp5-macosx-file fails to build (carbon)

comment:4 Changed 14 years ago by jmroot (Joshua Root)

I've set supported_archs to "i386 ppc" in r70784.

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Calling this fixed since anything further will have to be done upstream.

Note: See TracTickets for help on using tickets.