Bug#1082135: sumo: FTBFS randomly due to dh_installdocs misbehavior (?)

Santiago Vila sanvila at debian.org
Wed Sep 18 18:23:52 BST 2024


Package: src:sumo,debhelper,doxygen
Severity: important

Dear maintainer:

During a rebuild of all packages in unstable, the package "sumo" failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --builddirectory=/<<PKGBUILDDIR>>/debian/build --with python3
    dh_update_autotools_config -O--builddirectory=/<<BUILDDIR>>/sumo-1.18.0\+dfsg/debian/build
    dh_autoreconf -O--builddirectory=/<<BUILDDIR>>/sumo-1.18.0\+dfsg/debian/build
    dh_auto_configure -O--builddirectory=/<<BUILDDIR>>/sumo-1.18.0\+dfsg/debian/build
	cd debian/build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ../..
CMake Warning (dev) at CMakeLists.txt:45 (project):

[... snipped ...]

cp: cannot stat 'doxygen/d1/d34/class_m_s_device___taxi_a55128e31c22ec784b63868b846be485f_icgraph.dot': No such file or directory
cp: cannot stat 'doxygen/d1/d34/class_m_s_device___taxi_a5af511d709988db03b5ed82549ae56d2_icgraph.dot': No such file or directory
cp: cannot stat 'doxygen/d1/d34/class_m_s_device___taxi_a68427d7dc489bfff207d646f9af2617b_icgraph.dot': No such file or directory
cp: cannot stat 'doxygen/d1/d34/class_m_s_device___taxi_a75efc29a0196691e5e12df7fe75409a8_icgraph.dot': No such file or directory
cp: cannot stat 'doxygen/d1/d34/class_m_s_device___taxi_a7741fe7e3a561269ef42722397338e4f_icgraph.dot': No such file or directory
cp: cannot stat 'doxygen/d1/d34/class_m_s_device___taxi_a8a8cde0d65f4e42ddd52aeca3b6102ec_icgraph.dot': No such file or directory
cp: cannot stat 'doxygen/d1/d34/class_m_s_device___taxi_a92a4884c8b00bb5a1fc5a3e848e00543_icgraph.dot': No such file or directory
cp: cannot stat 'doxygen/d1/d34/class_m_s_device___taxi_a92ddcdb70119189e54f71f3b092584d6_icgraph.dot': No such file or directory
dh_installdocs: error: cd './docs/doxygen/..' && find 'doxygen' \( -type f -or -type l \) -and ! -empty -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -dp {} /<<PKGBUILDDIR>>/debian/sumo-doc/usr/share/doc/sumo returned exit code 123
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Full build log available here:

https://people.debian.org/~sanvila/build-logs/202409/

I'm using machines with 1 CPU and 2 CPUs from AWS.

- On machines with 1 CPU, this does not seem to happen (so far).

- On machines with 2 CPUs, this happens about 50% of the time
(tried 27 times so far, it failed 14 times).

The sumo package does not have an override for dh_installdocs in its debian/rules,
so maybe this is debhelper's fault, but it could also be the case that this line:

        cd $(BUILDDIR) && $(MAKE) doxygen

produces a "tainted" tree which makes dh_installdocs to fail.

As always, I can create a VM for you to reproduce if it helps (please contact
me privately for that), with the logical caveat that it happens only 50% of the time.

Please reassign & retitle as appropriate.

Thanks.



More information about the debian-science-maintainers mailing list