-
Bug
-
Resolution: Done
-
Highest
-
Beijing Release
-
None
-
None
In Ubuntu, the make common rule is failing because the shared charts that depend on common fail to find their dependency. The common templates package isn't built first.
In an OSX environment where an older version of make is used this doesn't happen. Need to clean up the makefile script in casablanca.
ubuntu
make --version GNU Make 4.1 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
osx:
make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0
$ make [common] make[1]: Entering directory '/home/mkhinda/onap-gerrit/oom/kubernetes' make[2]: Entering directory '/home/mkhinda/onap-gerrit/oom/kubernetes/common' [mariadb-galera] make[3]: Entering directory '/home/mkhinda/onap-gerrit/oom/kubernetes/common' Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "local" chart repository Update Complete. \u2388Happy Helming!\u2388 Saving 1 charts Deleting outdated charts ==> Linting mariadb-galera [INFO] Chart.yaml: icon is recommended 1 chart(s) linted, no failures Successfully packaged chart and saved it to: /home/mkhinda/onap-gerrit/oom/kubernetes/dist/packages/mariadb-galera-2.0.0.tgz make[3]: Leaving directory '/home/mkhinda/onap-gerrit/oom/kubernetes/common' [mongo] make[3]: Entering directory '/home/mkhinda/onap-gerrit/oom/kubernetes/common' Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "local" chart repository Update Complete. \u2388Happy Helming!\u2388 Error: common chart not found in repo http://127.0.0.1:8879 Makefile:36: recipe for target 'dep-mongo' failed make[3]: *** [dep-mongo] Error 1 make[3]: Leaving directory '/home/mkhinda/onap-gerrit/oom/kubernetes/common' Makefile:29: recipe for target 'mongo' failed make[2]: *** [mongo] Error 2 make[2]: Leaving directory '/home/mkhinda/onap-gerrit/oom/kubernetes/common' Makefile:39: recipe for target 'make-common' failed make[1]: *** [make-common] Error 2 make[1]: Leaving directory '/home/mkhinda/onap-gerrit/oom/kubernetes' Makefile:35: recipe for target 'common' failed make: *** [common] Error 2