>>> oil: Building testing/oil 0.12.4-r0 (using abuild 3.9.0-r6) started Mon, 05 Sep 2022 12:03:34 +0000 >>> oil: Checking sanity of /home/buildozer/aports/testing/oil/APKBUILD... >>> oil: Analyzing dependencies... >>> oil: Installing for build: build-base readline-dev bash (1/6) Installing libhistory (8.1.2-r0) (2/6) Installing ncurses-dev (6.3_p20220903-r0) (3/6) Installing readline (8.1.2-r0) (4/6) Installing readline-dev (8.1.2-r0) (5/6) Installing bash (5.1.16-r2) Executing bash-5.1.16-r2.post-install (6/6) Installing .makedepends-oil (20220905.120335) Executing busybox-1.35.0-r24.trigger OK: 423 MiB in 107 packages >>> oil: Cleaning up srcdir >>> oil: Cleaning up pkgdir >>> oil: Fetching https://distfiles.alpinelinux.org/distfiles/edge/oil-0.12.4.tar.gz >>> oil: Fetching https://distfiles.alpinelinux.org/distfiles/edge/oil-0.12.4.tar.gz >>> oil: Checking sha512sums... oil-0.12.4.tar.gz: OK >>> oil: Unpacking /var/cache/distfiles/edge/oil-0.12.4.tar.gz... ./configure: Wrote _build/detected-config.sh and _build/detected-config.h build/compile.sh build-opt _build/oil/ovm-opt _build/oil/module_init.c _build/oil/main_name.c _build/oil/c-module-srcs.txt ~/aports/testing/oil/src/oil-0.12.4/Python-2.7.13 ~/aports/testing/oil/src/oil-0.12.4 In file included from Include/Python.h:78, from Objects/listobject.c:3: Objects/listobject.c: In function 'list_resize': Include/pymem.h:110:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 110 | (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) | ^ Include/pymem.h:77:49: note: in definition of macro 'PyMem_REALLOC' 77 | : realloc((p), (n) ? (n) : 1)) | ^ Objects/listobject.c:62:9: note: in expansion of macro 'PyMem_RESIZE' 62 | PyMem_RESIZE(items, PyObject *, new_allocated); | ^~~~~~~~~~~~ Objects/listobject.c: In function 'list_ass_subscript': Objects/listobject.c:2651:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 2651 | PyMem_MALLOC(slicelength*sizeof(PyObject*)); Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Objects/listobject.c:2732:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 2732 | PyMem_MALLOC(slicelength*sizeof(PyObject*)); Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ In file included from Include/Python.h:78, from Objects/dictobject.c:10: Objects/dictobject.c: In function 'dictresize': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Objects/dictobject.c:643:20: note: in expansion of macro 'PyMem_NEW' 643 | newtable = PyMem_NEW(PyDictEntry, newsize); | ^~~~~~~~~ In file included from Include/Python.h:78, from Objects/setobject.c:7: Objects/setobject.c: In function 'set_table_resize': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Objects/setobject.c:316:20: note: in expansion of macro 'PyMem_NEW' 316 | newtable = PyMem_NEW(setentry, newsize); | ^~~~~~~~~ In file included from Include/Python.h:78, from Objects/structseq.c:4: Objects/structseq.c: In function 'PyStructSequence_InitType': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Objects/structseq.c:508:15: note: in expansion of macro 'PyMem_NEW' 508 | members = PyMem_NEW(PyMemberDef, n_members-n_unnamed_members+1); | ^~~~~~~~~ In file included from Include/Python.h:78, from Objects/typeobject.c:3: Objects/typeobject.c: In function 'pmerge': Objects/typeobject.c:1519:44: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1519 | remain = (int *)PyMem_MALLOC(SIZEOF_INT*to_merge_size); Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ In file included from Include/Python.h:78, from Python/bltinmodule.c:3: Python/bltinmodule.c: In function 'builtin_map': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Python/bltinmodule.c:980:17: note: in expansion of macro 'PyMem_NEW' 980 | if ((seqs = PyMem_NEW(sequence, n)) == NULL) { | ^~~~~~~~~ In file included from Include/Python.h:78, from Python/getargs.c:4: Python/getargs.c: In function 'convertsimple': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Python/getargs.c:1133:27: note: in expansion of macro 'PyMem_NEW' 1133 | *buffer = PyMem_NEW(char, size + 1); | ^~~~~~~~~ Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Python/getargs.c:1181:23: note: in expansion of macro 'PyMem_NEW' 1181 | *buffer = PyMem_NEW(char, size + 1); | ^~~~~~~~~ Python/getargs.c:1034:21: warning: variable 'encoding' set but not used [-Wunused-but-set-variable] 1034 | const char *encoding; | ^~~~~~~~ In file included from Include/Python.h:78, from Python/import.c:4: Python/import.c: In function '_PyImport_Init': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ Python/import.c:168:15: note: in expansion of macro 'PyMem_NEW' 168 | filetab = PyMem_NEW(struct filedescr, countD + countS + 1); | ^~~~~~~~~ Python/import.c: In function 'PyImport_ExtendInittab': Include/pymem.h:110:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 110 | (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) | ^ Include/pymem.h:77:49: note: in definition of macro 'PyMem_REALLOC' 77 | : realloc((p), (n) ? (n) : 1)) | ^ Python/import.c:3525:5: note: in expansion of macro 'PyMem_RESIZE' 3525 | PyMem_RESIZE(p, struct _inittab, i+n+1); | ^~~~~~~~~~~~ Python/marshal.c: In function 'PyMarshal_WriteLongToFile': Python/marshal.c:70:35: warning: 'wf.ptr' may be used uninitialized [-Wmaybe-uninitialized] 70 | else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \ | ^~ Python/marshal.c:466:11: note: 'wf' declared here 466 | WFILE wf; | ^~ Python/marshal.c:70:47: warning: 'wf.end' may be used uninitialized [-Wmaybe-uninitialized] 70 | else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \ | ^~ Python/marshal.c:466:11: note: 'wf' declared here 466 | WFILE wf; | ^~ In function 'w_more', inlined from 'w_long' at Python/marshal.c:119:5, inlined from 'PyMarshal_WriteLongToFile' at Python/marshal.c:472:5: Python/marshal.c:77:10: warning: 'wf.str' may be used uninitialized [-Wmaybe-uninitialized] 77 | if (p->str == NULL) | ~^~~~~ Python/marshal.c: In function 'PyMarshal_WriteLongToFile': Python/marshal.c:466:11: note: 'wf' declared here 466 | WFILE wf; | ^~ In file included from Include/Python.h:78, from ../native/posixmodule.c:6: ../native/posixmodule.c: In function 'posix_execv': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ ../native/posixmodule.c:1102:16: note: in expansion of macro 'PyMem_NEW' 1102 | argvlist = PyMem_NEW(char *, argc+1); | ^~~~~~~~~ ../native/posixmodule.c: In function 'posix_execve': Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ ../native/posixmodule.c:1178:16: note: in expansion of macro 'PyMem_NEW' 1178 | argvlist = PyMem_NEW(char *, argc+1); | ^~~~~~~~~ Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ ../native/posixmodule.c:1199:15: note: in expansion of macro 'PyMem_NEW' 1199 | envlist = PyMem_NEW(char *, i + 1); | ^~~~~~~~~ Include/pymem.h:97:37: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 97 | ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) | ^ Include/pymem.h:75:43: note: in definition of macro 'PyMem_MALLOC' 75 | : malloc((n) ? (n) : 1)) | ^ ../native/posixmodule.c:1237:13: note: in expansion of macro 'PyMem_NEW' 1237 | p = PyMem_NEW(char, len); | ^~~~~~~~~ In file included from Include/Python.h:78, from Modules/selectmodule.c:9: Modules/selectmodule.c: In function 'update_ufd_array': Include/pymem.h:110:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 110 | (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) | ^ Include/pymem.h:77:49: note: in definition of macro 'PyMem_REALLOC' 77 | : realloc((p), (n) ? (n) : 1)) | ^ Modules/selectmodule.c:337:5: note: in expansion of macro 'PyMem_RESIZE' 337 | PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len); | ^~~~~~~~~~~~ ../py-yajl/decoder.c:224:5: warning: initialization of 'int (*)(void *, const char *, size_t)' {aka 'int (*)(void *, const char *, long unsigned int)'} from incompatible pointer type 'int (*)(void *, const char *, unsigned int)' [-Wincompatible-pointer-types] 224 | handle_number, | ^~~~~~~~~~~~~ ../py-yajl/decoder.c:224:5: note: (near initialization for 'decode_callbacks.yajl_number') ../py-yajl/decoder.c:225:5: warning: initialization of 'int (*)(void *, const unsigned char *, size_t)' {aka 'int (*)(void *, const unsigned char *, long unsigned int)'} from incompatible pointer type 'int (*)(void *, const unsigned char *, unsigned int)' [-Wincompatible-pointer-types] 225 | handle_string, | ^~~~~~~~~~~~~ ../py-yajl/decoder.c:225:5: note: (near initialization for 'decode_callbacks.yajl_string') ../py-yajl/decoder.c:227:5: warning: initialization of 'int (*)(void *, const unsigned char *, size_t)' {aka 'int (*)(void *, const unsigned char *, long unsigned int)'} from incompatible pointer type 'int (*)(void *, const unsigned char *, unsigned int)' [-Wincompatible-pointer-types] 227 | handle_dict_key, | ^~~~~~~~~~~~~~~ ../py-yajl/decoder.c:227:5: note: (near initialization for 'decode_callbacks.yajl_map_key') ../py-yajl/decoder.c: In function '_internal_decode': ../py-yajl/decoder.c:272:37: warning: pointer targets in passing argument 3 of 'yajl_get_error' differ in signedness [-Wpointer-sign] 272 | str = yajl_get_error(parser, 1, buffer, buflen); | ^~~~~~ | | | char * In file included from ../py-yajl/decoder.c:38: ../py-yajl/yajl/yajl-2.1.1/include/yajl/yajl_parse.h:202:67: note: expected 'const unsigned char *' but argument is of type 'char *' 202 | const unsigned char * jsonText, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../py-yajl/encoder.c: In function 'ProcessObject': ../py-yajl/encoder.c:130:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 130 | while (key = PyIter_Next(iterator)) { | ^~~ ../py-yajl/encoder.c: In function '_internal_encode': ../py-yajl/encoder.c:185:51: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] 185 | PyObject* result = PyString_FromStringAndSize(buf, len); | ^~~ | | | const unsigned char * In file included from Include/Python.h:99, from ../py-yajl/encoder.c:32: Include/stringobject.h:62:51: note: expected 'const char *' but argument is of type 'const unsigned char *' 62 | PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ ../py-yajl/yajl.c: In function 'py_dumps': ../py-yajl/yajl.c:107:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | spaces = IndentString(indent); | ^ ../py-yajl/yajl.c: At top level: ../py-yajl/yajl.c:164:15: warning: initialization of 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} from incompatible pointer type 'PyObject * (*)(PyObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *, struct _object *)'} [-Wincompatible-pointer-types] 164 | {"dumps", (PyCFunctionWithKeywords)(py_dumps), METH_VARARGS | METH_KEYWORDS, | ^ ../py-yajl/yajl.c:164:15: note: (near initialization for 'yajl_methods[0].ml_meth') real 0m42.517s user 0m32.603s sys 0m9.636s ~/aports/testing/oil/src/oil-0.12.4 objcopy --only-keep-debug _build/oil/ovm-opt _build/oil/ovm-opt.symbols strip -o _build/oil/ovm-opt.stripped _build/oil/ovm-opt # What's the difference with debug symbols? # We need a relative path since it will be _bin/oil.ovm objcopy --add-gnu-debuglink=_build/oil/ovm-opt.symbols _build/oil/ovm-opt.stripped cat _build/oil/ovm-opt.stripped _build/oil/bytecode-opy.zip > _bin/oil.ovm chmod +x _bin/oil.ovm >>> oil: Entering fakeroot... created directory: '/home/buildozer/aports/testing/oil/pkg/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/bin/' '_bin/oil.ovm' -> '/home/buildozer/aports/testing/oil/pkg/oil/usr/bin/oil.ovm' Installed executable Created 'osh' symlink Created 'oil' symlink created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/share/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/share/man/' created directory: '/home/buildozer/aports/testing/oil/pkg/oil/usr/share/man/man1/' Installed man page 'doc/osh.1' -> '/home/buildozer/aports/testing/oil/pkg/oil/usr/share/man/man1/osh.1' >>> oil-doc*: Running split function doc... >>> oil-doc*: Preparing subpackage oil-doc... >>> oil-doc*: Running postcheck for oil-doc >>> oil*: Running postcheck for oil >>> oil*: Preparing package oil... >>> oil-doc*: Scanning shared objects >>> oil*: Scanning shared objects >>> oil-doc*: Tracing dependencies... >>> oil-doc*: Package size: 44.0 KB >>> oil-doc*: Compressing data... >>> oil-doc*: Create checksum... >>> oil-doc*: Create oil-doc-0.12.4-r0.apk >>> oil*: Tracing dependencies... so:libc.musl-aarch64.so.1 so:libreadline.so.8 >>> oil*: Package size: 4.5 MB >>> oil*: Compressing data... >>> oil*: Create checksum... >>> oil*: Create oil-0.12.4-r0.apk >>> oil: Build complete at Mon, 05 Sep 2022 12:04:20 +0000 elapsed time 0h 0m 46s >>> oil: Cleaning up srcdir >>> oil: Cleaning up pkgdir >>> oil: Uninstalling dependencies... (1/6) Purging .makedepends-oil (20220905.120335) (2/6) Purging readline-dev (8.1.2-r0) (3/6) Purging libhistory (8.1.2-r0) (4/6) Purging bash (5.1.16-r2) Executing bash-5.1.16-r2.pre-deinstall (5/6) Purging ncurses-dev (6.3_p20220903-r0) (6/6) Purging readline (8.1.2-r0) Executing busybox-1.35.0-r24.trigger OK: 421 MiB in 101 packages >>> oil: Updating the testing/aarch64 repository index... >>> oil: Signing the index...