[MacPorts] #63493: encfs not compiling on Big Sur
MacPorts
noreply at macports.org
Wed Sep 15 16:32:15 UTC 2021
#63493: encfs not compiling on Big Sur
---------------------+--------------------
Reporter: astir13 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
---------------------+--------------------
I encountered a failing encfs build on big sur (other ports like e.g.
xclock nicely build and install):
{{{
sudo port install encfs
---> Fetching archive for libidn2
---> Attempting to fetch libidn2-2.3.2_0.darwin_20.x86_64.tbz2 from
https://cph.dk.packages.macports.org/libidn2
---> Attempting to fetch libidn2-2.3.2_0.darwin_20.x86_64.tbz2.rmd160
from https://cph.dk.packages.macports.org/libidn2
---> Installing libidn2 @2.3.2_0
---> Activating libidn2 @2.3.2_0
---> Cleaning libidn2
---> Fetching archive for libpsl
---> Attempting to fetch libpsl-0.21.1-20210726_2.darwin_20.x86_64.tbz2
from https://cph.dk.packages.macports.org/libpsl
---> Attempting to fetch
libpsl-0.21.1-20210726_2.darwin_20.x86_64.tbz2.rmd160 from
https://cph.dk.packages.macports.org/libpsl
---> Installing libpsl @0.21.1-20210726_2
---> Activating libpsl @0.21.1-20210726_2
---> Cleaning libpsl
---> Fetching archive for curl
---> Attempting to fetch curl-7.78.0_0+ssl.darwin_20.x86_64.tbz2 from
https://cph.dk.packages.macports.org/curl
---> Attempting to fetch curl-7.78.0_0+ssl.darwin_20.x86_64.tbz2.rmd160
from https://cph.dk.packages.macports.org/curl
---> Installing curl @7.78.0_0+ssl
---> Activating curl @7.78.0_0+ssl
---> Cleaning curl
---> Fetching archive for cmake
---> Attempting to fetch cmake-3.21.2_0.darwin_20.x86_64.tbz2 from
https://cph.dk.packages.macports.org/cmake
---> Attempting to fetch cmake-3.21.2_0.darwin_20.x86_64.tbz2.rmd160 from
https://cph.dk.packages.macports.org/cmake
---> Installing cmake @3.21.2_0
---> Activating cmake @3.21.2_0
---> Cleaning cmake
---> Fetching archive for encfs
---> Attempting to fetch encfs-1.9.5_1.darwin_20.x86_64.tbz2 from
https://cph.dk.packages.macports.org/encfs
---> Attempting to fetch encfs-1.9.5_1.darwin_20.x86_64.tbz2 from
https://packages.macports.org/encfs
---> Attempting to fetch encfs-1.9.5_1.darwin_20.x86_64.tbz2 from
https://fra.de.packages.macports.org/encfs
---> Fetching distfiles for encfs
---> Verifying checksums for encfs
---> Extracting encfs
---> Configuring encfs
Error: Failed to configure encfs: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_encfs/encfs/work/build/CMakeFiles/CMakeError.log
Error: Failed to configure encfs: configure failure: 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
---> Some of the ports you installed have notes:
libpsl has the following notes:
libpsl API documentation is provided by the port 'libpsl-docs'.
}}}
checking the logs provides:
{{{
Compiling the C compiler identification source file "CMakeCCompilerId.c"
failed.
Compiler: /usr/bin/clang
Build flags:
-pipe;-Os;-I/opt/local/include/fuse;-DNDEBUG;-I/opt/local/include;-I/opt/local/include/fuse;-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
Id flags:
The output was:
1
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
}}}
A **workaround** I found:
- go into the build directory:
{{{cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_encfs/encfs/work/build}}}
- and run command {{{cmake}}}
- then {{{make}}}
- then {{{make install}}}
- worked for me, I have a working encfs now ;-)
--
Ticket URL: <https://trac.macports.org/ticket/63493>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list