[MacPorts] #41016: makeicns: error: use of undeclared identifier 'CGDirectPaletteRef' (was: sudo port -vv upgrade outdated failed with Mavericks and 2.2.1)
MacPorts
noreply at macports.org
Mon Oct 28 02:52:27 PDT 2013
#41016: makeicns: error: use of undeclared identifier 'CGDirectPaletteRef'
-------------------------+--------------------------------
Reporter: bbrodeau@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: duplicate | Keywords: mavericks
Port: makeicns |
-------------------------+--------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: bbrodeau@… (removed)
* cc: mk@…, pixilla@… (added)
* keywords: => mavericks
* resolution: => duplicate
* port: => makeicns
Old description:
> Hello,
>
> Here the result after the following command with Mavericks (10.9), "sudo
> port -vv selfupdate && sudo port -vv upgrade outdated"
>
> IconFamily.m:1404:3: warning: implicit declaration of function
> 'CGPaletteRelease' is invalid in C99 [-Wimplicit-function-declaration]
> CGPaletteRelease(cgPal);
> ^
> IconFamily.m:1404:20: error: use of undeclared identifier 'cgPal'
> CGPaletteRelease(cgPal);
> ^
> IconFamily.m:1454:14: warning: 'NewHandle' is deprecated: first
> deprecated in OS X 10.8 [-Wdeprecated-declarations]
> hRawData = NewHandle( rawDataSize );
> ^
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:451:1:
> note: 'NewHandle' declared here
> NewHandle(Size byteCount)
> __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA,
> __IPHONE_NA);
> ^
> IconFamily.m:1528:14: warning: 'NewHandle' is deprecated: first
> deprecated in OS X 10.8 [-Wdeprecated-declarations]
> hRawData = NewHandle( rawDataSize );
> ^
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:451:1:
> note: 'NewHandle' declared here
> NewHandle(Size byteCount)
> __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA,
> __IPHONE_NA);
> ^
> IconFamily.m:1594:20: warning: 'NewHandle' is deprecated: first
> deprecated in OS X 10.8 [-Wdeprecated-declarations]
> Handle hIconRes = NewHandle(0);
> ^
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:451:1:
> note: 'NewHandle' declared here
> NewHandle(Size byteCount)
> __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA,
> __IPHONE_NA);
> ^
> IconFamily.m:1599:7: warning: 'GetHandleSize' is deprecated: first
> deprecated in OS X 10.8 [-Wdeprecated-declarations]
> if( !GetHandleSize(hIconRes) || err != noErr )
> ^
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:1356:1:
> note: 'GetHandleSize' declared here
> GetHandleSize(Handle h)
> __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA,
> __IPHONE_NA);
> ^
> IconFamily.m:1602:2: warning: 'AddResource' is deprecated: first
> deprecated in OS X 10.8 [-Wdeprecated-declarations]
> AddResource( hIconRes, type, resID, "\p" );
> ^
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h:564:1:
> note: 'AddResource' declared here
> AddResource(
> ^
> 38 warnings and 5 errors generated.
> make: *** [IconFamily.o] Error 1
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_makeicns/makeicns/work/makeicns'
> Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_makeicns/makeicns/work/makeicns"
> && /usr/bin/make -j4 -w all
> Exit code: 2
> Error: org.macports.build for port makeicns returned: command execution
> failed
> Warning: targets not executed for makeicns: org.macports.destroot
> org.macports.build
> Please see the log file for port makeicns for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_makeicns/makeicns/main.log
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
>
> Thanks.
>
> Valorisa
New description:
Hello,
Here the result after the following command with Mavericks (10.9), "`sudo
port -vv selfupdate && sudo port -vv upgrade outdated`"
{{{
IconFamily.m:1404:3: warning: implicit declaration of function
'CGPaletteRelease' is invalid in C99 [-Wimplicit-function-declaration]
CGPaletteRelease(cgPal);
^
IconFamily.m:1404:20: error: use of undeclared identifier 'cgPal'
CGPaletteRelease(cgPal);
^
IconFamily.m:1454:14: warning: 'NewHandle' is deprecated: first deprecated
in OS X 10.8 [-Wdeprecated-declarations]
hRawData = NewHandle( rawDataSize );
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:451:1:
note: 'NewHandle' declared here
NewHandle(Size byteCount)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA,
__IPHONE_NA);
^
IconFamily.m:1528:14: warning: 'NewHandle' is deprecated: first deprecated
in OS X 10.8 [-Wdeprecated-declarations]
hRawData = NewHandle( rawDataSize );
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:451:1:
note: 'NewHandle' declared here
NewHandle(Size byteCount)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA,
__IPHONE_NA);
^
IconFamily.m:1594:20: warning: 'NewHandle' is deprecated: first deprecated
in OS X 10.8 [-Wdeprecated-declarations]
Handle hIconRes = NewHandle(0);
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:451:1:
note: 'NewHandle' declared here
NewHandle(Size byteCount)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA,
__IPHONE_NA);
^
IconFamily.m:1599:7: warning: 'GetHandleSize' is deprecated: first
deprecated in OS X 10.8 [-Wdeprecated-declarations]
if( !GetHandleSize(hIconRes) || err != noErr )
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:1356:1:
note: 'GetHandleSize' declared here
GetHandleSize(Handle h)
__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA,
__IPHONE_NA);
^
IconFamily.m:1602:2: warning: 'AddResource' is deprecated: first
deprecated in OS X 10.8 [-Wdeprecated-declarations]
AddResource( hIconRes, type, resID, "\p" );
^
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Resources.h:564:1:
note: 'AddResource' declared here
AddResource(
^
38 warnings and 5 errors generated.
make: *** [IconFamily.o] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_makeicns/makeicns/work/makeicns'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_makeicns/makeicns/work/makeicns"
&& /usr/bin/make -j4 -w all
Exit code: 2
Error: org.macports.build for port makeicns returned: command execution
failed
Warning: targets not executed for makeicns: org.macports.destroot
org.macports.build
Please see the log file for port makeicns for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_makeicns/makeicns/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
}}}
Thanks.
Valorisa
--
Comment:
Duplicate of #40869.
--
Ticket URL: <https://trac.macports.org/ticket/41016#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list