Opened 9 years ago
Closed 9 years ago
#50979 closed defect (invalid)
libtool uses gsed
Reported by: | urilabob@… | Owned by: | larryv (Lawrence Velázquez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | libtool |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
Attachments (1)
Change History (5)
Changed 9 years ago by urilabob@…
comment:1 Changed 9 years ago 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.
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to larryv@… |
Port: | libtool added; encfs removed |
Summary: | Can't build encfs → libtool uses gsed |
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.
comment:3 Changed 9 years ago 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)
comment:4 Changed 9 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
log file