Skip to contentSkip to conversation

docs: Fix virtiofsd.1 location

PATCH In review Miroslav Rezanina 6 participants 8 messages Feb 12, 2020 – Feb 13, 2020 1 message not in the archive Kbuild

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 docs: Fix virtiofsd.1 location

Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.

Fixing wrong location so installation is successful.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index f0e1a2f..62a367d 100644
@@ -865,7 +865,7 @@ ifdef CONFIG_VIRTFS
        $(INSTALL_DATA) $(MANUAL_BUILDDIR)/interop/virtfs-proxy-helper.1 "$(DESTDIR)$(mandir)/man1"
 endif
 ifeq ($(CONFIG_LINUX)$(CONFIG_SECCOMP)$(CONFIG_LIBCAP_NG),yyy)
-       $(INSTALL_DATA) docs/interop/virtiofsd.1 "$(DESTDIR)$(mandir)/man1"
+       $(INSTALL_DATA) $(MANUAL_BUILDDIR)/interop/virtiofsd.1 "$(DESTDIR)$(mandir)/man1"
 endif
 
 install-datadir:
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#2 lore raw
Quoted 8 lines · Miroslav Rezanina

Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.

Fixing wrong location so installation is successful.

I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.

thanks
-- PMM

#3 lore raw
Quoted 8 lines · * Peter Maydell ([email protected]) wrote:
Quoted 7 lines · Miroslav Rezanina

Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.

Fixing wrong location so installation is successful.

Quoted 7 lines
Quoted 1 line

I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.

Oops thanks!

Does someone want to take this via build or trivial - I've not got any more virtiofsd stuff currently queued.

Dave

Quoted 3 lines

thanks
-- PMM

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK

#4 lore raw
In reply to Peter Maydell
Quoted 8 lines · Peter Maydell
Quoted 7 lines · Miroslav Rezanina

Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.

Fixing wrong location so installation is successful.

Quoted 7 lines
Quoted 1 line

I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.

How come the mistake didn't break any of our CI ? Looks like it should have failed due to non-existing source file

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#5 lore raw
Quoted 12 lines · Daniel P. Berrangé
Quoted 10 lines · Peter Maydell
Quoted 8 lines · Miroslav Rezanina

Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.

Fixing wrong location so installation is successful.

Quoted 8 lines
Quoted 5 lines

I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.

How come the mistake didn't break any of our CI ? Looks like it should have failed due to non-existing source file

I imagine all our CI setups use separate-build-dir and don't test 'make install'. This only shows up if you do build-in-source-tree and then 'make install'. (In a separate-build-dir setup, the MANUAL_BUILDDIR is the same as the actual build dir,
which is the same as make's current working directory, so forgetting it in the install rune doesn't matter. In a build from the source tree, Sphinx requires the output to be to a different directory than the source, so we have to create
a subdirectory to be the MANUAL_BUILDDIR.)

thanks
-- PMM

#6 lore raw
Quoted 13 lines · Peter Maydell
Quoted 12 lines · Daniel P. Berrangé
Quoted 10 lines · Peter Maydell
Quoted 8 lines · Miroslav Rezanina

Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.

Fixing wrong location so installation is successful.

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines

I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.

How come the mistake didn't break any of our CI ? Looks like it should have failed due to non-existing source file

We stopped testing in-tree builds 2 months ago:

commit bc4486fb233573e77b6e9ad6d6379afb5e37ad8c

Author: Paolo Bonzini <[email protected]>
Date:   Wed Dec 11 15:33:49 2019 +0100

ci: build out-of-tree

Most developers are using out-of-tree builds and it was discussed
in the past
to only allow those. To prepare for the transition, use
out-of-tree builds
in all continuous integration jobs.

Quoted 14 lines

I imagine all our CI setups use separate-build-dir and don't test 'make install'. This only shows up if you do build-in-source-tree and then 'make install'. (In a separate-build-dir setup, the MANUAL_BUILDDIR is the same as the actual build dir,
which is the same as make's current working directory, so forgetting it in the install rune doesn't matter. In a build from the source tree, Sphinx requires the output to be to a different directory than the source, so we have to create
a subdirectory to be the MANUAL_BUILDDIR.)

thanks
-- PMM

#7 lore raw
Quoted 6 lines · Philippe Mathieu-Daudé

We stopped testing in-tree builds 2 months ago:

commit bc4486fb233573e77b6e9ad6d6379afb5e37ad8c

Author: Paolo Bonzini <[email protected]>
Date:   Wed Dec 11 15:33:49 2019 +0100
Quoted 7 lines

ci: build out-of-tree

Most developers are using out-of-tree builds and it was discussed
in the past
to only allow those. To prepare for the transition, use
out-of-tree builds
in all continuous integration jobs.

I'd missed that. Paolo, do you have a plan for following through and actively forbidding in-tree-builds, if that's the route we're taking ?

thanks
-- PMM

#8 lore raw
Quoted 9 lines · Peter Maydell
Quoted 8 lines · Philippe Mathieu-Daudé

We stopped testing in-tree builds 2 months ago:

commit bc4486fb233573e77b6e9ad6d6379afb5e37ad8c

Author: Paolo Bonzini <[email protected]>
Date:   Wed Dec 11 15:33:49 2019 +0100

ci: build out-of-tree

Quoted 7 lines
Quoted 3 lines

Most developers are using out-of-tree builds and it was discussed in the past to only allow those. To prepare for the transition, use out-of-tree builds in all continuous integration jobs.

I'd missed that. Paolo, do you have a plan for following through and actively forbidding in-tree-builds, if that's the route we're taking ?

I can follow up on that, yes.

Paolo