Opened 2 years ago

Closed 2 years ago

#56815 closed defect (duplicate)

encfs @1.8.1: error: assigning ... from incompatible type ...: different number of parameters

Reported by: aesundstrom (Andrew Sundstrom) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: highsierra Cc:
Port: encfs

Description (last modified by ryandesign (Ryan Schmidt))

$ sudo port install encfs
--->  Computing dependencies for encfs
--->  Fetching archive for encfs
--->  Attempting to fetch encfs-1.8.1_3.darwin_17.x86_64.tbz2 from https://packages.macports.org/encfs
--->  Attempting to fetch encfs-1.8.1_3.darwin_17.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/encfs
--->  Attempting to fetch encfs-1.8.1_3.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/encfs
--->  Fetching distfiles for encfs
--->  Verifying checksums for encfs
--->  Extracting encfs
--->  Applying patches to encfs
--->  Configuring encfs
--->  Building encfs
Error: Failed to build encfs: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_encfs/encfs/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port encfs failed

Relevant part of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_encfs/encfs/main.log:

:info:build main.cpp:590:25: error: assigning to 'int (*)(const char *, const char *, const char *, size_t, int)' (aka 'int (*)(const char *, const char *, const char *, unsigned long, int)') from incompatible type 'int (const char *, const char *, const char *, size_t, int, uint32_t)' (aka 'int (const char *, const char *, const char *, unsigned long, int, unsigned int)'): different number of parameters (5 vs 6)
:info:build   encfs_oper.setxattr = encfs_setxattr;
:info:build                         ^~~~~~~~~~~~~~
:info:build main.cpp:591:25: error: assigning to 'int (*)(const char *, const char *, char *, size_t)' (aka 'int (*)(const char *, const char *, char *, unsigned long)') from incompatible type 'int (const char *, const char *, char *, size_t, uint32_t)' (aka 'int (const char *, const char *, char *, unsigned long, unsigned int)'): different number of parameters (4 vs 5)
:info:build   encfs_oper.getxattr = encfs_getxattr;
:info:build                         ^~~~~~~~~~~~~~
:info:build 2 errors generated.

Attachments (1)

main.log (64.7 KB) - added by aesundstrom (Andrew Sundstrom) 2 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_encfs/encfs/main.log

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by aesundstrom (Andrew Sundstrom)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_encfs/encfs/main.log

comment:1 Changed 2 years ago by kencu (Ken)

Description: modified (diff)
Keywords: encfs build main.cpp removed

comment:2 Changed 2 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only, please do not set it.

comment:3 in reply to:  1 Changed 2 years ago by aesundstrom (Andrew Sundstrom)

Thanks, Ken. I'll remember the formatting markdown.

comment:4 in reply to:  2 Changed 2 years ago by aesundstrom (Andrew Sundstrom)

Thanks, Frank. Duly noted.

comment:5 Changed 2 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: highsierra added
Summary: encfs-1.8.1 build fails on OS X 10.13.6encfs @1.8.1: error: assigning ... from incompatible type ...: different number of parameters

Maybe updating the port to the latest version would be a good first step to trying to resolve this. Looks like this will require significant changes to the Portfile though.

comment:6 Changed 2 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.