Opened 11 years ago

Closed 11 years ago

#19887 closed defect (fixed)

sshfs-gui installation fails during buidling

Reported by: proreg@… Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: building, fail Cc: jmroot (Joshua Root)
Port: sshfs-gui

Description

I've successfully installed sshfs and can use it from the terminal. installation of sshfs-gui fails during building:

$ sudo port install sshfs-gui
Password:
--->  Building sshfs-gui
Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui" && xcodebuild  -target "sshfs" -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.5 " returned error 1
Command output: CpResource build/Release/sshfs.app/Contents/Resources/askpass build/Release/askpass
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols -resolve-src-symlinks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/Release/askpass /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/Release/sshfs.app/Contents/Resources
pbxcp: askpass: No such file or directory

Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/sshfs.build/Objects-normal/ppc/sshfs normal ppc
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    /Developer/usr/bin/gcc-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/Release -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/Release -filelist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/sshfs.build/Objects-normal/ppc/sshfs.LinkFileList -mmacosx-version-min=10.5 -Wl,-dead_strip -framework Cocoa -framework Foundation -framework DiskArbitration -framework SecurityFoundation -framework Security -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/sshfs.build/Objects-normal/ppc/sshfs
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status

Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/sshfs.build/Objects-normal/i386/sshfs normal i386
    cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    /Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/Release -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/Release -filelist /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/sshfs.build/Objects-normal/i386/sshfs.LinkFileList -mmacosx-version-min=10.5 -Wl,-dead_strip -framework Cocoa -framework Foundation -framework DiskArbitration -framework SecurityFoundation -framework Security -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/sshfs.build/Objects-normal/i386/sshfs
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
** BUILD FAILED **

The following build commands failed:
askpass:
	Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/askpass.build/Objects-normal/i386/askpass normal i386
	Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/askpass.build/Objects-normal/ppc/askpass normal ppc
sshfs:
	CpResource build/Release/sshfs.app/Contents/Resources/askpass build/Release/askpass
	Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/sshfs.build/Objects-normal/ppc/sshfs normal ppc
	Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_sshfs-gui/work/sshfs-gui/build/sshfs.build/Release/sshfs.build/Objects-normal/i386/sshfs normal i386
(5 failures)


Error: Status 1 encountered during processing.

thank you for your help!

Attachments (1)

patch-sshfs.xcodeproj_project.pbxproj.diff (5.6 KB) - added by jmroot (Joshua Root) 11 years ago.
updated patch

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Keywords: sshfs-gui removed
Owner: changed from macports-tickets@… to eridius@…
Port: sshfs-gui added

Changed 11 years ago by jmroot (Joshua Root)

updated patch

comment:2 Changed 11 years ago by jmroot (Joshua Root)

Cc: jmr@… added

Here's an updated version of the project patch which removes the setting of ARCHS, MACOSX_DEPLOYMENT_TARGET and SDKROOT (the portgroup will set them as needed), and also stops passing -Werror to gcc, which is the probable cause of #15853.

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from eridius@… to macsforever2000@…
Status: newassigned

maintainer timeout.

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

Committed revision r52310. Thanks!

Note: See TracTickets for help on using tickets.