{"action":"closed","issue":{"url":"https://api.github.com/repos/Amber-MD/cmake-buildscripts/issues/126","repository_url":"https://api.github.com/repos/Amber-MD/cmake-buildscripts","labels_url":"https://api.github.com/repos/Amber-MD/cmake-buildscripts/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/Amber-MD/cmake-buildscripts/issues/126/comments","events_url":"https://api.github.com/repos/Amber-MD/cmake-buildscripts/issues/126/events","html_url":"https://github.com/Amber-MD/cmake-buildscripts/issues/126","id":344281799,"node_id":"MDU6SXNzdWUzNDQyODE3OTk=","number":126,"title":"Mac OS X build failures on Jenkins","user":{"login":"swails","id":779022,"node_id":"MDQ6VXNlcjc3OTAyMg==","avatar_url":"https://avatars3.githubusercontent.com/u/779022?v=4","gravatar_id":"","url":"https://api.github.com/users/swails","html_url":"https://github.com/swails","followers_url":"https://api.github.com/users/swails/followers","following_url":"https://api.github.com/users/swails/following{/other_user}","gists_url":"https://api.github.com/users/swails/gists{/gist_id}","starred_url":"https://api.github.com/users/swails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swails/subscriptions","organizations_url":"https://api.github.com/users/swails/orgs","repos_url":"https://api.github.com/users/swails/repos","events_url":"https://api.github.com/users/swails/events{/privacy}","received_events_url":"https://api.github.com/users/swails/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-07-25T03:45:24Z","updated_at":"2018-08-06T16:17:53Z","closed_at":"2018-08-06T16:17:53Z","author_association":"NONE","body":"I've finally gotten around to [creating a build recipe for OS X on Jenkins](https://gitlab.ambermd.org/amber/amber/merge_requests/27), and my intention is to use CMake.  However, I'm getting an error related to what looks like [missing dependencies](https://jenkins.jasonswails.com/blue/organizations/jenkins/AmberGitLab%2FAmberMergeGatePipeline/detail/AmberMergeGatePipeline/138/pipeline/20#step-52-log-1521).\r\n\r\nThe relevant error line is this:\r\n\r\n```\r\n[ 58%] Building Fortran object AmberTools/src/sander/CMakeFiles/sander_base_obj.dir/mdwrit.F90.o\r\n/Users/swails/Jenkins/workspace/AmberGitLab/AmberMergeGatePipeline/AmberTools/src/sander/mdwrit.F90:12:7:\r\n\r\n    use nfe_sander_hooks, only : nfe_on_mdwrit => on_mdwrit\r\n       1\r\nFatal Error: Can't open module file 'nfe_sander_hooks.mod' for reading at (1): No such file or directory\r\ncompilation terminated.\r\n```\r\n\r\nIndeed, if you look at the build log, `nfe-sander-hooks.F90` was never built, so `nfe_sander_hooks.mod` was never generated, and compiling `mdwrit.F90` fails as a result.\r\n\r\nThe legacy build system captured this dependency in `depends`:\r\n\r\n```\r\nmdwrit.o: \\                                                                                                                                 \r\n                    copyright.h\\\r\n                    ../include/dprec.fh\\\r\n                    nfe-config.h\\\r\n                    file_io_dat.o\\\r\n                    nfe-sander-hooks.o\\\r\n                    nfe-sander-proxy.o\\\r\n                    binrestart.o\\\r\n                    remd.o\\\r\n                    sglds.o\\\r\n                    nonbond_list.o\r\n```\r\n\r\nI suspect that ending parallel builds (`make -j1`) would fix the problem.  However, I'd like to avoid that if possible.\r\n\r\nAny ideas how to fix this?"}}
{"actor":{"display_login":"multiplemonomials"}}