macaroni-os / macaroni-os/mark-issues

[core-kit] Incompatibility between `net-misc/curl-8.13.0` and `dev-util/cmake-3.24.1` -> Can't install `cmake`

Open
#341 1 comment 0 reactions 0 assignees View on GitHub
bug core-kit ebuild-issue emerge failure mark-testing patch needed
Dominant language
No language data
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

```
In file included from /var/tmp/portage/dev-util/cmake-3.24.1/work/cmake-3.24.1/Utilities/cm3p/curl/curl.h:8,
from /var/tmp/portage/dev-util/cmake-3.24.1/work/cmake-3.24.1/Source/cmCurl.h:9,
from /var/tmp/portage/dev-util/cmake-3.24.1/work/cmake-3.24.1/Source/cmCurl.cxx:3:
/var/tmp/portage/dev-util/cmake-3.24.1/work/cmake-3.24.1/Source/cmCurl.cxx: In function ‘std::string cmCurlSetNETRCOption(CURL*, const std::string&, const std::string&)’:
/var/tmp/portage/dev-util/cmake-3.24.1/work/cmake-3.24.1/Source/cmCurl.cxx:78:26: error: invalid conversion from ‘long int’ to ‘CURL_NETRC_OPTION’ [-fpermissive]
78 | curl_netrc_level = CURL_NETRC_OPTIONAL;
| ^~~~~~~~~~~~~~~~~~~
| |
| long int
/var/tmp/portage/dev-util/cmake-3.24.1/work/cmake-3.24.1/Source/cmCurl.cxx:80:26: error: invalid conversion from ‘long int’ to ‘CURL_NETRC_OPTION’ [-fpermissive]
80 | curl_netrc_level = CURL_NETRC_REQUIRED;
| ^~~~~~~~~~~~~~~~~~~
| |
| long int
/var/tmp/portage/dev-util/cmake-3.24.1/work/cmake-3.24.1/Source/cmCurl.cxx:82:26: error: invalid conversion from ‘long int’ to ‘CURL_NETRC_OPTION’ [-fpermissive]
82 | curl_netrc_level = CURL_NETRC_IGNORED;
| ^~~~~~~~~~~~~~~~~~
| |
| long int
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Source/cmCurl.cxx and the included Utilities/cm3p/curl/curl.h, then inspect how CURL_NETRC_OPTION is declared in curl 8.13.0 and used by CMake 3.24.1. Rebuild dev-util/cmake-3.24.1 with net-misc/curl-8.13.0 and confirm that the reported conversion errors no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.