-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ghc: Simplify variant blocks, add missing GHC User's Guide, alex, happy, hscolour #5272
Conversation
This PR is unlikely to fix the issue. The buildbot doesn't randomly decide not to build the documentation – it's much more likely that due to the way the buildbot builds its packages only exactly the dependencies specified in the Portfile and nothing else was installed while building GHC, and GHC's build system detects availability of components and chose to disable building the documentation. I've looked at https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/36289/steps/install-port/logs/main.log/text and here are some things from the log that might be relevant:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the comment above.
Thanks. I'm trying to add |
Travis Build #8212 Errored. Lint results
Port ghc's dependencies fail on xcode9.4. Log The build timed out. |
Did this work? The logfile https://paste.z0k.xyz/4da7cb08089e trimmed. However, I only see |
Travis Build #8214 Errored. Lint results
The build timed out. |
sphinx-build is one of those "port select" ports. my guess is that you have one of. hem selected (like I do) and so the build finds sphinx-build and the pdf is made. For the buildbot, you have to depends_build-append and then spec the exact name of the sphinx-build that that you want, 36, etc, as a configure.env-append. Then it will be found. |
Just to add, you can check if this is the case by running
to change, run |
@kencu @cjones051073 Thanks for pointing out |
the docs build perfectly for me. configure just tests for sphinx-build. it accepts an env.var to spec it fully. |
jjust do depends_build-append a_specd_sphinx-build sorry, I'm on this ipad or I'd just do it for you. |
I think I grok, hold, please sanity check force push in a minute to see if I actually grokked. |
we'll use a similar procees to re-enable the llvm backend, later on, specing an LLC and an OPT (I'm already doing that in my own builds on 10.6.8) |
I no grok. I get that I can add the dependency to
|
I saw the exact name of the sphinx env var fly by yesterday. I think it was SPHINX, but it's easy to double check in the config log if I've not remembered the exact name it looks for. |
do port contents py37-sphinx to find the name of it's binary |
This should do it: depends_build-append py37-sphinx |
Thanks! |
6873ce8
to
fac8d70
Compare
Travis Build #8259 Errored. Lint results
Port happy success on xcode10.3. Log The build timed out. |
Travis Build #8264 Errored. Lint results
Port happy success on xcode10.3. Log The build timed out. |
I believe we're close to end-game. This just need an extra LaTeX dependency, and a missing Side comment: I've been copy-and-pasting descriptions and the like from the existing cc @neverpanic |
Travis Build #8271 Errored. Lint results
Port alex success on xcode10.3. Log The build timed out. |
This is working now. I just fixed the |
@neverpanic @cjones051073 @kencu I’ve tested this locally and everything works. I don’t have anything to add. This is ready to merge. |
Travis Build #8274 Errored. Lint results
Port alex success on xcode10.3. Log The build timed out. |
Travis Build #8278 Errored. Lint results
Port alex success on xcode10.3. Log The build timed out. |
62fd700
to
ce223cb
Compare
* Submission of portgroup haskell_cabal for building cabal projects * Submission of Haskell ports aeson-pretty, cpphs, hlint * Remove ihaskell installation of these binaries Related/parent: macports#5272
Travis Build #8350 Errored. Lint results
Port alex success on xcode10.3. Log The build timed out. |
Ping. This is ready to merge. |
* Submission of portgroup haskell_cabal for building cabal projects * Submission of Haskell ports aeson-pretty, cpphs, hlint * Remove ihaskell installation of these binaries Related/parent: #5272
Note: all these changes are merged with PR #5327 |
ghc: Simplify variant blocks, add missing GHC User's Guide, happy, hscolour
Fixes: https://trac.macports.org/ticket/59018
Related: https://lists.macports.org/pipermail/macports-users/2019-September/047328.html
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/
/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 #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.
I don't know the buildbot fix yet, but at least this PR will generate some logs.
cc: @neverpanic
Type(s)
Tested on
macOS 10.14.6 18G95
Xcode 10.3 10G8
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?