Skip to content
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

Master build failing (Linux and OS X 10.11) #307

Closed
gleckler1 opened this issue Mar 2, 2016 · 14 comments
Closed

Master build failing (Linux and OS X 10.11) #307

gleckler1 opened this issue Mar 2, 2016 · 14 comments
Assignees

Comments

@gleckler1
Copy link
Contributor

Failed attempt to build on oceanonly... log attached

build_log.oceanonly.02022016.txt

@durack1
Copy link
Collaborator

durack1 commented Mar 2, 2016

@gleckler1 my quick test (oceanonly - master branch of install_metrics.bash) lead to the following error:

  /export/durack1/160302_pcmdi_metrics/PCMDI_METRICS/lib/python2.7/site-packages/MyProxyClient-1.3.0-py2.7.egg
  Processing dependencies for MyProxyClient==1.3.0
  Searching for cryptography>=0.7
  Reading https://pypi.python.org/simple/cryptography/
  Couldn't retrieve index page for 'cryptography'
  Scanning index of all packages (this may take a while)
  Reading https://pypi.python.org/simple/
  -------------------------------------------------
   From /export/durack1/160302_pcmdi_metrics/PCMDI_METRICS/tmp/uvcdat/uvcdat_build/MyProxyClient-prefix/src/MyProxyClient-stamp/MyProxyClient-install-err.log                                                                                                           
  -------------------------------------------------
  Download error on https://pypi.python.org/simple/cryptography/: [SSL:
  CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) -- Some
  packages may not be found!
  Download error on https://pypi.python.org/simple/: [SSL:
  CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) -- Some
  packages may not be found!
  No local packages or download links found for cryptography>=0.7
  error: Could not find suitable distribution for
  Requirement.parse('cryptography>=0.7')

It's (almost) fixed in CDAT/cdat#1840 - I'm not sure what the status of this is, it's passing all the travis tests that I have seen.. Not certain about what's happening with the mac-bots.. @doutriaux1?

@doutriaux1
Copy link
Contributor

@gleckler1 please try again, the latest changes in CDAT/cdat#1840 should have fix this.

@durack1
Copy link
Collaborator

durack1 commented Mar 3, 2016

@doutriaux1 ok great, this fixes my issues - you might want to ping Matthias to try again with the master branch..

@gleckler1
Copy link
Contributor Author

@doutriaux1
build_log.oceanonly.02032016.txt

Using latest install from PMP master with a clean env

@durack1
Copy link
Collaborator

durack1 commented Mar 3, 2016

@gleckler1 add:

setenv PATH "$PATH:/export/durack1/bin/downloads/cmake3.2.2/150422_build/bin"

Into the top of your install_metrics.bash - this will isolate if it's a CMake issue..

@gleckler1
Copy link
Contributor Author

@doutriaux1 @durack1
Can't build on crunchy either. Looks like a different issue. I must be doing something wrong...
build_log.crunchy.02032016.txt

@doutriaux1
Copy link
Contributor

I'm coming to your office

@gleckler1
Copy link
Contributor Author

@doutriaux1 @durack1 The cmake update on oceanonly needs also to be on crunchy where build is still failing....

Your branch is up-to-date with 'origin/master'.
removing UVCDAT build directory
LEAN MODE will not build graphics
CMAKE ARGS: cmake /export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS/tmp/uvcdat/uvcdat -DCDAT_BUILD_MODE=LEAN -DCDAT_BUILD_ESMF_ESMP=ON -DCMAKE_INSTALL_PREFIX=/export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS -DZLIB_PATCH_SRC=3 -DGIT_PROTOCOL=git:https://
PATH:/export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS/Externals/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin
PWD:/export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS/tmp/uvcdat/uvcdat_build
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS/Externals/bin
CMake Error: Error executing cmake::LoadCache(). Aborting.

ERROR: Could not configure (cmake) cdat code (2)
~/METRICS_PACKAGE/PCMDI_METRICS/tmp/uvcdat/uvcdat ~/METRICS_PACKAGE/PCMDI_METRICS/tmp/metrics

Sorry...
This action did not complete successfully
Please try to re-run this task until successful before continuing further

