CINXE.COM
AUR (en) - cpr
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" > <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- CSS --> <link rel="stylesheet" href="/static/css/archweb.css"> <link rel="stylesheet" href="/static/css/aurweb.css"> <!-- Resources --> <link rel="shortcut icon" href="/static/images/favicon.ico"> <!-- Alternate resources --> <link rel="alternate" type="application/rss+xml" title="Newest Packages RSS" href="/rss"> <!-- Include local typeahead --> <script type="text/javascript" src="/static/js/typeahead.js"></script> <title>AUR (en) - cpr</title> </head> <body> <div id="archnavbar" class="anb-aur"> <div id="archnavbarlogo"> <h1> <a href="/" title="Return to the main page">Arch Linux User Repository</a> </h1> </div> <div id="archnavbarmenu"> <ul id="archnavbarlist"> <li id="anb-home"><a href="https://www.archlinux.org/" title="Arch news, packages, projects and more">Home</a></li> <li id="anb-packages"><a href="https://www.archlinux.org/packages/" title="Arch Package Database">Packages</a></li> <li id="anb-forums"><a href="https://bbs.archlinux.org/" title="Community forums">Forums</a></li> <li id="anb-wiki"><a href="https://wiki.archlinux.org/" title="Community documentation">Wiki</a></li> <li id="anb-gitlab"><a href="https://gitlab.archlinux.org/archlinux" title="GitLab">GitLab</a></li> <li id="anb-security"><a href="https://security.archlinux.org/" title="Arch Linux Security Tracker">Security</a></li> <li id="anb-aur"><a href="/" title="Arch Linux User Repository">AUR</a></li> <li id="anb-download"><a href="https://www.archlinux.org/download/" title="Get Arch Linux">Download</a></li> </ul> </div> </div> <div id="content"> <div id="lang_sub"> <form method="post" action="/language"> <fieldset> <div> <select id="id_setlang" name="set_lang"> <option value="ar" > العربية </option> <option value="ast" > Asturianu </option> <option value="ca" > Català </option> <option value="cs" > Český </option> <option value="da" > Dansk </option> <option value="de" > Deutsch </option> <option value="el" > Ελληνικά </option> <option value="en" selected="selected" > English </option> <option value="es" > Español </option> <option value="es_419" > Español (Latinoamérica) </option> <option value="fi" > Suomi </option> <option value="fr" > Français </option> <option value="he" > עברית </option> <option value="hr" > Hrvatski </option> <option value="hu" > Magyar </option> <option value="it" > Italiano </option> <option value="ja" > 日本語 </option> <option value="nb" > Norsk </option> <option value="nl" > Nederlands </option> <option value="pl" > Polski </option> <option value="pt_BR" > Português (Brasil) </option> <option value="pt_PT" > Português (Portugal) </option> <option value="ro" > Română </option> <option value="ru" > Русский </option> <option value="sk" > Slovenčina </option> <option value="sr" > Srpski </option> <option value="tr" > Türkçe </option> <option value="uk" > Українська </option> <option value="zh_CN" > 简体中文 </option> <option value="zh_TW" > 正體中文 </option> </select> <!-- Pass our current url path as next. --> <input type="hidden" name="next" value="/packages/cpr"> <!-- Pass query_params over to /language via POST. --> <input type="hidden" name="q" value=""> <input type="submit" value="Go"> </div> </fieldset> </form> </div> <div id="archdev-navbar"> <ul> <li><a href="/">AUR Home</a></li> <li><a href="/packages">Packages</a></li> <li><a href="/register">Register</a></li> <li><a href="/login?next=/packages/cpr">Login</a></li> </ul> </div> <div id="pkglist-search" class="box filter-criteria"> <h2>Search Criteria</h2> <form action='/packages' method='get'> <p><input type='hidden' name='O' value='0'/></p> <fieldset> <legend>Enter search criteria</legend> <div> <label for="id_method">Search by</label> <select name='SeB'> <option value="nd" >Name, Description</option> <option value="n" >Name Only</option> <option value="b" >Package Base</option> <option value="N" >Exact Name</option> <option value="B" >Exact Package Base</option> <option value="k" >Keywords</option> <option value="m" >Maintainer</option> <option value="c" >Co-maintainer</option> <option value="M" >Maintainer, Co-maintainer</option> <option value="s" >Submitter</option> </select> </div> <div> <label for="id_q">Keywords</label> <input type='text' name='K' size='30' value="" maxlength='35'/> </div> <div> <label for="id_out_of_date">Out of Date</label> <select name='outdated'> <option value=''>All</option> <option value='on' >Flagged</option> <option value='off' >Not Flagged</option> </select> </div> <div> <label for="id_sort_by">Sort by</label> <select name='SB'> <option value='n' >Name</option> <option value='v' >Votes</option> <option value='p' selected>Popularity</option> <option value='w' >Voted</option> <option value='o' >Notify</option> <option value='m' >Maintainer</option> <option value='l' >Last modified</option> </select> </div> <div> <label for="id_order_by">Sort order</label> <select name='SO'> <option value='a' >Ascending</option> <option value='d' selected>Descending</option> </select> </div> <div> <label for="id_per_page">Per page</label> <select name='PP'> <option value="50" >50</option> <option value="100" >100</option> <option value="250" >250</option> </select> </div> <div> <label> </label> <button type='submit' class='button' name='submit' value='Go'> Go </button> <button type='submit' class='button' name='submit' value='Orphans'> Orphans </button> </div> </fieldset> </form> </div> <div id="pkgdetails" class="box"> <h2>Package Details: cpr 1.11.1-4</h2> <!-- This partial requires pkgbase.Name to render --> <div id="detailslinks" class="listing"> <div id="actionlist"> <h4>Package Actions</h4> <ul class="small"> <li> <a href="/cgit/aur.git/tree/PKGBUILD?h=cpr"> View PKGBUILD </a> / <a href="/cgit/aur.git/log/?h=cpr"> View Changes </a> </li> <li> <a href="/cgit/aur.git/snapshot/cpr.tar.gz"> Download snapshot </a> </li> <li> <a href="https://wiki.archlinux.org/title/Special:Search?search=cpr"> Search wiki </a> </li> </ul> </div> </div> <table id="pkginfo"> <tr> <th>Git Clone URL:</th> <td> <a class="copy" href="https://aur.archlinux.org/cpr.git">https://aur.archlinux.org/cpr.git</a> (read-only, click to copy) </td> </tr> <tr> <th>Package Base:</th> <td class="wrap"> <a href="/pkgbase/cpr"> cpr </a> </td> </tr> <tr id="pkg-description"> <th>Description:</th> <td class="wrap">C++ Requests: Curl for People, a spiritual port of Python Requests.</td> </tr> <tr> <th>Upstream URL:</th> <td class="wrap"> <a href="https://github.com/libcpr/cpr">https://github.com/libcpr/cpr</a> </td> </tr> <tr id="licenses"> <th>Licenses:</th> <td>MIT </td> </tr> <tr id="provides"> <th>Provides:</th> <td class="wrap"> libcpr.so </td> </tr> <tr> <th>Submitter:</th> <td> zlima12 </td> </tr> <tr class="pkgmaint"> <th>Maintainer:</th> <td> zlima12 (horror-proton, FabioLolix) </td> </tr> <tr> <th>Last Packager:</th> <td> zlima12 </td> </tr> <tr> <th>Votes:</th> <td>5</td> </tr> <tr> <th>Popularity:</th> <td>0.20</td> </tr> <tr> <th>First Submitted:</th> <td>2021-04-22 20:19 (UTC)</td> </tr> <tr> <th>Last Updated:</th> <td>2025-02-18 06:48 (UTC)</td> </tr> </table> <script type="text/javascript" src="/static/js/copy.js"></script> <div id="metadata"> <div id="pkgdeps" class="listing"> <h3>Dependencies (3)</h3> <ul id="pkgdepslist"> <li> <a href="https://archlinux.org/packages/?q=curl"> curl</a> <em>(<a href="/packages/curl-git">curl-git</a><sup><small>AUR</small></sup>, <a href="/packages/curl-c-ares">curl-c-ares</a><sup><small>AUR</small></sup>)</em> <em></em> </li> <li> <a href="https://archlinux.org/packages/?q=cmake"> cmake</a> <em>(<a href="/packages/cmake-git">cmake-git</a><sup><small>AUR</small></sup>)</em> <em>(make)</em> </li> <li> <a href="https://archlinux.org/packages/?q=gtest"> gtest</a> <em>(<a href="/packages/googletest-git">googletest-git</a><sup><small>AUR</small></sup>)</em> <em>(make)</em> </li> </ul> </div> <div id="pkgreqs" class="listing"> <h3>Required by (10)</h3> <ul id="pkgreqslist"> <li> <a href="/packages/appimageupdate-git"> appimageupdate-git </a> <em></em> </li> <li> <a href="/packages/influxdb-cxx"> influxdb-cxx </a> <em></em> </li> <li> <a href="/packages/limo"> limo </a> <em></em> </li> <li> <a href="/packages/limo"> limo </a> <em>(make)</em> </li> <li> <a href="/packages/limo-docs"> limo-docs </a> <em>(make)</em> </li> <li> <a href="/packages/limo-git"> limo-git </a> <em></em> </li> <li> <a href="/packages/limo-git"> limo-git </a> <em>(make)</em> </li> <li> <a href="/packages/maa-assistant-arknights"> maa-assistant-arknights </a> <em></em> </li> <li> <a href="/packages/rttt-git"> rttt-git </a> <em></em> </li> <li> <a href="/packages/zsync2-git"> zsync2-git </a> <em></em> </li> </ul> </div> <div id="pkgfiles" class="listing"> <h3>Sources (2)</h3> </div> <div> <ul id="pkgsrcslist"> <li> <a href="/cgit/aur.git/tree/0001-dont-test-cookie-expires.patch?h=cpr">0001-dont-test-cookie-expires.patch</a> </li> <li> <a href="https://github.com/libcpr/cpr/archive/refs/tags/1.11.1.tar.gz">cpr-1.11.1.tar.gz</a> </li> </ul> </div> </div> </div> <!-- On-the-fly comment editing functions --> <script type="text/javascript" src="/static/js/comment-edit.js"></script> <!-- This partial requires the following to render properly - pkgname - pkgbase-id - comments (list) --> <div class="comments package-comments"> <div class="comments-header"> <h3> <span class="text">Latest Comments</span> <span class="arrow"></span> </h3> <p class="comments-header-nav"> <span class="page">1</span> <a class="page" href="?O=10">2</a> <a class="page" href="?O=10">Next ›</a> <a class="page" href="?O=10">Last »</a> </p> </div> <h4 id="comment-1011922" class="comment-header"> zlima12 commented on <a href="#comment-1011922" class="date">2025-02-18 06:54 (UTC)</a> </h4> <div id="comment-1011922-content" class="article-content"> <div> <p>I've confirmed that the issue is upstream and I'll create an issue there soon. In the mean time, I've pushed a temporary fix that avoids testing the problematic value, so the package should build fine now.</p> </div> </div> <h4 id="comment-1011892" class="comment-header"> zlima12 commented on <a href="#comment-1011892" class="date">2025-02-17 23:11 (UTC)</a> </h4> <div id="comment-1011892-content" class="article-content"> <div> <p>It seems as though the issue was introduced with curl 8.12, since downgrading to 8.11.1-3 causes the errors to go away. I'll look into it a bit further.</p> </div> </div> <h4 id="comment-1011842" class="comment-header"> FabioLolix commented on <a href="#comment-1011842" class="date">2025-02-17 18:12 (UTC)</a> </h4> <div id="comment-1011842-content" class="article-content"> <div> <p>Hi, I have made some tests using both AUR pkgbuilds and with mine just refreshed <a href="https://github.com/FabioLolix/PKGBUILD-AUR_fix/tree/master/zz_tests">https://github.com/FabioLolix/PKGBUILD-AUR_fix/tree/master/zz_tests</a></p> <p>I confirm the issue, cpr-git instead don't enable them</p> <p>About my tests; of the four variations (stable, git and bundled, unbundled curl+gtest) have found that only git_bundled pass all tests while other other fail st least 3 tests</p> <p>With a quick look don't seem to be already reported <a href="https://github.com/libcpr/cpr/issues">https://github.com/libcpr/cpr/issues</a></p> <p>From memory tests where already failing when I send the patch to zlima12 on 2024/10 (that's why they weren't enabled) but I didn't in it further</p> <p>About this commit <a href="https://aur.archlinux.org/cgit/aur.git/commit/?h=cpr&id=345c8e77d1b194980057e9a36968b24c98f61211">https://aur.archlinux.org/cgit/aur.git/commit/?h=cpr&id=345c8e77d1b194980057e9a36968b24c98f61211</a> honestly I don't the solution</p> <p>Meanwhile <code>--nocheck</code> options exist for makepkg</p> </div> </div> <h4 id="comment-1011836" class="comment-header"> PatrikModesto commented on <a href="#comment-1011836" class="date">2025-02-17 17:29 (UTC)</a> </h4> <div id="comment-1011836-content" class="article-content"> <div> <p>Hi, something must have changed recently, because I'm unable to reinstall cpr, it fails 3 unittests.</p> <pre><code>The following tests FAILED: 1 - cpr_get_tests (Failed) 3 - cpr_session_tests (Failed) 6 - cpr_head_tests (Failed) </code></pre> </div> </div> <h4 id="comment-994633" class="comment-header"> BowDown097 commented on <a href="#comment-994633" class="date">2024-10-15 12:47 (UTC)</a> </h4> <div id="comment-994633-content" class="article-content"> <div> <p>Thanks for the update! Everything works again.</p> </div> </div> <h4 id="comment-994533" class="comment-header"> FabioLolix commented on <a href="#comment-994533" class="date">2024-10-14 16:50 (UTC)</a> </h4> <div id="comment-994533-content" class="article-content"> <div> <p>Thanks for updating!</p> </div> </div> <h4 id="comment-994528" class="comment-header"> horror-proton commented on <a href="#comment-994528" class="date">2024-10-14 16:19 (UTC)</a> <span class="edited"> (edited on 2024-10-14 16:39 (UTC) by <a href="/account/horror-proton">horror-proton</a>) </span> </h4> <div id="comment-994528-content" class="article-content"> <div> <p><del>Does the latest commit resolve this issue? A <code>-DBUILD_SHARED_LIBS=ON</code> was added and the package should now contain shared library instead of a static one.</del> Patch from @FabioLolix has been applied.</p> </div> </div> <h4 id="comment-994527" class="comment-header"> FabioLolix commented on <a href="#comment-994527" class="date">2024-10-14 16:18 (UTC)</a> <span class="edited"> (edited on 2024-10-14 16:18 (UTC) by <a href="/account/FabioLolix">FabioLolix</a>) </span> </h4> <div id="comment-994527-content" class="article-content"> <div> <p>Confirming the issue, I have already send John a patch (btw horror-proton is not reachable by email, not even using git log here) and fixed a couple of other things</p> <pre><code>(1/1) Arming ConditionNeedsUpdate... Checking PKGBUILD PKGBUILD (cpr) W: Non-unique source name (1.11.0.tar.gz). Use a unique filename. Checking cpr-1.11.0-1-x86_64.pkg.tar.zst cpr E: Uncommon license identifiers such as 'MIT' require license files below /usr/share/licenses/cpr/ or switching to common license identifiers. Found 0/1 required license files. cpr W: Dependency included, but may not be needed ('curl') ==> Running checkpkg -> Checking packages usr/lib/libcpr.so | usr/lib/libcpr.a usr/lib/libcpr.so.1 < usr/lib/libcpr.so.1.10.3 < ==> WARNING: Sonames differ in cpr! libcpr.so=1-64 < </code></pre> <p>my pkgbuild: <a href="https://github.com/FabioLolix/AURCOPY/blob/main/cpr/PKGBUILD">https://github.com/FabioLolix/AURCOPY/blob/main/cpr/PKGBUILD</a></p> <p>revision diff: <a href="https://github.com/FabioLolix/AURCOPY/commit/1708ce42c03729a7b3667f1bb86acff175cc607e">https://github.com/FabioLolix/AURCOPY/commit/1708ce42c03729a7b3667f1bb86acff175cc607e</a></p> </div> </div> <h4 id="comment-994520" class="comment-header"> BowDown097 commented on <a href="#comment-994520" class="date">2024-10-14 15:15 (UTC)</a> <span class="edited"> (edited on 2024-10-14 15:17 (UTC) by <a href="/account/BowDown097">BowDown097</a>) </span> </h4> <div id="comment-994520-content" class="article-content"> <div> <p>CMake package is completely broken since the update to 1.11.0:</p> <ul> <li>Link interface contains OpenSSL, but the target is never imported at any point. This problem can be fixed by manually adding find_package(OpenSSL).</li> <li>Linking the library no longer works and has to be done manually.</li> </ul> <p>I believe this breakage may have to do with the library switching from shared to static by default with this update, but I'm not 100% sure.</p> </div> </div> <h4 id="comment-908647" class="comment-header"> zlima12 commented on <a href="#comment-908647" class="date">2023-04-02 02:13 (UTC)</a> </h4> <div id="comment-908647-content" class="article-content"> <div> <p>horror-proton: I have added you as a co-maintainer. Sorry for my inactivity, I should have updated the package long ago. The change you mentioned below seems reasonable to me; please feel free to add it.</p> </div> </div> <div class="comments-footer"> <p class="comments-footer-nav"> <span class="page">1</span> <a class="page" href="?O=10">2</a> <a class="page" href="?O=10">Next ›</a> <a class="page" href="?O=10">Last »</a> </p> </div> </div> <div id="footer"> <p> aurweb <a href="https://gitlab.archlinux.org/archlinux/aurweb/-/commits/v6.2.16">v6.2.16</a> </p> <p>Report issues <a href="https://gitlab.archlinux.org/archlinux/aurweb/-/issues/new?issuable_template=Bug">here</a>.</p> <p>Copyright © 2004-2025 aurweb Development Team.</p> <p>AUR packages are user produced content. Any use of the provided files is at your own risk.</p> </div> </div>