#55495 closed defect (fixed)
py27-cairo: Extract failure
Reported by: | mf2k (Frank Schima) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.4.99 |
Keywords: | Cc: | michaelld (Michael Dickens) | |
Port: |
Description
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
Attachments (1)
Change History (15)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Version: | → 2.4.99 |
---|
Changed 7 years ago by mf2k (Frank Schima)
comment:2 follow-up: 3 Changed 7 years ago by mf2k (Frank Schima)
comment:3 follow-up: 4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to 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 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.
comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign:
It's complaining that the target directory pycairo-1.15.4 doesn't exist.
Actually, to take it at its word, it's complaining that it's not a directory. Which could mean that it doesn't exist, but could also mean that it exists and is a file. If so, what's in that file? What else is in workpath?
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
comment:7 Changed 7 years ago by mf2k (Frank Schima)
$ ls -l /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_python_py-cairo/py27-cairo/work/ total 0 drwxr-xr-x 19 macports polkituser 608 Dec 10 17:25 pygobject-pycairo-88478f2 $
comment:8 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
I see you're on High Sierra. Using APFS? Our buildbot worker isn't, in case that's relevant. Is your filesystem case-sensitive? Our buildbot workers' filesystems are.
comment:9 Changed 7 years ago by mf2k (Frank Schima)
Yes, the drive is "APFS Volume". Not case sensitive.
comment:10 Changed 7 years ago by mf2k (Frank Schima)
Cc: | michaelld added |
---|
I am now seeing this on a machine running Sierra (10.12.6) with HFS+ file system with other ports such as the following:
---> Extracting SoapySDR Error: Failed to extract SoapySDR: error renaming: target "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_SoapySDR/SoapySDR/work/SoapySDR-0.6.1" is not a directory
and
---> Extracting cmake-devel Error: Failed to extract cmake-devel: error renaming: target "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake-devel/work/cmake-3fdc4397e121f5125c103dc96e1e37b3e3454a5b" is not a directory
comment:11 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign removed |
---|---|
Component: | ports → base |
Owner: | changed from seanfarley to ryandesign |
Port: | py-cairo removed |
Status: | new → accepted |
I messed up in [acc1e62d8560609652977e563734f805c41244cf/macports-base].
comment:12 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
The directory name appears to be
pygobject-pycairo-88478f2
.