Changes between Initial Version and Version 2 of Ticket #50979


Ignore:
Timestamp:
Mar 29, 2016, 4:38:30 AM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The log you attached

  • is not from a clean build attempt. Always 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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50979

    • Property Owner changed from macports-tickets@… to larryv@…
    • Property Summary changed from Can't build encfs to libtool uses gsed
    • Property Port libtool added; encfs removed
  • Ticket #50979 – Description

    initial v2  
    33
    44I 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:
    5 {{{:info:build ./encfs.h:25:10: fatal error: 'fuse.h' file not found
     5{{{
     6:info:build ./encfs.h:25:10: fatal error: 'fuse.h' file not found
    67:info:build #include <fuse.h>
    78:info:build          ^
    8 :info:build 1 error generated.}}}
     9:info:build 1 error generated.
     10}}}
    911
    1012However fuse.h does exist in /opt:
    11 {{{find /opt -name '*fuse.h*' -print
     13{{{
     14find /opt -name '*fuse.h*' -print
    1215/opt/local/include/osxfuse/fuse/fuse.h
    13 /opt/local/include/osxfuse/fuse.h}}}
     16/opt/local/include/osxfuse/fuse.h
     17}}}
    1418
    1519There are also many warnings:
    16 {{{:info:build ../libtool: line 920: /opt/local/bin/gsed: No such file or directory}}}
     20{{{
     21:info:build ../libtool: line 920: /opt/local/bin/gsed: No such file or directory
     22}}}
    1723
    1824However it also exists:
    19 {{{sh-3.2# find /opt -name gsed -print
    20 /opt/local/bin/gsed}}}
     25{{{
     26sh-3.2# find /opt -name gsed -print
     27/opt/local/bin/gsed
     28}}}
    2129
    2230It seems that somehow the port is searching the wrong paths, but I have no idea where to look.