Closed taqtiqa-mark closed 6 years ago
make install is attempting to install the man pages. make install-binary might be what you want?
My mistake. Apologies.
This is still a bug right? Shouldn't make install
be able to install manpages?
Yes the problem here is that he did not have the go-md2man executable installed.
The Readme doesn't say it's required. Why not have the build container do that?
-- Sent from a rotary phone rented from Ma Bell
On Mon, Apr 30, 2018, 4:36 AM Daniel J Walsh notifications@github.com wrote:
Yes the problem here is that he did not have the go-md2man executable installed.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/projectatomic/skopeo/issues/495#issuecomment-385373692, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAf4072wBDvQxMBDCGbl4zD8BTfFOLiks5ttvdXgaJpZM4TQuhU .
I don't think @taqtiqa-mark used a build container. He was just building from source. But I will let him chime in.
I got the same issue doing make install which at least partially used a build container.
-- Sent from a rotary phone rented from Ma Bell
On Mon, Apr 30, 2018, 7:57 AM Daniel J Walsh notifications@github.com wrote:
I don't think @taqtiqa-mark https://github.com/taqtiqa-mark used a build container. He was just building from source. But I will let him chime in.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/projectatomic/skopeo/issues/495#issuecomment-385424529, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAf44riKdo4UCIzemkrzC_xyzqh9ETRks5ttyZ2gaJpZM4TQuhU .
The Readme doesn't say it's required. Why not have the build container do that?
README
does say that it’s required for building documentation. The installation section is confusing, though.
Is https://github.com/projectatomic/skopeo/pull/504 better? Any other improvements are welcome.
Why not have the build container do that?
Most of the development work and packaging does not use (and in the case of building packages, can not easily use) build containers, and I’m afraid surprises like this are a consequence.
I do agree that the current default, where make
uses a container for compilation, but not for everything, is problematic. (In fact the whole idea of using a container by default is fairly dubious when the container environment leaks through dynamic library dependencies in the resulting executable.)
The pattern rule currently used for building man pages does not know whether the user is using a build container or not; so actually fixing this would require a fair amount of restructuring the Makefile
. At that point it starts to look a bit attractive to just drop the build container support entirely.
The front page suggests that
make all
builds the doc which requiresgo-md2man
. However it seemsmake binary-local BUILDTAGS=containers_image_ostree_stub
also tries to build the docs.I don't think it should?
Ubuntu Trusty on Shippable.com:
Produces: