On Mon, Aug 17, 2020 at 5:25 PM Richard Shaw <hobbes1069(a)gmail.com> wrote:
On Fri, Aug 14, 2020 at 6:07 PM Rich Mattes <richmattes(a)gmail.com> wrote:
>
> I downloaded the i686-generated doc package,
> dir_dd208edd458824e9eaf902c6da16200d.html is the directory that contains
> zipios-config.h. That file is generated from a template by CMake, and
> is located in the root of the build folder (which is now
> %{_vpath_builddir}. So it's going to be different on every arch. I'm
> also seeing the file path to zipios-config.h that includes the
> %{_vpath_builddir} folder in the some of the images generated for the
> dependency graphs.
>
> Your above patch is filtering out CMAKE_CURRENT_BINARY_DIR, which I
> think points the doc/ subdirectory of the build tree, since the doxyfile
> is configured in the doc/CMakeLists.txt, not the root CMakeLists.txt.
> Perhaps try using @PROJECT_BINARY_DIR@ instead.
I tried adding both the _CURRENT_ and base paths for both SOURCE and BINARY to no
avail...
>
> Is it possible to override %{_vpath_builddir} to just be "build" on all
> architectures (e.g. "%global _vpath_builddir build" at the top of a spec?)
Perhaps, but then I might as well disable it because that's what I had in place until
I was forced to change it... Bah.
I spent a bit of time trying to get doxygen to not incorporate the
build dir into its hashes, but gave up and overrode %_vpath_builddir
instead.
Here's the commit:
https://src.fedoraproject.org/rpms/zipios/c/37e97cc5aa53b53865852a888d7f6...
I did a scratch build and that worked:
https://koji.fedoraproject.org/koji/taskinfo?taskID=49493357
Real build is occurring right now:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1594316
--
真実はいつも一つ!/ Always, there's only one truth!