BuildID: 3866
Status: FAIL
Image: melezhik/sparrow:ubuntu_arm
Worker status: OK
---
Date: 21.12.2023 @ 18:07
Time elapsed: 353 sec
---
SCM:
https://github.com/melezhik/raylib-raku.git
Git sha: 794e806
Git comment: install make
image:
- melezhik/sparrow:alpine_arm
#- melezhik/sparrow:debian_arm
- melezhik/sparrow:ubuntu_arm
tasks:
-
name: main
default: true
language: Bash
code: |
set -e
cd source/
zef install .
zef test .
depends:
-
name: system_deps
-
name: system_deps
language: Bash
code: |
set -e
if test $os = "alpine"; then
sudo apk add --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ raylib-dev
elif test $os = "debian"; then
echo "debian install is not yet supported"
elif test $os = "ubuntu"; then
sudo apt-get update -y 1>/dev/null
sudo apt install build-essential -y 1>/dev/null
sudo apt install libasound2-dev libx11-dev libxrandr-dev \
libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev \
libxinerama-dev -y 1>/dev/null
mkdir -p .dist && cd .dist
git clone https://github.com/raysan5/raylib.git
cd raylib/src
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED # To make the dynamic shared version.
sudo make install
fi
[35m18:06:33[0m :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[1;36m[task run: task.bash - tasks/system_deps][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] if test $os = "alpine"; then
[3] sudo apk add --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ raylib-dev
[4] elif test $os = "debian"; then
[5] echo "debian install is not yet supported"
[6] elif test $os = "ubuntu"; then
[7] sudo apt-get update -y 1>/dev/null
[8] sudo apt install build-essential -y 1>/dev/null
[9] sudo apt install libasound2-dev libx11-dev libxrandr-dev \
[10] libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev \
[11] libxinerama-dev -y 1>/dev/null
[12] mkdir -p .dist && cd .dist
[13] git clone https://github.com/raysan5/raylib.git
[14] cd raylib/src
[15] make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED # To make the dynamic shared version.
[16] sudo make install
[17] fi
[18]
[1;36m[task stdout][0m
[35m18:07:08[0m :: gcc -c rcore.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -fvisibility=hidden -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m18:07:11[0m :: gcc -c rshapes.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -fvisibility=hidden -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m18:07:11[0m :: gcc -c rtextures.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -fvisibility=hidden -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m18:07:15[0m :: gcc -c rtext.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -fvisibility=hidden -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m18:07:16[0m :: gcc -c utils.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -fvisibility=hidden -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m18:07:16[0m :: gcc -c rglfw.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -fvisibility=hidden -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m18:07:18[0m :: gcc -c rmodels.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -fvisibility=hidden -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m18:07:22[0m :: gcc -c raudio.c -Wall -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -fPIC -DBUILD_LIBTYPE_SHARED -fvisibility=hidden -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m18:07:28[0m :: gcc -shared -o ../src/libraylib.so.5.0.0 rcore.o rshapes.o rtextures.o rtext.o utils.o rglfw.o rmodels.o raudio.o -L. -L../src -Wl,-soname,libraylib.so.500 -lGL -lc -lm -lpthread -ldl -lrt -lX11
[35m18:07:28[0m :: raylib shared library generated (libraylib.so.5.0.0) in ../src!
[35m18:07:28[0m :: cd ../src && ln -fsv libraylib.so.5.0.0 libraylib.so.500
[35m18:07:28[0m :: 'libraylib.so.500' -> 'libraylib.so.5.0.0'
[35m18:07:28[0m :: cd ../src && ln -fsv libraylib.so.500 libraylib.so
[35m18:07:28[0m :: 'libraylib.so' -> 'libraylib.so.500'
[35m18:07:28[0m :: mkdir --parents --verbose /usr/local/lib
[35m18:07:28[0m :: mkdir --parents --verbose /usr/local/include
[35m18:07:28[0m :: cp --update --verbose ../src/libraylib.a /usr/local/lib/libraylib.a
[1;36m[task stderr][0m
[35m18:07:28[0m ::
[35m18:07:28[0m :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[35m18:07:28[0m ::
[35m18:07:28[0m ::
[35m18:07:28[0m :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[35m18:07:28[0m ::
[35m18:07:28[0m :: debconf: delaying package configuration, since apt-utils is not installed
[35m18:07:28[0m :: Cloning into 'raylib'...
[35m18:07:28[0m :: rcore.c: In function 'LoadAutomationEventList':
[35m18:07:28[0m :: rcore.c:2445:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m18:07:28[0m :: 2445 | fgets(buffer, 256, raeFile);
[35m18:07:28[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: rcore.c:2462:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m18:07:28[0m :: 2462 | fgets(buffer, 256, raeFile);
[35m18:07:28[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: In file included from rtextures.c:216:
[35m18:07:28[0m :: external/stb_image_resize2.h:2866:14: warning: 'stbir__support_zero' defined but not used [-Wunused-function]
[35m18:07:28[0m :: 2866 | static float stbir__support_zero(float s, void * user_data)
[35m18:07:28[0m :: | ^~~~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: external/stb_image_resize2.h:2503:13: warning: 'stbir_simd_memcpy' defined but not used [-Wunused-function]
[35m18:07:28[0m :: 2503 | static void stbir_simd_memcpy( void * dest, void const * src, size_t bytes )
[35m18:07:28[0m :: | ^~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: In file included from rglfw.c:87:
[35m18:07:28[0m :: external/glfw/src/posix_poll.c:29: warning: "_GNU_SOURCE" redefined
[35m18:07:28[0m :: 29 | #define _GNU_SOURCE
[35m18:07:28[0m :: |
[35m18:07:28[0m :: <command-line>: note: this is the location of the previous definition
[35m18:07:28[0m :: In file included from raudio.c:180:
[35m18:07:28[0m :: external/miniaudio.h: In function 'ma_device_stop__alsa':
[35m18:07:28[0m :: external/miniaudio.h:28084:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m18:07:28[0m :: 28084 | read(((struct pollfd*)pDevice->alsa.pPollDescriptorsCapture)[0].fd, &t, sizeof(t));
[35m18:07:28[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: external/miniaudio.h:28105:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m18:07:28[0m :: 28105 | read(((struct pollfd*)pDevice->alsa.pPollDescriptorsPlayback)[0].fd, &t, sizeof(t));
[35m18:07:28[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: In file included from raudio.c:282:
[35m18:07:28[0m :: external/jar_mod.h: In function 'jar_mod_load_file':
[35m18:07:28[0m :: external/jar_mod.h:1541:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m18:07:28[0m :: 1541 | fread(modctx->modfile, fsize, 1, f);
[35m18:07:28[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: In file included from raudio.c:242:
[35m18:07:28[0m :: external/qoa.h: In function 'qoa_encode_frame':
[35m18:07:28[0m :: external/qoa.h:455:45: warning: 'best_scalefactor' may be used uninitialized in this function [-Wmaybe-uninitialized]
[35m18:07:28[0m :: 455 | prev_scalefactor[c] = best_scalefactor;
[35m18:07:28[0m :: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: external/qoa.h:466:36: warning: 'best_slice' may be used uninitialized in this function [-Wmaybe-uninitialized]
[35m18:07:28[0m :: 466 | best_slice <<= (QOA_SLICE_LEN - slice_len) * 3;
[35m18:07:28[0m :: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m18:07:28[0m :: cp: cannot stat '../src/libraylib.a': No such file or directory
[35m18:07:28[0m :: make: *** [Makefile:748: install] Error 1
[35m18:07:28[0m :: task exit status: 2
[35m18:07:28[0m :: task tasks/system_deps FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/system_deps/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 2, signal: 0)
in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/resources/7E8029CBEC6AEAB4CF3B86B0FA3D5E6E21936B90 line 13
in sub MAIN at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 3
in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 1
[35m18:06:24[0m :: [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
[35m18:06:27[0m :: [repository] - installing pack-unpack, version 0.000001
[1;36m[task run: task.bash - unpack source archive][0m
[1;36m[dump code: task.bash][0m
[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]
[1;36m[task stdout][0m
[35m18:06:29[0m :: tar -xzf source.tar.gz
some depends jobs failed or timeouted: ${:FAIL(1), :OK(0), :TIMEOUT(0)}
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/main/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1, signal: 0)
in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/resources/7E8029CBEC6AEAB4CF3B86B0FA3D5E6E21936B90 line 13
in sub MAIN at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 3
in block <unit> at /home/ubuntu/projects/rakudo/rakudo-2022.12/install/share/perl6/site/bin/sparrowdo line 1