wget is not built with metalink support

Bug #1977795 reported by phlummox
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
wget (Debian)
New
Unknown
wget (Ubuntu)
Confirmed
Undecided
Unassigned

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.)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wget (Ubuntu):
status: New → Confirmed
Revision history for this message
Ken Sharp (kennybobs) wrote :

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: - man page incorrectly lists "--metalink-over-http" as an option
+ wget is not built with metalink support
Ken Sharp (kennybobs)
tags: added: mantic
Revision history for this message
phlummox (phlummox) wrote :

Ken Sharp: "wget is not built with metalink support" is not the bug I reported.

The bug I reported has to do with the accuracy of the man page. If other people feel that having (or not having) particular wget features enabled is a bug, then generally, I'd expect that to be opened as a separate issue.

Changed in wget (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.