Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939581 - dev-cpp/curlpp-0.8.1 - [gcc-15] /.../Options.hpp: error: invalid conversion from int to CURLoption [-fpermissive]
Summary: dev-cpp/curlpp-0.8.1 - [gcc-15] /.../Options.hpp: error: invalid conversion f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-13 08:54 UTC by Toralf Förster
Modified: 2025-02-06 22:36 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.49 KB, text/plain)
2024-09-13 08:54 UTC, Toralf Förster
Details
dev-cpp:curlpp-0.8.1:20240913-073133.log (dev-cpp:curlpp-0.8.1:20240913-073133.log,39.92 KB, text/plain)
2024-09-13 08:54 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,62.10 KB, application/x-xz)
2024-09-13 08:54 UTC, Toralf Förster
Details
environment (environment,100.73 KB, text/plain)
2024-09-13 08:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.49 KB, application/x-xz)
2024-09-13 08:54 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,73.02 KB, application/x-xz)
2024-09-13 08:54 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.26 KB, application/x-xz)
2024-09-13 08:54 UTC, Toralf Förster
Details
patch curloption (curlpp-0.8.1-fix-invalid-conversion-CURLoption.patch,801 bytes, patch)
2025-02-06 05:59 UTC, Nicolas PARLANT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-09-13 08:54:22 UTC
/var/tmp/portage/dev-cpp/curlpp-0.8.1/work/curlpp-0.8.1/include/curlpp/Options.hpp:222:52: warning: CURLOPT_HTTPPOST is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
  222 |         typedef curlpp::OptionTrait<curlpp::Forms, CURLOPT_HTTPPOST> HttpPost;
      |                                                    ^~~~~~~~~~~~~~~~
/usr/include/curl/curl.h:1205:3: note: declared here
 1205 |   CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
      |   ^~~~~~~~~~~~~~~~~
/var/tmp/portage/dev-cpp/curlpp-0.8.1/work/curlpp-0.8.1/include/curlpp/Options.hpp:281:74: error: invalid conversion from int to CURLoption [-fpermissive]
  281 |         typedef curlpp::OptionTrait<curl_closepolicy, CURLOPT_CLOSEPOLICY> ClosePolicy;
      |                                                                          ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20240907-134003

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
/usr/lib/llvm/18
18.1.8
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 1dc7a3606cd5c8841dd67ee3ea3d0fae9dcef1d1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 13 06:36:15 2024 +0000

    2024-09-13 06:36:14 UTC

emerge -qpvO =dev-cpp/curlpp-0.8.1
[ebuild  N    ] dev-cpp/curlpp-0.8.1  USE="examples -doc"
Comment 1 Toralf Förster gentoo-dev 2024-09-13 08:54:23 UTC
Created attachment 902887 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-13 08:54:24 UTC
Created attachment 902888 [details]
dev-cpp:curlpp-0.8.1:20240913-073133.log
Comment 3 Toralf Förster gentoo-dev 2024-09-13 08:54:25 UTC
Created attachment 902889 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-09-13 08:54:27 UTC
Created attachment 902890 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-13 08:54:28 UTC
Created attachment 902891 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-13 08:54:29 UTC
Created attachment 902892 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-13 08:54:30 UTC
Created attachment 902893 [details]
temp.tar.xz
Comment 8 Agostino Sarubbo gentoo-dev 2025-01-24 15:41:39 UTC
tinderbox-stable has reproduced this issue in a STABLE environment with version 0.8.1
Comment 9 Nicolas PARLANT 2025-02-06 05:59:12 UTC
Created attachment 918234 [details, diff]
patch curloption
Comment 10 Nicolas PARLANT 2025-02-06 05:59:36 UTC
Add a patch to fix.
But a last rite will come up soon (?) as the only rdep (nickvision-tagger) no longer needed it.
Comment 11 Maciej Barć gentoo-dev 2025-02-06 11:08:34 UTC
(In reply to Nicolas PARLANT from comment #10)
> Add a patch to fix.
> But a last rite will come up soon (?) as the only rdep (nickvision-tagger)
> no longer needed it.

Since you did make a patch and this is the only issue for curlpp, thus (if it solves it) curlpp is not a target for treeclean. But old nickvision-tagger will be dropped soon.
Comment 12 Larry the Git Cow gentoo-dev 2025-02-06 22:36:34 UTC
The bug has been closed via the following commit(s):

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

commit c4cb96a5c8847ac96f6c3f4b351895bd76bd4739
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-02-06 22:35:02 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2025-02-06 22:36:21 +0000

    dev-cpp/curlpp: fix curloption
    
    Closes: https://bugs.gentoo.org/939581
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 .../{curlpp-0.8.1.ebuild => curlpp-0.8.1-r1.ebuild}  | 20 ++++++++++++++------
 .../curlpp/files/curlpp-0.8.1-fix-curloption.patch   | 12 ++++++++++++
 2 files changed, 26 insertions(+), 6 deletions(-)