#33152 success

Note

Fix compiler warnings and an error on some plugins in NetBSD

0c4866aoctaspire

Owner
~octaspire
Created
8 months ago
Updated
8 months ago
Build manifest
view manifest »

Tasks

view log »
setup view log »
build-devel view log »
test-devel view log »
build-release view log »
test-release 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[#33152] 2019/02/24 21:59:50 Booting image netbsd/latest (default) on port 22672
[#33152] 2019/02/24 21:59:53 Waiting for guest to settle
[#33152] 2019/02/24 22:00:14 Sending tasks
[#33152] 2019/02/24 22:00:15 Sending build environment
[#33152] 2019/02/24 22:00:15 Installing packages
Could not create directory '/home/builds/.ssh'.
Warning: Permanently added '[localhost]:22672' (ECDSA) to the list of known hosts.
processing remote summary (ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.0/All)...
downloading pkg_summary.bz2 done.
Could not create directory '/home/builds/.ssh'.
Warning: Permanently added '[localhost]:22672' (ECDSA) to the list of known hosts.
calculating dependencies...done.

21 packages to install:
  libusb1-1.0.22 libusb-compat-0.1.7 libopus-1.2.1 libogg-1.3.3 giflib-5.1.4
  jpeg-9c jbigkit-2.1 SDL2-2.0.9nb2 opusfile-0.10 mpg123-1.25.10nb2
  libvorbis-1.3.6nb1 libmodplug-0.8.9.0 flac-1.3.2 tiff-4.0.10 png-1.6.36
  libwebp-1.0.1 ncurses-6.1nb3 SDL2_ttf-2.0.14 SDL2_mixer-2.0.4
  SDL2_image-2.0.4 ncursesw-6.1nb2

0 to refresh, 0 to upgrade, 21 to install
5674K to download, 31M to install

downloading libusb1-1.0.22.tgz done.
downloading libusb-compat-0.1.7.tgz done.
downloading SDL2-2.0.9nb2.tgz done.
downloading SDL2_ttf-2.0.14.tgz done.
downloading libopus-1.2.1.tgz done.
downloading libogg-1.3.3.tgz done.
downloading opusfile-0.10.tgz done.
downloading mpg123-1.25.10nb2.tgz done.
downloading libvorbis-1.3.6nb1.tgz done.
downloading libmodplug-0.8.9.0.tgz done.
downloading flac-1.3.2.tgz done.
downloading SDL2_mixer-2.0.4.tgz done.
downloading giflib-5.1.4.tgz done.
downloading jpeg-9c.tgz done.
downloading jbigkit-2.1.tgz done.
downloading tiff-4.0.10.tgz done.
downloading png-1.6.36.tgz done.
downloading libwebp-1.0.1.tgz done.
downloading SDL2_image-2.0.4.tgz done.
downloading ncurses-6.1nb3.tgz done.
downloading ncursesw-6.1nb2.tgz done.
installing libusb1-1.0.22...
installing libusb-compat-0.1.7...
installing libopus-1.2.1...
installing libogg-1.3.3...
installing giflib-5.1.4...
installing jpeg-9c...
installing jbigkit-2.1...
installing SDL2-2.0.9nb2...
installing opusfile-0.10...
installing mpg123-1.25.10nb2...
installing libvorbis-1.3.6nb1...
installing libmodplug-0.8.9.0...
installing flac-1.3.2...
installing tiff-4.0.10...
installing png-1.6.36...
installing libwebp-1.0.1...
installing ncurses-6.1nb3...
installing SDL2_ttf-2.0.14...
installing SDL2_mixer-2.0.4...
installing SDL2_image-2.0.4...
installing ncursesw-6.1nb2...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
marking SDL2_ttf-2.0.14 as non auto-removable
marking SDL2_mixer-2.0.4 as non auto-removable
marking SDL2_image-2.0.4 as non auto-removable
marking SDL2-2.0.9nb2 as non auto-removable
marking ncursesw-6.1nb2 as non auto-removable
Updating pkgsrc (this could take a while)...
Tip: want to speed up pkgsrc builds? Consider installing dependencies via pkgin
Sun Feb 24 22:05:37 UTC 2019
Building devel/gmake (logs hidden unless it fails - this could take a while)...
Could not create directory '/home/builds/.ssh'.
Warning: Permanently added '[localhost]:22672' (ECDSA) to the list of known hosts.
Could not create directory '/home/builds/.ssh'.
Warning: Permanently added '[localhost]:22672' (ECDSA) to the list of known hosts.
Done.
Sun Feb 24 22:06:03 UTC 2019
[#33152] 2019/02/24 22:06:03 Running task setup
[#33152] 2019/02/24 22:06:17 Running task build-devel
[#33152] 2019/02/24 22:07:19 Running task test-devel
[#33152] 2019/02/24 22:08:02 Running task build-release
[#33152] 2019/02/24 22:08:39 Running task test-release
setup
1
2
3
4
5
6
7
8
+ GIT_SSL_NO_VERIFY=true
+ git clone https://git.sr.ht/~octaspire/dern
Cloning into 'dern'...
+ cd dern
+ git config --global http.sslVerify false
+ gmake submodules-init
--  Initializing submodules...
OK  Done.
build-devel
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
+ cd dern
+ gmake all
CC  dev/src/octaspire_dern_repl.c
CC  dev/src/octaspire_dern_c_data.c
CC  dev/src/octaspire_dern_environment.c
CC  dev/src/octaspire_dern_helpers.c
CC  dev/src/octaspire_dern_lib.c
CC  dev/src/octaspire_dern_port.c
CC  dev/src/octaspire_dern_stdlib.c
CC  dev/src/octaspire_dern_value.c
CC  dev/src/octaspire_dern_lexer.c
CC  dev/src/octaspire_dern_vm.c
LD  octaspire-dern-repl
CC  dev/test/test.c
CC  dev/test/test_dern_lexer.c
CC  dev/test/test_dern_vm.c
LD  octaspire-dern-unit-test-runner
++  Creating amalgamation...
PC  release/plugins/dern_socket.c
PC  release/plugins/dern_dir.c
PC  release/plugins/dern_easing.c
PC  release/plugins/dern_animation.c
PC  release/plugins/dern_ncurses.c
PC  release/plugins/dern_sdl2.c
EC  sqlite3
PC  release/plugins/dern_sqlite3.c
CC  release/plugins/external/chipmunk/src/cpArbiter.c
CC  release/plugins/external/chipmunk/src/cpSweep1D.c
CC  release/plugins/external/chipmunk/src/cpSpaceStep.c
CC  release/plugins/external/chipmunk/src/cpPolyShape.c
CC  release/plugins/external/chipmunk/src/cpSlideJoint.c
CC  release/plugins/external/chipmunk/src/cpSpatialIndex.c
CC  release/plugins/external/chipmunk/src/cpGrooveJoint.c
CC  release/plugins/external/chipmunk/src/cpPivotJoint.c
CC  release/plugins/external/chipmunk/src/cpHashSet.c
CC  release/plugins/external/chipmunk/src/cpDampedRotarySpring.c
CC  release/plugins/external/chipmunk/src/cpPinJoint.c
CC  release/plugins/external/chipmunk/src/cpGearJoint.c
CC  release/plugins/external/chipmunk/src/cpArray.c
CC  release/plugins/external/chipmunk/src/cpRobust.c
CC  release/plugins/external/chipmunk/src/cpBBTree.c
CC  release/plugins/external/chipmunk/src/cpSimpleMotor.c
CC  release/plugins/external/chipmunk/src/cpSpace.c
CC  release/plugins/external/chipmunk/src/cpHastySpace.c
CC  release/plugins/external/chipmunk/src/chipmunk.c
CC  release/plugins/external/chipmunk/src/cpDampedSpring.c
CC  release/plugins/external/chipmunk/src/cpMarch.c
CC  release/plugins/external/chipmunk/src/cpBody.c
CC  release/plugins/external/chipmunk/src/cpShape.c
CC  release/plugins/external/chipmunk/src/cpSpaceHash.c
CC  release/plugins/external/chipmunk/src/cpConstraint.c
CC  release/plugins/external/chipmunk/src/cpSpaceComponent.c
CC  release/plugins/external/chipmunk/src/cpSpaceQuery.c
CC  release/plugins/external/chipmunk/src/cpSpaceDebug.c
CC  release/plugins/external/chipmunk/src/cpRotaryLimitJoint.c
CC  release/plugins/external/chipmunk/src/cpRatchetJoint.c
CC  release/plugins/external/chipmunk/src/cpPolyline.c
CC  release/plugins/external/chipmunk/src/cpCollision.c
EC  chipmunk
release/plugins/external/chipmunk/src/cpPolyShape.o: In function `cpPolyShapeInit':
/home/build/dern/release/plugins/external/chipmunk/src/cpPolyShape.c:192: warning: Warning: reference to the libc supplied alloca(3); this most likely will not work. Please use the compiler provided version of alloca(3), by supplying the appropriate compiler flags (e.g. not -std=c89).
PC  release/plugins/dern_chipmunk.c
./libchipmunk.so: warning: Warning: reference to the libc supplied alloca(3); this most likely will not work. Please use the compiler provided version of alloca(3), by supplying the appropriate compiler flags (e.g. not -std=c89).
PC  release/plugins/dern_nuklear.c
In file included from release/plugins/dern_nuklear.c:29:0:
release/plugins/external/nuklear/nuklear.h: In function 'nk_tree_element_image_push_hashed_base':
release/plugins/external/nuklear/nuklear.h:18422:20: warning: variable 'text' set but not used [-Wunused-but-set-variable]
     struct nk_text text;
                    ^
test-devel
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
+ cd dern
+ ./octaspire-dern-unit-test-runner --write-test-files
  ___     _                _           ___               
 / _ \ __| |_ __ _ ____ __(_)_ _ ___  |   \ ___ _ _ _ _  
| (_) / _|  _/ _` (_-< '_ \ | '_/ -_) | |) / -_) '_| ' \ 
 \___/\__|\__\__,_/__/ .__/_|_| \___| |___/\___|_| |_||_|
  Amalgamated version|_|stand-alone unit test runner     
  Octaspire Dern version 0.489.6

  This is stand-alone unit test runner for the amalgamated version of
  Octaspire Dern. Some of the unit tests test reading of files from
  the filesystem. The full source distribution has these files in
  the 'test/resource' directory. But because this amalgamated
  distribution can have only one file, to be able to run all
  the tests succesfully something must be done. What do you
  want to do? Select 'a', 'b', 'c' or any other key:

  a) Let this program to write those files to disk to the current working
     directory. All existing files with the same name will be OVERWRITTEN.
     The files to be written are of form 'octaspire_XYZ_test.abc', where XYZ
     is the name of the test and abc is some suffix.

  b) Let those tests to fail on missing files, or succeed if the files are
     already present in the current working directory.

  c) Abort and quit this program.

  > Option 'a' given with command line argument.
Writing test files to current working directory...
  Wrote file 'octaspire_dern_vm_run_user_factorial_function_test.dern'
  Wrote file 'octaspire_read_and_eval_path_test.dern'
  Wrote file 'octaspire_io_file_open_test.txt'
Done.

* Suite octaspire_dern_lexer_suite:
........................................................................
....
76 tests - 76 passed, 0 failed, 0 skipped (0 ticks, 0.000 sec)

* Suite octaspire_dern_vm_suite:
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
.........................................................
489 tests - 489 passed, 0 failed, 0 skipped (228 ticks, 2.280 sec)

Total: 565 tests (228 ticks, 2.280 sec), 6246 assertions
Pass: 565, fail: 0, skip: 0.
+ gmake test
--  Building for NetBSD...
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
OK  Done.
  ___     _                _           ___               
 / _ \ __| |_ __ _ ____ __(_)_ _ ___  |   \ ___ _ _ _ _  
| (_) / _|  _/ _` (_-< '_ \ | '_/ -_) | |) / -_) '_| ' \ 
 \___/\__|\__\__,_/__/ .__/_|_| \___| |___/\___|_| |_||_|
  Amalgamated version|_|stand-alone unit test runner     
  Octaspire Dern version 0.489.6

  This is stand-alone unit test runner for the amalgamated version of
  Octaspire Dern. Some of the unit tests test reading of files from
  the filesystem. The full source distribution has these files in
  the 'test/resource' directory. But because this amalgamated
  distribution can have only one file, to be able to run all
  the tests succesfully something must be done. What do you
  want to do? Select 'a', 'b', 'c' or any other key:

  a) Let this program to write those files to disk to the current working
     directory. All existing files with the same name will be OVERWRITTEN.
     The files to be written are of form 'octaspire_XYZ_test.abc', where XYZ
     is the name of the test and abc is some suffix.

  b) Let those tests to fail on missing files, or succeed if the files are
     already present in the current working directory.

  c) Abort and quit this program.

  > Option 'a' given with command line argument.
Writing test files to current working directory...
  Wrote file 'octaspire_dern_vm_run_user_factorial_function_test.dern'
  Wrote file 'octaspire_read_and_eval_path_test.dern'
  Wrote file 'octaspire_io_file_open_test.txt'
Done.

* Suite octaspire_dern_lexer_suite:
........................................................................
....
76 tests - 76 passed, 0 failed, 0 skipped (0 ticks, 0.000 sec)

* Suite octaspire_dern_vm_suite:
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
.........................................................
489 tests - 489 passed, 0 failed, 0 skipped (168 ticks, 1.680 sec)

Total: 565 tests (168 ticks, 1.680 sec), 6246 assertions
Pass: 565, fail: 0, skip: 0.
  ___     _                _           ___               
 / _ \ __| |_ __ _ ____ __(_)_ _ ___  |   \ ___ _ _ _ _  
| (_) / _|  _/ _` (_-< '_ \ | '_/ -_) | |) / -_) '_| ' \ 
 \___/\__|\__\__,_/__/ .__/_|_| \___| |___/\___|_| |_||_|
  Amalgamated version|_|stand-alone unit test runner     
  Octaspire Dern version 0.489.6

  This is stand-alone unit test runner for the amalgamated version of
  Octaspire Dern. Some of the unit tests test reading of files from
  the filesystem. The full source distribution has these files in
  the 'test/resource' directory. But because this amalgamated
  distribution can have only one file, to be able to run all
  the tests succesfully something must be done. What do you
  want to do? Select 'a', 'b', 'c' or any other key:

  a) Let this program to write those files to disk to the current working
     directory. All existing files with the same name will be OVERWRITTEN.
     The files to be written are of form 'octaspire_XYZ_test.abc', where XYZ
     is the name of the test and abc is some suffix.

  b) Let those tests to fail on missing files, or succeed if the files are
     already present in the current working directory.

  c) Abort and quit this program.

  > Option 'a' given with command line argument.
