[MacPorts] #33174: hs-HTTP: disable universal variant (was: Bug)

MacPorts noreply at macports.org
Tue Feb 7 06:58:15 PST 2012


#33174: hs-HTTP: disable universal variant
---------------------------------+------------------------------------------
 Reporter:  admin@…              |       Owner:  singingwolfboy@…           
     Type:  defect               |      Status:  new                        
 Priority:  Normal               |   Milestone:                             
Component:  ports                |     Version:  2.0.3                      
 Keywords:                       |        Port:  hs-HTTP                    
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => singingwolfboy@…
  * port:  => hs-HTTP
  * milestone:  MacPorts 2.0.4 =>


Old description:

> I keep getting this while trying to install Cabal.
> sudo port install hs-cabal
> --->  Computing dependencies for hs-cabal
> Error: Cannot install hs-HTTP for the arch(s) 'i386 x86_64' because
> Error: its dependency ghc does not build for the required arch(s) by
> default
> Error: and does not have a universal variant.
> Error: Unable to execute port: architecture mismatch
> To report a bug, see <http://guide.macports.org/#project.tickets>

New description:

 I keep getting this while trying to install Cabal.
 {{{
 sudo port install hs-cabal
 --->  Computing dependencies for hs-cabal
 Error: Cannot install hs-HTTP for the arch(s) 'i386 x86_64' because
 Error: its dependency ghc does not build for the required arch(s) by
 default
 Error: and does not have a universal variant.
 Error: Unable to execute port: architecture mismatch
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

--

Comment:

 The error message is correct. You cannot build hs-HTTP universal because
 its dependency ghc is not universal.

 hs-HTTP's universal variant should be disabled. Since it's the haskell
 portgroup that added the ghc dependency, it might be nice if the haskell
 portgroup could take care of turning off the universal variant.

-- 
Ticket URL: <https://trac.macports.org/ticket/33174#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list