[MacPorts] #56815: encfs @1.8.1: error: assigning ... from incompatible type ...: different number of parameters (was: encfs-1.8.1 build fails on OS X 10.13.6)

MacPorts noreply at macports.org
Mon Jul 16 06:27:20 UTC 2018


#56815: encfs @1.8.1: error: assigning ... from incompatible type ...: different
number of parameters
--------------------------+------------------------
  Reporter:  aesundstrom  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.5.3
Resolution:               |   Keywords:  highsierra
      Port:  encfs        |
--------------------------+------------------------
Changes (by ryandesign):

 * keywords:   => highsierra


Old description:

> {{{
> $ 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 incompati\
> ble 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 v\
> s 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 c\
> har *, 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.
> }}}

New description:

 {{{
 $ 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.
 }}}

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/56815#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list