[MacPorts] #62137: weechat @3.0+tls: path-style dependency for certsync/curl-ca-bundle doesn't work
MacPorts
noreply at macports.org
Sun Jan 24 04:46:03 UTC 2021
#62137: weechat @3.0+tls: path-style dependency for certsync/curl-ca-bundle doesn't
work
-------------------------+---------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: | Port: weechat
-------------------------+---------------------
weechat's +tls variant has a path-style dependency to allow either
certsync or curl-ca-bundle to satisfy it:
{{{
depends_run-append path:etc/openssl/cert.pem:curl-ca-bundle
}}}
However, this doesn't work for me. I have certsync installed, and the file
being checked for exists:
{{{
$ stat /opt/local/etc/openssl/cert.pem
16777221 86049698 -rw-r--r-- 1 root admin 0 260086 "Jan 23 19:16:07 2021"
"Jan 23 19:15:38 2021" "Jan 23 19:15:38 2021" "Jan 23 19:15:38 2021" 4096
512 0 /opt/local/etc/openssl/cert.pem
$ port installed certsync
The following ports are currently installed:
certsync @1.1.3_0 (active)
$
}}}
...and yet MacPorts still thinks the dependency is unsatisfied:
{{{
DEBUG: Starting logging for curl-ca-bundle
DEBUG: macOS 10.15 (darwin/19.6.0) arch i386
DEBUG: MacPorts 2.6.4
DEBUG: Xcode 12.3
DEBUG: SDK 10.15
DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.15
DEBUG: Checking for conflicts against curl-ca-bundle
DEBUG: Searching for dependency: certsync
DEBUG: Found Dependency: receipt exists for certsync
Error: Can't install curl-ca-bundle because conflicting ports are active:
certsync
DEBUG: conflicting ports
while executing
"_mporterrorifconflictsinstalled $mport"
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
}}}
I also have curl-ca-bundle installed, but it's not active, so that
shouldn't be affecting anything:
{{{
$ port installed curl-ca-bundle
The following ports are currently installed:
curl-ca-bundle @7.71.0_0
$ sudo port -udc deactivate curl-ca-bundle
Password:
DEBUG: Copying
/Users/ericgallager/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: Image error: port curl-ca-bundle is not active.
invoked from within
"throw registry::image-error "Image error: port ${name} is not active.""
(procedure "deactivate" line 25)
invoked from within
"deactivate $name "" "" 0 $optionslist"
(procedure "portimage::deactivate_composite" line 3)
invoked from within
"portimage::deactivate_composite $portname $composite_version [array get
options]"
Error: port deactivate failed: Image error: port curl-ca-bundle is not
active.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62137>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list