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

MacPorts noreply at macports.org
Tue Jun 4 02:38:10 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 ryandesign):

 Ok yes, with that in mind, I can reproduce the issue on my own machine:

 * disconnect network
 {{{
 $ sudo port clean --all py27-mistune
 $ sudo port -f deactivate py27-setuptools
 Warning: Deactivate forced.  Proceeding despite dependencies.
 --->  Deactivating py27-setuptools @40.8.0_0
 --->  Cleaning py27-setuptools
 $ sudo port archivefetch py27-mistune
 --->  Fetching archive for py27-mistune
 --->  Attempting to fetch py27-mistune-0.8.4_0.darwin_17.x86_64.tbz2 from
 https://packages.macports.org/py27-mistune
 }}}
 * reconnect network
 {{{
 $ sudo port install py27-mistune
 --->  Computing dependencies for py27-mistune
 --->  Fetching distfiles for py27-mistune
 --->  Attempting to fetch mistune-0.8.4.tar.gz from
 https://files.pythonhosted.org/packages/source/m/mistune
 --->  Verifying checksums for py27-mistune
 --->  Extracting py27-mistune
 --->  Configuring py27-mistune
 --->  Building py27-mistune
 Error: Failed to build py27-mistune: command execution failed
 Error: See /opt/local/var/macports/logs/.../py27-mistune/main.log for
 details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port py27-mistune failed
 $
 }}}

 I think the fix is in `proc _archive_available`, before it checks for an
 archive on the server, it should check if the archivefetch phase has been
 completed. If it has, it should return `no`.

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


More information about the macports-tickets mailing list