[MacPorts] #51516: MacPorts should use a bundled copy of a newer libcurl and SSL library rather than the OS X version

MacPorts noreply at macports.org
Fri Dec 3 19:24:53 UTC 2021


#51516: MacPorts should use a bundled copy of a newer libcurl and SSL library
rather than the OS X version
--------------------------+--------------------------------
  Reporter:  ryandesign   |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:  MacPorts Future
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------------------

Comment (by devernay):

 Replying to [comment:76 kencu]:
 > see above:
 >
 > https://trac.macports.org/ticket/51516#comment:19
 >
 > I first did this five years ago, and have on every older system since.
 >
 > works nicely

 Thanks a lot! That's a good solution.

 The last phase of `sudo make install` (`./src/images_to_archives.tcl`)
 failed several times because some of my installed packages had wrong
 tarlists, and the error messages were not very informative. I had to
 reinstall these, and everything went fine afterwards. Maybe there's a way
 to skip that phase if it's not necessary?

 {{{
 Processing 10 of 317: lzo2-2.10_0+universal.darwin_10.i386-x86_64.tbz2
 Command failed: /usr/bin/tar -cjf /opt/local-
 libc++/var/macports/software/lzo2/lzo2-2.10_0+universal.darwin_10.i386-x86_64.tbz2
 -T /opt/local-libc++/var/macports/software/lzo2/tarlist > /opt/local-
 libc++/var/macports/software/lzo2/error.log 2>&1
 Exit code: 1
 command execution failed
     while executing
 "system "$tarcmd -cjf $newlocation -T ${targetdir}/tarlist >
 ${targetdir}/error.log 2>&1""
     ("foreach" body line 78)
     invoked from within
 "foreach installed $ilist {
     incr counter
     set iname [lindex $installed 0]
     set iversion [lindex $installed 1]
     set irevision [lindex $inst..."
     (file "./src/images_to_archives.tcl" line 36)
 make: *** [install] Error 1
 }}}

 I wish the `port` command could issue a warning that it's using the
 system's outdated openssl/curl, and link to those special instructions to
 build from source with the `--with-curlprefix` option. Or at least make
 this a FAQ. Seeing the number of Cc: on this ticket, this seems to be
 affecting a number of users.

 The real issues will come when even curl cannot be downloaded using the
 system's curl, but as long as pre-built packages are available (thanks
 again Ken) we're fine.

-- 
Ticket URL: <https://trac.macports.org/ticket/51516#comment:79>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list