BUG: osxutils fails to build under Leopard
Reported by: |
cabanela@… |
Owned by: |
waqar@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.5.2
|
Keywords:
|
|
Cc:
|
|
Port:
|
|
|
|
I attempted to compile osxutils 1.6 under MacOS 10.5.1 and it fails quickly with this error:
--> Building osxutils with target -target osxutils
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_osxutils/work/osxutils-1.6" && /usr/bin/xcodebuild -target osxutils build " returned error 1
Command output: src/fileinfo.c: At top level:
src/fileinfo.c:525: error: conflicting types for 'FSMakePath'
src/fileinfo.c:511: error: previous implicit declaration of 'FSMakePath' was here
src/fileinfo.c:539: error: conflicting types for 'GetSizeString'
src/fileinfo.c:242: error: previous implicit declaration of 'GetSizeString' was here
src/fileinfo.c:605: warning: conflicting types for 'OSTypeToStr'
src/fileinfo.c:391: warning: previous implicit declaration of 'OSTypeToStr' was here
src/fileinfo.c:615: error: conflicting types for 'GetDateTimeStringFromUTCDateTime'
src/fileinfo.c:372: error: previous implicit declaration of 'GetDateTimeStringFromUTCDateTime' was here
src/fileinfo.c: In function 'GetDateTimeStringFromUTCDateTime':
src/fileinfo.c:625: warning: 'LongDateString' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h:506)
src/fileinfo.c:626: warning: 'LongTimeString' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DateTimeUtils.h:529)
src/fileinfo.c:628: warning: 'CopyPascalStringToC' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:620)
src/fileinfo.c:628: warning: passing argument 2 of 'CopyPascalStringToC' from incompatible pointer type
src/fileinfo.c:629: warning: 'CopyPascalStringToC' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:620)
src/fileinfo.c:629: warning: passing argument 2 of 'CopyPascalStringToC' from incompatible pointer type
src/fileinfo.c:631: warning: passing argument 2 of 'strcpy' from incompatible pointer type
src/fileinfo.c:632: warning: passing argument 2 of 'strcat' from incompatible pointer type
src/fileinfo.c:633: warning: passing argument 2 of 'strcat' from incompatible pointer type
src/fileinfo.c: At top level:
src/fileinfo.c:644: error: conflicting types for 'GetLabelNumber'
src/fileinfo.c:388: error: previous implicit declaration of 'GetLabelNumber' was here
Mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_osxutils/work/osxutils-1.6/build/osxutils.build/Default/fileinfo.build/JavaClasses
/bin/mkdir -p /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_osxutils/work/osxutils-1.6/build/osxutils.build/Default/fileinfo.build/JavaClasses
Mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_osxutils/work/osxutils-1.6/build/osxutils.build/Default/fileinfo.build/DerivedSources
/bin/mkdir -p /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_osxutils/work/osxutils-1.6/build/osxutils.build/Default/fileinfo.build/DerivedSources
...failed CompileC /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_osxutils/work/osxutils-1.6/build/osxutils.build/Default/fileinfo.build/Objects-normal/i386/fileinfo.o ...
** BUILD FAILED **
Error: Status 1 encountered during processing.
Milestone Port Bugs deleted