• Help for wget2 update needed

    From Andreas Tille@21:1/5 to All on Mon Sep 16 16:20:01 2024
    Hi,

    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

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Mon Sep 16 16:50:01 2024
    This is a multi-part message in MIME format.
    Hi. I would start by fixing debian/rules. See attach.

    You apparently need libhsts, I tried to workaround that
    by disabling it in ./configure call, just to see how
    far I could go.

    After that there seems to be a gcc-14 problem
    with prototype for "fork". Sorry, I stopped at that point, but I guess the trivial debian/rules patch might
    help a bit.

    Thanks. LS0tIGEvZGViaWFuL3J1bGVzCisrKyBiL2RlYmlhbi9ydWxlcwpAQCAtOCw1ICs4LDUgQEAK ICU6CiAJZGggJEAKIAotb3ZlcnJpZGVfZGhfY29uZGZpZ3VyZToKLQlkaF9jb25maWd1cmUg LS0gLS1lbmFibGUtZnNhbml0aXplLXVic2FuPW5vCitvdmVycmlkZV9kaF9hdXRvX2NvbmZp Z3VyZToKKwlkaF9hdXRvX2NvbmZpZ3VyZSAtLSAtLWVuYWJsZS1mc2FuaXRpemUtdWJzYW49 bm8gLS13aXRob3V0LWxpYmhzdHMK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeremy Sowden@21:1/5 to Andreas Tille on Mon Sep 16 17:20:01 2024
    --aBmYdxKGK0Y8jYCo
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    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.


    --aBmYdxKGK0Y8jYCo
    Content-Type: text/x-diff; charset=utf-8
    Content-Disposition: attachment; filename="wget2-gnulib-fixes.patch" Content-Transfer-Encoding: quoted-printable

    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 $@

    +
  • From Andreas Tille@21:1/5 to All on Mon Sep 16 21:50:01 2024
    Hi Jeremy,

    Am Mon, Sep 16, 2024 at 04:17:10PM +0100 schrieb Jeremy Sowden:

    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.

    That patch (as well as the hint from Santiago) helped definitely to some progress. However, I'm now blocked by

    config.status:3707: creating include/wget/wgetver.h
    config.status:3707: creating po/Makefile.in
    config.status:3693: error: cannot find input file: 'Makefile.in'

    as you can see in Salsa CI[1].

    Any further hints?

    Kind regards
    Andreas.

    [1] https://salsa.debian.org/tille/wget2/-/jobs/6291380#L11850

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeremy Sowden@21:1/5 to Andreas Tille on Tue Sep 17 11:40:01 2024
    On 2024-09-16, at 21:49:23 +0200, Andreas Tille wrote:
    Am Mon, Sep 16, 2024 at 04:17:10PM +0100 schrieb Jeremy Sowden:

    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.

    That patch (as well as the hint from Santiago) helped definitely to some progress. However, I'm now blocked by

    config.status:3707: creating include/wget/wgetver.h
    config.status:3707: creating po/Makefile.in
    config.status:3693: error: cannot find input file: 'Makefile.in'

    as you can see in Salsa CI[1].

    Any further hints?

    Kind regards
    Andreas.

    [1] https://salsa.debian.org/tille/wget2/-/jobs/6291380#L11850

    Drop the three autotools patches:

    no_parallel_tests.patch
    fixme.patch
    no_gnulib.mk.patch

    That should get you as far as dh_install.

    J.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEbB20U2PvQDe9VtUXKYasCr3xBA0FAmbpTI4ACgkQKYasCr3x BA2rUBAA0Lvn6/xDoOI9w1NgHfCLof3n9q++zeJKUJXKYf/7CRBOo+/7vc1/FVcD 8Ym35HATWnefK/+yVUtzW1fu3jMaPPC4UADcMvo2/XzzM8bPvItPHoem1Lzzp/i3 TqASCJR4UYohiY/yypJwKiItYIVHwc/cJOOWHoquwYgPbEMZ9jnr1oCf60WhFZeH vIXJ6Ocm4DMbzgxHf2Izow4qnZhLx09fHwV2uHr138LU2awPuUYvE6zPnWjMHBY8 DxItBNiKNkN7ujJWyxHP9bbKwubBCrBxxqewLs50ZZCxsiGM+WbO/hAi9eOUAKGW NFqCZTbwOoNLa+oHC1Td9LYQ1Cep97MW3RJIDqs+JYIqFLZ2LGnQ7Wu8T/jV0kh9 RHm9QLwdV3ScpAlemEKYKRS9ZCI3y1TIvUHhsJyOvGiNql5ygIx4z+Wb0ieLyOE9 Bpj5uGYl1bCaKod1KmmctjFicTWQ+YMALn/0RBm+qHfYbdXTFqr3I9Evab23aTZX pHUbjVJ/YVAG7WrC49GRRBBOSdERL5nIE9Vx0G2bNIAKVHXrYwNSpwYU4CziGlRr VD4lb0EjQdoJlpgTw+WqYo6ELeWrbgtqdvrFb+V5GeOEGux82N56nSb8OHoCXiI7 G8Lowq+EWfFlyikSu0HIPFcslQ0XEIWsTROJfn6yB1IxW0pIu90=
    =r07A
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)