Re: Debug doxygen generated files with different names in noarch package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 17, 2020 at 5:25 PM Richard Shaw <hobbes1069@xxxxxxxxx> wrote:
>
> On Fri, Aug 14, 2020 at 6:07 PM Rich Mattes <richmattes@xxxxxxxxx> 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/37e97cc5aa53b53865852a888d7f6261dac49f96?branch=master

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!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux