Opened 5 years ago

Closed 5 years ago

#59018 closed defect (fixed)

ghc missing html and pdf user guides

Reported by: essandess (Steve Smith) Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: neverpanic (Clemens Lang), essandess (Steve Smith), cjones051073 (Chris Jones), mf2k (Frank Schima)
Port: ghc

Description

The latest ghc is missing the GHC User's Guide in the files /opt/local/share/doc/ghc-8.6.5/html/users_guide/ and /opt/local/share/doc/ghc-8.6.5/users_guide.pdf.

I know first-hand that these are created and installed when building from source.

But I don't know what changed with the buildbot version during the merge of https://github.com/macports/macports-ports/pull/5049 that causes this issue.

We should modify the Portfile so that the GHC User's Guide, both HTML and pdf versions, are created and installed by the buildbot.

Also, I'm listed as the maintainer, but don't know how to address this buildbot issue, so please assign appropriately.

Change History (3)

comment:1 Changed 5 years ago by cjones051073 (Chris Jones)

If I had to bet, I would start with there is a missing dependency needed to include the docs in the build, that you happen to have locally (and is used) but which is not listed in the port as a build dep, so is missing when the build bots run.

You should start but checking out the build bot logs at

https://ports.macports.org/port/ghc/builds

to see if you can spot why the docs are not being included, and go from there.

comment:2 Changed 5 years ago by cjones051073 (Chris Jones)

Owner: set to essandess
Status: newassigned

comment:3 Changed 5 years ago by essandess (Steve Smith)

Resolution: fixed
Status: assignedclosed

In a0e9dc470d2961b819f86c67b7105cb3bd107ee5/macports-ports (master):

ghc: Simplify variant blocks, add missing GHC User's Guide, alex, happy, hscolour

  • Combine bootstrap commands within a common block
  • The GHC User's Guide builds correctly locally, but not in the buildbot.
  • Add alex port for ghc build
  • Add happy port for ghc build
  • Add hscolour port for ghc build
  • Remove happy and HsColour binary installs from ihaskell port

Fixes: #59018
Related: https://lists.macports.org/pipermail/macports-users/2019-September/047328.html

Note: See TracTickets for help on using tickets.