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
julia: Update to v1.1.1 with Portfile simplifications #4825
Conversation
Travis Build #7301 Errored. Lint results
Port julia's dependencies fail on xcode9.4. Log The build timed out. |
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.
A few comments. Given the complexity of this, I'd like other people to review it if possible.
I'll need some help updating the compiler dependencies here. Everything builds fine on my local box. On CI, I'm missing I'll try again with a Build fail from https://paste.z0k.xyz/d616f9d68886:
|
Travis Build #7311 Errored. Lint results
Port julia's dependencies fail on xcode9.4. Log The build timed out. |
Travis Build #7313 Errored. Lint results
The build timed out. |
This build is failing because there's no
I believe that Is there an accepted, robust recipe for providing |
Best option - Ask upstream if they provide a configuration option to set the fortran compiler. If so, just set this to |
I strongly disagree with the change "This Portfile builds julia from source using all its own native dependencies, without the complications of using MacPorts library dependencies.". As a point of principle we prefer ports to use the macports provided ports as dependencies, as far as possible. The fact you need gfortran here is infact because of the internal OpenBLAS build, which is not properly configured... |
This approach/policy is a mistake in this instance, and preventing people like me from using MacPorts to install Julia. Why?
The Julia Project itself eschews MacPorts and other package managers for just this reason:
This describes the Julia binaries provided by MacPorts ever since I can remember. The reason I’m updating this now is because it’s less trouble to manage my packages through a central manager like MacPorts, rather then separate installs for everything. The solution to all these issues is simple: build Julia the way they say it should be built. Don’t complicate it with other stuff that may break the install and complicate updates. If anyone wants to use their own libraries and figure all that out and manage it all, good on them. But the default build should be just build it the way the package says it should be built without unnecessary complications. |
@cjones051073 @pmetzger I need Portfile n00b help with another build issue, please. The I do not understand why or how. The build itself is simple: essentially Log excerpts:
|
And Chris is completely correct here. You need to tell the build system where to find gfortran as installed by Macports. A portfile should never depend on a |
Travis Build #7324 Errored. Lint results
Port julia's dependencies fail on xcode9.4. Log The build timed out. |
The latest push builds successfully, and produces a binary for which all base tests works:
After a successful Buildbots build it's good to go. |
I spoke too soon: one Nevertheless, I'd still argue to update this package to the latest version because aside from that issue everything I see works. |
Travis Build #7333 Errored. Lint results
Port julia's dependencies fail on xcode10.2. Log The build timed out. |
Travis Build #7336 Errored. Lint results
Port julia's dependencies fail on xcode7.3. Log The build timed out. |
Updated Portfile with several improvements that address the compiler issue automatically and MacPorts settings in |
c6404f3
to
59b5a7d
Compare
I discovered the I believe that this is really ready to commit now. |
Travis Build #7365 Errored. Lint results
Port julia's dependencies fail on xcode7.3. Log The build timed out. |
* Update to latest Julia release 1.1.1 * Simplify Portfile for easier maintenance * Build all julia dependencies from source * GPG verification * Run make test
Travis Build #7373 Errored. Lint results
Port julia's dependencies fail on xcode7.3. Log The build timed out. |
@mf2k @pmetzger @neverpanic @mojca @cjones051073 This port update works. I’ve had the Julia binaries deployed for nearly a month without issue. The previous version is years out of date. May we please merge or identify any remaining issues? |
LGTM @pmetzger: Are you ready to approve this? |
I still remain not entirely convinced of the merits of the GPG stuff, but OK to let that go if others are happy. |
@cjones051073 To be clear, gpg verification is not performed in the Portfile. I kept the code in an unused if-block to automate checking for maintainers if they activate the flag by hand. This is like a I’m willing to go either way to get the update done. My own practice is to perform gpg signature verification if the package provides it, as Julia does. |
Sorry, yes, I remember the discussion now (its been a while). I'm fine with this. If @pmetzger can OK the changes we are ready to go I would say. |
I won't stand in the way (read: feel free to commit if everyone else is happy), but I'd like @essandess to move this support to a portgroup reasonably soon. It does not belong in an individual portfile; that makes it unpleasant to maintain. |
I’d be happy to. Is there documentation somewhere how to write a portgroup? Or a copy-and-paste-and-modify recommendation from an existing portgroup? |
|
@neverpanic @mf2k @pmetzger @mojca @cjones051073 Ping. May we please merge this? |
julia: Update to v1.1.1 with Portfile simplifications
Description
The MacPorts julia port is years out of date.
This Portfile builds julia from source using all its own native dependencies, without the complications of using MacPorts library dependencies.
Type(s)
Tested on
macOS 10.14
Xcode 8.x
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?