Bug 2161515 - FTBFS if _module_build is 1
Summary: FTBFS if _module_build is 1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: doxygen
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2128814
TreeView+ depends on / blocked
 
Reported: 2023-01-17 07:29 UTC by Zdenek Dohnal
Modified: 2023-01-18 08:47 UTC (History)
1 user (show)

Fixed In Version: doxygen-1.9.6-2.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-18 08:47:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zdenek Dohnal 2023-01-17 07:29:09 UTC
Description of problem:
I've tried to build doxygen with _module_build to omit graphviz dependency, which creates circular dependency between them and blocks graphviz's rebuild with new ghostscript, but the build fails at %check section.

Version-Release number of selected component (if applicable):
doxygen-1.9.6-1.fc38

How reproducible:
Always with _module_build 1

Steps to Reproduce:
1. add '%global _module_build 1' into doxygen.spec
2. start scratch build

$ fedpkg build --scratch --srpm

Actual results:
The build fails due:

not ok - [012_cite.dox]: test the \cite command
-------------------------------------
Difference between generated output and reference:
--- /builddir/build/BUILD/doxygen-1.9.6/redhat-linux-build/testing/test_output_012/indexpage.xml	2023-01-17 06:54:13.140523560 +0000
+++ /builddir/build/BUILD/doxygen-1.9.6/testing/012/indexpage.xml	2022-08-11 20:14:32.000000000 +0000
@@ -6,8 +6,8 @@
     <briefdescription>
     </briefdescription>
     <detaileddescription>
-      <para>See knuth79 for more info.</para>
-      <para>Other references with cross references see Be09 and BertholdHeinzVigerske2009 for more info. </para>
+      <para>See <ref refid="citelist_1CITEREF_knuth79" kindref="member">[3]</ref> for more info.</para>
+      <para>Other references with cross references see <ref refid="citelist_1CITEREF_Be09" kindref="member">[1]</ref> and <ref refid="citelist_1CITEREF_BertholdHeinzVigerske2009" kindref="member">[2]</ref> for more info. </para>
     </detaileddescription>
     <location file="012_cite.dox"/>
   </compounddef>
-------------------------------------
error: Problems running bibtex. Verify that the command 'perl --version' works from the command line. Exit code: 2
/builddir/build/BUILD/doxygen-1.9.6/testing/012_cite.dox:6: warning: \cite command to 'knuth79' does not have an associated number
/builddir/build/BUILD/doxygen-1.9.6/testing/012_cite.dox:8: warning: \cite command to 'Be09' does not have an associated number
/builddir/build/BUILD/doxygen-1.9.6/testing/012_cite.dox:8: warning: \cite command to 'BertholdHeinzVigerske2009' does not have an associated number
-------------------------------------

...

99% tests passed, 1 tests failed out of 93
Total Test time (real) =   1.75 sec
The following tests FAILED:
	 12 - 012_cite (Failed)
Errors while running CTest
error: Bad exit status from /var/tmp/rpm-tmp.O3LJPc (%check)
RPM build errors:


Expected results:
Build passes if there is a scenario where _module_build is set, or the macro and conditions based on it are removed from the spec file

Additional info:
Scratch build link https://koji.fedoraproject.org/koji/taskinfo?taskID=96235872

Even if doxygen is no longer built as module, it would be great if the macro was renamed and could be used to create a build without graphviz,  which could help us during ghostscript rebase.

Comment 1 Than Ngo 2023-01-18 08:47:25 UTC
it is fixed in doxygen-1.9.6-2.fc38


Note You need to log in before you can comment on or make changes to this bug.