Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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)

main.log (69.7 KB) - added by mf2k (Frank Schima) 7 years ago.

Download all attachments as: .zip

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)

Attachment: main.log added

comment:2 Changed 7 years ago by mf2k (Frank Schima)

The directory name appears to be pygobject-pycairo-88478f2.

comment:3 in reply to:  2 ; 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 in reply to:  3 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?

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

comment:6 Changed 7 years ago by mf2k (Frank Schima)

Nothing else is in the directory.

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.

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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: portsbase
Owner: changed from seanfarley to ryandesign
Port: py-cairo removed
Status: newaccepted

comment:12 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 29d9709a183c9c8646e45e6ffb658329b73950ba/macports-base:

portutil.tcl: Fix non-case-only renames

Closes: #55495
See: #55492

comment:13 Changed 7 years ago by mf2k (Frank Schima)

Confirmed. Thank you!

comment:14 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

In a98fe3b89fba99f8bb873663f85a04831718583b/macports-base:

portutil.tcl: Fix non-case-only renames

Closes: #55495
See: #55492
(cherry picked from commit 29d9709a183c9c8646e45e6ffb658329b73950ba)

Note: See TracTickets for help on using tickets.