[MacPorts] #68874: cmake portgroup: Error: Failed to configure tea: can't read "cmake._archflag_vars": no such variable

MacPorts noreply at macports.org
Mon Dec 11 03:13:58 UTC 2023


#68874: cmake portgroup: Error: Failed to configure tea: can't read
"cmake._archflag_vars": no such variable
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  cmake
------------------------+--------------------
 I tried to include the cmake 1.1 portgroup in a variant. This failed at
 configure time:

 {{{
 DEBUG: Executing proc-pre-org.macports.configure-configure-0
 DEBUG: CPPFLAGS="-I/opt/local/include" inserted into CFLAGS="-Os -DNDEBUG
 -I/opt/local/include" CXXFLAGS="-Os -DNDEBUG -I/opt/local/include
 -stdlib=libc++"
         (using ccache)
 DEBUG: Executing proc-pre-org.macports.configure-configure-1
 Error: Failed to configure tea: can't read "cmake._archflag_vars": no such
 variable
 }}}

 I could work around the problem by using:

 {{{#!tcl
     global cmake._archflag_vars
 }}}

 ''before'' including the cmake 1.1 portgroup.

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


More information about the macports-tickets mailing list