-
-
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: Update to 8.6.5 and major Portfile refactoring #4794
Conversation
Notifying maintainers: |
See also #4699. Some rebase issue created this new PR. |
It was completely unnecessary to close the previous PR and open this one. This PR is using exactly the same branch.... |
Travis Build #7239 Errored. Lint results
Port ghc's dependencies fail on xcode9.4. Log The build timed out. |
You presume git intent… |
Feel free to ask for help if you require some help with git magic next time when you end up in fight with the tools :) |
The point is as this PR is using the same feature branch as the old one, whatever was done to fix it would have worked just fine there. If we where to close this PR now and reopen the old one, the diffs/commits would be exactly as they are here. opening this second PR was just a waste of time... |
You all can do whatever git magic you want to clean this up the way you want. In my experience the most efficient way of handling inscrutable git issues is not to chase hashes on a directed acyclic graph, but just delete and start over unless there would be some data loss issue. |
Thats fine. But still, a second PR is not required as you used the same branch name. Even if you deleted the branch locally, remade it from scratch and then (force) pushed it to github, the original PR would have reflected those changes. Please don't mix up rebuilding a branch with opening a new PR. |
The build fail here is caused by not specifying a necessary dependency. I can easily add the Error:
|
You cannot use/rely on port select in a portfile. The canonical solution, if the upstream build system does not have an option to explicitly set the full path to the python executable, is to patch the build source to change the instances of 'python3' to directly refer to the required python version. see, for instance macports-ports/science/root6/Portfile Line 474 in bd3770d
where I do something like this this for root6. A combination of a |
@cjones051073 Thanks! Fix added. |
dff3bb9
to
e201a52
Compare
Travis Build #7248 Errored. Lint results
Port ghc's dependencies fail on xcode8.3. Log The build timed out. |
@pmetzger I figured out how to modify the build jobs and use the |
Travis Build #7300 Errored. Lint results
Port ghc's dependencies fail on xcode8.3. Log The build timed out. |
3afd6f1
to
22afb6b
Compare
Travis Build #7312 Errored. Lint results
The build timed out. |
Travis Build #7314 Errored. Lint results
The build timed out. |
This is ready to commit. |
On the Mojave builder, the error appears to be:
|
Looking at the output, in the |
@mf2k Thanks. I believe I found the issue: parallel builds during the install phases. The I've been barking up a bunch of wrong trees because of this, assuming this is the fundamental cause. I refactored the Portfile and will try another push. |
I'm trying to keep |
The penultimate push builds for me. In the latest push I've moved all bootstrapping phases into a |
Travis Build #7429 Errored. Lint results
The build timed out. |
Travis Build #7431 Errored. Lint results
Port ghc's dependencies fail on xcode8.3. Log The build timed out. |
@mf2k @pmetzger @neverpanic @mojca @cjones051073 Thanks everyone for your help and comments. This port is, finally, ready to commit. |
LGTM! |
I added test support. I expect/hope this Portfile will also work. |
Travis Build #7492 Errored. Lint results
The build timed out. |
Travis Build #7493 Errored. Lint results
The build timed out. |
* Download x86_64-apple-darwin version from haskell.org * Include gpg signature verification * Bootstrap from source * Eliminate old patch files, compiler incompatibilities
Travis Build #7506 Errored. Lint results
Port ghc's dependencies fail on xcode9.4. Log The build timed out. |
@mf2k @pmetzger @neverpanic @mojca @cjones051073 This Portfile is working great, and there’s no more tests or bells to add. Would you all please take a look and merge if you agree? It’s in the critical path of a couple other PRs. |
I was hoping that the maintainer @neverpanic would do that. |
@neverpanic @mf2k @pmetzger @mojca @cjones051073 This port update works. I’ve had the ghc binaries deployed for well over a month without issue. The previous version is years out of date. May we please merge or identify any remaining issues? |
@neverpanic @pmetzger @mojca @cjones051073 Ping. Would one of you please merge or call out any outstanding issues? |
Was hoping to hear from @neverpanic but its been long enough now. |
|
||
name ghc | ||
# Do not update GHC separate from Haskell Platform. | ||
# When updating GHC, make sure to revbump all Haskell ports. | ||
# Also make sure to update the version in the Haskell PortGroup. |
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.
These comments were deleted but it doesn't seem like required actions were documented anywhere else or were rendered unnecessary: I am currently unable to build something with the new ghc because all existing hs-*
ports' binaries install for ghc 7.8.3.
What is the intended solution?
Description
Type(s)
Tested on
macOS 10.x
Xcode 8.x
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?