Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bincrafter's Conan repo down #256

Open
Schoppenglas opened this issue Apr 16, 2024 · 5 comments
Open

Bincrafter's Conan repo down #256

Schoppenglas opened this issue Apr 16, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Schoppenglas
Copy link

Schoppenglas commented Apr 16, 2024

Bincrafter's Conan repo is down (again). Is there any way to disable or remove this remote from (within) the CMakelists file?

See also #210 or bincrafters/community#1454

#19 1.240 -- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
#19 1.901 -- Conan: Adding conancenter remote repository (https://center.conan.io/) verify ssl (True)
#19 2.348 WARN: Remotes registry file missing, creating default one in /root/.conan/remotes.json
#19 2.870 -- Conan: Adding bincrafters remote repository (https://bincrafters.jfrog.io/artifactory/api/conan/public-conan) verify ssl (True)
#19 3.342 -- Single configuration build!
#19 3.342 -- Running Conan for build type 'Release'
#19 3.387 -- Conan: checking conan executable
#19 3.387 -- Conan: Found program /usr/bin/conan
#19 3.861 -- Conan: Version found Conan version 1.59.0
#19 3.862 -- Conan executing: /usr/bin/conan install /project --build missing --env CC=/usr/bin/cc --env CXX=/usr/local/bin/c++ --profile:host default --profile:build default --settings build_type=Release --settings compiler=gcc --settings compiler.version=12 --settings compiler.libcxx=libstdc++11 --settings compiler.cppstd=20
#19 8.099 ERROR: Not able to automatically detect '/usr/bin/cc' version
#19 8.099 ERROR: <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>JFrog Landing</title><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800&display=swap" rel="stylesheet"><script>VERSION = "2024.2.251";
#19 8.099       API_PROXY_URL = "https://landing-api.jfrog.com/api/v1/";
#19 8.099       API_PROXY_URL_V2 = "https://landing-api.jfrog.com/api/v2/";
#19 8.099       MYJFROG_UI_URL = "https://my.jfrog.com/";
#19 8.099       COOKIES_DOMAIN = "jfrog.com";
#19 8.099       AWS_PROX_URL = "https://aws.amazon.com/marketplace/pp/B0819LTNJR";
#19 8.099       DRIFT_EMBED_ID = "gebxvrgwfyr7";
#19 8.099       GOOGLE_CLIENT_ID = "527996402582-i2kl20du99gjd8dnr3cce1a8ao0sgou7.apps.googleusercontent.com";
#19 8.099       PLATFORM_DOMAIN = "jfrog.io";
#19 8.099       CONNECT_DOMAIN = "https://connect.jfrog.io/";
#19 8.099       ENABLE_GCP_PRIVATE_LINK = "true";
#19 8.099       HEAP_PROJECT_ID = "1702671756";
#19 8.099       HEAP_ALLOWED_URLS = "https://landing.jfrog.com/mp-unified/";
#19 8.099       GITHUB_CLIENT_ID = "83db76bbde6d1d9c7140";
#19 8.099       GITHUB_SSO_REDIRECT_URL = "https://landing.jfrog.com/register/STEP_PLACEHOLDER";
#19 8.099       RATE_PLAN_ID_PRO_MONTHLY= "8a12862986e9fbda01870499deb37044";
#19 8.099       RATE_PLAN_ID_ENT_X_MONTHLY= "8a1290f186ea14aa0187048fc33e5334";
#19 8.099       MAINTENANCE_MODE= "false";</script><script>if (window.MAINTENANCE_MODE === "true" && window.location.href.indexOf("maintenance") === -1) {
#19 8.099         window.location.href = "/maintenance";
#19 8.099       }</script><script>MYJFROG_STATE = {};</script><script>(function(w, d, s, l, i) {
#19 8.099         w[l] = w[l] || [];
#19 8.099         w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
#19 8.099         var f = d.getElementsByTagName(s)[0],
#19 8.099           j = d.createElement(s),
#19 8.099           dl = l != "dataLayer" ? "&l=" + l : "";
#19 8.099         j.async = true;
#19 8.099         j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
#19 8.099         f.parentNode.insertBefore(j, f);
#19 8.099       })(window, document, "script", "dataLayer", "GTM-N3P9XVQ");</script><script>(function(w, d, s, l, i) {
#19 8.099         w[l] = w[l] || [];
#19 8.099         w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
#19 8.099         var f = d.getElementsByTagName(s)[0],
#19 8.099           j = d.createElement(s),
#19 8.099           dl = l != "dataLayer" ? "&l=" + l : "";
#19 8.099         j.async = true;
#19 8.099         j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
#19 8.099         f.parentNode.insertBefore(j, f);
#19 8.099       })(window, document, "script", "dataLayer", "GTM-T6MF8M");</script><script src="https://accounts.google.com/gsi/client" async defer></script><script>(function() {
#19 8.099         var didInit = false;
#19 8.099         function initMunchkin() {
#19 8.099           if (didInit === false) {
#19 8.099             didInit = true;
#19 8.099             Munchkin.init("256-FNZ-187");
#19 8.099           }
#19 8.099         }
#19 8.099         var s = document.createElement("script");
#19 8.099         s.type = "text/javascript";
#19 8.099         s.async = true;
#19 8.099         s.src = "//munchkin.marketo.net/munchkin.js";
#19 8.099         s.onreadystatechange = function () {
#19 8.099           if (this.readyState === "complete" || this.readyState === "loaded") {
#19 8.099             initMunchkin();
#19 8.099           }
#19 8.099         };
#19 8.099         s.onload = initMunchkin;
#19 8.099         document.getElementsByTagName("head")[0].appendChild(s);
#19 8.099       })();</script><script>const currentUrl = window.location.href;
#19 8.099       const heapAllowedUrls = HEAP_ALLOWED_URLS;
#19 8.099       let enableHeap = false;
#19 8.099       const urls = heapAllowedUrls.split(",");
#19 8.099       for(const allowedUrl of urls){
#19 8.099         if(allowedUrl && currentUrl.indexOf(allowedUrl)>-1){
#19 8.099           enableHeap = true;
#19 8.099         }
#19 8.099       }
#19 8.099 
#19 8.099       if (enableHeap) {
#19 8.099         window.heap = window.heap || [], heap.load = function (e, t) {
#19 8.099           window.heap.appid = e, window.heap.config = t = t || {};
#19 8.099           var r = document.createElement("script");
#19 8.099           r.type = "text/javascript", r.async = !0, r.src = "https://cdn.heapanalytics.com/js/heap-" + e + ".js";
#19 8.099           var a = document.getElementsByTagName("script")[0];
#19 8.099           a.parentNode.insertBefore(r, a);
#19 8.099           for (var n = function (e) {
#19 8.099             return function () {
#19 8.099               heap.push([e].concat(Array.prototype.slice.call(arguments, 0)))
#19 8.099             }
#19 8.099           }, p = ["addEventProperties", "addUserProperties", "clearEventProperties", "identify", "resetIdentity", "removeEventProperty", "setEventProperties", "track", "unsetEventProperty"], o = 0; o < p.length; o++) heap[p[o]] = n(p[o])
#19 8.099         };
#19 8.099 
#19 8.099         heap.load("1702671756");
#19 8.099       }</script><link href="/css/chunk-04677092.1a354d09.css" rel="prefetch"><link href="/css/chunk-0513e1c1.0bd40812.css" rel="prefetch"><link href="/css/chunk-0920391f.bd663e08.css" rel="prefetch"><link href="/css/chunk-1068f83c.0a542980.css" rel="prefetch"><link href="/css/chunk-12b6b26f.95b938ae.css" rel="prefetch"><link href="/css/chunk-148b227a.1a354d09.css" rel="prefetch"><link href="/css/chunk-1757042f.1f165cbb.css" rel="prefetch"><link href="/css/chunk-1a015bbd.5b3c826f.css" rel="prefetch"><link href="/css/chunk-1ff64d98.3798d290.css" rel="prefetch"><link href="/css/chunk-2893fe67.2987d70c.css" rel="prefetch"><link href="/css/chunk-2c185c30.ac66e9b1.css" rel="prefetch"><link href="/css/chunk-317395a4.1890e70a.css" rel="prefetch"><link href="/css/chunk-31da8e23.f91fd2df.css" rel="prefetch"><link href="/css/chunk-33d9a224.5bc476bc.css" rel="prefetch"><link href="/css/chunk-3420a2c9.6b5c42f5.css" rel="prefetch"><link href="/css/chunk-381827b0.81b19452.css" rel="prefetch"><link href="/css/chunk-39618514.1f9e29b5.css" rel="prefetch"><link href="/css/chunk-3c564152.03291ac0.css" rel="prefetch"><link href="/css/chunk-3ce4f4ad.0b152cec.css" rel="prefetch"><link href="/css/chunk-3d58e4c9.00bd86a6.css" rel="prefetch"><link href="/css/chunk-4746d5a8.31f54e92.css" rel="prefetch"><link href="/css/chunk-4a4253d3.04bb01f9.css" rel="prefetch"><link href="/css/chunk-4b52d6f9.48d9dedf.css" rel="prefetch"><link href="/css/chunk-50de8675.9d2899f2.css" rel="prefetch"><link href="/css/chunk-50f50b53.b29ac503.css" rel="prefetch"><link href="/css/chunk-5373bc52.e621a177.css" rel="prefetch"><link href="/css/chunk-54b2cb72.7e85bc6f.css" rel="prefetch"><link href="/css/chunk-568d7eca.2d7f5384.css" rel="prefetch"><link href="/css/chunk-58b69de0.4edc0677.css" rel="prefetch"><link href="/css/chunk-5992bc6f.7d2788b3.css" rel="prefetch"><link href="/css/chunk-5b7729f7.2f0e820a.css" rel="prefetch"><link href="/css/chunk-5f676ef6.a0165a89.css" rel="prefetch"><link href="/css/chunk-611fed26.8094c7fa.css" rel="prefetch"><link href="/css/chunk-62250f32.d4a113a2.css" rel="prefetch"><link href="/css/chunk-62a7dd00.a0cdf461.css" rel="prefetch"><link href="/css/chunk-67296aa6.3ffe749a.css" rel="prefetch"><link href="/css/chunk-6b09c278.1d5d32c1.css" rel="prefetch"><link href="/css/chunk-7c731679.348194d7.css" rel="prefetch"><link href="/css/chunk-7ec8e372.87773602.css" rel="prefetch"><link href="/css/chunk-8aae8b36.7d2cd02e.css" rel="prefetch"><link href="/css/chunk-91fa9824.069d8018.css" rel="prefetch"><link href="/css/chunk-a8a61f36.677a2402.css" rel="prefetch"><link href="/css/chunk-aafdb71e.f14be58a.css" rel="prefetch"><link href="/css/chunk-b4abecc2.a326e93a.css" rel="prefetch"><link href="/css/chunk-ce1225f8.e88302cb.css" rel="prefetch"><link href="/css/chunk-dc2cb30e.759abff0.css" rel="prefetch"><link href="/css/chunk-f6dbd184.2c728934.css" rel="prefetch"><link href="/css/chunk-f7c81e10.8edf82e0.css" rel="prefetch"><link href="/js/chunk-04677092.346a1464.js" rel="prefetch"><link href="/js/chunk-0513e1c1.26915696.js" rel="prefetch"><link href="/js/chunk-0920391f.522b8f76.js" rel="prefetch"><link href="/js/chunk-1068f83c.ebe2ae83.js" rel="prefetch"><link href="/js/chunk-12b6b26f.c8635c06.js" rel="prefetch"><link href="/js/chunk-148b227a.e4e4a54e.js" rel="prefetch"><link href="/js/chunk-1757042f.618d7203.js" rel="prefetch"><link href="/js/chunk-1a015bbd.f04583fa.js" rel="prefetch"><link href="/js/chunk-1bb05a92.cce08d18.js" rel="prefetch"><link href="/js/chunk-1ff64d98.b309c15b.js" rel="prefetch"><link href="/js/chunk-2893fe67.7d427193.js" rel="prefetch"><link href="/js/chunk-2c185c30.68dc1c90.js" rel="prefetch"><link href="/js/chunk-2d0b2916.8235638f.js" rel="prefetch"><link href="/js/chunk-2d0ddbee.d24f4ae0.js" rel="prefetch"><link href="/js/chunk-2d208668.514f22c6.js" rel="prefetch"><link href="/js/chunk-2d20f68c.317cae83.js" rel="prefetch"><link href="/js/chunk-2d230855.8954a60f.js" rel="prefetch"><link href="/js/chunk-2d230df6.6044258f.js" rel="prefetch"><link href="/js/chunk-317395a4.37583959.js" rel="prefetch"><link href="/js/chunk-31da8e23.1a75da5b.js" rel="prefetch"><link href="/js/chunk-33d9a224.75a183e3.js" rel="prefetch"><link href="/js/chunk-3420a2c9.9a984d60.js" rel="prefetch"><link href="/js/chunk-381827b0.975d2ebd.js" rel="prefetch"><link href="/js/chunk-39618514.be39e84f.js" rel="prefetch"><link href="/js/chunk-3c564152.6338dd67.js" rel="prefetch"><link href="/js/chunk-3ce4f4ad.1423eabd.js" rel="prefetch"><link href="/js/chunk-3d58e4c9.eebd4e15.js" rel="prefetch"><link href="/js/chunk-4746d5a8.fdc679dd.js" rel="prefetch"><link href="/js/chunk-4a4253d3.bf56dd44.js" rel="prefetch"><link href="/js/chunk-4b52d6f9.fe48c922.js" rel="prefetch"><link href="/js/chunk-50de8675.c3c6b54e.js" rel="prefetch"><link href="/js/chunk-50f50b53.b1e3ee67.js" rel="prefetch"><link href="/js/chunk-5373bc52.218474a6.js" rel="prefetch"><link href="/js/chunk-54b2cb72.6370867a.js" rel="prefetch"><link href="/js/chunk-568d7eca.66f26f0e.js" rel="prefetch"><link href="/js/chunk-58b69de0.1d0345cd.js" rel="prefetch"><link href="/js/chunk-5992bc6f.44cb180b.js" rel="prefetch"><link href="/js/chunk-5b7729f7.05d0fd27.js" rel="prefetch"><link href="/js/chunk-5f676ef6.b012180a.js" rel="prefetch"><link href="/js/chunk-611fed26.46b435dd.js" rel="prefetch"><link href="/js/chunk-62250f32.f64ca8ef.js" rel="prefetch"><link href="/js/chunk-62a7dd00.56b6d3d6.js" rel="prefetch"><link href="/js/chunk-67296aa6.9f77640d.js" rel="prefetch"><link href="/js/chunk-6b09c278.4f0eaf3e.js" rel="prefetch"><link href="/js/chunk-7c731679.56327901.js" rel="prefetch"><link href="/js/chunk-7ec8e372.698151ce.js" rel="prefetch"><link href="/js/chunk-8aae8b36.c04113b3.js" rel="prefetch"><link href="/js/chunk-91fa9824.96854313.js" rel="prefetch"><link href="/js/chunk-a8a61f36.fccaf1e0.js" rel="prefetch"><link href="/js/chunk-aafdb71e.6f7e1612.js" rel="prefetch"><link href="/js/chunk-b4abecc2.50f250f5.js" rel="prefetch"><link href="/js/chunk-ce1225f8.e76625a2.js" rel="prefetch"><link href="/js/chunk-dc2cb30e.a074ed55.js" rel="prefetch"><link href="/js/chunk-f6dbd184.3b41dc43.js" rel="prefetch"><link href="/js/chunk-f7c81e10.4da03f12.js" rel="prefetch"><link href="/css/app.d0bffb53.css" rel="preload" as="style"><link href="/css/chunk-vendors.8d0ab741.css" rel="preload" as="style"><link href="/js/app.91f5ee66.js" rel="preload" as="script"><link href="/js/chunk-vendors.b34998fb.js" rel="preload" as="script"><link href="/css/chunk-vendors.8d0ab741.css" rel="stylesheet"><link href="/css/app.d0bffb53.css" rel="stylesheet"></head><body><noscript><strong>MyJFrog doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N3P9XVQ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div id="app"></div><script src="//sec.webeyez.com/js/wDv55PKmTtpCTH14WWzDXw2yJ3Gz/wzbody.js" async></script><script src="/js/chunk-vendors.b34998fb.js"></script><script src="/js/app.91f5ee66.js"></script></body></html>
#19 8.099 
#19 8.099 Response from remote is not json, but 'text/html; charset=utf-8'. [Remote: bincrafters]
#19 8.157 CMake Error at remote-build/conan.cmake:638 (message):
#19 8.157   Conan install failed='1'
#19 8.157 Call Stack (most recent call first):
#19 8.157   remote-build/_deps/_project_options-src/src/Conan.cmake:98 (conan_cmake_install)
#19 8.157   remote-build/_deps/_project_options-src/src/Index.cmake:311 (run_conan)
#19 8.157   CMakeLists.txt:39 (project_options)
#19 8.157 
#19 8.157 
#19 8.158 -- Configuring incomplete, errors occurred!

