#11471 closed defect (invalid)
fusefs misses common/fuse_param.h
Reported by: | ludwig@… | Owned by: | kballard (Lily Ballard) |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.4 |
Keywords: | libfuse | Cc: | ludwig@… |
Port: |
Description
On my Intel MacBook Pro, the build of fusefs fails due to a missing file common/fuse_param.h:
castellio:~ cludwig$ sudo port -v -c install fusefs ---> Building fusefs === BUILDING NATIVE TARGET fusefs WITH CONFIGURATION Release === Checking Dependencies... Cpp build/Release/fusefs.kext/Contents/Info.plist build/fusefs.build/Release/fusefs.build/Info.plist cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs /usr/bin/gcc -E -P -x c -Wno-trigraphs /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs/build/fusefs.build/Release/fusefs.build/Info.plist -o /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs/build/Release/fusefs.kext/Contents/Info.plist /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs/build/fusefs.build/Release/fusefs.build/Info.plist:1:33: error: common/fuse_version.h: No such file or directory /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs/build/fusefs.build/Release/fusefs.build/Info.plist:2:31: error: common/fuse_param.h: No such file or directory ** BUILD FAILED ** Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs" && xcodebuild -target "fusefs" -configuration Release build OBJROOT=build/ SYMROOT=build/" returned error 1 Command output: === BUILDING NATIVE TARGET fusefs WITH CONFIGURATION Release === Checking Dependencies... Cpp build/Release/fusefs.kext/Contents/Info.plist build/fusefs.build/Release/fusefs.build/Info.plist cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs /usr/bin/gcc -E -P -x c -Wno-trigraphs /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs/build/fusefs.build/Release/fusefs.build/Info.plist -o /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs/build/Release/fusefs.kext/Contents/Info.plist /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs/build/fusefs.build/Release/fusefs.build/Info.plist:1:33: error: common/fuse_version.h: No such file or directory /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.macports.org_dpupdate_dports_fuse_fusefs/work/fusefs/build/fusefs.build/Release/fusefs.build/Info.plist:2:31: error: common/fuse_param.h: No such file or directory ** BUILD FAILED ** Warning: the following items did not execute (for fusefs): com.apple.activate com.apple.build com.apple.destroot com.apple.install Error: Status 1 encountered during processing.
BTW, libfuse does not list fusefs among its dependencies:
castellio:~ cludwig$ port -v deps libfuse libfuse has library dependencies on: pkgconfig
But when I tried to build libfuse, port decided to download and install fusefs anyway.
Attachments (1)
Change History (10)
comment:1 Changed 18 years ago by pipping@…
Priority: | Blocker → Important |
---|---|
Version: | 1.3.2 → 1.4 |
comment:2 Changed 18 years ago by yunzheng.hu@…
'port install fusefs' and 'port install libfuse' works here:
using the following revisions of the portfiles:
fusefs/Portfile: # $Id: Portfile 22308 2007-02-26 02:56:04Z eridius@… $
libfuse/Portfile: # $Id: Portfile 22308 2007-02-26 02:56:04Z eridius@… $
compiled on: Mac OS X 10.4.8 (Intel)
comment:3 Changed 18 years ago by ludwig@…
I have the same portfiles here as Yunzheng Hu. I am on a Mac OS X 10.4.8 system with an Intel CPU as well. Therefore, I have no clue why the build fails here.
I am going to attach a logfile that shows which ports I have installed and how I tried to install fusefs / libfuse.
If you need any other information to track down the problem, then feel free to ask.
Changed 18 years ago by ludwig@…
Attachment: | libfuse.log added |
---|
logfile that shows which ports are installed and hoe the installation of libfuse fails
comment:4 Changed 18 years ago by kballard (Lily Ballard)
Milestone: | → Available Ports |
---|
What version of gcc is currently active? (you can check with gcc_select
). There's no reason it should fail to find those files.
comment:5 Changed 18 years ago by ludwig@…
castellio:~ cludwig$ gcc_select Current default compiler: gcc version 4.0.1 (Apple Computer, Inc. build 5250) castellio:~ cludwig$
I did not install a custom gcc or a gcc port. In case it is significant, the installed XCode claims to be version 2.2.1 (XCode IDE 656.0, XCode Core 660.0, ToolSupport 651.0).
Thanks for looking into the failure.
comment:6 Changed 18 years ago by pipping@…
Milestone: | Available Ports → Port Bugs |
---|
comment:7 Changed 18 years ago by chpickel@…
I am receiving the same error with my PowerBook G4. As far as I can tell, the problem is that Info.plist is being preprocessed from a different location than the original: that is; work/fusefs/Info.plist can find work/fusefs/common/fuse_param.h, but work/fusefs/build/fusefs.build/Release/fusefs.build/Info.plist cannot.
The workaround I used to get this to compile is to create a symbolic link from work/fusefs to work/fusefs/build/fusefs.build/Release/fusefs.build. Kludgy, but it seems to work.
comment:8 Changed 18 years ago by kballard (Lily Ballard)
Resolution: | → invalid |
---|---|
Status: | new → closed |
That's probably the problem, ludwig. Xcode is up to version 2.4. There's probably been a bug fix regarding precompiled plists since 2.2.1.
If you have this problem, the solution is to install the latest version of Xcode.
that's because denpens_run is inside 'platform darwin' (see 'port cat sshfs/libfuse').