[MacPorts] #39397: gtkmm @2.24.3 (and deps): change active variants usage

MacPorts noreply at macports.org
Sun Jun 9 11:08:59 PDT 2013


#39397: gtkmm @2.24.3 (and deps): change active variants usage
---------------------+-----------------------------------
 Reporter:  egall@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.1.3
 Keywords:           |       Port:  gtkmm pangomm cairomm
---------------------+-----------------------------------
 I currently have the following ports installed (that are relevant to this
 ticket):
 {{{
 Local-Admins-MacBook-Pro:~ root# port installed pangomm cairomm gtkmm
 pango cairo
 The following ports are currently installed:
   cairo @1.12.14_0+quartz+universal+x11 (active)
   cairomm @1.10.0_1+universal (active)
   gtkmm @2.24.2_1+universal (active)
   pango @1.34.1_1+quartz+universal+x11 (active)
   pangomm @2.28.4_1+universal (active)
 }}}
 Trying to upgrade, I run into these errors:
 {{{
 :msg:archivefetch --->  Fetching archive for cairomm
 :debug:archivefetch Executing proc-pre-org.macports.archivefetch-
 archivefetch-0
 :debug:archivefetch Checking cairo for active variants for depspec
 'path:lib/pkgconfig/cairo.pc:cairo'
 :debug:archivefetch cairo is installed with the following variants:
 +quartz+universal+x11
 :debug:archivefetch   required: , forbidden: quartz
 :debug:archivefetch   rejected, because forbidden variant quartz is
 present
 :error:archivefetch org.macports.archivefetch for port cairomm returned:
 cairo must be installed without +quartz.
 :debug:archivefetch Error code: NONE
 :debug:archivefetch Backtrace: cairo must be installed without +quartz.
 }}}
 {{{
 :msg:archivefetch --->  Fetching archive for pangomm
 :debug:archivefetch Executing proc-pre-org.macports.archivefetch-
 archivefetch-0
 :debug:archivefetch Checking cairo for active variants for depspec
 'path:lib/pkgconfig/cairo.pc:cairo'
 :debug:archivefetch cairo is installed with the following variants:
 +quartz+universal+x11
 :debug:archivefetch   required: x11, forbidden:
 :debug:archivefetch   accepted
 :debug:archivefetch cairomm is installed with the following variants:
 +universal
 :debug:archivefetch   required: x11, forbidden:
 :debug:archivefetch   rejected, because required variant x11 is missing
 :error:archivefetch org.macports.archivefetch for port pangomm returned:
 cairomm must be installed with +x11.
 :debug:archivefetch Error code: NONE
 :debug:archivefetch Backtrace: cairomm must be installed with +x11.
 }}}
 {{{
 :msg:archivefetch --->  Fetching archive for gtkmm
 :debug:archivefetch Executing proc-pre-org.macports.archivefetch-
 archivefetch-0
 :debug:archivefetch Checking cairo for active variants for depspec
 'path:lib/pkgconfig/cairo.pc:cairo'
 :debug:archivefetch cairo is installed with the following variants:
 +quartz+universal+x11
 :debug:archivefetch   required: , forbidden: quartz
 :debug:archivefetch   rejected, because forbidden variant quartz is
 present
 :error:archivefetch org.macports.archivefetch for port gtkmm returned:
 cairo must be installed without +quartz.
 :debug:archivefetch Error code: NONE
 :debug:archivefetch Backtrace: cairo must be installed without +quartz.
 }}}
 pangomm's and cairomm's `+quartz` and `+x11` variants don't actually
 conflict:
 {{{
 Local-Admins-MacBook-Pro:~ root# port variants pangomm cairomm gtkmm
 pangomm has the variants:
    quartz: Support for native Mac OS X graphics
    universal: Build for multiple architectures
 [+]x11: Enable X11 support
 cairomm has the variants:
    quartz: Support for native Mac OS X graphics
    universal: Build for multiple architectures
 [+]x11: Enable X11 support
 gtkmm has the variants:
    quartz: Support for native Mac OS X graphics
      * conflicts with x11
    universal: Build for multiple architectures
 [+]x11: Enable X11 support
      * conflicts with quartz
 }}}
 So it should technically be possible to install `pangomm` and `cairomm`
 with both `+x11` and `+quartz`. However, the way they use
 `active_variants` makes this impossible.

-- 
Ticket URL: <https://trac.macports.org/ticket/39397>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list