[Bug 1977795] Re: man page incorrectly lists "--metalink-over-http" as an option
Ken Sharp
1977795 at bugs.launchpad.net
Sun Jul 16 06:23:36 UTC 2023
wget is not built with metalink support.
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now" ../configure \
--prefix=/usr \
--mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info \
--sysconfdir=/etc \
--enable-ipv6 \
--with-ssl=openssl \
--without-libpsl \
--disable-debug \
--disable-nls \
--disable-iri --build x86_64-linux-gnu
>From https://launchpadlibrarian.net/581938897/buildlog_ubuntu-jammy-
amd64.wget_1.21.2-2ubuntu1_BUILDING.txt.gz
** Tags added: amd64 jammy
** Summary changed:
- man page incorrectly lists "--metalink-over-http" as an option
+ wget is not built with metalink support
** Bug watch added: Debian Bug tracker #1037083
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037083
** Also affects: wget (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037083
Importance: Unknown
Status: Unknown
** Tags added: mantic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1977795
Title:
wget is not built with metalink support
Status in wget package in Ubuntu:
Confirmed
Status in wget package in Debian:
Unknown
Bug description:
The man page describes a "--metalink-over-http" option to wget:
--metalink-over-http
Issues HTTP HEAD request instead of GET and extracts Metalink metadata from response headers. Then it switches to Metalink download.
If no valid Metalink metadata is found, it falls back to ordinary HTTP download. Enables Content-Type: application/metalink4+xml
files download/processing.
However, attempting to use the "--metalink-over-http" option results
in an error:
$ wget --metalink-over-http https://www.example.com/
wget: unrecognized option '--metalink-over-http'
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
(I assume the error occurs because the Ubuntu version of wget is built
without passing the `--with-metalink` flag to `configure`.)
Since the man page should correctly describe the options wget can
take, the `--metalink-over-http` section of it should be removed.
(The same might apply to the man page discussion of `--metalink-
index`, `--input-metalink`, `--keep-badhash`, `--preferred-location`,
since those options mention metalinks, but I haven't investigated
further.)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1977795/+subscriptions
More information about the foundations-bugs
mailing list