Opened 13 years ago
Closed 13 years ago
#31006 closed defect (fixed)
fuse4x-framework not compiling
Reported by: | chris.platts@… | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | Cc: | anatol (Anatol Pomozov) | |
Port: | fuse4x-framework |
Description
Hi,
I'm attempting to install fuse4x-framework so that I can compile an FS which I've downloaded from elsewhere.
Presently, the only ports I've installed are fuse4x and encfs. This is also a pretty clean Lion machine with only the current software updates and latest Xcode installed.
A snippet of the error is:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_fuse_fuse4x-framework/fuse4x-framework/work/fuse4x-framework-0.8.11/GMUserFileSystem.m:2071:9:{2071:9-2071:42}{2071:9-2071:42}: error: argument to 'sizeof' in '__builtin___memset_chk' call is the same expression as the destination; did you mean to dereference it? [-Werror,-Wsizeof-pointer-memaccess,3] :info:build memset(crtime, 0, sizeof(crtime)); :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_string.h:77:41: note: instantiated from: :info:build ? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \ :info:build ^
Attached is my full main.log file.
Attachments (1)
Change History (5)
Changed 13 years ago by chris.platts@…
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Keywords: | wontcompile sizeof removed |
---|---|
Owner: | changed from macports-tickets@… to dports@… |
comment:2 Changed 13 years ago by drkp (Dan Ports)
Cc: | anatol.pomozov@… added |
---|---|
Status: | new → assigned |
Looks like that's a new error introduced in Xcode 4.2's clang. llvm-gcc doesn't complain (so that's a workaround), but it looks like a legitimate bug that we should fix.
Anatol: sent you a patch via github.
comment:3 Changed 13 years ago by anatol (Anatol Pomozov)
Hi Dan.
Yep, the change is correct. Thanks for the fix - it is merged to the project.
comment:4 Changed 13 years ago by drkp (Dan Ports)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
main.log from 'port install fuse4x-framework' command