[MacPorts] #45786: Update mhddfs to 0.1.39

MacPorts noreply at macports.org
Wed Nov 5 06:39:30 PST 2014


#45786: Update mhddfs to 0.1.39
-------------------------------+--------------------------------
 Reporter:  faisal.moledina@…  |      Owner:  macports-tickets@…
     Type:  request            |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.3.2
 Keywords:                     |       Port:  mhddfs
-------------------------------+--------------------------------
 Hello, I would like to request that the mhddfs port be upgraded to version
 0.1.39 if possible. There appear to have been many bug fixes over the 4
 years between the two releases. I attempted to create a Portfile based on
 the current one for version 0.1.10_3 by making two changes: (1) the
 version number and (2) the hashes for the downloaded archive file. I made
 no changes to the current patch-main.c.diff file.

 When attempting to install my local Portfile for mhddfs 0.1.39, I get the
 following error:
 {{{
 :notice:build --->  Building mhddfs
 :debug:build Executing org.macports.build (mhddfs)
 :debug:build Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_dports_fuse_mhddfs/mhddfs/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.10'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_dports_fuse_mhddfs/mhddfs/work/mhddfs-0.1.39"
 && /usr/bin/make -j4 -w all'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_dports_fuse_mhddfs/mhddfs/work/mhddfs-0.1.39"
 && /usr/bin/make -j4 -w all
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_dports_fuse_mhddfs/mhddfs/work/mhddfs-0.1.39'
 :info:build mkdir -p obj
 :info:build touch obj/obj-stamp
 :info:build gcc -Wall -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE
 -I/opt/local/include/osxfuse/fuse  -DFUSE_USE_VERSION=26 -MMD -c
 src/debug.c -o obj/debug.o
 :info:build gcc -Wall -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE
 -I/opt/local/include/osxfuse/fuse  -DFUSE_USE_VERSION=26 -MMD -c
 src/flist.c -o obj/flist.o
 :info:build gcc -Wall -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE
 -I/opt/local/include/osxfuse/fuse  -DFUSE_USE_VERSION=26 -MMD -c
 src/main.c -o obj/main.o
 :info:build gcc -Wall -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE
 -I/opt/local/include/osxfuse/fuse  -DFUSE_USE_VERSION=26 -MMD -c
 src/parse_options.c -o obj/parse_options.o
 :info:build src/debug.c:39:32: warning: format specifies type 'long' but
 the argument has type 'pthread_t' (aka 'struct _opaque_pthread_t *')
 [-Wformat]
 :info:build         fprintf(mhdd.debug, "[%ld] ", pthread_self());
 :info:build                               ~~~     ^~~~~~~~~~~~~~
 :info:build 1 warning generated.
 :info:build gcc -Wall -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE
 -I/opt/local/include/osxfuse/fuse  -DFUSE_USE_VERSION=26 -MMD -c
 src/tools.c -o obj/tools.o
 :info:build gcc -Wall -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE
 -I/opt/local/include/osxfuse/fuse  -DFUSE_USE_VERSION=26 -MMD -c
 src/usage.c -o obj/usage.o
 :info:build src/main.c:36:10: fatal error: 'attr/xattr.h' file not found
 :info:build #include <attr/xattr.h>
 :info:build          ^
 :info:build 1 error generated.
 :info:build make: *** [obj/main.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build src/tools.c:35:10: fatal error: 'attr/xattr.h' file not found
 :info:build #include <attr/xattr.h>
 :info:build          ^
 :info:build 1 error generated.
 :info:build make: *** [obj/tools.o] Error 1
 :info:build src/usage.c:46:14: warning: format string is not a string
 literal (potentially insecure) [-Wformat-security]
 :info:build         fprintf(to, usage);
 :info:build                     ^~~~~
 :info:build 1 warning generated.
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_dports_fuse_mhddfs/mhddfs/work/mhddfs-0.1.39'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_dports_fuse_mhddfs/mhddfs/work/mhddfs-0.1.39"
 && /usr/bin/make -j4 -w all
 :info:build Exit code: 2
 :error:build org.macports.build for port mhddfs returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 67397 2
 }}}

 Would anyone be able to help figure out if xattr.h is somewhere on OS X
 10.10 or if support for it should be removed? I'm willing to help test.
 Thank you.

-- 
Ticket URL: <https://trac.macports.org/ticket/45786>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list