Opened 11 years ago

Closed 11 years ago

#41016 closed defect (duplicate)

makeicns: error: use of undeclared identifier 'CGDirectPaletteRef'

Reported by: valorisa Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: mkae (Marko Käning), pixilla (Bradley Giesbrecht)
Port: makeicns

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (1)

Sans titre.rtf (21.6 KB) - added by valorisa 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by valorisa

Attachment: Sans titre.rtf added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mk@… pixilla@… added; bbrodeau@… removed
Description: modified (diff)
Keywords: mavericks added
Port: makeicns added
Resolution: duplicate
Status: newclosed
Summary: sudo port -vv upgrade outdated failed with Mavericks and 2.2.1makeicns: error: use of undeclared identifier 'CGDirectPaletteRef'

Duplicate of #40869.

Note: See TracTickets for help on using tickets.