Opened 6 years ago

Last modified 21 months ago

#56272 closed defect

pangomm with +quartz variant does not compile as it requires pango with +x11 variant. — at Version 1

Reported by: jmgc Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: pending Cc:
Port: pangomm

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When installing inkscape with +quartz variant in High Sierra, the pangomm installation fails. I have revised the build process, and I have found that when I execute:

sudo port install pangomm +quartz

The result is:

--->  Computing dependencies for pangomm
--->  Configuring pangomm
Error: Failed to configure pangomm: pango must be installed with +x11.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pangomm/pangomm/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port pangomm failed

It seems that pango +x11 is needed, instead of the +quartz variant, which seems to be the natural to use.

Change History (1)

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

Description: modified (diff)
Owner: set to dbevans
Status: newassigned

pango has x11 and quartz variants, and by default turns both of them on. It sounds like you have installed the pango port with the quartz variant turned on and the x11 variant turned off, so you at one point ran sudo port install pango +quartz -x11.

pangomm has x11 and quartz variants, and by default turns on only the x11 variant. You've shown that you tried to install pangomm turning on the quartz variant. This will be added to the default variants, so that what will actually be installed is pangomm with x11 and quartz variants turned on.

Whatever variants you want to turn on for the pangomm port, the same variants must be turned on for the pango port.

So your options are to either install pango with quartz only, and disable x11 (sudo port install pangomm +quartz -x11), or reinstall pango with both the quartz and x11 variants on (sudo port install pango +quartz +x11).

Note: See TracTickets for help on using tickets.