[MacPorts] #66196: Failed to open port: expected boolean value but got…

MacPorts noreply at macports.org
Tue Nov 8 10:04:32 UTC 2022


#66196: Failed to open port: expected boolean value but got…
-------------------------+--------------------
 Reporter:  MaddTheSane  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  base         |    Version:  2.8.0
 Keywords:               |       Port:
-------------------------+--------------------
 I am running into an error with some ports. Either something is
 misconfigured or my MacPorts database has become corrupted.
 {{{
 Warning: Failed to open port xar : expected boolean value but got "[option
 openssl.branch] != "no_version""
 Warning: Failed to open port python27 : can't set "openssl.branch":
 expected boolean value but got "[option openssl.branch] != "no_version""
 Warning: Failed to open port nodejs16 : can't set "openssl.branch":
 expected boolean value but got "[option openssl.branch] != "no_version""
 Warning: Failed to open port qt6-qtbase : can't create procedure
 "developerversion::get_default_developerversion": unknown namespace
 Warning: Failed to open port qt5-qtbase : can't create procedure
 "developerversion::get_default_developerversion": unknown namespace
 Warning: Failed to open port openssl : expected boolean value but got
 "[option openssl.branch] != "no_version""
 }}}

 This is what happens when I pass the debug flag:
 {{{
 sudo port -d install openssl
 DEBUG: Copying /Users/cwbetts/Library/Preferences/com.apple.dt.Xcode.plist
 to /opt/local/var/macports/home/Library/Preferences
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
 DEBUG: OS darwin/22.1.0 (macOS 13.0) arch i386
 DEBUG: Sourcing PortGroup compiler_wrapper 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_wrapper-1.0.tcl
 DEBUG: Sourcing PortGroup openssl 1.0 from
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/openssl-1.0.tcl
 DEBUG: expected boolean value but got "[option openssl.branch] !=
 "no_version""
     while executing
 "expr {[openssl::check_branch] && {[option openssl.branch] !=
 "no_version"}}"
     (procedure "openssl::is_enabled" line 2)
     invoked from within
 "openssl::is_enabled"
     (procedure "openssl::set_openssl_dependency" line 4)
     invoked from within
 "openssl::set_openssl_dependency"
     (file "Portfile" line 27)
     invoked from within
 "source Portfile"
     invoked from within
 "$workername eval {source Portfile}"
 DEBUG: expected boolean value but got "[option openssl.branch] !=
 "no_version""
     while executing
 "error $result"
     (procedure "mportopen" line 53)
     invoked from within
 "mportopen $porturl [array get options] [array get requested_variations]"
 Error: Unable to open port: expected boolean value but got "[option
 openssl.branch] != "no_version""
 }}}

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


More information about the macports-tickets mailing list