Home Quick start All builds News Donations
More
Log In
Light Theme Docs
Workers

SparrowCI Report - gh-melezhik-Raku-Cpp-Example | [image: melezhik/sparrow:debian]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2836
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 02.02.2023 @ 20:37
Time elapsed: 97 sec
---
SCM: https://github.com/melezhik/Raku-Cpp-Example.git
Git sha: d3ae598
Git comment: Update sparrow.yaml
image:
  #- melezhik/sparrow:alpine
  #- melezhik/sparrow:archlinux
  - melezhik/sparrow:debian
tasks:
  -
    name: test
    default: true
    language: Bash
    code: |
      set -e
      cd source/

      zef --version
      raku --version
      which gcc
      gcc --version
      
      zef install . --deps-only --test-depends --build-depends --/test -to=home         
      zef install --verbose .
    depends:
      -
        name: deps
  -
    name: deps
    language: Bash
    code: |
      set -e
      
      #cat << HERE | sudo tee  /etc/apt/sources.list.d/unstable.list
      #deb http://http.us.debian.org/debian/ testing non-free contrib main
      #HERE
      
      sudo apt-get update 
      #sudo apt-get install -y gcc-12 cmake
      sudo apt-get install -y gcc cmake
      


20:37:26 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/deps]
[dump code: task.bash]
[1] set -e
[2] 
[3] #cat << HERE | sudo tee  /etc/apt/sources.list.d/unstable.list
[4] #deb http://http.us.debian.org/debian/ testing non-free contrib main
[5] #HERE
[6] 
[7] sudo apt-get update 
[8] #sudo apt-get install -y gcc-12 cmake
[9] sudo apt-get install -y gcc cmake
[10] 
[task stdout]
20:37:28 :: Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
20:37:28 :: Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
20:37:28 :: Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
20:37:29 :: Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
20:37:29 :: Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [222 kB]
20:37:29 :: Get:6 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye InRelease [5264 B]
20:37:30 :: Fetched 8618 kB in 1s (6434 kB/s)
20:37:30 :: Reading package lists...
20:37:31 :: Reading package lists...
20:37:31 :: Building dependency tree...
20:37:31 :: Reading state information...
20:37:31 :: gcc is already the newest version (4:10.2.1-1).
20:37:31 :: gcc set to manually installed.
20:37:31 :: The following additional packages will be installed:
20:37:31 ::   cmake-data libarchive13 libicu67 libjsoncpp24 libncurses6 libprocps8
20:37:31 ::   librhash0 libuv1 libxml2 procps psmisc
20:37:31 :: Suggested packages:
20:37:31 ::   cmake-doc ninja-build lrzip
20:37:31 :: The following NEW packages will be installed:
20:37:31 ::   cmake cmake-data libarchive13 libicu67 libjsoncpp24 libncurses6 libprocps8
20:37:31 ::   librhash0 libuv1 libxml2 procps psmisc
20:37:31 :: 0 upgraded, 12 newly installed, 0 to remove and 12 not upgraded.
20:37:31 :: Need to get 18.2 MB of archives.
20:37:31 :: After this operation, 73.1 MB of additional disk space will be used.
20:37:31 :: Get:1 http://deb.debian.org/debian bullseye/main amd64 libncurses6 amd64 6.2+20201114-2 [102 kB]
20:37:31 :: Get:2 http://deb.debian.org/debian bullseye/main amd64 libprocps8 amd64 2:3.3.17-5 [63.9 kB]
20:37:31 :: Get:3 http://deb.debian.org/debian bullseye/main amd64 procps amd64 2:3.3.17-5 [502 kB]
20:37:31 :: Get:4 http://deb.debian.org/debian bullseye/main amd64 cmake-data all 3.18.4-2+deb11u1 [1725 kB]
20:37:31 :: Get:5 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB]
20:37:32 :: Get:6 http://deb.debian.org/debian bullseye/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u3 [693 kB]
20:37:32 :: Get:7 http://deb.debian.org/debian bullseye/main amd64 libarchive13 amd64 3.4.3-2+deb11u1 [343 kB]
20:37:32 :: Get:8 http://deb.debian.org/debian bullseye/main amd64 libjsoncpp24 amd64 1.9.4-4 [78.9 kB]
20:37:32 :: Get:9 http://deb.debian.org/debian bullseye/main amd64 librhash0 amd64 1.4.1-2 [129 kB]
20:37:32 :: Get:10 http://deb.debian.org/debian bullseye/main amd64 libuv1 amd64 1.40.0-2 [132 kB]
20:37:32 :: Get:11 http://deb.debian.org/debian bullseye/main amd64 cmake amd64 3.18.4-2+deb11u1 [5593 kB]
20:37:32 :: Get:12 http://deb.debian.org/debian bullseye/main amd64 psmisc amd64 23.4-2 [198 kB]
20:37:32 :: Fetched 18.2 MB in 0s (99.1 MB/s)
20:37:32 :: Selecting previously unselected package libncurses6:amd64.
20:37:32 :: (Reading database ... 
20:37:32 :: (Reading database ... 5%
20:37:32 :: (Reading database ... 10%
20:37:32 :: (Reading database ... 15%
20:37:32 :: (Reading database ... 20%
20:37:32 :: (Reading database ... 25%
20:37:32 :: (Reading database ... 30%
20:37:32 :: (Reading database ... 35%
20:37:32 :: (Reading database ... 40%
20:37:32 :: (Reading database ... 45%
20:37:32 :: (Reading database ... 50%
20:37:32 :: (Reading database ... 55%
20:37:32 :: (Reading database ... 60%
20:37:32 :: (Reading database ... 65%
20:37:32 :: (Reading database ... 70%
20:37:32 :: (Reading database ... 75%
20:37:32 :: (Reading database ... 80%
20:37:32 :: (Reading database ... 85%
20:37:32 :: (Reading database ... 90%
20:37:32 :: (Reading database ... 95%
20:37:32 :: (Reading database ... 100%
20:37:32 :: (Reading database ... 19016 files and directories currently installed.)
20:37:32 :: Preparing to unpack .../00-libncurses6_6.2+20201114-2_amd64.deb ...
20:37:32 :: Unpacking libncurses6:amd64 (6.2+20201114-2) ...
20:37:32 :: Selecting previously unselected package libprocps8:amd64.
20:37:32 :: Preparing to unpack .../01-libprocps8_2%3a3.3.17-5_amd64.deb ...
20:37:32 :: Unpacking libprocps8:amd64 (2:3.3.17-5) ...
20:37:32 :: Selecting previously unselected package procps.
20:37:32 :: Preparing to unpack .../02-procps_2%3a3.3.17-5_amd64.deb ...
20:37:32 :: Unpacking procps (2:3.3.17-5) ...
20:37:32 :: Selecting previously unselected package cmake-data.
20:37:32 :: Preparing to unpack .../03-cmake-data_3.18.4-2+deb11u1_all.deb ...
20:37:32 :: Unpacking cmake-data (3.18.4-2+deb11u1) ...
20:37:32 :: Selecting previously unselected package libicu67:amd64.
20:37:32 :: Preparing to unpack .../04-libicu67_67.1-7_amd64.deb ...
20:37:32 :: Unpacking libicu67:amd64 (67.1-7) ...
20:37:33 :: Selecting previously unselected package libxml2:amd64.
20:37:33 :: Preparing to unpack .../05-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
20:37:33 :: Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
20:37:33 :: Selecting previously unselected package libarchive13:amd64.
20:37:33 :: Preparing to unpack .../06-libarchive13_3.4.3-2+deb11u1_amd64.deb ...
20:37:33 :: Unpacking libarchive13:amd64 (3.4.3-2+deb11u1) ...
20:37:33 :: Selecting previously unselected package libjsoncpp24:amd64.
20:37:33 :: Preparing to unpack .../07-libjsoncpp24_1.9.4-4_amd64.deb ...
20:37:33 :: Unpacking libjsoncpp24:amd64 (1.9.4-4) ...
20:37:34 :: Selecting previously unselected package librhash0:amd64.
20:37:34 :: Preparing to unpack .../08-librhash0_1.4.1-2_amd64.deb ...
20:37:34 :: Unpacking librhash0:amd64 (1.4.1-2) ...
20:37:34 :: Selecting previously unselected package libuv1:amd64.
20:37:34 :: Preparing to unpack .../09-libuv1_1.40.0-2_amd64.deb ...
20:37:34 :: Unpacking libuv1:amd64 (1.40.0-2) ...
20:37:34 :: Selecting previously unselected package cmake.
20:37:34 :: Preparing to unpack .../10-cmake_3.18.4-2+deb11u1_amd64.deb ...
20:37:34 :: Unpacking cmake (3.18.4-2+deb11u1) ...
20:37:34 :: Selecting previously unselected package psmisc.
20:37:34 :: Preparing to unpack .../11-psmisc_23.4-2_amd64.deb ...
20:37:34 :: Unpacking psmisc (23.4-2) ...
20:37:34 :: Setting up libicu67:amd64 (67.1-7) ...
20:37:34 :: Setting up psmisc (23.4-2) ...
20:37:34 :: Setting up libuv1:amd64 (1.40.0-2) ...
20:37:34 :: Setting up libncurses6:amd64 (6.2+20201114-2) ...
20:37:34 :: Setting up libjsoncpp24:amd64 (1.9.4-4) ...
20:37:34 :: Setting up librhash0:amd64 (1.4.1-2) ...
20:37:34 :: Setting up cmake-data (3.18.4-2+deb11u1) ...
20:37:34 :: Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
20:37:34 :: Setting up libprocps8:amd64 (2:3.3.17-5) ...
20:37:34 :: Setting up libarchive13:amd64 (3.4.3-2+deb11u1) ...
20:37:34 :: Setting up procps (2:3.3.17-5) ...
20:37:34 :: Setting up cmake (3.18.4-2+deb11u1) ...
20:37:34 :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
[task stderr]
20:37:34 :: debconf: delaying package configuration, since apt-utils is not installed
20:37:01 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
source directory does not yet exist, download source archive from storage
20:37:04 :: [repository] - installing pack-unpack, version 0.000001
[task run: task.bash - unpack source archive]
[dump code: task.bash]
[1] set -e
[2] 
[3] file=$(config file)
[4] dir=$(config dir)
[5] 
[6] echo "tar -xzf $file "
[7] 
[8] tar -xzf $file
[9] 
[10] if test $dir; then
[11]   ls -l $dir
[12] fi
[13] 
[14] 
[task stdout]
20:37:07 :: tar -xzf source.tar.gz 
[task run: task.bash - tasks/test]
[dump code: task.bash]
[1] set -e
[2] cd source/
[3] 
[4] zef --version
[5] raku --version
[6] which gcc
[7] gcc --version
[8] 
[9] zef install . --deps-only --test-depends --build-depends --/test -to=home         
[10] zef install --verbose .
[11] 
[task stdout]
20:37:36 :: v0.14.5
20:37:36 :: Welcome to Rakudo™ v2022.12.
20:37:36 :: Implementing the Raku® Programming Language v6.d.
20:37:36 :: Built on MoarVM version 2022.12.
20:37:36 :: /usr/bin/gcc
20:37:36 :: gcc (Debian 10.2.1-6) 10.2.1 20210110
20:37:36 :: Copyright (C) 2020 Free Software Foundation, Inc.
20:37:36 :: This is free software; see the source for copying conditions.  There is NO
20:37:36 :: warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20:37:36 :: 
20:37:38 :: ===> Searching for missing dependencies: Distribution::Builder::Cmake
20:37:41 :: ===> Installing: Distribution::Builder::Cmake:ver<0.0.6>:auth<zef:rawleyfowler>
20:37:43 :: ===> Building: Raku::Cpp::Example:ver<0.0.1>
20:37:45 :: [Raku::Cpp::Example] Command: /opt/rakudo-pkg/bin/rakudo -MMONKEY-SEE-NO-EVAL -e exit((require ::(q|Distribution::Builder::Cmake|)).new(:meta(EVAL($*IN.slurp(:close)))).build(q|/var/.sparrowdo/env/test/.sparrowdo/source|)??0!!1)
20:37:45 :: [Raku::Cpp::Example] /usr/bin/cmake
20:37:45 :: [Raku::Cpp::Example] /usr/bin/make
20:37:45 :: [Raku::Cpp::Example] -- The C compiler identification is GNU 10.2.1
20:37:45 :: [Raku::Cpp::Example] -- The CXX compiler identification is GNU 10.2.1
20:37:45 :: [Raku::Cpp::Example] -- Detecting C compiler ABI info
20:37:45 :: [Raku::Cpp::Example] -- Detecting C compiler ABI info - done
20:37:45 :: [Raku::Cpp::Example] -- Check for working C compiler: /usr/bin/cc - skipped
20:37:45 :: [Raku::Cpp::Example] -- Detecting C compile features
20:37:45 :: [Raku::Cpp::Example] -- Detecting C compile features - done
20:37:45 :: [Raku::Cpp::Example] -- Detecting CXX compiler ABI info
20:37:45 :: [Raku::Cpp::Example] -- Detecting CXX compiler ABI info - done
20:37:45 :: [Raku::Cpp::Example] -- Check for working CXX compiler: /usr/bin/c++ - skipped
20:37:45 :: [Raku::Cpp::Example] -- Detecting CXX compile features
20:37:45 :: [Raku::Cpp::Example] -- Detecting CXX compile features - done
20:37:45 :: [Raku::Cpp::Example] -- Configuring done
20:37:45 :: [Raku::Cpp::Example] -- Generating done
20:37:45 :: [Raku::Cpp::Example] -- Build files have been written to: /var/.sparrowdo/env/test/.sparrowdo/source/cc/build
20:37:45 :: [Raku::Cpp::Example] Scanning dependencies of target my-lib
20:37:45 :: [Raku::Cpp::Example] [ 50%] Building CXX object CMakeFiles/my-lib.dir/my-lib.cpp.o
20:37:45 :: [Raku::Cpp::Example] [100%] Linking CXX shared library libmy-lib.so
20:37:45 :: [Raku::Cpp::Example] [100%] Built target my-lib
20:37:45 :: ===> Building [OK] for Raku::Cpp::Example:ver<0.0.1>
20:37:45 :: ===> Testing: Raku::Cpp::Example:ver<0.0.1>
20:37:45 :: [Raku::Cpp::Example] t/01-basic.rakutest .. ok
20:37:45 :: [Raku::Cpp::Example] All tests successful.
20:37:45 :: [Raku::Cpp::Example] Files=1, Tests=1,  1 wallclock secs ( 0.02 usr  0.00 sys +  1.35 cusr  0.06 csys =  1.43 CPU)
20:37:45 :: [Raku::Cpp::Example] Result: PASS
20:37:45 :: ===> Testing [OK] for Raku::Cpp::Example:ver<0.0.1>
20:37:45 :: ===> Installing: Raku::Cpp::Example:ver<0.0.1>
20:37:45 :: ===> Install [OK] for Raku::Cpp::Example:ver<0.0.1>
[task stderr]
20:37:45 :: ===> Updating fez mirror: https://360.zef.pm/
20:37:45 :: ===> Updated fez mirror: https://360.zef.pm/