[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help for wget2 update needed



On 2024-09-16, at 16:16:10 +0200, Andreas Tille wrote:
> I intend to try the latest version of wget2.  To build it I've created a
> fork but it does not build as you can see in Salsa CI[1].  I fiddled
> around with some patches for automake but obviously with no success.
> 
> Any help would be welcome.
> 
> Kind regards
>     Andreas.
> 
> [1] https://salsa.debian.org/tille/wget2/-/jobs/6290074

wget2 seems to rely heavily on gnulib, so you'll need a build-dep on
that.  It includes a bootstrap script which pulls in the code it
requires from gnulib and needs to be run before dh_autoreconf.

Patch attached.

J.

diff --git a/debian/control b/debian/control
index 7547381ba08b..c6f93dd051f5 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: wget2
 Priority: optional
 Maintainer: Noël Köthe <noel@debian.org>
-Build-Depends: debhelper-compat (= 13), pkg-config, doxygen, pandoc, gettext, zlib1g-dev, liblzma-dev, libbz2-dev, libzstd-dev, libbrotli-dev, libpcre2-dev, libgnutls28-dev, libidn11-dev, libidn2-dev, flex, libpsl-dev, automake, dh-strip-nondeterminism, gnulib, libnghttp2-dev, graphviz, libgpgme-dev, texinfo
+Build-Depends: debhelper-compat (= 13), pkg-config, doxygen, pandoc, gettext, gnulib, zlib1g-dev, liblzma-dev, libbz2-dev, libzstd-dev, libbrotli-dev, libpcre2-dev, libgnutls28-dev, libidn11-dev, libidn2-dev, flex, libpsl-dev, automake, dh-strip-nondeterminism, gnulib, libnghttp2-dev, graphviz, libgpgme-dev, texinfo
 Standards-Version: 4.7.0
 Section: web
 Homepage: https://gitlab.com/gnuwget/wget2
diff --git a/debian/rules b/debian/rules
index 9cdea694dc3f..fc86a1c265f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,8 @@
 %:
 	dh $@
 
+execute_before_dh_autoreconf:
+	./bootstrap --gnulib-srcdir=/usr/share/gnulib
+
 override_dh_condfigure:
 	dh_configure -- --enable-fsanitize-ubsan=no

Attachment: signature.asc
Description: PGP signature


Reply to: