Makefile looks for info about 'jujud' before it builds it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Harry Pidcock |
Bug Description
Juju 2.7.3+ currently has this in the Makefile:
OPERATOR_IMAGE_TAG ?= $(shell ${JUJUD_
)?")
# Legacy tags never have a build number.
OPERATOR_
However, those are evaluated with the jujud that is in your PATH, which happens long before it actually builds the jujud itself.
Which means if you are switching between 2.7 and develop, it will build an operator-image with the wrong juju version.
It also means that in a fresh Make, you end up getting a bunch of "jujud not found" error messages that look confusing.
These should really be deferred until after 'go-install' has been run.
Changed in juju: | |
assignee: | nobody → Harry Pidcock (hpidcock) |
Changed in juju: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.7.5 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/juju/ juju/pull/ 11302