> From: "Ben Pfaff" <b...@ovn.org> > To: "Leif Madsen" <lmad...@redhat.com> > Cc: "ovs dev" <d...@openvswitch.org> > Sent: Monday, 24 April, 2017 5:02:28 PM > Subject: Re: [ovs-dev] [RFC 2/4] doc: Convert ovs-vlan-test to rST > > On Mon, Apr 24, 2017 at 04:37:51PM -0400, Leif Madsen wrote: > > On Mon, Apr 24, 2017 at 3:57 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > > On Mon, Apr 24, 2017 at 03:52:53PM -0400, Leif Madsen wrote: > > > > I think this change might have broken packaging :) > > > > > > > > I just tested, and with the removal / renaming of the man8 pages for > > > > ovs-test and ovs-vlan-test, the RPM fails to build because of missing > > > files > > > > that no longer match the glob. > > > > > > > > These two lines need to be removed from the build: > > > > > > > > 471 %{_mandir}/man8/ovs-test.8* > > > > 472 %{_mandir}/man8/ovs-vlan-test.8* > > > > > > > > > > > > I'll submit a patch shortly. > > > > > > OK, I'm confused then. There was no removal or renaming of the > > > installed man8 pages, only of the source files. So, when I run "make > > > install DESTDIR=$PWD/inst", I get a file > > > inst/usr/share/man/man8/ovs-test.8 installed, and that should be the > > > same as before. > > > > > > Any idea what's going on? > > > > > > > Huh, well then I'm very confused as well :) > > > > I just did a test, and things seem to build fine when I remove those two > > lines. Otherwise, the RPM will fail to build with the following: > > > > Processing files: > > openvswitch-test-2.7.90.14191.git3570f7e4-1.el7.centos.noarch > > error: File not found by glob: > > /builddir/build/BUILDROOT/openvswitch-2.7.90.14191.git3570f7e4-1.el7.centos.x86_64/usr/share/man/man8/ovs-test.8* > > error: File not found by glob: > > /builddir/build/BUILDROOT/openvswitch-2.7.90.14191.git3570f7e4-1.el7.centos.x86_64/usr/share/man/man8/ovs-vlan-test.8* > > > > > > RPM build errors: > > File not found by glob: > > /builddir/build/BUILDROOT/openvswitch-2.7.90.14191.git3570f7e4-1.el7.centos.x86_64/usr/share/man/man8/ovs-test.8* > > File not found by glob: > > /builddir/build/BUILDROOT/openvswitch-2.7.90.14191.git3570f7e4-1.el7.centos.x86_64/usr/share/man/man8/ovs-vlan-test.8* > >
I ran into this a little while ago. The problem in my case was that sphinx-build was not installed, so these man pages were not being built (seems odd that this would not cause a build failure...) Doing "yum install python-sphinx" let me build the rpms successfully once again. Seems we should add "BuildRequires: python-sphinx" to the spec file. Regards, Lance _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev