Opened 2 years ago

Closed 2 years ago

#66196 closed defect (fixed)

Failed to open port: expected boolean value but got…

Reported by: MaddTheSane (C.W. Betts) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.8.0
Keywords: Cc:
Port:

Description

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""

Change History (1)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Selfupdate again, this was briefly broken but is now fixed.

Note: See TracTickets for help on using tickets.