BuildID: 3875
Status: OK
Image: melezhik/sparrow:ubuntu_arm
Worker status: OK
---
Date: 22.12.2023 @ 06:09
Time elapsed: 610 sec
---
SCM:
https://github.com/vushu/raylib-raku
Git sha: cf125bf
Git comment: Add test for Ubuntu
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 # To make the static version.
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED # To make the dynamic shared version.
sudo make install
fi
[35m06:04:56[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 # To make the static version.
[16] make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED # To make the dynamic shared version.
[17] sudo make install
[18] fi
[19]
[1;36m[task stdout][0m
[35m06:05:32[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 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m06:05:35[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 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m06:05:35[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 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m06:05:39[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 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m06:05:40[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 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m06:05:40[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 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m06:05:42[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 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m06:05:46[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 -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw
[35m06:05:53[0m :: ar rcs ../src/libraylib.a rcore.o rshapes.o rtextures.o rtext.o utils.o rglfw.o rmodels.o raudio.o
[35m06:05:53[0m :: raylib static library generated (libraylib.a) in ../src!
[35m06:05:53[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
[35m06:05:53[0m :: raylib shared library generated (libraylib.so.5.0.0) in ../src!
[35m06:05:53[0m :: cd ../src && ln -fsv libraylib.so.5.0.0 libraylib.so.500
[35m06:05:53[0m :: 'libraylib.so.500' -> 'libraylib.so.5.0.0'
[35m06:05:53[0m :: cd ../src && ln -fsv libraylib.so.500 libraylib.so
[35m06:05:53[0m :: 'libraylib.so' -> 'libraylib.so.500'
[35m06:05:53[0m :: mkdir --parents --verbose /usr/local/lib
[35m06:05:53[0m :: mkdir --parents --verbose /usr/local/include
[35m06:05:53[0m :: cp --update --verbose ../src/libraylib.a /usr/local/lib/libraylib.a
[35m06:05:53[0m :: '../src/libraylib.a' -> '/usr/local/lib/libraylib.a'
[35m06:05:53[0m :: cp --update raylib.h /usr/local/include/raylib.h
[35m06:05:53[0m :: cp --update raymath.h /usr/local/include/raymath.h
[35m06:05:53[0m :: cp --update rlgl.h /usr/local/include/rlgl.h
[35m06:05:53[0m :: raylib development files installed/updated!
[1;36m[task stderr][0m
[35m06:05:53[0m ::
[35m06:05:53[0m :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[35m06:05:53[0m ::
[35m06:05:53[0m ::
[35m06:05:53[0m :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[35m06:05:53[0m ::
[35m06:05:53[0m :: debconf: delaying package configuration, since apt-utils is not installed
[35m06:05:53[0m :: Cloning into 'raylib'...
[35m06:05:53[0m :: rcore.c: In function 'LoadAutomationEventList':
[35m06:05:53[0m :: rcore.c:2445:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m06:05:53[0m :: 2445 | fgets(buffer, 256, raeFile);
[35m06:05:53[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m06:05:53[0m :: rcore.c:2462:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m06:05:53[0m :: 2462 | fgets(buffer, 256, raeFile);
[35m06:05:53[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m06:05:53[0m :: In file included from rtextures.c:216:
[35m06:05:53[0m :: external/stb_image_resize2.h:2866:14: warning: 'stbir__support_zero' defined but not used [-Wunused-function]
[35m06:05:53[0m :: 2866 | static float stbir__support_zero(float s, void * user_data)
[35m06:05:53[0m :: | ^~~~~~~~~~~~~~~~~~~
[35m06:05:53[0m :: external/stb_image_resize2.h:2503:13: warning: 'stbir_simd_memcpy' defined but not used [-Wunused-function]
[35m06:05:53[0m :: 2503 | static void stbir_simd_memcpy( void * dest, void const * src, size_t bytes )
[35m06:05:53[0m :: | ^~~~~~~~~~~~~~~~~
[35m06:05:53[0m :: In file included from rglfw.c:87:
[35m06:05:53[0m :: external/glfw/src/posix_poll.c:29: warning: "_GNU_SOURCE" redefined
[35m06:05:53[0m :: 29 | #define _GNU_SOURCE
[35m06:05:53[0m :: |
[35m06:05:53[0m :: <command-line>: note: this is the location of the previous definition
[35m06:05:53[0m :: In file included from raudio.c:180:
[35m06:05:53[0m :: external/miniaudio.h: In function 'ma_device_stop__alsa':
[35m06:05:53[0m :: external/miniaudio.h:28084:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m06:05:53[0m :: 28084 | read(((struct pollfd*)pDevice->alsa.pPollDescriptorsCapture)[0].fd, &t, sizeof(t));
[35m06:05:53[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m06:05:53[0m :: external/miniaudio.h:28105:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m06:05:53[0m :: 28105 | read(((struct pollfd*)pDevice->alsa.pPollDescriptorsPlayback)[0].fd, &t, sizeof(t));
[35m06:05:53[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m06:05:53[0m :: In file included from raudio.c:282:
[35m06:05:53[0m :: external/jar_mod.h: In function 'jar_mod_load_file':
[35m06:05:53[0m :: external/jar_mod.h:1541:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
[35m06:05:53[0m :: 1541 | fread(modctx->modfile, fsize, 1, f);
[35m06:05:53[0m :: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m06:05:53[0m :: In file included from raudio.c:242:
[35m06:05:53[0m :: external/qoa.h: In function 'qoa_encode_frame':
[35m06:05:53[0m :: external/qoa.h:455:45: warning: 'best_scalefactor' may be used uninitialized in this function [-Wmaybe-uninitialized]
[35m06:05:53[0m :: 455 | prev_scalefactor[c] = best_scalefactor;
[35m06:05:53[0m :: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[35m06:05:53[0m :: external/qoa.h:466:36: warning: 'best_slice' may be used uninitialized in this function [-Wmaybe-uninitialized]
[35m06:05:53[0m :: 466 | best_slice <<= (QOA_SLICE_LEN - slice_len) * 3;
[35m06:05:53[0m :: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[35m06:04:40[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
[35m06:04:43[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
[35m06:04:45[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.bash - tasks/main][0m
[1;36m[dump code: task.bash][0m
[1] set -e
[2] cd source/
[3] zef install .
[4] zef test .
[5]
[1;36m[task stdout][0m
[35m06:05:56[0m :: ===> Searching for missing dependencies: Distribution::Builder::MakeFromJSON
[35m06:09:44[0m :: ===> Searching for missing dependencies: System::Query
[35m06:09:44[0m :: ===> Building: Raylib::Bindings:ver<0.0.17>:auth<zef:vushu>
[35m06:09:44[0m :: [Raylib::Bindings] /bin/sh: 1: pkg-config: not found
[35m06:09:44[0m :: [Raylib::Bindings] /bin/sh: 1: pkg-config: not found
[35m06:09:44[0m :: [Raylib::Bindings] /bin/sh: 1: pkg-config: not found
[35m06:09:44[0m :: ===> Building [OK] for Raylib::Bindings:ver<0.0.17>:auth<zef:vushu>
[35m06:09:44[0m :: ===> Testing: System::Query:ver<0.1.6>:auth<zef:tony-o>
[35m06:09:44[0m :: ===> Testing [OK] for System::Query:ver<0.1.6>:auth<zef:tony-o>
[35m06:09:44[0m :: ===> Testing: Distribution::Builder::MakeFromJSON:ver<0.6>:auth<github:niner>
[35m06:09:44[0m :: ===> Testing [OK] for Distribution::Builder::MakeFromJSON:ver<0.6>:auth<github:niner>
[35m06:09:44[0m :: ===> Testing: Raylib::Bindings:ver<0.0.17>:auth<zef:vushu>
[35m06:09:44[0m :: ===> Testing [OK] for Raylib::Bindings:ver<0.0.17>:auth<zef:vushu>
[35m06:09:44[0m :: ===> Installing: System::Query:ver<0.1.6>:auth<zef:tony-o>
[35m06:09:44[0m :: ===> Installing: Distribution::Builder::MakeFromJSON:ver<0.6>:auth<github:niner>
[35m06:09:44[0m :: ===> Installing: Raylib::Bindings:ver<0.0.17>:auth<zef:vushu>
[35m06:09:45[0m :: ===> Testing: Raylib::Bindings:ver<0.0.17>:auth<zef:vushu>
[35m06:09:50[0m :: ===> Testing [OK] for Raylib::Bindings:ver<0.0.17>:auth<zef:vushu>
[1;36m[task stderr][0m
[35m06:09:50[0m :: ===> Updating fez mirror: https://360.zef.pm/
[35m06:09:50[0m :: ===> Updated fez mirror: https://360.zef.pm/
[35m06:09:50[0m :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
[35m06:09:50[0m :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json