Writing test files to current working directory...
  Wrote file 'octaspire_dern_vm_run_user_factorial_function_test.dern'
  Wrote file 'octaspire_read_and_eval_path_test.dern'
  Wrote file 'octaspire_io_file_open_test.txt'
Done.

* Suite octaspire_dern_lexer_suite:
........................................................................
....
76 tests - 76 passed, 0 failed, 0 skipped (0 ticks, 0.000 sec)

* Suite octaspire_dern_vm_suite:
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
.........................................................
489 tests - 489 passed, 0 failed, 0 skipped (227 ticks, 2.270 sec)

Total: 565 tests (227 ticks, 2.270 sec), 6246 assertions
Pass: 565, fail: 0, skip: 0.
build-release
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
+ cd dern/release
+ sh how-to-build/NetBSD.sh
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
tput: No terminal type specified and no TERM variable set in the environment.
Building stand alone unit test runner...
gcc -O2 -std=c99 -Wall -Wextra -DOCTASPIRE_DERN_AMALGAMATED_UNIT_TEST_IMPLEMENTATION -DOCTASPIRE_DERN_CONFIG_BINARY_PLUGINS -DGREATEST_ENABLE_ANSI_COLORS -I . octaspire-dern-amalgamated.c -Wl,-export-dynamic -lm -o octaspire-dern-unit-test-runner 
RUN WITH ./octaspire-dern-unit-test-runner

