Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

GitHub Issue #1502

4 views
Skip to first unread message

CCExtractor.org CI Platform

unread,
Mar 16, 2023, 9:24:10 PM3/16/23
to ccextra...@googlegroups.com
[QUESTION] How do I build ccextractor in an isolated environment (offline) ? - Apteryks
Link to Issue: https://www.github.com/CCExtractor/ccextractor/issues/1502
Apteryks

CCExtractor version: 0.94

Necessary information

  • Is this a regression (i.e. did it work before)? YES (version 0.88 at some point)
  • What platform did you use? GNU/Linux
  • What were the used arguments? N/A

Additional information

This is what I see when attempting to build the ccextractor GNU Guix package I've updated to 0.94 (the build occurs in a minimal, containerized environmen):

`` starting phaseconfigure' source directory: "/tmp/guix-build-ccextractor-0.94.drv-0/source/src" (relative from build: "../src") build directory: "/tmp/guix-build-ccextractor-0.94.drv-0/source/build" running 'cmake' with arguments ("../src" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/w3y4gpdiwzcz986mr6bsh436wj2hq1ps-ccextractor-0.94" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/w3y4gpdiwzcz986mr6bsh436wj2hq1ps-ccextractor-0.94/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DWITH_FFMPEG=ON" "-DWITH_OCR=ON" "-DWITH_SHARING=ON" "-DWITH_HARDSUBX=ON") -- The C compiler identification is GNU 10.3.0 -- The CXX compiler identification is GNU 10.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Commit : Unknown -- Compilation Date: 1970-01-01 -- Found PkgConfig: /gnu/store/2b3blhwbag1ial0dhxw7wh4zjxl0cqpk-pkg-config-0.29.2/bin/pkg-config (found version "0.29.2") -- Checking for module 'libavformat' -- Found libavformat, version 57.83.100 -- Checking for module 'libavutil' -- Found libavutil, version 55.78.100 -- Checking for module 'libavcodec' -- Found libavcodec, version 57.107.100 -- Checking for module 'libavfilter' -- Found libavfilter, version 6.107.100 -- Checking for module 'libswscale' -- Found libswscale, version 4.8.100 -- Checking for module 'tesseract' -- Found tesseract, version 5.3.0 -- Checking for module 'lept' -- Found lept, version 1.83.1 -- Checking for module 'nanomsg' -- Found nanomsg, version 1.1.5 -- Detected rustc version 1.60.0 -- rustc >= MSRV(1.54.0) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:

CMAKE_INSTALL_LIBDIR

-- Build files have been written to: /tmp/guix-build-ccextractor-0.94.drv-0/source/build phase configure' succeeded after 1.9 seconds starting phasepatch-generated-file-shebangs' phase patch-generated-file-shebangs' succeeded after 0.1 seconds starting phasebuild' /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -S/tmp/guix-build-ccextractor-0.94.drv-0/source/src -B/tmp/guix-build-ccextractor-0.94.drv-0/source/build --check-build-system CMakeFiles/Makefile.cmake 0 /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -E cmake_progress_start /tmp/guix-build-ccextractor-0.94.drv-0/source/build/CMakeFiles /tmp/guix-build-ccextractor-0.94.drv-0/source/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/tmp/guix-build-ccextractor-0.94.drv-0/source/build' make -f rust/CMakeFiles/ccx_rust.dir/build.make rust/CMakeFiles/ccx_rust.dir/depend make[2]: Entering directory '/tmp/guix-build-ccextractor-0.94.drv-0/source/build' cd /tmp/guix-build-ccextractor-0.94.drv-0/source/build && /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/guix-build-ccextractor-0.94.drv-0/source/src /tmp/guix-build-ccextractor-0.94.drv-0/source/src/rust /tmp/guix-build-ccextractor-0.94.drv-0/source/build /tmp/guix-build-ccextractor-0.94.drv-0/source/build/rust /tmp/guix-build-ccextractor-0.94.drv-0/source/build/rust/CMakeFiles/ccx_rust.dir/DependInfo.cmake --color= make[2]: Leaving directory '/tmp/guix-build-ccextractor-0.94.drv-0/source/build' make -f rust/CMakeFiles/ccx_rust.dir/build.make rust/CMakeFiles/ccx_rust.dir/build make[2]: Entering directory '/tmp/guix-build-ccextractor-0.94.drv-0/source/build' [ 1%] Compiling ccx_rust module cd /tmp/guix-build-ccextractor-0.94.drv-0/source/src/rust && CARGO_TARGET_DIR=/tmp/guix-build-ccextractor-0.94.drv-0/source/build/rust cargo build --release error: failed to get env_logger as a dependency of package ccx_rust v0.1.0 (/tmp/guix-build-ccextractor-0.94.drv-0/source/src/rust)

Caused by: failed to create directory /homeless-shelter/.cargo/registry/index/github.com-1ecc6299db9ec823

Caused by: Permission denied (os error 13) make[2]: * [rust/CMakeFiles/ccx_rust.dir/build.make:74: rust/CMakeFiles/ccx_rust] Error 101 make[2]: Leaving directory '/tmp/guix-build-ccextractor-0.94.drv-0/source/build' make[1]: [CMakeFiles/Makefile2:174: rust/CMakeFiles/ccx_rust.dir/all] Error 2 make[1]: Leaving directory '/tmp/guix-build-ccextractor-0.94.drv-0/source/build' make: ** [Makefile:139: all] Error 2 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "1") exit-status: 2 term-signal: #f stop-signal: #f> phase build' failed after 0.7 seconds command "make" "-j" "1" failed with status 2 note: keeping build directory/tmp/guix-build-ccextractor-0.94.drv-2' builder for /gnu/store/qa3znljhvzv901pfq2fpjxv0fjvzyfzy-ccextractor-0.94.drv' failed with exit code 1 build of /gnu/store/qa3znljhvzv901pfq2fpjxv0fjvzyfzy-ccextractor-0.94.drv failed View build log at '/var/log/guix/drvs/qa/3znljhvzv901pfq2fpjxv0fjvzyfzy-ccextractor-0.94.drv'. guix build: error: build of/gnu/store/qa3znljhvzv901pfq2fpjxv0fjvzyfzy-ccextractor-0.94.drv' failed ```

Reply all
Reply to author
Forward
0 new messages