Source: doxygen
Version: 1.8.18-1
Severity: serious
Justification: failing autopkgtest on amd64

Dear Maintainer,

doxygen autopkgtest started failing after json-c 0.15-1 was uploaded to
unstable. This blocks migration of some other packages:

https://ci.debian.net/user/britney/jobs?package=doxygen

See any of the “test log” links for the log, for example this one:

https://ci.debian.net/data/autopkgtest/testing/amd64/d/doxygen/6526799/log.gz

The relevant line is:

  error: Doxyfile not found and no input file specified!

Attached is a patch that adapts the test to work with new json-c.

However, I think it would be better if that test did not rely on any external
data, and the needed data was shipped with doxygen itself. Maybe the test can
build doxygen's own documentation?

--
Dmitry Shachnev
diff --git a/debian/tests/control b/debian/tests/control
index f46086a..d707d73 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,7 @@
 Tests: run
-Depends: apt:native, dpkg-dev, doxygen, graphviz:native
+Depends: apt:native,
+         build-essential,
+         cmake:native,
+         doxygen,
+         dpkg-dev,
+         graphviz:native
diff --git a/debian/tests/run b/debian/tests/run
index 31e4da5..f84a376 100755
--- a/debian/tests/run
+++ b/debian/tests/run
@@ -7,6 +7,10 @@ trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
 cd $WORKDIR
 apt-get source json-c 2>&1
 cd json-c-*
+mkdir build
+cd build
+cmake ..
+cd doc
 doxygen 2>&1
 cd /
 rm -Rf "$WORKDIR"

Attachment: signature.asc
Description: PGP signature

Reply via email to