Building embedding example...
gcc -O2 -std=c99 -Wall -Wextra -DOCTASPIRE_DERN_CONFIG_BINARY_PLUGINS -I . examples/embedding-example.c -Wl,-export-dynamic -lm -o embedding-example 
RUN WITH ./embedding-example

Building binary library example...
gcc -O2 -std=c99 -Wall -Wextra -fPIC -shared -I . -o libmylib.so examples/mylib.c 
RUN WITH LD_LIBRARY_PATH=. ./octaspire-dern-repl examples/use-mylib.dern

Building interactive Dern REPL...
gcc -O2 -std=c99 -Wall -Wextra -DOCTASPIRE_DERN_AMALGAMATED_REPL_IMPLEMENTATION -DOCTASPIRE_DERN_CONFIG_BINARY_PLUGINS -I . octaspire-dern-amalgamated.c -Wl,-export-dynamic -lm -o octaspire-dern-repl 
RUN WITH ./octaspire-dern-repl -c

Building Dern socket plugin...
gcc -O2 -std=c99 -Wall -Wextra -fPIC -shared -I . -o libdern_socket.so plugins/dern_socket.c 
RUN WITH LD_LIBRARY_PATH=. ./octaspire-dern-repl examples/irc-client.dern

Building Dern dir plugin...
gcc -O2 -std=c99 -Wall -Wextra -fPIC -shared -I . -shared -o libdern_dir.so plugins/dern_dir.c 
RUN WITH LD_LIBRARY_PATH=. ./octaspire-dern-repl examples/dern-dir-example.dern

Building Dern easing plugin...
gcc -O2 -std=c99 -Wall -Wextra -fPIC -shared -I . -shared -o libdern_easing.so plugins/dern_easing.c 
RUN WITH LD_LIBRARY_PATH=. ./octaspire-dern-repl examples/dern-easing-example.dern

Building Dern animation plugin...
gcc -O2 -std=c99 -Wall -Wextra -fPIC -shared -I . -shared -o libdern_animation.so plugins/dern_animation.c 
RUN WITH LD_LIBRARY_PATH=. ./octaspire-dern-repl examples/dern-animation-example.dern

Building Dern ncurses plugin...
gcc -O2 -std=c99 -Wall -Wextra -fPIC -I . -shared -o libdern_ncurses.so plugins/dern_ncurses.c -lcurses -lterminfo 
RUN WITH LD_LIBRARY_PATH=. ./octaspire-dern-repl examples/dern-ncurses-example.dern

Building Dern SDL2 plugin...
gcc -O2 -std=c99 -Wall -Wextra -fPIC -shared -DOCTASPIRE_DERN_AMALGAMATED_IMPLEMENTATION -DOCTASPIRE_DERN_SDL2_PLUGIN_USE_SDL_TTF_LIBRARY -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -D_REENTRANT -D_THREAD_SAFE -I . -o libdern_sdl2.so plugins/dern_sdl2.c -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf 
RUN WITH LD_LIBRARY_PATH=. ./octaspire-dern-repl examples/dern-sdl2-example.dern

test-release
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
+ cd dern/release
+ ./octaspire-dern-unit-test-runner --write-test-files
  ___     _                _           ___               
 / _ \ __| |_ __ _ ____ __(_)_ _ ___  |   \ ___ _ _ _ _  
| (_) / _|  _/ _` (_-< '_ \ | '_/ -_) | |) / -_) '_| ' \ 
 \___/\__|\__\__,_/__/ .__/_|_| \___| |___/\___|_| |_||_|
  Amalgamated version|_|stand-alone unit test runner     
  Octaspire Dern version 0.489.6

  This is stand-alone unit test runner for the amalgamated version of
  Octaspire Dern. Some of the unit tests test reading of files from
  the filesystem. The full source distribution has these files in
  the 'test/resource' directory. But because this amalgamated
  distribution can have only one file, to be able to run all
  the tests succesfully something must be done. What do you
  want to do? Select 'a', 'b', 'c' or any other key:

  a) Let this program to write those files to disk to the current working
     directory. All existing files with the same name will be OVERWRITTEN.
     The files to be written are of form 'octaspire_XYZ_test.abc', where XYZ
     is the name of the test and abc is some suffix.

  b) Let those tests to fail on missing files, or succeed if the files are
     already present in the current working directory.

  c) Abort and quit this program.

  > Option 'a' given with command line argument.
Writing test files to current working directory...
  Wrote file 'octaspire_dern_vm_run_user_factorial_function_test.dern'
  Wrote file 'octaspire_read_and_eval_path_test.dern'
  Wrote file 'octaspire_io_file_open_test.txt'
Done.

* Suite octaspire_dern_lexer_suite:
........................................................................
....
76 tests - 76 passed, 0 failed, 0 skipped (0 ticks, 0.000 sec)

* Suite octaspire_dern_vm_suite:
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
.........................................................
489 tests - 489 passed, 0 failed, 0 skipped (162 ticks, 1.620 sec)

Total: 565 tests (162 ticks, 1.620 sec), 6246 assertions
Pass: 565, fail: 0, skip: 0.
Build complete: success 8 months ago (took 8 minutes)