#62356: gdb erroneously installs +universal variants of dependencies

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

#62356: gdb erroneously installs +universal variants of dependencies

macports-4
#62356: gdb erroneously installs +universal variants of dependencies
---------------------------------------+--------------------
 Reporter:  platipodium                |      Owner:  (none)
     Type:  defect                     |     Status:  new
 Priority:  Normal                     |  Milestone:
Component:  ports                      |    Version:  2.6.4
 Keywords:  universal, arm64, Big Sur  |       Port:  gdb
---------------------------------------+--------------------
 On Big Sur/arm64,  installing gdb results in unwanted reinstallation of
 all dependencies with the +universal variant

 {{{
  port install gdb
 --->  Fetching archive for libiconv
 --->  Attempting to fetch
 libiconv-1.16_1+universal.darwin_20.arm64-x86_64.tbz2.rmd160 from
 https://mse.uk.packages.macports.org/libiconv
 --->  Installing libiconv @1.16_1+universal
 --->  Cleaning libiconv
 --->  Deactivating libiconv @1.16_1
 --->  Cleaning libiconv
 --->  Activating libiconv @1.16_1+universal
 --->  Cleaning libiconv
 --->  Fetching archive for ncurses
 --->  Attempting to fetch
 ncurses-6.2_1+universal.darwin_20.arm64-x86_64.tbz2 from
 https://mse.uk.packages.macports.org/ncurses

 }}}

 .... and so forth for all dependencies boehmgc, expat, gettext, libiconv,
 ncurses, zlib

--
Ticket URL: <https://trac.macports.org/ticket/62356>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #62356: gdb: add arm64 support (was: gdb erroneously installs +universal variants of dependencies)

macports-4
#62356: gdb: add arm64 support
--------------------------+--------------------
  Reporter:  platipodium  |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:               |   Keywords:  arm64
      Port:  gdb          |
--------------------------+--------------------
Changes (by jmroot):

 * keywords:  universal, arm64, Big Sur => arm64
 * type:  defect => enhancement


Comment:

 This is because gdb sets `supported_archs x86_64 i386`. On an Apple
 Silicon system, that means that gdb will be built as x86_64, and thus all
 dependencies need to be universal.

 I'll leave this open as a request to add native arm64 support.

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