{"id":23853929,"url":"https://github.com/piotrpdev/opencv-compile","last_synced_at":"2026-02-28T05:08:47.172Z","repository":{"id":270134558,"uuid":"908771333","full_name":"piotrpdev/opencv-compile","owner":"piotrpdev","description":"OpenCV Building Experiments","archived":false,"fork":false,"pushed_at":"2025-04-12T15:40:47.000Z","size":1287,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-07T18:59:29.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piotrpdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-26T23:36:47.000Z","updated_at":"2025-04-12T15:40:51.000Z","dependencies_parsed_at":"2025-07-03T23:33:00.388Z","dependency_job_id":"506825d3-079d-4068-8ccf-f0f977b61517","html_url":"https://github.com/piotrpdev/opencv-compile","commit_stats":null,"previous_names":["piotrpdev/opencv-compile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/piotrpdev/opencv-compile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2Fopencv-compile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2Fopencv-compile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2Fopencv-compile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2Fopencv-compile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrpdev","download_url":"https://codeload.github.com/piotrpdev/opencv-compile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrpdev%2Fopencv-compile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29925682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-02T23:35:22.294Z","updated_at":"2026-02-28T05:08:47.158Z","avatar_url":"https://github.com/piotrpdev.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCV Building Experiments\n\n\u003e [!NOTE]\n\u003e If targeting `musl`, need to compile `ffmpeg` using `musl` which is a pain.\n\n```bash\ndocker build -f ubuntu-22.04-opencv-full-build.Dockerfile --progress=plain . \u0026\u003e logs/build_ffmpeg8.log\n\ndocker build -f ubuntu-22.04-opencv-full-build.Dockerfile --no-cache-filter frontend .\n\ndocker run --rm -it 7e1ce6336850 /bin/bash -c \"cd /root/oko/backend/ \u0026\u0026 cargo build --quiet --release \u0026\u0026 /usr/bin/ldd /root/oko/backend/target/release/oko\" \u003e\u003e latest.txt\n\n# https://github.com/rust-lang/rust/issues/78210#issuecomment-1502275713\nRUSTFLAGS=\"-C target-feature=+crt-static\" cargo build --release --target x86_64-unknown-linux-gnu\n\n# https://stackoverflow.com/questions/73610525/how-to-find-out-which-rust-dependency-added-a-dynamically-linked-library\ncargo clean \u0026\u0026 cargo build -vv 2\u003e/dev/null | grep 'rustc-link-lib'\n\ndocker build -f different-musl.Dockerfile --progress=plain . \u0026\u003e \"diff_musl/different-musl_$(date +\"%Y-%m-%d_%H-%M-%S\").log\"\n```\n\nTried adding `-D CMAKE_SHARED_LINKER_FLAGS=\"-static -static-libgcc -static-libstdc++\"` to CMake command but `libstdc++` was still there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrpdev%2Fopencv-compile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrpdev%2Fopencv-compile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrpdev%2Fopencv-compile/lists"}