[MacPorts] #62621: mpbb takes too long to install dependencies

MacPorts noreply at macports.org
Wed Apr 28 19:57:39 UTC 2021


#62621: mpbb takes too long to install dependencies
----------------------------+---------------------
  Reporter:  ryandesign     |      Owner:  admin@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  buildbot/mpbb  |    Version:
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+---------------------
Changes (by ryandesign):

 * cc: mascguy (removed)


Comment:

 Here we have [https://github.com/macports/macports-ports/pull/10829 a pull
 request updating auto-multiple-choice-devel], a port with 554
 dependencies. It has taken 4 hours so far to attempt to install all
 dependencies. The Azure Pipelines build terminated after ~3.5 hours but
 its install-dependencies.log is already 1GB in size and contains 9669
 occurrences of "activate phase started at" which is wildly excessive.
 There should be 554 occurrences, one for each port, but for each of the
 554 we appear to be activating and deactivating that port and its
 dependencies, so many ports keep getting activated and deactivated over
 and over. Why? Can we stop doing that? This wears out build machine SSDs
 (all of the buildbot SSDs bought in 2016 died in 4-5 years) and wastes
 time.

 {{{
 $ egrep '^(----> Installing dependency|--->  Activating|--->
 Deactivating)' install-dependencies.log  | head -n 50
 ----> Installing dependency (1 of 554) 'gperf' with variants ''
 (requesting '')
 --->  Activating gperf @3.1_0
 --->  Deactivating gperf @3.1_0
 ----> Installing dependency (2 of 554) 'libiconv' with variants ''
 (requesting '')
 --->  Activating libiconv @1.16_1
 --->  Deactivating libiconv @1.16_1
 ----> Installing dependency (3 of 554) 'ncurses' with variants ''
 (requesting '')
 --->  Activating ncurses @6.2_1
 --->  Deactivating ncurses @6.2_1
 ----> Installing dependency (4 of 554) 'gettext' with variants ''
 (requesting '')
 --->  Activating libiconv @1.16_1
 --->  Activating ncurses @6.2_1
 --->  Activating gettext @0.19.8.1_2
 --->  Deactivating gettext @0.19.8.1_2
 --->  Deactivating libiconv @1.16_1
 --->  Deactivating ncurses @6.2_1
 ----> Installing dependency (5 of 554) 'm4' with variants '' (requesting
 '')
 --->  Activating m4 @1.4.18_2
 --->  Deactivating m4 @1.4.18_2
 ----> Installing dependency (6 of 554) 'xz' with variants '' (requesting
 '')
 --->  Activating libiconv @1.16_1
 --->  Activating ncurses @6.2_1
 --->  Activating gettext @0.19.8.1_2
 --->  Activating xz @5.2.5_0
 --->  Deactivating xz @5.2.5_0
 --->  Deactivating gettext @0.19.8.1_2
 --->  Deactivating libiconv @1.16_1
 --->  Deactivating ncurses @6.2_1
 ----> Installing dependency (7 of 554) 'autoconf' with variants ''
 (requesting '')
 --->  Activating libiconv @1.16_1
 --->  Activating ncurses @6.2_1
 --->  Activating gettext @0.19.8.1_2
 --->  Activating m4 @1.4.18_2
 --->  Activating autoconf @2.71_1
 --->  Deactivating autoconf @2.71_1
 --->  Deactivating gettext @0.19.8.1_2
 --->  Deactivating libiconv @1.16_1
 --->  Deactivating m4 @1.4.18_2
 --->  Deactivating ncurses @6.2_1
 ----> Installing dependency (8 of 554) 'automake' with variants ''
 (requesting '')
 --->  Activating automake @1.16.3_0
 --->  Deactivating automake @1.16.3_0
 ----> Installing dependency (9 of 554) 'libffi' with variants ''
 (requesting '')
 --->  Activating libffi @3.3_1
 --->  Deactivating libffi @3.3_1
 ----> Installing dependency (10 of 554) 'libtool' with variants ''
 (requesting '')
 --->  Activating libtool @2.4.6_11
 --->  Deactivating libtool @2.4.6_11
 ----> Installing dependency (11 of 554) 'bzip2' with variants ''
 (requesting '')
 --->  Activating bzip2 @1.0.8_0
 }}}

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


More information about the macports-tickets mailing list