Opened 14 years ago

Closed 13 years ago

Last modified 12 years ago

#13522 closed defect (fixed)

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:

Description (last modified by jmpp@…)

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.

Change History (5)

comment:1 Changed 14 years ago by skymoo (Adam Mercer)

Milestone: Port Bugs
Owner: changed from macports-dev@… to waqar@…

comment:2 Changed 14 years ago by jmpp@…

Description: modified (diff)

comment:3 Changed 14 years ago by waqar@…

Status: newassigned

comment:4 Changed 13 years ago by waqar@…

Resolution: fixed
Status: assignedclosed

comment:5 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.