On Sun, Mar 24, 2024 at 03:42:18PM +0500, Andrey Rakhmatullin wrote: > On Wed, Mar 13, 2024 at 01:03:20PM +0100, Lucas Nussbaum wrote: > > > ./config.h:2540:11: fatal error: trio.h: No such file or directory > > > 2540 | # include "trio.h" > > > | ^~~~~~~~ > (this suggests that using trio is not actually supported but that's > irrelevant) > This is caused by the stdio detection failing and should be fixed by > adding #include <stdio.h> to the test case code in m4/needtrio.m4 but this > package doesn't run autoreconf so fixing d/rules to at least do that is > also needed.
I gave the following a try, but it makes `make install` fail with an error suggesting a variable was left empty. Making install in po make[3]: Entering directory '/<<PKGBUILDDIR>>/po' /<<PKGBUILDDIR>>/debian/lftp/usr/share make[3]: /<<PKGBUILDDIR>>/debian/lftp/usr/share: Permission denied make[3]: *** [Makefile:304: install-data-yes] Error 127 make[3]: Leaving directory '/<<PKGBUILDDIR>>/po' ... diff -Nru lftp-4.9.2/debian/rules lftp-4.9.2/debian/rules --- lftp-4.9.2/debian/rules 2018-09-17 09:33:33.000000000 +0200 +++ lftp-4.9.2/debian/rules 2024-04-08 16:46:06.000000000 +0200 @@ -20,6 +20,8 @@ #configure: configure-stamp configure-stamp: dh_testdir + dh_update_autotools_config + dh_autoreconf # Add here commands to configure the package. CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure \ --prefix=/usr \ @@ -56,6 +58,7 @@ [ ! -f Makefile ] || $(MAKE) distclean rm -f doc/lftp.inf* + dh_autoreconf_clean dh_clean install: build