Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#38427 closed defect (fixed)

ghc-bootstrap: can't install on i386

Reported by: sam.kuper@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: i386 Cc: andy@…
Port: ghc-bootstrap

Description

Running the following command using MacPorts under OS X 10.6.8 on a Mac Mini Core Duo 1.66GHz with 2GB RAM:

$ sudo port install pandoc

appeared to go without problems (downloading, building and installing dependencies smoothly), until it yielded the following error messages and quit:

Error: ghc-bootstrap cannot be installed for the configured build_arch 'i386' because it only supports the arch(s) 'x86_64'.
Error: Failed to install ghc-bootstrap
Please see the log file for port ghc-bootstrap for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc-bootstrap/ghc-bootstrap/main.log
Error: The following dependencies were not installed: hs-citeproc ghc ghc-bootstrap hs-json hs-mtl hs-transformers hs-pandoc-types hs-utf8-string hs-xml hs-dlist hs-haddock hs-ghc-paths hs-http hs-network hs-parsec hs-text hs-tagsoup hs-texmath hs-zip-archive hs-binary hs-digest hs-zlib
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pandoc failed

Change History (8)

comment:1 Changed 6 years ago by larryv (Lawrence Velázquez)

Cc: andy@… added
Keywords: 32-bit removed
Owner: changed from macports-tickets@… to cal@…
Summary: ghc-bootstrap install failureghc-bootstrap: can't install on i386

Thanks for the ticket; in the future, please Cc relevant port maintainers.

ghc-bootstrap sets supported_archs x86_64; you cannot install it because Core Duo CPUs are 32-bit. Maybe cal or andy can tell you why it’s 64-bit only.

comment:2 in reply to:  1 Changed 6 years ago by sam.kuper@…

Replying to larryv@…:

please Cc relevant port maintainers.

Apologies for not doing so.

ghc-bootstrap sets supported_archs x86_64; you cannot install it because Core Duo CPUs are 32-bit. Maybe cal or andy can tell you why it’s 64-bit only.

Thanks. In the meantime, if anyone knows a workaround that would get Pandoc installed onto a Core Duo Mac Mini, I'd be grateful to know it.

comment:3 Changed 6 years ago by neverpanic (Clemens Lang)

Cc: kitchen.andy@… added; andy@… removed
Status: newassigned

The ghc-bootstrap port actually is a pre-built binary of a haskell compiler. Currently, it is x86_64 only, which is why the Portfile specifies supported_archs.

However, http://www.haskell.org/ghc/dist/7.0.4/ also has binaries for i386, so I suppose the Portfile could set supported_archs to i386 x86_64 and download the appropriate package depending on your build arch.

Is andy a MacPorts dev now?

Last edited 6 years ago by neverpanic (Clemens Lang) (previous) (diff)

comment:4 in reply to:  3 Changed 6 years ago by larryv (Lawrence Velázquez)

Replying to cal@…:

Is andy a MacPorts dev now?

Yep.

comment:5 Changed 6 years ago by neverpanic (Clemens Lang)

Cc: andy@… added; kitchen.andy@… removed
Resolution: fixed
Status: assignedclosed

Should be fixed in r104166. Can you run selfupdate and try again?

Speaking of architectures, we don't have a solution for PPC and PPC64 architectures…

comment:6 Changed 6 years ago by sam.kuper@…

This time, installation of pandoc failed at installing hs-pandoc-types, but ghc-bootstrap seems to have been installed successfully. Thank you on the latter front; and I'll investigate (and, if appropriate, file a ticket for) the hs-pandoc-types issue separately.

comment:7 Changed 6 years ago by sam.kuper@…

Ticket for hs-pandoc-types opened here: #38436

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

Has duplicate #37304.

Note: See TracTickets for help on using tickets.