Opened 3 years ago

Last modified 19 months ago

#68698 assigned defect

librsvg @2.56.3_0: SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer certificate)

Reported by: amagela (Anthony M. Agelastos) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc: cooljeanius (Eric Gallager)
Port: librsvg

Description

Greetings:

I am unable to build this port on Sonoma v14.1.1 due to a proxy issue. It seems as if MacPorts is clobbering the proxy stuff for cargo somehow. I mention that because if I try to replicate the command it is failing on (following the log file... this command is below), it spends a lot more time and produces some artifacts. I have all sorts of environmental proxy variables set including CARGO_HOME. I don't recall this issue being present on macOS v13 prior to updating. I will attach my build log file. Thank you for your help with this.

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.56.3 &&                         \
    PKG_CONFIG_ALLOW_CROSS=1                        \
    PKG_CONFIG='/opt/local/bin/pkg-config'                      \
    CARGO_TARGET_DIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.56.3/target                   \
    cargo --locked build --verbose  --release --lib \
    && cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.56.3 && /bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/clang  -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64  -lobjc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -o librsvg_c_api.la _rsvg_dummy.lo && mv /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/work/librsvg-2.56.3/target/aarch64-apple-darwin/release/librsvg.a .libs/librsvg_c_api.a

Kind regards, Anthony

Attachments (2)

librsvg.log (153.4 KB) - added by amagela (Anthony M. Agelastos) 3 years ago.
log file with debug and verbose turned on
manual-rsvg.log (305.3 KB) - added by amagela (Anthony M. Agelastos) 3 years ago.
This contains how much further I can take it if I manually call the commands.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by amagela (Anthony M. Agelastos)

Attachment: librsvg.log added

log file with debug and verbose turned on

Changed 3 years ago by amagela (Anthony M. Agelastos)

Attachment: manual-rsvg.log added

This contains how much further I can take it if I manually call the commands.

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mascguy@… removed
Keywords: sonoma added
Owner: set to mascguy
Status: newassigned
Summary: librsvg 2.56.3_0: issues with cargo and proxylibrsvg @2.56.3_0: SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer certificate)

comment:2 Changed 2 years ago by kencu (Ken)

did this issue disappear for you?

Issues like this this often do just vanish over time.

comment:3 Changed 2 years ago by amagela (Anthony M. Agelastos)

Issue is still present.

comment:4 Changed 20 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:5 Changed 19 months ago by amagela (Anthony M. Agelastos)

This issue has not subsided (and it is also on macOS Sequoia). I can build other ports that presumably use Crates (e.g., Alacritty) which tells me there's just something about this one.

Last edited 19 months ago by amagela (Anthony M. Agelastos) (previous) (diff)
Note: See TracTickets for help on using tickets.