Control: tag -1 + patch The build fails because configure.ac tries to copy the convenience sources of ltdl into the build directory to build with that. The patch disables that.
Bug #652201 was a previous bug regarding ltdl, but I don't know how that relates to this.
Description: Disable AC_LIBLTDL_CONVENIENCE and use the distro's ltdl For some reason configure.ac enables AC_LIBLTDL_CONVENIENCE which is rather pointless in a distro that comes with its own ltdl and also interferes with the build (#980642). This patch disables that. . I wonder how much of that override_dh_auto_configure stuff is actually still necessary. Author: Dennis Filder <d.fil...@web.de> Bug-Debian: https://bugs.debian.org/980642 Last-Update: 2021-02-10 --- diff --git diagnostics-0.3.3/debian/rules diagnostics-0.3.3/debian/rules index 3c0390d..4921ce7 100755 --- diagnostics-0.3.3/debian/rules +++ diagnostics-0.3.3/debian/rules @@ -27,7 +27,6 @@ override_dh_auto_configure: --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --disable-update-makefiles \ - --with-ltdl-include=/usr/include --with-ltdl-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \ CXXFLAGS="$(CXXFLAGS)" # LDFLAGS="-Wl,-z,defs" override_dh_auto_test: diff --git diagnostics-0.3.3/configure.ac diagnostics-0.3.3/configure.ac index 6aa3b4e..16793d8 100644 --- diagnostics-0.3.3/configure.ac +++ diagnostics-0.3.3/configure.ac @@ -29,9 +29,11 @@ AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_AWK # new libtool versions: -# LT_INIT -# LTDL_INIT -AC_LIBLTDL_CONVENIENCE +LT_INIT +LTDL_INIT + +#AC_LIBLTDL_CONVENIENCE # disabled as this is pointless/redundant in +# # a distro shipping its own ltdl (see also: #652201) AC_WITH_LTDL AC_PROG_LIBTOOL