Upvote & Fund

@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.

Thank you in advance for helping prioritize & fund our backlog!


Fund with Polar
@Schoppenglas
Copy link
Author

Schoppenglas commented Apr 16, 2024

Quick Fix

Add

execute_process(COMMAND sed -i "/^  conan_add_remote/ \{ N; /\\\n    NAME bincrafters/ { N; d } }" ${_project_options_SOURCE_DIR}/src/Conan.cmake) # removing bincrafters remote

after

FetchContent_MakeAvailable(_project_options)

@aminya
Copy link
Owner

aminya commented Apr 16, 2024

The issue seems to be related to upstream. What can we do here in project_options to avoid this issue?

@aminya aminya added bug Something isn't working out of scope Not related to project_options labels Apr 16, 2024
@Schoppenglas
Copy link
Author

What if someone can define in project_options which repo should be used or something like conan_remove_remote() function.

@Schoppenglas
Copy link
Author

Wow. One week now and nothing happened upstream. That is nothing u can depend a ci/cd on.

@aminya
Copy link
Owner

aminya commented Apr 22, 2024

@Schoppenglas Could you make a PR that accepts the remotes in a variable such as CONAN_REMOTES, with the defaults set to what is set now? This way you should be able to override the default.

@aminya aminya removed the out of scope Not related to project_options label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants