Opened 2 years ago

Closed 19 months ago

#65936 closed defect (fixed)

sshfs seems do not build on lion

Reported by: mckaygerhard (Герхард PICCORO Lenz McKAY) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen)
Port: glib2 sshfs

Description

after the fix of macfuse/osxfuse now the sshfs do not builds..

->  Applying patches to sshfs
--->  Configuring sshfs
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  _Alignof: found in libfuse-sshfs-5f5f44f/config.log
--->  Building sshfs
Error: Failed to build sshfs: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port sshfs failed
--->  Some of the ports you installed have notes:
  osxfuse has the following notes:
    When upgrading, unmount all FUSE filesystems and then unload the kernel extension.
    Unloading can be done via: sudo kextunload -b com.github.osxfuse.filesystems.osxfuse
    Alternatively (or if this fails), just reboot your computer now.

i dont know if this is becouse i was previously in a failed install of sshfs (due the osxfuse port see #65930), locate seems need idexing but such indexing never finished

related after the https://trac.macports.org/ticket/65930#comment:5

Change History (4)

comment:1 Changed 2 years ago by mckaygerhard (Герхард PICCORO Lenz McKAY)

log build:

:info:build In file included from /opt/local/include/glib-2.0/glib.h:30:
:info:build In file included from /opt/local/include/glib-2.0/glib/galloca.h:32:
:info:build In file included from /opt/local/include/glib-2.0/glib/gtypes.h:32:
:info:build In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9:
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:583:5: error: builtin feature check macro requires a parenthesized identifier
:info:build #if g_macro__has_attribute(__const__)
:info:build     ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:122:32: note: instantiated from:
:info:build #define g_macro__has_attribute __has_attribute
:info:build                                ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:583:37: error: expected end of line in preprocessor expression
:info:build #if g_macro__has_attribute(__const__)
:info:build                                     ^
:info:build In file included from sshfs.c:41:
:info:build In file included from /opt/local/include/glib-2.0/glib.h:30:
:info:build In file included from /opt/local/include/glib-2.0/glib/galloca.h:32:
:info:build In file included from /opt/local/include/glib-2.0/glib/gtypes.h:32:
:info:build In file included from /opt/local/lib/glib-2.0/include/glibconfig.h:9:
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:583:5: error: builtin feature check macro requires a parenthesized identifier
:info:build #if g_macro__has_attribute(__const__)
:info:build     ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:122:32: note: instantiated from:
:info:build #define g_macro__has_attribute __has_attribute
:info:build                                ^
:info:build /opt/local/include/glib-2.0/glib/gmacros.h:583:37: error: expected end of line in preprocessor expression
:info:build #if g_macro__has_attribute(__const__)
:info:build                                     ^
:info:build 2 errors generated.
:info:build make[2]: *** [sshfs-cache.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build 2 errors generated.
:info:build make[2]: *** [sshfs-sshfs.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/libfuse-sshfs-5f5f44f'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/libfuse-sshfs-5f5f44f'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/libfuse-sshfs-5f5f44f'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/sshfs-2.10" && /usr/bin/make -j4 -w all
:info:build Exit code: 2
:error:build Failed to build sshfs: command execution failed
:debug:build Error code: CHILDSTATUS 29664 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/main.log for details.

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

Owner: set to drkp
Status: newassigned

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

Cc: mascguy added
Port: glib2 added

Looks similar to #64727.

comment:4 Changed 19 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

I just forced a rebuild everywhere, and sshfs is now building fine against the latest version of glib2.

Closing as fixed.

Note: See TracTickets for help on using tickets.