Opened 7 years ago

Closed 7 years ago

#36255 closed defect (fixed)

arrsync: cannot declare variable inside @interface or @protocol

Reported by: aeronova Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: arrsync

Description

Hello,

Please see the attached log for details.

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1/presetController.m:99:3: warning: 'selectRow:byExtendingSelection:' is deprecated [-Wdeprecated-declarations]
:info:build         [presetTableView selectRow:([presets count]-1) byExtendingSelection:NO];
:info:build          ^
:info:build /System/Library/Frameworks/AppKit.framework/Headers/NSTableView.h:875:1: note: method 'selectRow:byExtendingSelection:' declared here
:info:build - (void)selectRow:(NSInteger)row byExtendingSelection:(BOOL)extend NS_DEPRECATED_MAC(10_0, 10_3);
:info:build ^
:info:build 1 warning generated.
:info:build 
:info:build 
:info:build ** BUILD FAILED **
:info:build 
:info:build 
:info:build The following build commands failed:
:info:build 	CompileC build/arRsync.build/Release/arRsync.build/Objects-normal/x86_64/ToolbarDelegateCategory.o ToolbarDelegateCategory.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
:info:build (1 failure)
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1" && /usr/bin/xcodebuild  -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 
:info:build Exit code: 65
:error:build org.macports.build for port arrsync returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"$procedure $targetname"
:info:build Warning: targets not executed for arrsync: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port arrsync for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_arrsync/arrsync/main.log

Attachments (1)

log.txt (31.1 KB) - added by aeronova 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by aeronova

Attachment: log.txt added

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

Cc: toby@… removed
Owner: changed from macports-tickets@… to toby@…
Port: arrsync added
Summary: arrsync @0.4.1 build error on Mnt Lion 10.8.2arrsync: cannot declare variable inside @interface or @protocol

The actual relevant error is earlier in the log:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_arrsync/arrsync/work/arrsync-0.4.1/ToolbarDelegateCategory.h:29:13: error: cannot declare variable inside @interface or @protocol

You could see if a different compiler would be more lenient about this problem.

comment:2 Changed 7 years ago by ryandesign (Ryan Schmidt)

FYI, blacklisting clang does work for me.

sudo port clean arrsync
sudo port install arrsync compiler.blacklist=clang

comment:3 Changed 7 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.