[MacPorts] #57457: Travis CI: Sometimes declared dependencies aren't installed

MacPorts noreply at macports.org
Mon Jun 3 23:14:07 UTC 2019


#57457: Travis CI: Sometimes declared dependencies aren't installed
-----------------------------+---------------------
  Reporter:  ryandesign      |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by raimue):

 I took a closer look at your last example with py27-mistune. mpbb runs the
 following command to install the port. All dependencies should already be
 installed at this point, but all ports are deactivated.
 {{{
 if ! "${option_prefix}/bin/port" -dn install --unrequested "$depname"
 $deprequestedvariants; then
   ...
 }}}

 However, the log does not mention py27-setuptools or py27-cython in the
 list of dependencies in the log on paste.macports.org:

 {{{
 --->  Computing dependencies for py27-mistune
 ...
 --->  Dependencies to be installed: python27 bzip2 db48 expat gettext
 libiconv ncurses libedit libffi openssl zlib python2_select python_select
 sqlite3
 }}}

 These two ports are the dependencies added only in the subport
 conditional. Are we maybe somehow parsing the Portfile with an incorrect
 `${subport}` or `${name}` which leads to the condition being evaluated to
 false...?

 By the way, the only reason why Travis tried to build it from source
 appears to be some network/DNS outage. I would assume on the other macOS
 versions mpbb successfully downloaded the binary archive in this step and
 thus succeeded.

 {{{
 --->  py27-mistune-0.8.4_0.darwin_15.x86_64.tbz2 doesn't seem to exist in
 /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch py27-mistune-0.8.4_0.darwin_15.x86_64.tbz2 from
 https://packages.macports.org/py27-mistune
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 ^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0DEBUG: Fetching archive failed:     Could not resolve host:
 packages.macports.org
 }}}

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


More information about the macports-tickets mailing list