ERROR: Could not compile (make) cdat code
~/METRICS_PACKAGE/PCMDI_METRICS/tmp/metrics

Sorry...
This action did not complete successfully
Please try to re-run this task until successful before continuing further

@doutriaux1
Copy link
Contributor

yep

From: gleckler1 <[email protected]mailto:[email protected]>
Reply-To: PCMDI/pcmdi_metrics <[email protected]mailto:[email protected]>
Date: Friday, March 4, 2016 at 5:44 PM
To: PCMDI/pcmdi_metrics <[email protected]mailto:[email protected]>
Cc: "Doutriaux, Charles" <[email protected]mailto:[email protected]>
Subject: Re: [pcmdi_metrics] Linux build failing (#307)

@doutriaux1https://github.com/doutriaux1 @durack1https://github.com/durack1 The cmake update on oceanonly needs also to be on crunchy where build is still failing....

Your branch is up-to-date with 'origin/master'.
removing UVCDAT build directory
LEAN MODE will not build graphics
CMAKE ARGS: cmake /export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS/tmp/uvcdat/uvcdat -DCDAT_BUILD_MODE=LEAN -DCDAT_BUILD_ESMF_ESMP=ON -DCMAKE_INSTALL_PREFIX=/export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS -DZLIB_PATCH_SRC=3 -DGIT_PROTOCOL=git:https://
PATH:/export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS/Externals/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin
PWD:/export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS/tmp/uvcdat/uvcdat_build
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/export_backup/gleckler1/METRICS_PACKAGE/PCMDI_METRICS/Externals/bin
CMake Error: Error executing cmake::LoadCache(). Aborting.

ERROR: Could not configure (cmake) cdat code (2)
~/METRICS_PACKAGE/PCMDI_METRICS/tmp/uvcdat/uvcdat ~/METRICS_PACKAGE/PCMDI_METRICS/tmp/metrics

Sorry...
This action did not complete successfully
Please try to re-run this task until successful before continuing further

ERROR: Could not compile (make) cdat code
~/METRICS_PACKAGE/PCMDI_METRICS/tmp/metrics

Sorry...
This action did not complete successfully
Please try to re-run this task until successful before continuing further


Reply to this email directly or view it on GitHubhttps://github.com//issues/307#issuecomment-192547540.

@durack1 durack1 changed the title Linux build failing Master build failing (Linux and OS X 10.11) Mar 5, 2016
@durack1
Copy link
Collaborator

durack1 commented Mar 5, 2016

@doutriaux1 so I have also hit issues on OS X 10.11.3:

OS X: 10.11.3
XCode: 7.2.1
XQuartz: 2.7.8
gfortran: 5.2.0
git: 2.6.2

And using the `install_metrics.bash options:

num_cpus=1
build_graphics=true
build_graphics_against_mesa=false
build_cmor=true
build_parallel=false
keep_uvcdat_build_dir=false
cmake_version="3.4.3"
cdat_version="master"

The error I hit is:

[ 11%] Performing build step for 'freetype'
CMake Error at /Users/pauldurack/Desktop/PCMDI_METRICS/tmp/uvcdat/uvcdat_build/freetype-prefix/src/freetype-stamp/freetype-build.cmake:56 (message):
  CTEST_FULL_OUTPUT
...
Do you want more here?

@durack1
Copy link
Collaborator

durack1 commented Mar 5, 2016

@doutriaux1 ok got things building on OS X 10.11.3 but have hit a bunch of errors in the tests - as per the attached file 160305_PCMDIMETRICS-master-testlog.txt

@durack1
Copy link
Collaborator

durack1 commented Mar 23, 2016

@doutriaux1 @gleckler1 it seems this long-standing issue is still a problem..
metricsfail
As the EOS article is scheduled for publication soon, and as we're likely to get a lot of eyes looking at the repo in coming weeks it'd be great to solve this today.

@durack1
Copy link
Collaborator

durack1 commented May 4, 2016

@doutriaux1 the Travis badge still says failing

@doutriaux1
Copy link
Contributor

I know, i know... Need to go thru the mac numbers with @gleckler1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants