#314398 success

10a4506Zack Michener

move dither to new src; remove old src and test

Owner
~zjm
Created
a month ago
Updated
a month ago
Build manifest
view manifest »

Tasks

view log »
build view log »
go to bottom »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[#314398] 2020/10/05 02:26:40 Booting image alpine/edge (default) on port 22756
[#314398] 2020/10/05 02:26:42 Waiting for guest to settle
[#314398] 2020/10/05 02:26:50 Sending tasks
[#314398] 2020/10/05 02:26:50 Sending build environment
[#314398] 2020/10/05 02:26:50 Installing packages
Warning: Permanently added '[localhost]:22756' (ECDSA) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v20200917-1784-g03591b17aa [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20200917-1784-g03591b17aa [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20200917-1782-gc6fcde5381 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 17442 distinct packages available
Warning: Permanently added '[localhost]:22756' (ECDSA) to the list of known hosts.
(1/47) Installing libpciaccess (0.16-r0)
(2/47) Installing libdrm (2.4.102-r0)
(3/47) Installing libpng (1.6.37-r1)
(4/47) Installing freetype (2.10.2-r0)
(5/47) Installing tslib (1.22-r0)
(6/47) Installing directfb (1.7.7-r3)
(7/47) Installing directfb-dev (1.7.7-r3)
(8/47) Installing linux-headers (5.7.8-r0)
(9/47) Installing libdrm-dev (2.4.102-r0)
(10/47) Installing libxau (1.0.9-r0)
(11/47) Installing xorgproto (2020.1-r0)
(12/47) Installing libxau-dev (1.0.9-r0)
(13/47) Installing libbsd (0.10.0-r0)
(14/47) Installing libxdmcp (1.1.3-r0)
(15/47) Installing libxcb (1.14-r1)
(16/47) Installing libx11 (1.6.12-r0)
(17/47) Installing libxext (1.3.4-r0)
(18/47) Installing xcb-proto (1.14-r0)
(19/47) Installing libxdmcp-dev (1.1.3-r0)
(20/47) Installing libxcb-dev (1.14-r1)
(21/47) Installing xtrans (1.4.0-r1)
(22/47) Installing libx11-dev (1.6.12-r0)
(23/47) Installing libxext-dev (1.3.4-r0)
(24/47) Installing libxdamage (1.1.5-r1)
(25/47) Installing libxfixes (5.0.3-r2)
(26/47) Installing libxfixes-dev (5.0.3-r2)
(27/47) Installing libxdamage-dev (1.1.5-r1)
(28/47) Installing libxshmfence (1.3-r0)
(29/47) Installing libxshmfence-dev (1.3-r0)
(30/47) Installing mesa (20.1.9-r0)
(31/47) Installing wayland-libs-server (1.18.0-r4)
(32/47) Installing mesa-gbm (20.1.9-r0)
(33/47) Installing mesa-glapi (20.1.9-r0)
(34/47) Installing wayland-libs-client (1.18.0-r4)
(35/47) Installing mesa-egl (20.1.9-r0)
(36/47) Installing libxxf86vm (1.1.4-r2)
(37/47) Installing mesa-gl (20.1.9-r0)
(38/47) Installing mesa-gles (20.1.9-r0)
(39/47) Installing libxml2 (2.9.10-r5)
(40/47) Installing llvm10-libs (10.0.1-r0)
(41/47) Installing zstd-libs (1.4.5-r0)
(42/47) Installing mesa-osmesa (20.1.9-r0)
(43/47) Installing mesa-xatracker (20.1.9-r0)
(44/47) Installing libxxf86vm-dev (1.1.4-r2)
(45/47) Installing mesa-dev (20.1.9-r0)
(46/47) Installing sdl2 (2.0.12-r5)
(47/47) Installing sdl2-dev (2.0.12-r5)
Executing busybox-1.32.0-r3.trigger
OK: 1235 MiB in 249 packages
[#314398] 2020/10/05 02:26:55 Cloning repositories
Cloning into 'Moon3D'...
+ cd Moon3D
+ git checkout -q 10a45062adc42df7a692f138bec4ea19c9dcd1dd
+ cd Moon3D
+ git submodule update --init
[#314398] 2020/10/05 02:26:56 Running task build
build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
+ cd Moon3D
+ make test
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c test/vector.test.c -o build/./test/vector.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c test/projection.test.c -o build/./test/projection.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c test/raster.test.c -o build/./test/raster.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c test/clipping.test.c -o build/./test/clipping.test.c.o
test/clipping.test.c: In function 'TestClipPolygon':
test/clipping.test.c:44:7: warning: variable 'verts_before' set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;]
   44 |   int verts_before;
      |       ^~~~~~~~~~~~
test/clipping.test.c:38:11: warning: unused variable 'camera' []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;]
   38 |   Camera *camera = NewCamera(30, 1, 1, 10, NULL, NULL);
      |           ^~~~~~
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c test/data.test.c -o build/./test/data.test.c.o
In file included from test/../src/mesh.h:4,
                 from test/../src/clip.h:5,
                 from test/../src/moon3d.h:4,
                 from test/assertions.h:4,
                 from test/tests.h:3,
                 from test/data.test.c:1:
test/data.test.c: In function 'TestMemoryPool':
test/../src/pool.h:17:26: warning: value computed is not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Wunused-value]8;;]
   17 | #define PoolNext(pool)   &(pool[PoolTotal(pool)++])
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
test/data.test.c:49:2: note: in expansion of macro 'PoolNext'
   49 |  PoolNext(pool);
      |  ^~~~~~~~
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c test/transform.test.c -o build/./test/transform.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c test/main.test.c -o build/./test/main.test.c.o
mkdir -p build/./test/
gcc -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c test/assertions.test.c -o build/./test/assertions.test.c.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/transform.c -o build/./src/transform.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/camera.c -o build/./src/camera.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/clip.c -o build/./src/clip.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/viewport.c -o build/./src/viewport.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/pool.c -o build/./src/pool.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/game.c -o build/./src/game.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/scene.c -o build/./src/scene.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/mesh.c -o build/./src/mesh.c.test.o
src/mesh.c: In function 'DumpMesh':
src/mesh.c:30:64: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;]
   30 |  printf("┌─ Mesh 0x%08x ──────────\n", (unsigned int)mesh);
      |                                        ^
src/mesh.c: In function 'DumpVertices':
src/mesh.c:55:52: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;]
   55 |  printf("%d vertices at 0x%x:\n", PoolTotal(pool), (unsigned int)pool);
      |                                                    ^
src/mesh.c: In function 'PrintPolygon':
src/mesh.c:75:59: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;]
   75 |  printf("%d-gon at 0x%x:\n", NumPolygonVertices(polygon), (unsigned int)vertices);
      |                                                           ^
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/obj.c -o build/./src/obj.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/plane.c -o build/./src/plane.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/model.c -o build/./src/model.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/physics.c -o build/./src/physics.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/vector.c -o build/./src/vector.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/renderer.c -o build/./src/renderer.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/renderable.c -o build/./src/renderable.c.test.o
mkdir -p build/./src/
gcc -DTEST -I/usr/local/include/SDL2 -O0 -g -Wall -Wextra -Wno-unused-function -c src/dither.c -o build/./src/dither.c.test.o
gcc -DTEST ./build/./test/vector.test.c.o ./build/./test/projection.test.c.o ./build/./test/raster.test.c.o ./build/./test/clipping.test.c.o ./build/./test/data.test.c.o ./build/./test/transform.test.c.o ./build/./test/main.test.c.o ./build/./test/assertions.test.c.o ./build/./src/transform.c.test.o ./build/./src/camera.c.test.o ./build/./src/clip.c.test.o ./build/./src/viewport.c.test.o ./build/./src/pool.c.test.o ./build/./src/game.c.test.o ./build/./src/scene.c.test.o ./build/./src/mesh.c.test.o ./build/./src/obj.c.test.o ./build/./src/plane.c.test.o ./build/./src/model.c.test.o ./build/./src/physics.c.test.o ./build/./src/vector.c.test.o ./build/./src/renderer.c.test.o ./build/./src/renderable.c.test.o ./build/./src/dither.c.test.o -o ./build/moon_test -L/usr/local/lib -lSDL2 -lm
./build/moon_test
=================================
20 passed, 0 failed.
Build complete: success a month ago (took 18 seconds)