[MacPorts] #55495: py27-cairo: Extract failure

MacPorts noreply at macports.org
Mon Dec 11 00:10:43 UTC 2017


#55495: py27-cairo: Extract failure
-----------------------+------------------------
  Reporter:  mf2k      |      Owner:  seanfarley
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.99
Resolution:            |   Keywords:
      Port:  py-cairo  |
-----------------------+------------------------

Comment (by ryandesign):

 Replying to [ticket:55495 mf2k]:
 > I'm getting this strange extract failure while attempting to install
 py27-cairo.
 >
 > {{{
 > --->  Extracting py27-cairo
 > Error: Failed to extract py27-cairo: error renaming: target
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_python_py-
 cairo/py27-cairo/work/pycairo-1.15.4" is not a directory
 > }}}

 I'm unable to reproduce this issue. It also built successfully on all the
 buildbot workers.

 Replying to [comment:2 mf2k]:
 > The directory name appears to be {{{pygobject-pycairo-88478f2}}}.

 When originally extracted, yes. But the `post-extract` procedure in the
 github portgroup is supposed to take care of renaming it to
 pycairo-1.15.4. It looks like it's that procedure that's failing here, but
 I don't know why.

 It's not complaining that the source directory pygobject-pycairo-88478f2
 doesn't exist. It's complaining that the target directory pycairo-1.15.4
 doesn't exist. That seems like a weird thing for it to be complaining
 about, since of course the target directory shouldn't exist, until after
 the source has been renamed to the target.

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


More information about the macports-tickets mailing list