[MacPorts] #65455: encfs fails to build

MacPorts noreply at macports.org
Wed Jul 6 21:35:39 UTC 2022


#65455: encfs fails to build
------------------------+--------------------
 Reporter:  mouse07410  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  encfs
------------------------+--------------------
 MacOS Monterey 12.4, Xcode-13.4.1.

 encfs fails to compile - see the attached log. I think this is the
 relevant part of the log:
 {{{
 :info:build   Interface &operator=(const Interface &src);
 :info:build              ^
 :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/MACFileIO.cpp:77:49:
 note: in implicit copy constructor for 'encfs::Interface' first required
 here
 :info:build Interface MACFileIO::interface() const { return
 MACFileIO_iface; }
 :info:build                                                 ^
 :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>'
 :info:build std::shared_ptr<AbstractCipherKey> gNullKey(new NullKey(),
 NullDestructor());
 :info:build                                    ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :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
 :info:build     template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
 :info:build                          ^
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__memory/shared_ptr.h:464:9:
 note: candidate template ignored: requirement
 '__shared_ptr_deleter_ctor_reqs<encfs::NullDestructor, encfs::NullKey,
 encfs::AbstractCipherKey>::value' was not satisfied [with _Yp =
 encfs::NullKey, _Dp = encfs::NullDestructor]

 }}}

 Full log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/65455>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list