[MacPorts] #68698: librsvg 2.56.3_0: issues with cargo and proxy

MacPorts noreply at macports.org
Tue Nov 14 17:24:37 UTC 2023


#68698: librsvg 2.56.3_0: issues with cargo and proxy
---------------------+---------------------
 Reporter:  amagela  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.8.1
 Keywords:           |       Port:  librsvg
---------------------+---------------------
 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

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


More information about the macports-tickets mailing list