[MacPorts] #63493: encfs @1.9.5: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0' (was: encfs not compiling on Big Sur)

MacPorts noreply at macports.org
Wed Sep 15 17:01:12 UTC 2021


#63493: encfs @1.9.5: clang: error: invalid version number in
'MACOSX_DEPLOYMENT_TARGET=11.0'
----------------------+--------------------
  Reporter:  astir13  |      Owner:  (none)
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:  invalid  |   Keywords:  bigsur
      Port:  encfs    |
----------------------+--------------------
Changes (by ryandesign):

 * keywords:   => bigsur
 * status:  new => closed
 * resolution:   => invalid
 * port:   => encfs


Comment:

 Replying to [ticket:63493 astir13]:
 > {{{
 > clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
 > }}}

 This means your command line tools are out of date (are for a version of
 macOS older than macOS 11). There is a bug in macOS that does not update
 the command line tools automatically so please update them manually. See
 ProblemHotlist#reinstall-clt.

 > 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 ;-)

 When you did this, cmake and make and make install did not run with the
 arguments and environment variables that MacPorts would have set, so what
 you have now installed is probably different than what would have been
 installed by MacPorts, so we cannot support such an installation.

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


More information about the macports-tickets mailing list