[MacPorts] #50979: libtool uses gsed (was: Can't build encfs)

MacPorts noreply at macports.org
Mon Mar 28 21:38:31 PDT 2016


#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


More information about the macports-tickets mailing list