Opened 2 years ago

Closed 2 years ago

#65455 closed defect (duplicate)

encfs fails to build

Reported by: mouse07410 (Mouse) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: encfs

Description

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.

Attachments (1)

encfs.log.txt (217.9 KB) - added by mouse07410 (Mouse) 2 years ago.
main log

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by mouse07410 (Mouse)

Attachment: encfs.log.txt added

main log

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

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