RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1900559 - Curl Metalink support needed: now --metalink option is ignored because the binary is built without the Metalink support.
Summary: Curl Metalink support needed: now --metalink option is ignored because the bi...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: curl
Version: 7.9
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Kamil Dudka
QA Contact: Daniel Rusek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-23 11:35 UTC by TTvardovska
Modified: 2020-11-23 11:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-23 11:55:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
CMaka metalink file (754 bytes, application/metalink+xml)
2020-11-23 11:35 UTC, TTvardovska
no flags Details


Links
System ID Private Priority Status Summary Last Updated
CentOS 17873 0 None None None 2020-11-23 11:35:26 UTC

Description TTvardovska 2020-11-23 11:35:26 UTC
Created attachment 1732459 [details]
CMaka metalink file

Created attachment 1732459 [details]
CMake metalink file cmake.metalink

Description of problem:
Now --metalink option is ignored because the binary is built without the Metalink support. Metalink support needed!

Version-Release number of selected component (if applicable):

curl --version
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets


How reproducible: always


Steps to Reproduce:
1. Create metalink file /dist/cmake.metalink with content like attached cmake.metalink
2. Run command from the same directory where the cmake.metalink file created: curl --metalink file:///dist/cmake.metalink -s -o cmake-3.18.4-Linux-x86_64.sh

Actual results:
Metalink file is downloaded with warning:
Warning: --metalink option is ignored because the binary is built without the
Warning: Metalink support.


Expected results:
Expected to get downloaded file described inside the cmake.metalink - cmake-3.18.4-Linux-x86_64.sh in a given sample

Additional info:
uname -smor
Linux 3.10.0-1160.2.2.el7.x86_64 x86_64 GNU/Linux

There are libs available to be used to build the curl binaries with Metalink support:
(EPEL Release repo enabled):
libmetalink.x86_64 : Metalink library written in C
libmetalink-devel.x86_64 : Files needed for developing with libmetalink

Comment 2 Kamil Dudka 2020-11-23 11:55:31 UTC
We do not introduce new features in RHEL-7 curl any more.  The feature is available in RHEL-8 though.  Closing NEXTRELEASE.


Note You need to log in before you can comment on or make changes to this bug.