[MacPorts] #38465: ghc-bootstrap: universal variant doesn't install universal software
#38465: ghc-bootstrap: universal variant doesn't install universal software --------------------------+---------------------------- Reporter: ryandesign@… | Owner: kitchen.andy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ghc-bootstrap --------------------------+---------------------------- Enabling i386 support in ghc-bootstrap in r104166 had the effect of also turning on the default universal variant, but it doesn't work. Either fix the universal variant or disable it again. {{{ $ sudo port install ghc-bootstrap +universal Password: ---> Computing dependencies for ghc-bootstrap ---> Fetching distfiles for ghc-bootstrap ---> Attempting to fetch ghc-7.0.4-x86_64-apple-darwin.tar.bz2 from http://haskell.org/ghc/dist/7.0.4/ ---> Verifying checksum(s) for ghc-bootstrap ---> Extracting ghc-bootstrap ---> Configuring ghc-bootstrap ---> Building ghc-bootstrap ---> Staging ghc-bootstrap into destroot ---> Installing ghc-bootstrap @7.0.4_0+universal ---> Activating ghc-bootstrap @7.0.4_0+universal ---> Cleaning ghc-bootstrap $ port -v installed ghc-bootstrap The following ports are currently installed: ghc-bootstrap @7.0.4_0+universal (active) platform='darwin 12' archs='i386 x86_64' $ port -q contents ghc-bootstrap | xargs -n 1 lipo -info 2>/dev/null | head -n 10 Non-fat file: /opt/local/share/ghc-bootstrap/bin/hp2ps is architecture: x86_64 Non-fat file: /opt/local/share/ghc-bootstrap/bin/hpc is architecture: x86_64 Non-fat file: /opt/local/share/ghc- bootstrap/lib/ghc-7.0.4/Cabal-1.10.2.0/HSCabal-1.10.2.0.o is architecture: x86_64 input file /opt/local/share/ghc- bootstrap/lib/ghc-7.0.4/Cabal-1.10.2.0/libHSCabal-1.10.2.0.a is not a fat file Non-fat file: /opt/local/share/ghc- bootstrap/lib/ghc-7.0.4/Cabal-1.10.2.0/libHSCabal-1.10.2.0.a is architecture: x86_64 input file /opt/local/share/ghc- bootstrap/lib/ghc-7.0.4/Cabal-1.10.2.0/libHSCabal-1.10.2.0_p.a is not a fat file Non-fat file: /opt/local/share/ghc- bootstrap/lib/ghc-7.0.4/Cabal-1.10.2.0/libHSCabal-1.10.2.0_p.a is architecture: x86_64 Non-fat file: /opt/local/share/ghc-bootstrap/lib/ghc-7.0.4/HSffi.o is architecture: x86_64 Non-fat file: /opt/local/share/ghc- bootstrap/lib/ghc-7.0.4/array-0.3.0.2/HSarray-0.3.0.2.o is architecture: x86_64 input file /opt/local/share/ghc- bootstrap/lib/ghc-7.0.4/array-0.3.0.2/libHSarray-0.3.0.2.a is not a fat file $ }}} -- Ticket URL: <https://trac.macports.org/ticket/38465> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+---------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ghc-bootstrap | ----------------------------+---------------------- Changes (by cal@…): * owner: kitchen.andy@… => cal@… * status: new => assigned * cc: cal@… (removed) * cc: kitchen.andy@… (added) Comment: It should be disabled. I wasn't aware that having both i386 and x86_64 in the supported_archs automatically enables the universal variant. -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: r104245. -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Comment (by egall@…): If ghc-bootstrap can't be universal, all ports that depend on ghc should have their universal variants removed. So far I see these ports: {{{ cpphs has the variants: (+)universal: Build for multiple architectures DoCon has the variants: (+)universal: Build for multiple architectures gtk2hs has the variants: (+)universal: Build for multiple architectures hs-Edison has the variants: (+)universal: Build for multiple architectures hs-EdisonAPI has the variants: (+)universal: Build for multiple architectures buddha has the variants: (+)universal: Build for multiple architectures darcs-devel has the variants: (+)universal: Build for multiple architectures distract has the variants: (+)universal: Build for multiple architectures Djinn has the variants: (+)universal: Build for multiple architectures ghc has the variants: (+)universal: Build for multiple architectures haskell-chunks has the variants: (+)universal: Build for multiple architectures haskell-hinstaller has the variants: (+)universal: Build for multiple architectures haskell-parsedate has the variants: (+)universal: Build for multiple architectures hat has the variants: (+)universal: Build for multiple architectures hmake has the variants: (+)universal: Build for multiple architectures hs-alex has the variants: (+)universal: Build for multiple architectures hs-chunks has the variants: (+)universal: Build for multiple architectures hs-happy has the variants: (+)universal: Build for multiple architectures hs-hinstaller has the variants: (+)universal: Build for multiple architectures hs-plugins has the variants: (+)universal: Build for multiple architectures hs-typenats has the variants: (+)universal: Build for multiple architectures hsshellscript has the variants: (+)universal: Build for multiple architectures lhs2tex has the variants: (+)universal: Build for multiple architectures missingh has the variants: (+)universal: Build for multiple architectures pxsl-tools has the variants: (+)universal: Build for multiple architectures }}} -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Comment (by ryandesign@…): It should be possible to enable the universal variant, shouldn't it? The oracle-instantclient port could be used as a model, though you may want to wait until I update it to version 11 as that should simplify some unnecessarily complicated aspects of the current port. -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Comment (by cal@…): I'm not entirely sure the ghc-bootstrap port affects the architectures ghc can actually use. Think of a C compiler: A compiler compiled in i386 can still generate x86_64 code. Somebody would have to evaluate, if this is actually possible (and if it is, add depends_skip_archcheck ghc-bootstrap to the ghc port). Technically it would also be possible to provide a universal ghc-bootstrap port using lipo and merging. I'm not going to put a lot of effort into that, though… -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Comment (by jmr@…): Replying to [comment:1 cal@…]:
I wasn't aware that having both i386 and x86_64 in the supported_archs automatically enables the universal variant. Actually it's more like having only one item in supported_archs automatically disables it. As do `use_configure no` and `use_xmkmf yes`.
-- Ticket URL: <https://trac.macports.org/ticket/38465#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Comment (by egall@…): Someone might want to cc sean@macports.org on this; he just updated a bunch of the haskell ports... -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Comment (by sean@…): Replying to [comment:7 egall@…]:
Someone might want to cc sean@macports.org on this; he just updated a bunch of the haskell ports...
I tried to make sure all the ports I updated followed the no-universal advice from this ticket. Let me know if I missed any. -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Comment (by egall@…): Replying to [comment:8 sean@…]:
Replying to [comment:7 egall@…]:
Someone might want to cc sean@macports.org on this; he just updated a bunch of the haskell ports...
I tried to make sure all the ports I updated followed the no-universal advice from this ticket. Let me know if I missed any.
larryv reverted all the `universal_variant no`'s in the Haskell ports in r104471... is that going to be handled by the Haskell portgroup instead or something? -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38465: ghc-bootstrap: universal variant doesn't install universal software ----------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ghc-bootstrap | ----------------------------+-------------------- Comment (by sean@…): Replying to [comment:9 egall@…]:
Replying to [comment:8 sean@…]:
Replying to [comment:7 egall@…]:
Someone might want to cc sean@macports.org on this; he just updated a bunch of the haskell ports...
I tried to make sure all the ports I updated followed the no-universal advice from this ticket. Let me know if I missed any.
larryv reverted all the `universal_variant no`'s in the Haskell ports in r104471... apparently the Haskell portgroup handles it as of r100403.
Yes, it's already handled in the [[/browser/trunk/dports/_resources/port1.0/group/haskell-1.0.tcl?rev=104471#L101|portgroup]]. == == -- Ticket URL: <https://trac.macports.org/ticket/38465#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts