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
nccmp: new port #4084
nccmp: new port #4084
Conversation
Tool for comparing NetCDF files Closes: https://trac.macports.org/ticket/53118
Travis Build #5990 Failed. Lint results
Port nccmp fail on xcode10.2. Log |
sha256 bf5fa189a89d97973c868d7e7c57403790cb0ad3d9549f08a85c68c3cfb0fc78 \ | ||
size 306586 | ||
|
||
depends_lib port:netcdf |
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.
According to the README, you need to add a configure argument to locate netcdf in the Macports (i.e. non-standard) location.
maybe something like:
configure.args-append --with-netcdf=${prefix}/lib/
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.
The configure was complaining, but I had an impression that the binary correctly linked to netcdf
. What is non-standard in our netcdf installation?
That said, cmake configuration is different (and I would have used it if I didn't have issues running the unit tests; admittedly I did not spend any significant amount of time trying to get them to work).
But I'm way more confused about why all the build failures happened.
@Dave-Allured: Can you please check? If you want to maintain a port, providing the feedback about whether a patch works is the minimum you would be asked to do :).
We can help you with macports side of things, but I have absolutely no idea what to do with this software, how to test it etc.
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.
I just mean /opt/local
vs. /usr/local
. Most software does not look in the Macports default install location.
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.
The xcode 10.2 job failed during fetch, due to coincidence of various server problems on three different mirror sites. I think the error from gitlab.com was transient, and this job should simply be retried.
However, wait on that, because the other two logs show the same destroot failure. This is probably universal, so we should figure that out first. It looks like the nccmp
binary built fine, then something went wrong in destroot. From xcode 9.4 log, similar in xcode 8.3:
467. /bin/sh: .././install-sh: Permission denied
468. make[2]: *** [install-man1] Error 1
Is this a simple permission problem on install-sh? This is where my experience runs short. I don't know how to dig into the files in a broken build on the Macports test platform.
@mf2k: No, don't use As I said before, I believe the header-pad option is obscure and rarely used. |
I'm not clear what needs to happen for this to get committed. |
I am not sure how to fix the buildbot issues. |
The script was missing the execute bit. I have pushed a commit to this PR to fix this, and filed an upstream bug report with the developers. You would not have seen this problem if you had the coreutils port installed, since in that case its
I don't believe any facility exists for accessing our build files on Travis. I expect they delete the virtual machine in which the build took place right after the build finishes; by the time you see a comment in a PR that a build failed, the files are already gone. In future, if you want to debug issues, you'll need to reproduce the issue on your own machine and proceed from there. |
Travis Build #6905 Passed. Lint results
Port nccmp success on xcode10.2. Log |
Okay. I need to learn how to test new and uncommitted ports in Macports context on my own Mac. Thanks for fixing the permission problem on |
Place the Portfile in any directory. |
Okay, that worked. Thanks for the tip. The port built and installed in my local test area, which is set up to not use sudo or /opt/local. The new executable reads Netcdf files and works as expected. How else may I help to finish this commit?
|
Tool for comparing NetCDF files
Closes: https://trac.macports.org/ticket/53118
Description
Tested on
macOS 10.x
Xcode 8.x
Verification
Have you
port lint
?sudo port test
? (two tests fail)sudo port -vst install
?@Dave-Allured: please test if this works as expected.