[MacPorts] #17855: sshfs-2.2 build crashes
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Hi, when I try to install sshfs, the following happens: {{{ mekkie:~ mneisen$ sudo port install sshfs ---> Building sshfs 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/work /sshfs-fuse-2.2" && nice -n 19 make all " returned error 2 Command output: sshfs.c:2493: error: dereferencing pointer to incomplete type sshfs.c:2494: error: dereferencing pointer to incomplete type sshfs.c:2495: error: dereferencing pointer to incomplete type sshfs.c:2496: error: dereferencing pointer to incomplete type sshfs.c:2498: error: dereferencing pointer to incomplete type sshfs.c: In function 'search_read_chunk': sshfs.c:2506: error: dereferencing pointer to incomplete type sshfs.c:2506: error: dereferencing pointer to incomplete type sshfs.c:2507: error: dereferencing pointer to incomplete type sshfs.c: In function 'sshfs_async_read': sshfs.c:2531: error: dereferencing pointer to incomplete type sshfs.c:2533: error: dereferencing pointer to incomplete type sshfs.c:2534: error: dereferencing pointer to incomplete type sshfs.c:2541: error: dereferencing pointer to incomplete type sshfs.c:2545: error: dereferencing pointer to incomplete type sshfs.c: In function 'sshfs_write_begin': sshfs.c:2580: error: dereferencing pointer to incomplete type sshfs.c:2583: error: dereferencing pointer to incomplete type sshfs.c: In function 'sshfs_write_end': sshfs.c:2589: error: dereferencing pointer to incomplete type sshfs.c:2591: error: dereferencing pointer to incomplete type sshfs.c:2592: error: dereferencing pointer to incomplete type sshfs.c:2593: error: dereferencing pointer to incomplete type sshfs.c:2594: error: dereferencing pointer to incomplete type sshfs.c:2596: error: dereferencing pointer to incomplete type sshfs.c:2601: error: dereferencing pointer to incomplete type sshfs.c: At top level: sshfs.c:3287: warning: 'main' takes only zero or two arguments make[1]: *** [sshfs-sshfs.o] Error 1 make: *** [all] Error 2 }}} This problem is reproducible and pertaining. Thanks for any help. -- Ticket URL: <http://trac.macports.org/ticket/17855> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Comment(by martin.eisenhardt@…): Oddly enough, the installation worked after about 10 repetitions of: {{{ $ sudo port clean sshfs $ sudo port install sshfs }}} What kind of rubbish is cleaned out during the n-th invocation of {{{ port clean }}} which was not cleaned out the first n-1 times? Strangeness abounds. -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Comment(by blb@…): Just to make sure, you are using MacPorts 1.7 right? {{{ $ port version Version: 1.700 }}} -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Comment(by martin.eisenhardt@…): Yep, I am on 1.7 . -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Changes (by jmr@…): * cc: martin.eisenhardt@… (removed) * owner: macports-tickets@… => eridius@… -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Comment(by macsforever2000@…): What Mac OS X version are you running? Xcode version? It installed fine for me the first time on Mac OS X 10.5.6 Intel with Xcode 3.1.2. -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Comment(by martin.eisenhardt@…): Hi, sorry for the delay, I was afk for some days. I run Mac OS X 10.5.6 on a 2008 MacBook Pro (Intel), Xcode 3.0 . May the lower Xcode version be the source of the problem? I always thought that port was using GCC to compile sources?! Regards Martin -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Comment(by macsforever2000@…): Definitely install Xcode 3.1.2. Most ports compile with the gcc from Xcode. -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [ticket:17855 martin.eisenhardt@…]:
Hi,
when I try to install sshfs, the following happens:
I see it too. I'm on Mac OS X 10.4.11 Intel. This is not the first error, of course; the first error is not shown because MacPorts only shows the last 30 or so lines of the error unless you use the debug switch. The first error is: {{{ /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -DFUSE_USE_VERSION=26 -DLIBDIR=\"/mp/lib\" -I/mp/include -DDARWIN_SEMAPHORE_COMPAT -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/local/include/fuse -I/mp/include/glib-2.0 -I/mp/lib/glib-2.0/include -I/mp/include -O2 -Wall -W -c -o sshfs- sshfs.o `test -f 'sshfs.c' || echo './'`sshfs.c sshfs.c:26:25: error: fuse_darwin.h: No such file or directory }}} fuse_darwin.h is present on my system in ${prefix}/include/fuse/ but -I${prefix}/include/fuse does not appear in the above. Also, in sshfs.c, fuse_darwin.h is included as {{{ #include "fuse_darwin.h" }}} This is strange because fuse_darwin.h is not part of the local header files of sshfs but is rather part of the "system headers" already installed using MacPorts, thus it should be referenced with <brackets> not "quotes". This include comes about as a result of the Mac OS X patch the port uses. I have attached a portfile patch which fixes it for me. -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: eridius@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: sshfs-2.2 -------------------------------------------+-------------------------------- Comment(by ryandesign@…): Replying to [comment:9 ryandesign@…]:
-I${prefix}/include/fuse does not appear in the above.
but if I look closer I see -I/usr/local/include/fuse does, presumably because I have /usr/local/include/fuse on this system for some reason. If I remove it, then sshfs builds without any changes. So at least in my case it was the user error of having something in /usr/local. -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: sshfs -------------------------------------------+-------------------------------- Changes (by jmr@…): * owner: eridius@… => macports-tickets@… * port: sshfs-2.2 => sshfs -- Ticket URL: <http://trac.macports.org/ticket/17855#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes --------------------------------------------+------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: Port: sshfs | --------------------------------------------+------------------------------- Changes (by dports@…): * status: new => closed * resolution: => worksforme Comment: Please reopen if this is still an issue with sshfs 2.3. -- Ticket URL: <https://trac.macports.org/ticket/17855#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17855: sshfs-2.2 build crashes --------------------------------------------+------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: Port: sshfs | --------------------------------------------+------------------------------- Changes (by dports@…): * cc: dports@… (added) -- Ticket URL: <https://trac.macports.org/ticket/17855#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts