Opened 6 years ago

Last modified 4 years ago

#57142 assigned defect

osxfuse @3.8.2 build failure: "No version of Xcode found"

Reported by: soulne4ny (Alexey Luchko) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc: parafin
Port: osxfuse

Description

$ sudo port upgrade osxfuse

Build fails. Full log attached.

version:1
:debug:sysinfo OS X 10.11 (darwin/15.6.0) arch i386
:debug:sysinfo MacPorts 2.5.3
:debug:sysinfo Xcode 7.2
:debug:sysinfo SDK 10.11
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.11

...

:info:build BUILD_BUILD_DIRECTORY=/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_fuse_osxfuse/osxfuse/work
:info:build Search for Xcode
:info:build 2018-09-19 23:26:36.992 mdfind[3673:18794] Metadata.framework [Error]: couldn't get the client port
:info:build XCODE_INSTALLED=()
:info:build XCODE_SDK_INSTALLED=()
:info:build Done searching for Xcode
:info:build No version of Xcode found
:info:build
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-120c6ce" && ./build.sh -t packagemanager -a build -v 5 --build-directory="/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_fuse_osxfuse/osxfuse/work" -- -a x86_64 --framework-prefix="/opt/local" --fsbundle-prefix="/opt/local" --library-prefix="/opt/local"
:info:build Exit code: 1

However all the rest builds well.

$ xcode-select -v
xcode-select version 2343.

Attachments (3)

main.log (290.6 KB) - added by soulne4ny (Alexey Luchko) 6 years ago.
build log
after-xcode-was-opened.log (299.0 KB) - added by soulne4ny (Alexey Luchko) 6 years ago.
patch-no-spotlight.diff (473 bytes) - added by parafin 5 years ago.
simple patch removing spotlight dependency

Download all attachments as: .zip

Change History (14)

Changed 6 years ago by soulne4ny (Alexey Luchko)

Attachment: main.log added

build log

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Summary: osxfuse @3.8.2osxfuse @3.8.2 build failure: "No version of Xcode found"

I'm suspicious of that Metadata.framework error message. Are you by any chance running this installation outside of a normal GUI login session, e.g. via ssh on a headless machine, or logged in as root?

comment:2 Changed 6 years ago by soulne4ny (Alexey Luchko)

Usual GUI session. iTerm. Sudo. Nothing special. XCode installed, however, never used.

comment:3 Changed 6 years ago by kencu (Ken)

Try opening Xcode once. If it asks to install resources, let it do whatever it wants. Then quit Xcode, and try again.

comment:4 Changed 6 years ago by soulne4ny (Alexey Luchko)

It didn't help.

Changed 6 years ago by soulne4ny (Alexey Luchko)

Attachment: after-xcode-was-opened.log added

comment:5 Changed 6 years ago by SiLiKhon

Do you have Spotlight disabled? https://github.com/osxfuse/osxfuse/issues/310

comment:6 Changed 6 years ago by soulne4ny (Alexey Luchko)

mdfind[3028:89708] Metadata.framework [Error]: couldn't get the client port

comment:7 Changed 6 years ago by soulne4ny (Alexey Luchko)

It is a cumbersome requirement to have a spotlight on to build a project from its source code, isn't it?

comment:8 Changed 6 years ago by soulne4ny (Alexey Luchko)

For goodness' sake! Turning spotlight on really helps!

comment:9 Changed 5 years ago by mf2k (Frank Schima)

Cc: drkp removed
Owner: set to drkp
Status: newassigned

Changed 5 years ago by parafin

Attachment: patch-no-spotlight.diff added

simple patch removing spotlight dependency

comment:10 Changed 5 years ago by parafin

Cc: parafin added

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

Owner: drkp deleted
Note: See TracTickets for help on using tickets.