Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888559 - dev-perl/WWW-Curl-4.170.0-r2 - curlopt-constants.c: error: CURL_DEPRECATED undeclared (first use in this function)
Summary: dev-perl/WWW-Curl-4.170.0-r2 - curlopt-constants.c: error: CURL_DEPRECATED un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-26 21:45 UTC by Toralf Förster
Modified: 2023-05-10 00:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.23 KB, text/plain)
2022-12-26 21:45 UTC, Toralf Förster
Details
dev-perl:WWW-Curl-4.170.0-r2:20221226-214403.log (dev-perl:WWW-Curl-4.170.0-r2:20221226-214403.log,31.54 KB, text/plain)
2022-12-26 21:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,153.04 KB, text/plain)
2022-12-26 21:45 UTC, Toralf Förster
Details
environment (environment,45.01 KB, text/plain)
2022-12-26 21:45 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,572 bytes, application/x-bzip)
2022-12-26 21:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.12 KB, application/x-bzip)
2022-12-26 21:45 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.37 KB, application/x-bzip)
2022-12-26 21:45 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-26 21:45:16 UTC
      |         ^~~~~~~~~~~~~
/usr/include/curl/curl.h:2606:1: note: declared here
 2606 | curl_formfree(struct curl_httppost *form);
      | ^~~~~~~~~~~~~
In file included from Curl.xs:578:
curlopt-constants.c: In function constant:
curlopt-constants.c:19:51: error: CURL_DEPRECATED undeclared (first use in this function)
   19 |             if (strEQ(name, "DEPRECATED")) return CURL_DEPRECATED;
      |                                                   ^~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221225-170927

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.66.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p8 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  (none found)

  HEAD of ::gentoo
commit cf87b619757b6b0ffe93d594119bc0fd3d0362a3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 26 20:48:10 2022 +0000

    2022-12-26 20:48:10 UTC

emerge -qpvO dev-perl/WWW-Curl
[ebuild  N    ] dev-perl/WWW-Curl-4.170.0-r2  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2022-12-26 21:45:17 UTC
Created attachment 845007 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-26 21:45:18 UTC
Created attachment 845009 [details]
dev-perl:WWW-Curl-4.170.0-r2:20221226-214403.log
Comment 3 Toralf Förster gentoo-dev 2022-12-26 21:45:20 UTC
Created attachment 845011 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-26 21:45:21 UTC
Created attachment 845013 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-26 21:45:22 UTC
Created attachment 845015 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-26 21:45:23 UTC
Created attachment 845017 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-26 21:45:24 UTC
Created attachment 845019 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-05-10 00:25:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e117e5e5e04de053f606d74da4170d402d77492

commit 5e117e5e5e04de053f606d74da4170d402d77492
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2023-05-10 00:24:44 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2023-05-10 00:25:22 +0000

    dev-perl/WWW-Curl: fix compile with curl-7.87+
    
    Closes: https://bugs.gentoo.org/888559
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 dev-perl/WWW-Curl/Manifest                   |  1 +
 dev-perl/WWW-Curl/WWW-Curl-4.170.0-r3.ebuild | 82 ++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+)