Opened 9 years ago

Last modified 5 years ago

#45786 new update

Update mhddfs to 0.1.39

Reported by: faisal.moledina@… Owned by: mellon85@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mhddfs

Description

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.

Attachments (2)

Portfile (964 bytes) - added by faisal.moledina@… 9 years ago.
Copy of Portfile, modified for 0.1.39
main.log (24.4 KB) - added by faisal.moledina@… 9 years ago.
Build log

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by faisal.moledina@…

Attachment: Portfile added

Copy of Portfile, modified for 0.1.39

Changed 9 years ago by faisal.moledina@…

Attachment: main.log added

Build log

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mellon85@…
Type: requestupdate
Version: 2.3.2

Thanks. Per the guidelines, please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing.

In the future, please Cc the port maintainers (port info --maintainers mhddfs). Note that a "request" ticket type is only for requesting a new port.

comment:2 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

In c6f19a248ab2a91acfb243e25dcfdd108dab52ef/macports-ports (master):

mhddfs, mdf2iso: ports abandoned

Closes: #58398
See: #45786

Note: See TracTickets for help on using tickets.