[MacPorts] #65361: encfs 1.9.5_2: build failure

MacPorts noreply at macports.org
Fri Jun 17 23:25:57 UTC 2022


#65361: encfs 1.9.5_2: build failure
------------------------------+--------------------
  Reporter:  MichaelJFischer  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.7.2
Resolution:                   |   Keywords:
      Port:  encfs            |
------------------------------+--------------------

Comment (by kencu):

 at first glance, this looks like an error generated by an increasingly-
 strict clang compiler.

 usually, the best thing to do with these is bump them upstream as they
 probably need to tweak their code, or maybe they have already fixed it in
 a version that hasn't been released as yet.

 {{{
 1282    :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_encfs/encfs/work/encfs-1.9.5/encfs/NullCipher.cpp:81:36:
 error: no matching constructor for initialization of
 'std::shared_ptr<AbstractCipherKey>'
 1283    :info:build std::shared_ptr<AbstractCipherKey> gNullKey(new
 NullKey(), NullDestructor());
 1284    :info:build                                    ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1285    :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__memory/shared_ptr.h:469:26:
 note: candidate constructor template not viable: no known conversion from
 'encfs::NullKey *' to 'std::nullptr_t' (aka 'nullptr_t') for 1st argument
 1286    :info:build     template <class _Dp> shared_ptr(nullptr_t __p, _Dp
 __d);
 1287    :info:build                          ^
 }}}

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


More information about the macports-tickets mailing list