Opened 2 years ago

Last modified 2 years ago

#65361 new defect

encfs 1.9.5_2: build failure — at Version 3

Reported by: MichaelJFischer Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: encfs

Description (last modified by kencu (Ken))

~> sudo port install encfs
--->  Computing dependencies for encfs
--->  Fetching archive for encfs
--->  Attempting to fetch encfs-1.9.5_2.darwin_21.x86_64.tbz2 from https://packages.macports.org/encfs
--->  Attempting to fetch encfs-1.9.5_2.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/encfs
--->  Attempting to fetch encfs-1.9.5_2.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/encfs
--->  Fetching distfiles for encfs
--->  Verifying checksums for encfs
--->  Extracting 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 if you believe there is a bug.
Error: Processing of port encfs failed

Change History (4)

Changed 2 years ago by MichaelJFischer

Attachment: main.log added

Log file /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 MichaelJFischer

A copy of the binary encfs @1.9.5_2 that I built in January 2022 on another MAC runs correctly on the machine where the build now fails, so I know the installation of macfuse (on which encfs depends) works.

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

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                          ^

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

Description: modified (diff)
Note: See TracTickets for help on using tickets.