[MacPorts] #19130: p5-macosx-file 0.71_1 fails to build on Tiger

MacPorts noreply at macports.org
Thu Apr 2 12:26:10 PDT 2009


#19130: p5-macosx-file 0.71_1 fails to build on Tiger
---------------------------------+------------------------------------------
 Reporter:  devans@…             |       Owner:  ricci@…           
     Type:  defect               |      Status:  new               
 Priority:  Normal               |   Milestone:  Port Bugs         
Component:  ports                |     Version:  1.8.0             
 Keywords:  tiger                |        Port:  p5-macosx-file    
---------------------------------+------------------------------------------
 10.4.11 ppc, XCode 2.5

 Upgrading from p5-macosx-file 0.71_0 to p5-macosx-file 0.71_1 fails as
 follows
 {{{
 --->  Building p5-macosx-file
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_macports_trunk_dports_perl_p5-macosx-
 file/work/MacOSX-File-0.71" && make all " returned error 2
 Command output: chmod 755
 ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle
 cp Catalog.bs ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bs
 chmod 644 ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bs
 Manifying ../blib/man3/MacOSX::File::Catalog.3pm
 cp Copy.pm ../blib/lib/MacOSX/File/Copy.pm
 /opt/local/bin/perl
 /Volumes/wdc-320/opt/local/lib/perl5/vendor_perl/5.8.8/ExtUtils/xsubpp
 -typemap /opt/local/lib/perl5/5.8.9/ExtUtils/typemap  Copy.xs > Copy.xsc
 && mv Copy.xsc Copy.c
 /usr/bin/gcc-4.0 -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"
 Copy.c
 In file included from Copy.xs:12:
 ../common/util.c: In function 'dirname':
 ../common/util.c:57: warning: pointer targets in passing argument 1 of
 'strncpy' differ in signedness
 ../common/util.c:60: warning: pointer targets in return differ in
 signedness
 ../common/util.c: In function 'basename':
 ../common/util.c:73: warning: pointer targets in passing argument 1 of
 'strncpy' differ in signedness
 ../common/util.c:75: warning: pointer targets in return differ in
 signedness
 ../common/util.c: In function 'str2pstr':
 ../common/util.c:80: warning: pointer targets in passing argument 1 of
 'strlen' differ in signedness
 ../common/util.c:81: warning: pointer targets in passing argument 1 of
 'strncpy' differ in signedness
 ../common/util.c:81: warning: pointer targets in passing argument 2 of
 'strncpy' differ in signedness
 In file included from Copy.xs:13:
 filecopy.c: In function 'newfile':
 filecopy.c:63: warning: pointer targets in passing argument 1 of
 'FSPathMakeRef' differ in signedness
 filecopy.c:66: warning: pointer targets in passing argument 1 of
 'Utf8toUni' differ in signedness
 filecopy.c:77: warning: pointer targets in passing argument 1 of
 'FSPathMakeRef' differ in signedness
 filecopy.c: In function 'filecopy':
 filecopy.c:184: error: 'kPOSIXErrorBase' undeclared (first use in this
 function)
 filecopy.c:184: error: (Each undeclared identifier is reported only once
 filecopy.c:184: error: for each function it appears in.)
 filecopy.c:193: error: 'kPOSIXErrorERANGE' undeclared (first use in this
 function)
 make[1]: *** [Copy.o] Error 1
 make: *** [subdirs] Error 2
 }}}

 kPOSIXErrorBase, kPOSIXErrorERANGE are symbols that were first
 introduced in 10.5, not available in 10.4, 10.3.

 p5-macosx-file 0.71_0 builds correctly on 10.4.

 See
 [http://developer.apple.com/documentation/Carbon/Reference/CoreServicesRefUpdate/Articles/CoreServices_10.4-10.5_SymbolChanges.html
 10.5 Symbol Changes]

-- 
Ticket URL: <http://trac.macports.org/ticket/19130>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list