Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39297 closed defect (duplicate)

py27-cairo: cairo must be installed with +x11 and without +quartz

Reported by: nonstop.server@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: seanfarley (Sean Farley)
Port: py27-cairo

Description

Port py27-cairo fails to upgrade from version 1.10.0_1 to 1.10.0_2 with error message:

DEBUG: archivefetch phase started at Sat Jun  1 00:56:57 CEST 2013
DEBUG: Executing proc-pre-org.macports.archivefetch-archivefetch-0
DEBUG: Checking cairo for active variants for depspec 'path:lib/pkgconfig/cairo.pc:cairo'
DEBUG: cairo is installed with the following variants: +opengl+quartz+x11
DEBUG:   required: x11, forbidden: quartz
DEBUG:   rejected, because forbidden variant quartz is present
Error: org.macports.archivefetch for port py27-cairo returned: path:lib/pkgconfig/cairo.pc:cairo must be installed with +x11 and without +quartz.
DEBUG: Error code: NONE

Version Information:

Mac OS Version:
ProductName:	Mac OS X
ProductVersion:	10.5.8
BuildVersion:	9L31a
Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

Xcode Version:
Xcode 3.1.4
Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0
BuildVersion: 9M2809

Macports Version:
Version: 2.1.3

Attachments (1)

main.log (2.0 KB) - added by nonstop.server@… 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by nonstop.server@…

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: py27-cairo @1.10.0_2 fails to upgradepy27-cairo: cairo must be installed with +x11 and without +quartz

The error message tells you how to solve the problem: "cairo must be installed with +x11 and without +quartz". However, to me, at least, this requirement is unexpected. The cairo port can be installed with both +x11 and +quartz variants simultaneously; why should py27-cairo care? In fact the x11 and quartz variants of the cairo cairo port used to be mutually exclusive, but haven't been for years.

Duplicate of #38606.

comment:2 in reply to:  1 Changed 11 years ago by nonstop.server@…

Replying to ryandesign@…:

Thank you for the advice, I'll remove the +quartz variant from cairo and other ports that have dependencies on the +quartz variant.
What I do not fully understand is how change r106520 can be responsible for this error message.
Both ports cairo and py27-cairo have been installed as dependencies of other ports and have been working fine until this last change.
As far as I am aware the variants for both cairo and py27-cairo never changed on my system.

% port installed name:cairo   
The following ports are currently installed:
  cairo @1.12.14_0+opengl+quartz+x11 (active)
  py27-cairo @1.10.0_1+x11 (active)

comment:3 Changed 11 years ago by tmp32666@…

I updated yesterday and since then I cannot run gimp any more because the update failed:

Updating:
** py27-cairo  1.10.0_2
** py27-distribute  0.6.45_0
** py27-pygtk  2.24.0_1

...

--->  Computing dependencies for py27-cairo
--->  Fetching archive for py27-cairo
Error: org.macports.archivefetch for port py27-cairo returned: cairo must be installed with +x11 and without +quartz.
Please see the log file for port py27-cairo for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cairo/py27-cairo/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
--->  Uninstalling gdk-pixbuf2 @2.28.1_0+x11
--->  Cleaning gdk-pixbuf2

Regarding the 'duplicate' - the ticket is a duplicate, but the other one does not offer a reasonable solution (yet): throw your whole ports installation to the bin and start fresh :-)

Note: See TracTickets for help on using tickets.