Ticket #12137 (closed defect: fixed)
BUG: +universal variant for ports that depend on lib:libX11.6:XFree86
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.4.42 |
| Keywords: | Cc: | ryandesign@… | |
| Port: |
Description
I want to install "glitz +universal" but it doesn't work:
$ sudo port install glitz +universal Error: Error executing universal: Default universal variant only works with ports based on configure Error: Unable to execute port: Error evaluating variants
This is unexpected because glitz is based on configure.
Debug output shows it's actually complaining about the XFree86 dependency:
$ sudo port -dv install glitz +universal DEBUG: Found port in file:///Users/rschmidt/macports/dports/graphics/glitz DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/graphics/glitz DEBUG: Requested variant darwin is not provided by port glitz. DEBUG: Requested variant i386 is not provided by port glitz. DEBUG: Requested variant macosx is not provided by port glitz. DEBUG: Executing variant universal provides universal DEBUG: Found port in file:///Users/rschmidt/macports/dports/x11/XFree86 DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/x11/XFree86 DEBUG: Requested variant i386 is not provided by port XFree86. DEBUG: Executing variant universal provides universal DEBUG: Default universal variant only works with ports based on configure [snip]
But I'm not even using the XFree86 port; I'm using Apple's X11 quite happily.
I tried sudo port -n install glitz +universal to tell it not to follow dependencies, but it makes no difference.
Removing depends_lib lib:libX11.6:XFree86 from the glitz portfile does allow glitz +universal to build and install properly, so that confirms that this is indeed the problem. Now how do we fix it?
Change History
Note: See
TracTickets for help on using
tickets.

