[MacPorts] #50979: Can't build encfs
#50979: Can't build encfs ------------------------+-------------------------------- Reporter: urilabob@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: encfs ------------------------+-------------------------------- OSX: 10.10.5 XCode: 7.2 (7C68) I have encfs 1.8.1 installed. Running 'port upgrade outdated' causes an attempt to update it (I haven't been able to figure out to what version). I have osxfuse in /usr/local, so I expect to have to move /usr/local aside for the build to work. But doing so, the build fails because: {{{:info:build ./encfs.h:25:10: fatal error: 'fuse.h' file not found :info:build #include <fuse.h> :info:build ^ :info:build 1 error generated.}}} However fuse.h does exist in /opt: {{{find /opt -name '*fuse.h*' -print /opt/local/include/osxfuse/fuse/fuse.h /opt/local/include/osxfuse/fuse.h}}} There are also many warnings: {{{:info:build ../libtool: line 920: /opt/local/bin/gsed: No such file or directory}}} However it also exists: {{{sh-3.2# find /opt -name gsed -print /opt/local/bin/gsed}}} It seems that somehow the port is searching the wrong paths, but I have no idea where to look. -- Ticket URL: <https://trac.macports.org/ticket/50979> MacPorts <https://www.macports.org/> Ports system for OS X
#50979: Can't build encfs -------------------------+-------------------------------- Reporter: urilabob@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: encfs | -------------------------+-------------------------------- Comment (by urilabob@…): Sorry for misunderstanding formatting, the original was intended to appear as below: I have encfs 1.8.1 installed. Running 'port upgrade outdated' causes an attempt to update it (I haven't been able to figure out to what version). I have osxfuse in /usr/local, so I expect to have to move /usr/local aside for the build to work. But doing so, the build fails because: {{{ :info:build ./encfs.h:25:10: fatal error: 'fuse.h' file not found :info:build #include <fuse.h> :info:build :info:build 1 error generated. }}} However fuse.h does exist in /opt: {{{ find /opt -name '*fuse.h*' -print /opt/local/include/osxfuse/fuse/fuse.h /opt/local/include/osxfuse/fuse.h }}} There are also many warnings: {{{ :info:build ../libtool: line 920: /opt/local/bin/gsed: No such file or directory }}} However it also exists: {{{ sh-3.2# find /opt -name gsed -print /opt/local/bin/gsed }}} It seems that somehow the port is searching the wrong paths, but I have no idea where to look. -- Ticket URL: <https://trac.macports.org/ticket/50979#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50979: libtool uses gsed -------------------------+---------------------- Reporter: urilabob@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: libtool | -------------------------+---------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => larryv@… * port: encfs => libtool Old description:
OSX: 10.10.5 XCode: 7.2 (7C68)
I have encfs 1.8.1 installed. Running 'port upgrade outdated' causes an attempt to update it (I haven't been able to figure out to what version). I have osxfuse in /usr/local, so I expect to have to move /usr/local aside for the build to work. But doing so, the build fails because: {{{:info:build ./encfs.h:25:10: fatal error: 'fuse.h' file not found :info:build #include <fuse.h> :info:build ^ :info:build 1 error generated.}}}
However fuse.h does exist in /opt: {{{find /opt -name '*fuse.h*' -print /opt/local/include/osxfuse/fuse/fuse.h /opt/local/include/osxfuse/fuse.h}}}
There are also many warnings: {{{:info:build ../libtool: line 920: /opt/local/bin/gsed: No such file or directory}}}
However it also exists: {{{sh-3.2# find /opt -name gsed -print /opt/local/bin/gsed}}}
It seems that somehow the port is searching the wrong paths, but I have no idea where to look.
New description: OSX: 10.10.5 XCode: 7.2 (7C68) I have encfs 1.8.1 installed. Running 'port upgrade outdated' causes an attempt to update it (I haven't been able to figure out to what version). I have osxfuse in /usr/local, so I expect to have to move /usr/local aside for the build to work. But doing so, the build fails because: {{{ :info:build ./encfs.h:25:10: fatal error: 'fuse.h' file not found :info:build #include <fuse.h> :info:build ^ :info:build 1 error generated. }}} However fuse.h does exist in /opt: {{{ find /opt -name '*fuse.h*' -print /opt/local/include/osxfuse/fuse/fuse.h /opt/local/include/osxfuse/fuse.h }}} There are also many warnings: {{{ :info:build ../libtool: line 920: /opt/local/bin/gsed: No such file or directory }}} However it also exists: {{{ sh-3.2# find /opt -name gsed -print /opt/local/bin/gsed }}} It seems that somehow the port is searching the wrong paths, but I have no idea where to look. -- Comment: The log you attached - is not from a clean build attempt. Always [https://guide.macports.org/chunked/project.html#project.tickets clean and try again] before reporting a problem to us, so that your log will be more useful. - shows that you are using trace mode. The purpose of trace mode is to hide files on which the port does not declare dependencies. encfs does declare a dependency on libtool, but libtool does not declare a dependency on gsed, so gsed is hidden during the build, which explains why gsed cannot be found. It is a bug that libtool has decided to use gsed. The configure phase, which was not included in your log, might have told us more details about why fuse.h is not found, but it could relate to the fact that libtool is not working, because it cannot find gsed. What version of the libtool port is installed? Use `port installed libtool` to find out. I thought we already fixed the problem of it using gsed. -- Ticket URL: <https://trac.macports.org/ticket/50979#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50979: libtool uses gsed -------------------------+---------------------- Reporter: urilabob@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: libtool | -------------------------+---------------------- Comment (by urilabob@…): Thank you for your help. My apologies. I only realised I needed to move /usr/local aside when the encfs build originally failed. It seems something was left over from the failed build: 'port clean' fixed it; with that and removing trace mode, encfs has built successfully. Re trace mode and libtools/gsed: {{{ sh-3.2# port installed libtool The following ports are currently installed: libtool @2.4.6_2+universal (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/50979#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50979: libtool uses gsed -------------------------+---------------------- Reporter: urilabob@… | Owner: larryv@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: libtool | -------------------------+---------------------- Changes (by mf2k@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/50979#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts