Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888557 - dev-util/breakpad-2022.06.04: fails to build with >=net-misc/curl-7.56.0, uses -Werror (src/common/linux/http_upload.cc:139:18: error: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Werror=deprecated-declarations])
Summary: dev-util/breakpad-2022.06.04: fails to build with >=net-misc/curl-7.56.0, use...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2022-12-26 21:45 UTC by Toralf Förster
Modified: 2023-01-10 20:27 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.00 KB, text/plain)
2022-12-26 21:45 UTC, Toralf Förster
Details
dev-util:breakpad-2022.06.04:20221226-213608.log (dev-util:breakpad-2022.06.04:20221226-213608.log,33.46 KB, text/plain)
2022-12-26 21:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,192.84 KB, text/plain)
2022-12-26 21:45 UTC, Toralf Förster
Details
environment (environment,73.33 KB, text/plain)
2022-12-26 21:45 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,704 bytes, application/x-bzip)
2022-12-26 21:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.05 KB, application/x-bzip)
2022-12-26 21:45 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.36 KB, application/x-bzip)
2022-12-26 21:45 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.12 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:04 UTC
src/common/linux/http_upload.cc:151:29: error: CURLOPT_HTTPPOST is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Werror=deprecated-declarations]
  151 |   (*curl_easy_setopt)(curl, CURLOPT_HTTPPOST, formpost);
      |                             ^~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:1195:3: note: declared here
 1195 |   CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
      |   ^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make: *** [Makefile:5539: src/common/linux/http_upload.o] Error 1 shuffle=465250115
make: *** Waiting for unfinished jobs....

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] 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 *
php cli (if any):

  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-util/breakpad
[ebuild  N    ] dev-util/breakpad-2022.06.04  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2022-12-26 21:45:05 UTC
Created attachment 844991 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-26 21:45:06 UTC
Created attachment 844993 [details]
dev-util:breakpad-2022.06.04:20221226-213608.log
Comment 3 Toralf Förster gentoo-dev 2022-12-26 21:45:07 UTC
Created attachment 844995 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-26 21:45:08 UTC
Created attachment 844997 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-26 21:45:09 UTC
Created attachment 844999 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-26 21:45:10 UTC
Created attachment 845001 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-26 21:45:11 UTC
Created attachment 845003 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-26 21:45:13 UTC
Created attachment 845005 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-01-10 20:27:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fa5d5fd7564820624fd4db917c0b5703a213029

commit 9fa5d5fd7564820624fd4db917c0b5703a213029
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-01-10 20:25:53 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-01-10 20:26:38 +0000

    dev-util/breakpad: remove -Werror
    
    Closes: https://bugs.gentoo.org/888557
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-util/breakpad/breakpad-2022.06.04.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)