From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AA7D53858288; Wed, 21 Dec 2022 15:41:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA7D53858288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671637288; bh=+GKtV5ytAbBW9qRtYoykHxVxxGu+h/9ALSv4856HzD8=; h=From:To:Subject:Date:From; b=SJ6wMa1PyXbztgnzzrGV0xGvpI6g1MTqBWy3Wn6Gf9mg9+iY5k+mcUC1t7GHgNHht MK4NzvercnloladIr3nj7Y0LE41W4vA4JD8W9jqTmPpyexS5ICbXwMiPPmaLRDe2Nq 1AS5hooJq4mNEJcNSAiXQiVz5PAgFquBePhV7CJg= From: "andrew at ishiboo dot com" To: elfutils-devel@sourceware.org Subject: [Bug debuginfod/29926] New: debuginfod using deprecated curl (since 7.55.0) curl API, fails to build with 7.87.0 Date: Wed, 21 Dec 2022 15:41:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: debuginfod X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew at ishiboo dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29926 Bug ID: 29926 Summary: debuginfod using deprecated curl (since 7.55.0) curl API, fails to build with 7.87.0 Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: debuginfod Assignee: unassigned at sourceware dot org Reporter: andrew at ishiboo dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- The debuginfod build fails because it is using deprecated curl APIs that we= re marked deprecated in 7.55 and hard-deprecated in 7.87, triggering -Werror=3Ddeprecated-declarations errors: ../../debuginfod/debuginfod-client.c: In function 'debuginfod_query_server': ../../debuginfod/debuginfod-client.c:895:15: error: 'CURLINFO_SIZE_DOWNLOAD= ' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Werror=3Ddeprecated-declarations] 895 | curl_res =3D curl_easy_getinfo(target_handle, | ^~~~~~~~ In file included from ../../debuginfod/debuginfod-client.c:86: /opt/bbinfra/include/curl/curl.h:2836:3: note: declared here 2836 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ ../../debuginfod/debuginfod-client.c:913:15: error: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Werror=3Ddeprecated-declarations] 913 | curl_res =3D curl_easy_getinfo(target_handle, | ^~~~~~~~ In file included from ../../debuginfod/debuginfod-client.c:86: /opt/bbinfra/include/curl/curl.h:2853:3: note: declared here 2853 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../debuginfod/debuginfod-client.c: In function 'debuginfod_query_server': ../../debuginfod/debuginfod-client.c:895:15: error: 'CURLINFO_SIZE_DOWNLOAD= ' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Werror=3Ddeprecated-declarations] 895 | curl_res =3D curl_easy_getinfo(target_handle, | ^~~~~~~~ In file included from ../../debuginfod/debuginfod-client.c:86: /opt/bbinfra/include/curl/curl.h:2836:3: note: declared here 2836 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ ../../debuginfod/debuginfod-client.c:913:15: error: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Werror=3Ddeprecated-declarations] 913 | curl_res =3D curl_easy_getinfo(target_handle, | ^~~~~~~~ In file included from ../../debuginfod/debuginfod-client.c:86: /opt/bbinfra/include/curl/curl.h:2853:3: note: declared here 2853 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors This is due to the code having an `#ifdef` fallback on the old identifiers = that must be removed to compile with 7.87. --=20 You are receiving this mail because: You are on the CC list for the bug.=