Opened 10 years ago

Closed 9 years ago

#44189 closed defect (fixed)

building osxfuse fails on OS X 10.10 (14A261i) Yosemite

Reported by: dynamind@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: yosemite haspatch Cc: cooljeanius (Eric Gallager), platipodium (Carsten Lemmen), jmperez0, ch1p@…, jchauvel@…, ryandesign (Ryan Carsten Schmidt)
Port: osxfuse

Description (last modified by neverpanic (Clemens Lang))

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (osxfuse)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (osxfuse)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (osxfuse)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (osxfuse)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (osxfuse)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (osxfuse)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (osxfuse)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Jun 30 01:36:04 CEST 2014
:notice:build --->  Building osxfuse
:debug:build Executing org.macports.build (osxfuse)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_fuse_osxfuse/osxfuse/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-7b0d8d3" && ./build.sh -t homebrew -f /opt/local'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-7b0d8d3" && ./build.sh -t homebrew -f /opt/local 
:info:build OSXFUSEBuildTool()            : supported platforms: 10.8 10.9
:info:build OSXFUSEBuildTool()            : building OSXFUSE kernel extension and tools
:info:build xcrun: error: missing DEVELOPER_DIR path: 
:info:build OSXFUSEBuildTool() failed: xcodebuild cannot build configuration Release.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-7b0d8d3" && ./build.sh -t homebrew -f /opt/local 
:info:build Exit code: 1
:error:build org.macports.build for port osxfuse returned: command execution failed
:debug:build Error code: CHILDSTATUS 988 1
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for osxfuse: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install osxfuse
:debug:build Registry error: pkgconfig not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port osxfuse for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_fuse_osxfuse/osxfuse/main.log

I'm definitely trying to build as root.

best regards

Attachments (2)

osxfuse_yosemite_and_xcode6_support_build_sh.diff (4.4 KB) - added by jmperez0 10 years ago.
Portfile (4.9 KB) - added by ch1p@… 10 years ago.

Download all attachments as: .zip

Change History (20)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Description: modified (diff)
Keywords: yosemite added; ntfs-3g osxfuse removed
Owner: changed from macports-tickets@… to dports@…
Port: osxfuse added

Please use WikiFormatting and preview your post when posting in Trac. When reporting tickets against ports, please Cc the maintainer and fill in the port field.

Your log contains "skipping completed" indicating it isn't from a clean attempt. Please clean and try again. Attach the complete main.log if it fails again.

From the output it seems you don't have Xcode installed. Please install Xcode and try again.

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: building nfs-3g fails on OS X 10.10 (14A261i) Yosemitebuilding osxfuse fails on OS X 10.10 (14A261i) Yosemite

comment:4 Changed 10 years ago by dershow

It looks like osxfuse is now at 2.7 and one of the New Features is 10.10 support: https://osxfuse.github.io/2014/06/09/OSXFUSE-2.7.0.html So, updating the osxfuse to 2.7 might fix this ticket.

comment:5 Changed 10 years ago by platipodium (Carsten Lemmen)

Cc: carsten@… added

Cc Me!

comment:6 in reply to:  4 Changed 10 years ago by platipodium (Carsten Lemmen)

Replying to dersh@…:

It looks like osxfuse is now at 2.7 and one of the New Features is 10.10 support: https://osxfuse.github.io/2014/06/09/OSXFUSE-2.7.0.html So, updating the osxfuse to 2.7 might fix this ticket.

It should. I tried changing the portfile to 2.7 and adjusting build.sh for 10.10 but failed so far with errors in a not defined DEVELOPER_DIR. Someone more knowledgeable is called for ... It should still be mostly mechanical work.

comment:7 Changed 10 years ago by jmperez0

Cc: josep.m.perez@… added

Cc Me!

comment:8 Changed 10 years ago by jmperez0

I have managed to build it under OS X 10.10 with the patch to build.sh that I have attached and Xcode 6 beta 5. I hope this can help.

comment:9 in reply to:  8 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Replying to josep.m.perez@…:

I have managed to build it under OS X 10.10 with the patch to build.sh that I have attached and Xcode 6 beta 5. I hope this can help.

josep.m.perez: What version of osxfuse? Do you have a Portfile diff?

comment:10 Changed 10 years ago by reg@…

Cc: reg@… added

Cc Me!

comment:11 Changed 10 years ago by ch1p@…

Cc: ch1p@… added

Cc Me!

comment:12 Changed 10 years ago by ch1p@…

Cc: ch1p@… removed

Cc Me!

comment:13 Changed 10 years ago by reg@…

Cc: reg@… removed

Cc Me!

comment:14 Changed 10 years ago by ch1p@…

Cc: ch1p@… added

Cc Me!

Changed 10 years ago by ch1p@…

Attachment: Portfile added

comment:15 Changed 10 years ago by ch1p@…

I just installed osxfuse 2.7.0 on 10.10 with Portfile attached above. Also if you have Xcode 6.0 installed, you should remove last diff from patch-buildsystem.diff:

-            5.1*)
+            5.1*|[6789]*)

comment:16 Changed 10 years ago by mf2k (Frank Schima)

@ ch1p: Per the guidelines, please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing.

Note that the revision needs to be set to 0 when increasing the version.

comment:17 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jchauvel@… added

Has duplicate #45123.

comment:18 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: haspatch added
Priority: LowNormal
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.